coding for color based segmentation

2 views (last 30 days)
vibhu sharma
vibhu sharma on 28 Nov 2011
i want to do matlab coding for segmenting the object on the basis of color based segmentation and the proposed color space is LAb color space...can anyone plsss help me out with this plsss...its really very urgent
  1 Comment
Sven
Sven on 28 Nov 2011
duplicate from: http://www.mathworks.com/matlabcentral/answers/22462-hand-color-recognition-code
Vibhu, you can edit your original question rather than make a new one with the same topic. Also, please show us what you've done so far. Or show an image you want to segment. Or read this post (http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer)

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 28 Nov 2011
MATLAB's demo of k-means clustering in LAB color space: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html
My color segmentation demos in RGB space, HSV space, and LAB space: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
If Sven is right about you wanting to find hands/skin, hsv color space would be best for segmenting skin gamut. LAB or RGB color space would be no good. Even with HSV you can't simply go on hue, though that's the major component. You have to put in some curves to make the gamut "bow out" in the middle and come back in at the top and bottom so that you get the boomerang-shaped gamut characteristic of skin.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!