The following Matlab project contains the source code and Matlab examples used for quantizes a grayscale image and assigns random colors to each gray level. . Quantizes a grayscale image and assigns random colors to each gray level. Use the demo_colormix script in order to see how the function works.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.