code for horizontal projection profile of an image
4 ビュー (過去 30 日間)
古いコメントを表示
hello friends, to perform skew detection and correction, iam using horizontal projection profile. so i need the code for horizontal projection profile to segment lines and i need the code for horizontal projection profile of each word, for image containing handwritten characters.
1 件のコメント
Oleg Komarov
2012 年 8 月 6 日
Please review these guidelines and ask a specific question: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
回答 (4 件)
Image Analyst
2012 年 8 月 6 日
First pick an algorithm from section 23 of the Vision Bibliography: http://iris.usc.edu/Vision-Notes/bibliography/contents.html. Then come back here with your MATLAB coding questions.
0 件のコメント
luong v
2015 年 12 月 2 日
編集済み: luong v
2015 年 12 月 2 日
Hi every one, I have a license plate, now I want to use horizontal projection to segment the license plate into two lines. Please help me, Thanks you
1 件のコメント
Image Analyst
2015 年 12 月 2 日
verticalProjection = mean(grayImage, 2);
horizontalProjection = mean(grayImage, 1);
Rujal
2016 年 1 月 22 日
how to plot horizontal projection horizontally ? I didn't get idea.
5 件のコメント
Image Analyst
2016 年 1 月 23 日
But what if, in handwriting, descenders in one row dip below some risers in the row below? Those two rows would not be detected as two rows with any(). And with sum() and mean(), the descenders would get clipped. So to be really robust, you'd need something more sophisticated than these simple functions. But I can't spend the time to develop a robust OCR program for anyone.
Walter Roberson
2016 年 1 月 23 日
You need the ascenders and descenders for proper classification of the characters. Horizontal projection is simply not sufficient for the case where you do not have clean separation between the lines.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!