how to calculate vertical and horizontal projection histogram for an image
이전 댓글 표시
Hi guys I am doing a project on offline signature recognition and verification. I hove done till thining process of an image. Now i need to calculate vertical and horizontal projection histogram for this image. Can any body suggest me some code for this. Thanks.
채택된 답변
추가 답변 (4개)
Rujal
2016년 1월 20일
1 개 추천
can anyone please help me to create feature vector of vertical and horizontal projection histogram. please give me a matlab code on rujubhandari007@gmail.com . . . Thanks in advance
댓글 수: 1
Image Analyst
2016년 1월 20일
Not sure what that means. A projection of data along a dimension, and a histogram (frequency distribution) are different things. Start your own question and attach your data and what you'd like to get from it.
Walter Roberson
2012년 4월 17일
sum(YourImage,1) %vertical projection
sum(YourImage,2) %horizontal projection
This assumes YourImage is binary. If it isn't, you need to define what you mean by "projection" of multiple colors.
si sam
2015년 10월 8일
0 개 추천
to Jyoti : did you get it?
Paramesh
2015년 10월 16일
0 개 추천
I got it.Nice.
댓글 수: 2
si sam
2015년 10월 21일
i would be thankful if can you please show me how you drew vertical and horizontal histograms?
Walter Roberson
2015년 10월 22일
Use histogram() or hist(), or use bar()
카테고리
도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!