How to find the histogram of multiple images loaded from a single folder

2 views (last 30 days)
Hi, I am using matlab R2010a. I have loaded 12 images from a folder . I am also able to display the images. But i find it difficult to further process the images. I have stored the images in a cell. How to find the histogram of the images ?

Accepted Answer

Image Analyst
Image Analyst on 19 Jan 2014
My attached demo (below in blue text) does exactly that, and produces nice figures for every image in the folder:
  10 Comments
Monisha
Monisha on 24 Jan 2014
Ya. So how can i find the pixelcount and grayscale value for every image in the loop. Should i change the loop condition?
Image Analyst
Image Analyst on 24 Jan 2014
Well, I do that, in my code don't I? You can see the histograms (pixel counts) of every color channel in every image. Just look what I did.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!