File Exchange

image thumbnail

Color Detection By HSV color model

version 1.0 (2.24 KB) by

Detect specific color in an image and output as a Black/White image

4.66667
3 Ratings

7 Downloads

Updated

View License

Input: image object in RGB format

Output: binary image objects (1 stands for the target color, 0 otherwise) for Black, White, Red, Yellow, Green, Cyan, Blue and Magenta color detected in the input image object

demo:
Im = imread('a.jpg');
Im_ColorLayer = color_detection_by_hue(Im);
imshow(Im_ColorLayer.black);

Comments and Ratings (3)

Tudith langer

Buldoza

nice thanks

Asad

Asad (view profile)

thanks, just what I was looking for.

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video