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?

Réponses (3)

Mudassir Rafi
Mudassir Rafi le 21 Août 2016

0 votes

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.

Community Treasure Hunt

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

Start Hunting!

Translated by