Trace a ROI and remove it from image

8 views (last 30 days)
Alina tom
Alina tom on 22 Jul 2018
Commented: Image Analyst on 23 Jul 2018
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
here is another image

Answers (1)

Image Analyst
Image Analyst on 22 Jul 2018
See my attached masking demo. It will do that.
  6 Comments
Alina tom
Alina tom on 23 Jul 2018
Sir how I can trace the small blob by scanning image from top to bottom?
the small blob has a dark shadow below it . how can we use this information to trace that part and remove it
Image Analyst
Image Analyst on 23 Jul 2018
ALL your blobs have dark regions below them.
You can use bwareafilt() if you want to toss out small blobs.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!