3D histogram of RGB image
Takes RGB images in 24 bpp and computes the 3D histogram of such an image. I.e., splits every axis into 'n' bins thus making n^3 bins in total and shows the result in the form of 'bubbles' of different size within the RGB cube.
The function can be controlled by parameters. Besides the graphics produced, it can output also numerical results.
A short demo is included.
It should be noted that the very first inspiration came from seeing similar histograms at web page
http://ij-plugins.sourceforge.net/ij-vtk/color-space/index.html
See other products of our group at
http://splab.cz/
Cite As
Pavel Rajmic (2024). 3D histogram of RGB image (https://www.mathworks.com/matlabcentral/fileexchange/38685-3d-histogram-of-rgb-image), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: RGB/HSV Distribution
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |