Color detection by hsv color model in matlab

The following Matlab project contains the source code and Matlab examples used for color detection by hsv color model. 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);

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
color_detection_by_hue.m 3220
license.txt 1317

SocialTags: