Color Quantization
Version 1.1.0.0 (187 KB) by
Athi
This program reduces the number of colors present in a true color image (or indexed color image).
A true color image (24 bit image) usually contains thousands of unique colors. This program uses K-Mean algorithm to find out the significant colors in an image and represents the image with less number of colors.
The colors present in the output image are exported as a CSV file.
Cite As
Athi (2024). Color Quantization (https://www.mathworks.com/matlabcentral/fileexchange/31687-color-quantization), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Contrast Adjustment >
Find more on Contrast Adjustment in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Porosity Calculator for SEM Images
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.