how to segment color image?

1 次查看(过去 30 天)
nida
nida 2014-1-19
编辑: nida 2014-1-23
i want to segment green color and display seperately
and should work for all colors as well
  2 个评论
Jan
Jan 2014-1-19
Did you try anything already? The more you show from your own effort, the higher is the motivation of the readers in this forum.
nida
nida 2014-1-19
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.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2014-1-19
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 个评论
nida
nida 2014-1-23
编辑:nida 2014-1-23
i want a separate figure consisting of only green color shaped figure(cropped). thank you

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by