Color Quantization

This program reduces the number of colors present in a true color image (or indexed color image).

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/31687-color-quantization), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Porosity Calculator for SEM Images

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Author info updated.

1.0.0.0