Be the first to rate this file! 4 Downloads (last 30 days) File Size: 2.24 KB File ID: #42440

Color Detection By HSV color model

by Marco Chak Yan Yu

 

01 Jul 2013

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

| Watch this File

File Information
Description

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);

Required Products MATLAB
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File  
Everyone's Tags
color, image processing
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us