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.
Ligong Han (2020). RGB/HSV Distribution (https://www.mathworks.com/matlabcentral/fileexchange/49002-rgb-hsv-distribution), MATLAB Central File Exchange. Retrieved .
- Added callback function to rotate3d object so that axis labels will look more elegant
minor bud fixed
Inspired by: 3D histogram of RGB image