filling open gaps in binary image object
Show older comments
Hello...
i am working with experiment to find out the diameters of generated bubbles.
here is the original image.

here is the processed one.

here is an object from idx list:

this is an object in photo whivh have a same size as the processed one but with zoom in.
my question is:
how to make such an object to appear more circular???
i mean by more circular like this:

Regards,
Accepted Answer
More Answers (1)
KALYAN ACHARJYA
on 23 Nov 2019
Edited: KALYAN ACHARJYA
on 23 Nov 2019
#Approximate
se=strel('diamond',3);
BW2=~imdilate(BW1,se); % 2nd Binary image
BW3=bwareafilt(BW2,1);
BW4=imerode(BW3,se);
Do the smothing & measure approximated distance (dist on multiple direction & do average to find diameter) or regionprops.
1 Comment
Mohammad Hdaib
on 7 Jan 2020
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!