image thumbnail

RGB/HSV Distribution

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


Updated 08 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 (, 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!