Re:Show HN: Reorganize pixels of a painting into a smooth co...
by pavel_lishin on Thursday November 10, 2016 @02:04PM
(#12923188)
I think there's a bug in there that flipped a few columns - but I actually really like the output better that way: http://imgur.com/RErXOF6
[ Parent
| on HN ]
Re:Show HN: Reorganize pixels of a painting into a smooth co...
by dontreact on Thursday November 10, 2016 @02:10PM
(#12923237)
That is weird. It decides to flip a column by summing up the vector distances between the pixels in that column vs. the pixels in the previous column. I'm wondering if that since there is so much gray in the painting, this causes a large accumulation of error in gray vs. slightly different gray which outweighs the orange vs gray.
I do know that euclidean distance in RGB space is not that great a metric for perceptual similarity. Perhaps everything should be done in YUV instead? I will try tonight. Thanks.