how can extract part of image

1 view (last 30 days)
fereshte
fereshte on 10 Jun 2014
Commented: fereshte on 18 Jun 2014
hi i want to extract red region from my image.please help me.i attached it

Accepted Answer

Image Analyst
Image Analyst on 10 Jun 2014
Do you have the original gray scale image, or just this pseudocolored image? If you unfortunately have only the pseudocolored image, see my color segmentation demos in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  32 Comments
Image Analyst
Image Analyst on 18 Jun 2014
I don't know what that means. Do you mean like you want to mask the image so that it remains the full size but just zeros out (blackens) the image outside the mask?
fereshte
fereshte on 18 Jun 2014
The part where to use the mask,convert to color image. I had a change in your program and get a binary image. I want white region convert to original colors and black parts remain the same.

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!