How to build horizontal and vertical histogram for a grayscale image
Show older comments
Hello friends, I have to find the histogram i.e.horizontal histogram and vertical histogram for the grayscale image,which i need it for my project on Human Action Recognition,i am not aware of the concept of horizontal histogram and vertical histogram.Can anyone tell me what does horizontal and vertical histogram mean and provide matlab code for building them...Please help me with this........Thank you
1 Comment
Image Analyst
on 24 Oct 2011
I'm not either. Never heard of them. Can you supply more information or context?
Answers (1)
Doug Hull
on 24 Oct 2011
0 votes
There are several questions here:
Are you trying to lay out three axes (one for the image, and then two long skinny ones for histograms?) If so, subplot and axes will help.
Do you have the data and just not know how to do a horizontal bar plot? If so, barh will help.
Do you not know how to gather the data for the histograms? hist will help, as will some indexing into the matrix.
Help us to help you by editing your question (NOT answering it) to reflect this information.
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!