MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Elysi Cochin
on 6 Dec 2013

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

*No products are associated with this question.*

Answer by Image Analyst
on 6 Dec 2013

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?

Elysi Cochin
on 7 Dec 2013

i too didnt understand that.... mainly the horizontal and vertical split... i too dont know what it is....

Image Analyst
on 7 Dec 2013

Well that makes two of us. But you mentioned it first. If you don't know what a vertical split is, and I don't know what a vertical split is, then this discussion is over. What more can we do. I figured *you* would know because *you* asked about it. I guess that was a bad assumption on my part.

## 0 Comments