Programmatically create histograms like Color Thresholder
1 回表示 (過去 30 日間)
古いコメントを表示
How can I programaticlly in Matlab code create image histograms that look like the ones in Color Thresholder? I don't want to launch Color Thresholder from the Matlab prompt. I want to generate my own histograms that looks like the ones in Color Thresholder. Ideally I would like to create this identical histogram in a script without having to manually open Color Thresholder, load my image, and then switch to YCbCr.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1194643/image.jpeg)
回答 (1 件)
Image Analyst
2022 年 11 月 16 日
See attached demo. Adapt as needed. You can use bar() instead of plot() to make histograms like those.
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!