MATLAB Optical character recognition - need help

江枫思渺然 提交于 2019-12-11 23:49:06

问题


I have to use mat lab to find a certain letter in a tif text image.In the spatial domain. I have no idea how to do this, and can't find any documentation other than complex code that uses loops, loops are forbidden. Yes, this is an assignment I don't want the answer just some direction on how to even start.

I want to use imfilter and use a letter as a template or filter to imfilter using correlation but from there I have no idea where to go and don't even know what questions to ask to find more info on mat labs site.

The write up makes it seem simple but I know nothing of this subject as I am a beginner so to me this is hard.

thanks


回答1:


If you have the image processing toolbox I would suggest using the function normxcorr2. It calculates the normalized cross correlation between a template image and a larger image, which I think is what you want.

You don't need any for loops to use it, but the method itself probably uses for loops somewhere hidden in the code. I don't know if that counts..



来源:https://stackoverflow.com/questions/5517036/matlab-optical-character-recognition-need-help

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!