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 ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160098/image.jpeg)
0 个评论
采纳的回答
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
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!