histogramRangeSelector
histogramRangeSelector
Version: 1.0
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;
Cite As
Dave B (2024). histogramRangeSelector (https://github.com/MATLAB-Graphics-and-App-Building/histogramRangeSelector/releases/tag/1.0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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 |