How to connect two or more objects in a binary image

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 日

0 投票

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 日

0 投票

Same question here. My images look like this.
M. Javad Javaherian
M. Javad Javaherian 2020 年 9 月 18 日

0 投票

I have a similar problem. Any update on this?

質問済み:

2016 年 8 月 19 日

回答済み:

2020 年 9 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by