how to calculate vertical and horizontal projection histogram for an image
Show older comments
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.
Accepted Answer
More Answers (4)
Rujal
on 20 Jan 2016
1 vote
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 Comment
Image Analyst
on 20 Jan 2016
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
on 17 Apr 2012
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
on 8 Oct 2015
0 votes
to Jyoti : did you get it?
Paramesh
on 16 Oct 2015
0 votes
I got it.Nice.
2 Comments
si sam
on 21 Oct 2015
i would be thankful if can you please show me how you drew vertical and horizontal histograms?
Walter Roberson
on 22 Oct 2015
Use histogram() or hist(), or use bar()
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!