MATLAB: How to obtain the histogram of a colored image by “imhist”

image processingImage Processing Toolbox

I have an image 180×180 colored,i used the function "imhist" but there is always an error i dont know why .

Best Answer

You have to do it one color channel at a time. See attached demo.
Related Question