How to obtain the histogram of a colored image by "imhist" ?

1 view (last 30 days)
I have an image 180x180 colored,i used the function "imhist" but there is always an error i dont know why .

Accepted Answer

Image Analyst
Image Analyst on 18 Feb 2015
Edited: Image Analyst on 18 Feb 2015
You have to do it one color channel at a time. See attached demo.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!