How do I close the open gap in a character?
Show older comments

How do I close the gaps in a single character. I want to close characters like e,c etc so that it forms a circular object. imclose doesn't seem to do it perfect.
i=imread('e.jpg');
i=im2bw(i);
figure; imshow(i);
se = strel('disk',4);
i=imclose(i,se);
figure; imshow(i);
Answers (0)
Categories
Find more on App Building 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!