how to segment color image?

1 view (last 30 days)
nida
nida on 19 Jan 2014
Edited: nida on 23 Jan 2014
i want to segment green color and display seperately
and should work for all colors as well
  2 Comments
nida
nida on 19 Jan 2014
yes i did try simply giving threshold for x and y cords. for the image above there was certain rows and cols of 0's and rest with values i tried separating 0's with 'if' functions but its not working.it just gives x & y values in command window.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 19 Jan 2014
Not sure what you're looking for. It looks like you've already found the green and are displaying it separately.
See my File Exchange for color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  1 Comment
nida
nida on 23 Jan 2014
Edited: nida on 23 Jan 2014
i want a separate figure consisting of only green color shaped figure(cropped). thank you

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by