CodingTrain / Suggestion-Box

A repo to track ideas for topics
568 stars 86 forks source link

Color Quantization #1811

Open AnogJani opened 7 months ago

AnogJani commented 7 months ago

Summary:

color quantization is a process that reduces the number of distinct colors used in an image, usually with the intention that the new image should be as visually similar as possible to the original image. There are more details in the dedicated Wikipedia page. (Edit: I just saw a coding challenge where Dan implements basic color quantization in this video though I think i would be very cool to see him implement a more sophisticated algorithm that produces a unique quantized color pallete based on the input image)

Visualisation:

image image

image