RGB/HSV Distribution

version 1.2 (140 KB) by Ligong Han
Visualization of distribution in RGB or HSV space.


Updated 8 Feb 2015

View License

These codes compute and visualize the RGB and HSV distribution (or histogram) of a given image. The volume of each volume element is proportion to the percentage of the correspondent RGB or HSV value.

Cite As

Ligong Han (2022). RGB/HSV Distribution (https://www.mathworks.com/matlabcentral/fileexchange/49002-rgb-hsv-distribution), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: 3D histogram of RGB image

Community Treasure Hunt

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

Start Hunting!