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

4 次查看(过去 30 天)
I want to remove objects from 1 image that are on the border of objects in another image. How can I do this?
  3 个评论
AAS
AAS 2021-4-19
编辑:AAS 2021-4-19
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 2021-4-20
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.

请先登录,再进行评论。

回答(1 个)

Matt J
Matt J 2021-4-19
You can use imopen().

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by