segment the characters in the image
3 次查看(过去 30 天)
显示 更早的评论
How to segment the image into line, word, and character.
0 个评论
采纳的回答
KSSV
2018-2-22
I = imread('BW1.bmp') ;
I = ~I ;
s = sum(I,2) ;
idx = find(s) ;
idx gives you the rows which have the characters.
0 个评论
更多回答(1 个)
michael scheinfeild
2018-2-22
try use properties and take bounding boxes the seperete by witdh , maybe you need also erosion/dilation to separate https://www.mathworks.com/help/images/ref/regionprops.html
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!