MATLAB: How to generate a HS histogram

histogramhs histogramhsvimage processingImage Processing Toolbox

My task is to acquire the frequency values of the H and S values of an image. Therefore, I'm trying to generate a HS histogram of an image. However, I looked up numerous sources and they all create the H and S histograms separately. To state my problem more clearly, how do I know the number of time the H and S values occur together as a pair? Can anyone point me to the right direction?
Thanks!

Best Answer

See my demo, attached.