How can I segment the white area that i have circleed? How can I remove the others?

1 次查看(过去 30 天)
Hi, I have threshold the image which my threshold value is 100. I make adaptive histogram to make the image more clearer. Then from the adaptive histogram image, I compared the image with the threshold value. If the image more than threshold value, then it should remain.
but then, I just want the part that I have highlighted with the blue colour, and I want to remove the others. How can I remove the others? help me please.

回答(1 个)

Image Analyst
Image Analyst 2017-11-24
编辑:Image Analyst 2017-11-24
It looks like perhaps you used imfreehand() to trace an outline around one of the blobs. imfreehand() returns a binary image mask. Just use that mask to erase the other blobs from the original binary image
binaryImage(~mask) = false;

Community Treasure Hunt

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

Start Hunting!

Translated by