If waiting time was too long, please run this project at: https://turbowarp.org/753711348?stuck "IMAGE" slider: select image 1 or 2. "Uniform // K-Mean" slider: 1 for uniform color quantization 2 for K-Mean color quantization "No. of Regions" slider: set number of color regions for uniform color quantization. "K (No. of Colors)" slider: set number of colors for K-Mean color quantization.
Project Reference: Image scanning: https://scratch-image-scanner.slmj.repl.co/ from project by MonkeyBean2 : https://scratch.mit.edu/projects/631798903/ Thank you MonkeyBean2.