RGB/HSV Distribution

Visualization of distribution in RGB or HSV space.

You are now following this Submission

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 (2026). RGB/HSV Distribution (https://www.mathworks.com/matlabcentral/fileexchange/49002-rgb-hsv-distribution), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: 3D histogram of RGB image

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2

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

1.1.0.0

minor bud fixed

1.0.0.0