How to creat automatic cropping for braille text (image)

1 次查看(过去 30 天)
i have a image of braille scan, i want to creat automatic cropping for this image, what's tools in matlab that i can use ?

采纳的回答

Image Analyst
Image Analyst 2017-1-24
I'd first try imtophat() or imbothat() to emphasize the spots. Then it really depends on what area(s) of the image you want to crop, like each letter, each paragraph, the whole group of paragraphs or what???.
  5 个评论
Image Analyst
Image Analyst 2017-1-30
I'd take projections vertically and horizontally to try to find natural breaks in blob locations.
verticalProfile = sum(binaryImage, 2);
horizontalProfile = sum(binaryImage, 1);

请先登录,再进行评论。

更多回答(1 个)

KSSV
KSSV 2017-1-24

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by