필터 지우기
필터 지우기

How to connect two or more objects in a binary image

조회 수: 3 (최근 30일)
Hazim Nasir
Hazim Nasir 2016년 8월 19일
답변: M. Javad Javaherian 2020년 9월 18일
Hi I have a binary image that contain two objects like the attached image and I wish to connect them together to be one object can any one help me please?

답변 (3개)

Mudassir Rafi
Mudassir Rafi 2016년 8월 21일
You can use image morphology for this purpose. first open the image and then close using the functions imopen and imclose with appropriate structuring element.

Zhiyu Xiao
Zhiyu Xiao 2019년 6월 12일
Same question here. My images look like this.

M. Javad Javaherian
M. Javad Javaherian 2020년 9월 18일
I have a similar problem. Any update on this?

Community Treasure Hunt

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

Start Hunting!

Translated by