Skip to content

MihailoIsakov/StainedGlass

Repository files navigation

#Stained Glass Stained Glass is an image polygonization tool. It uses simulated annealing to find an optimal image configuration for a given number of points.

The algorithm takes in two parameters, the image, and a heuristic image which specifies on which parts the annealing should focus on.

The image below is generated with: ./main.py images/lion.jpg images/fcs_lion.jpg -t 20 -m 0.99 -n 300 -a 1 -p 0.9

Input image:
alt tag
Heuristic:
alt tag

Result:
alt tag

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages