Re:Mona Lisa in 50 polygons, using a genetic algorithm (2008)
by prezjordan on Wednesday December 12, 2012 @07:42PM
(#4913441)
How do you determine how similar two images are?
[ Parent
| on HN ]
Re:Mona Lisa in 50 polygons, using a genetic algorithm (2008)
by Lerc on Wednesday December 12, 2012 @08:08PM
(#4913553)
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.
Re:Mona Lisa in 50 polygons, using a genetic algorithm (2008)
by AnthonBerg on Thursday December 13, 2012 @03:18AM
(#4914859)
Re:Mona Lisa in 50 polygons, using a genetic algorithm (2008)
by shmageggy on Wednesday December 12, 2012 @08:13PM
(#4913574)
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.