Skip to content

Comment on Mona Lisa in 50 polygons, using a genetic algorithm (2008)

Comments

How do you determine how similar two images are?

The easy way the Average difference in pixel values.

Slightly harder psnr. http://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio

Harder again... ssim http://en.wikipedia.org/wiki/Structural_similarity

There isn't any real solution to automating similarity as a human sees it. Humans are tricky.

He answers this on the FAQ linked at the top. http://rogeralsing.com/2008/12/09/genetic-programming-mona-l...

He just loops over the whole image and does a pixel-by-pixel comparison, taking the difference between each of the R, G, and B channels and summing them all.

Check the FAQ. It's pixel by pixel comparison.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.