Color Image Histogram

Display a histogram showing the color balance of an image.
27.1K Downloads
Updated 8 Nov 2010

View License

RGBHIST displays a histogram of the overall color balance of an image.

Use the 'RGB' mode to get a quick sense of which colors are present in particular highlight, shadow, and midtone regions. The 'LAB' mode is more useful for determining the actual color balance of an image, but it is slower.

This function supports UINT8, UINT16, INT8, INT16, and DOUBLE images without colormaps.

Cite As

Julianna Mather (2024). Color Image Histogram (https://www.mathworks.com/matlabcentral/fileexchange/4875-color-image-histogram), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

BSD License

1.0.0.0