Edge linking and hole filling in binarized cell image

1 visualizzazione (ultimi 30 giorni)
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 Commenti
KALYAN ACHARJYA
KALYAN ACHARJYA il 18 Ott 2019
Edge linking and hole filling in binarized cell image
Yes, it can be done using morphological operations.
Haider Ali
Haider Ali il 18 Ott 2019
@KALYAN, can you suggest the operations for the attached binarized image?
Thanks

Accedi per commentare.

Risposte (1)

Matt J
Matt J il 23 Ott 2019
Modificato: Matt J il 23 Ott 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