Edge linking and hole filling in binarized cell image

8 views (last 30 days)
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 Comments
Haider Ali
Haider Ali on 18 Oct 2019
@KALYAN, can you suggest the operations for the attached binarized image?
Thanks

Sign in to comment.

Answers (1)

Matt J
Matt J on 23 Oct 2019
Edited: Matt J on 23 Oct 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!