histogramRangeSelec​tor

バージョン 1.0.1 (7.55 KB) 作成者: Dave B
A custom component that allows selecting minimum and maximum values interactively, using a histogram as a reference
ダウンロード: 29
更新 2021/7/14

histogramRangeSelector

View histogramRangeSelector on File Exchange

Version: 1.0

histogramRangeSelector

This component is designed to allow specification of minimum and maximum values for an intensity image, or independently for the RGB channels of an image. It features a histogram for showing the intensity data and editfields with accompanying lines for setting the minimum and maximum. When the values change, the MinChanged/MaxChanged events fire.

How to use:

c = histogramRangeSelector; % create the component

im = imread('myimage.png');     % read an image
[n,x]=histcounts(im(:),0:255);  % collect histogram data
set(c,'HistogramBinEdges',x,'HistogramBinCounts',n);


c.MinChangedFcn=@myMinChangedFunction;
c.MaxChangedFcn=@myMaxChangedFunction;

引用

Dave B (2024). histogramRangeSelector (https://github.com/MATLAB-Graphics-and-App-Building/histogramRangeSelector/releases/tag/1.0.1), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2021a
R2020b 以降のリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCreate Custom UI Components についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.1

See release notes for this release on GitHub: https://github.com/MATLAB-Graphics-and-App-Building/histogramRangeSelector/releases/tag/1.0.1

1.0

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。