File Exchange

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 (2020). RGB/HSV Distribution (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Derya Akkaynak

Fantastic visualization tool. Thanks!



- Added callback function to rotate3d object so that axis labels will look more elegant

minor bud fixed

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

Inspired by: 3D histogram of RGB image