Multiple image histogram on the same figure
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Image Analyst
2014 年 8 月 4 日
Why can't you just use hist() or histc(), and bar() or plot()???
2 件のコメント
Image Analyst
2014 年 8 月 4 日
You have to vectorize the array first:
counts = hist(array2d(:), 256);
Otherwise you'll get a histogram for every column in the image.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!