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

조회 수: 5 (최근 30일)
AAS
AAS 2021년 4월 19일
댓글: Catalytic 2021년 4월 20일
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().

제품

Community Treasure Hunt

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

Start Hunting!

Translated by