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.
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!