Skip to content

baurls/Less-Color-Needed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Less-Color-Needed

The goal of this small sheet is to rebuild a given image with as few different colors possible.

Why?

Let's assume you're the inventor of the kids game 'Malen nach Zahlen', where children can paint your picture template with a certain amount of given colors. Now the question is, on a given picture and a fixed amount of colors allowed, which colors should I pick, to still obtain a good result?

This sheet could answer your question.

Quick Results

Here you can see some results of the program.

k=16

Here, you see some comparisons between the original input image on the left and the color-reduced image on the right.

For all instances I used max. 16 colors.

alt text alt text alt text alt text

different k

k=3 alt text k=4 alt text k=5 alt text k=7 alt text k=10 alt text k=16 alt text k=25 alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published