MATLAB: Color HS histograms horizontal and vertical split

color hs histograms horizontal and vertical split

i got code to component histogram of color components HSV…. but how to compute it in horizontal and vertical split??….
i need "a 32 component vector with the 4 × 2 color HS histograms for each of the resulting sub-images after one horizontal and one vertical split; and a 32 component vector with the HS histogram for the entire image"
what should i do to get as such… please do reply….

Best Answer

I don't know what "vertical split" means. What is an HS histogram? You can use hist() to get histograms for each color channel, for H, for S, and for V. What are the subimages? How did you get subimages?