Trace a ROI and remove it from image
6 次查看(过去 30 天)
显示 更早的评论
Hi All
I have the following image . I want to trace the part which is shown in red lines and remove it from the image . but I don't know how I can scan from top to bottom to find the object and remove it. can anyone help me to do this ???
Thanks in advance for helping me
Here is the image attached
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192368/image.jpeg)
here is another image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192369/image.jpeg)
0 个评论
回答(1 个)
Image Analyst
2018-7-22
See my attached masking demo. It will do that.
6 个评论
Image Analyst
2018-7-23
ALL your blobs have dark regions below them.
You can use bwareafilt() if you want to toss out small blobs.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!