MATLAB Answers

How to connect two or more objects in a binary image

10 views (last 30 days)
Hazim Nasir
Hazim Nasir on 19 Aug 2016
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?

  0 Comments

Sign in to comment.

Answers (3)

Mudassir Rafi
Mudassir Rafi on 21 Aug 2016
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.

  0 Comments

Sign in to comment.



M. Javad Javaherian
M. Javad Javaherian on 18 Sep 2020
I have a similar problem. Any update on this?

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!