Edge linking and hole filling in binarized cell image

3 visualizaciones (últimos 30 días)
Haider Ali
Haider Ali el 14 de Oct. de 2019
Editada: Matt J el 23 de Oct. de 2019
Hi all, I need to segment and classify blood cells in several images.
I have binarized the image using Otsu thresholding but some of the cell edges are weak.
Can someone suggest a method for linking edges in the binarized cell image and then fill those detected holes?
Original image and binarized image are shown.
The final goal is to use watershed segmentation to classify the cells.
Thanks
  2 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 18 de Oct. de 2019
Edge linking and hole filling in binarized cell image
Yes, it can be done using morphological operations.
Haider Ali
Haider Ali el 18 de Oct. de 2019
@KALYAN, can you suggest the operations for the attached binarized image?
Thanks

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 23 de Oct. de 2019
Editada: Matt J el 23 de Oct. de 2019
Use imclose with a disk structuring element
se=strel('disk',n);
~imclose(~yourImage,se);

Community Treasure Hunt

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

Start Hunting!

Translated by