how can i remove objects that are on the edge of another object?

4 views (last 30 days)
I want to remove objects from 1 image that are on the border of objects in another image. How can I do this?
  3 Comments
AAS
AAS on 19 Apr 2021
Edited: AAS on 19 Apr 2021
Hi! this is a great idea but I am finding it hard to implement. I will add some figures now so it may help with understanding my question .
In the figure above, I want to remove the blue outlined object as shown in third image. So basically black blobs that are outside and on the borders of the first image
Thank you very much!
Catalytic
Catalytic on 20 Apr 2021
It would be a good idea if you would attach one single .mat file containing the 3 images, so the community can experiment with them and demonstrate solutions for you.

Sign in to comment.

Answers (1)

Matt J
Matt J on 19 Apr 2021
You can use imopen().

Products

Community Treasure Hunt

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

Start Hunting!