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).
2K Downloads
Updated 7 Jun 2011

View License

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 (2026). Color Quantization (https://nl.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 Linux
Acknowledgements

Inspired: Porosity Calculator for SEM Images

Version Published Release Notes
1.1.0.0

Author info updated.

1.0.0.0