How do I close the open gap in a character?

1 view (last 30 days)
Tina
Tina on 28 Sep 2015
Edited: Walter Roberson on 28 Sep 2015
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 Graphics Object Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!