How do I close the open gap in a character?
1 view (last 30 days)
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);
0 Comments
Answers (0)
See Also
Categories
Find more on Graphics Object Programming 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!