histogramRangeSelec​tor

Versione 1.0.1 (7,55 KB) da Dave B
A custom component that allows selecting minimum and maximum values interactively, using a histogram as a reference
29 download
Aggiornato 14 lug 2021

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;

Cita come

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

Compatibilità della release di MATLAB
Creato con R2021a
Compatibile con R2020b e release successive
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Create Custom UI Components in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
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

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.