News for hackers. Stuff that matters.
Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @01:40PM (#12922979)
Shameless plug/relevant background: I did this in order to make a flyer for a show I am playing with my band Congratulatinos in Oakland, CA on Dec. 17th Band: http://congratulatinos.bandcamp.com/ Event: https://www.facebook.com/events/661571907356009/
Re:Show HN: Reorganize pixels of a painting into a smooth co... by pavel_lishin on Thursday November 10, 2016 @01:50PM (#12923065)
I opened a small PR - scipy was missing as a requirement (I'm guessing you already had it installed, and didn't stick it in requirements.txt)
Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @01:51PM (#12923072)
thanks. right on all counts.
Re:Show HN: Reorganize pixels of a painting into a smooth co... by rand_r on Thursday November 10, 2016 @01:53PM (#12923094)
This looks interesting. I was wondering if you could explain a little more about what information about a picture this transform is exposing? I mean, if you look at just the output image, what kind of insight can you gain into the original input image?
Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @01:54PM (#12923101)
For some paintings I think you can get a sense of what paints the painter used.
Re:Show HN: Reorganize pixels of a painting into a smooth co... by ecesena on Thursday November 10, 2016 @01:50PM (#12923061)
Just to clarify: you started with the pic of the 2 guys and created the fading effect used to color the writing with pca?

That's pretty awesome, I think the final effect is very pleasant to the eyes.

Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @01:53PM (#12923096)
The script merely remaps the pixels in the input to new locations via PCA. I'm not 100% sure I know what you mean by "2 guys" or "color the writing".
Re:Show HN: Reorganize pixels of a painting into a smooth co... by btym on Thursday November 10, 2016 @01:57PM (#12923123)
The two guys on the page you just linked. The colored writing on the page you just linked.
Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @01:59PM (#12923139)
Huh still confused somehow, sorry. This is the input https://github.com/ardila/paintingReorganize/blob/master/inp...

My script moves the pixels of that image around to get this output https://github.com/ardila/paintingReorganize/blob/master/out...

Re:Show HN: Reorganize pixels of a painting into a smooth co... by minimaxir on Thursday November 10, 2016 @02:02PM (#12923170)
They are asking how the generated gradient from the script was incorporated into the final image of the band promo.
Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @02:31PM (#12923447)
The flyer is in the facebook event not the band page. The cover photo for the album was a completely separate project :)
Re:Show HN: Reorganize pixels of a painting into a smooth co... by dontreact on Thursday November 10, 2016 @02:11PM (#12923258)
Ahhh. I tiled the image 4 times, remapped to polar coordinates, then did some color balancing.
Re:Show HN: Reorganize pixels of a painting into a smooth co... by wodenokoto on Friday November 11, 2016 @05:14AM (#12929378)
Did you also experiment with a simple sorting algorithm and if so, how were the results different?