Info

此问题已关闭。 请重新打开它进行编辑或回答。

size normalization or scaling for a drawn graph in x,y coords format

1 次查看(过去 30 天)
Hi everyone , I'm a beginner in matlab ..my project is Online Arabic handwriting recognition , I have drawn the character on an axes then a text file - which contains the x and y coords of it - is saved , then I need to apply some preprocessing steps like translation , scaling , resampling and I want to know how can I make scaling .. I tried to use interp and interp1 functions but when I plot their result It doesn't seem right.
if the interpolation is used in scaling then how can I use it? what functions I've to use ? if not , how can I do the scaling?
Thanks

回答(1 个)

Image Analyst
Image Analyst 2012-9-23
Are you following one of the published methods here: http://iris.usc.edu/Vision-Notes/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Character%20Recognition%20Systems Look at Section 23.4.6.5 Arabic Numbers, Digits, Handwritten, Numberal Recognition. Those papers will probably tell you if you need to do that or not.
For scaling you can use imresize.
  4 个评论
aurora
aurora 2012-9-25
excuse me! I didn't understand what you mean .. I also need to know how to apply re-sampling , interpolation and smoothing for the x,y coordinates that are saved in a text file as two columns when I implement the matlab functions of (resample) or (interp) or (smooth) the result plotted isn't as I want .. the character shape changes .
Image Analyst
Image Analyst 2012-9-25
I have little to no experience in OCR algorithms so I don't know if what you propose to do would be the best approach or not. That's why I referred you to the experts who know - those who have published successful algorithms on the topic. I think you will find your answer there. Good luck.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by