How to build horizontal and vertical histogram for a grayscale image
Mostrar comentarios más antiguos
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 comentario
Image Analyst
el 24 de Oct. de 2011
I'm not either. Never heard of them. Can you supply more information or context?
Respuestas (1)
Doug Hull
el 24 de Oct. de 2011
0 votos
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.
Categorías
Más información sobre Histograms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!