features of a binary image, ocr
显示 更早的评论
So I have segmented an image consisting of letters, it's a binary image. I have used regionprops and bwconncomp, standard Matlab functions. So now I want to extract features on the region of pixels that are equal to one, into a feature vector. It is also good if the features does not depend on which position the region has, so if the regions is shifted in x or y direction then the same features will be obtained. Is there any Matlab function that can do that? Thank!
回答(2 个)
Image Analyst
2014-11-4
2 个投票
Yes. regionprops().
4 个评论
Adam
2014-11-5
Image Analyst
2014-11-5
A well commented tutorial is in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Look for Image Segmentation Tutorial.
Adam
2014-11-6
Image Analyst
2014-11-6
It's just a general purpose generic routine. It's not specially adapted for OCR. See http://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1
Dima Lisin
2014-11-6
1 个投票
There is a built-in ocr function in the Computer Vision System Toolbox.
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!