Generic function for computing histogram of an image. Image can be either 2D or 3D, grayscale or color. For color images, the result is the concatenation of the histogram computed for each band.
If no output is requested, the histogram is plotted on the current axis.
Several options can be applied, like min and max levels to consider, number of histogram bins, location of bin centers, region of interest.
please send bug reports to author (david.legland at grignon.inra.fr).
Cite As
David Legland (2024). imHistogram (https://www.mathworks.com/matlabcentral/fileexchange/28681-imhistogram), MATLAB Central File Exchange. 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.0.0 |