Multiple image histogram on the same figure
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
chess
am 4 Aug. 2014
Kommentiert: Image Analyst
am 4 Aug. 2014
Hi I would like to know how I can plot multiple histogram on the same figure with different color next to each other using imhist command. I know how to do it using hist for a vector but I am looking for doing exactly same thing but for images. something like uploaded image but using imhist.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 4 Aug. 2014
Why can't you just use hist() or histc(), and bar() or plot()???
2 Kommentare
Image Analyst
am 4 Aug. 2014
You have to vectorize the array first:
counts = hist(array2d(:), 256);
Otherwise you'll get a histogram for every column in the image.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!