Live data from Hacker News

Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

erkaman.github.io

1–10 of 12 posts

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#3
post #2

In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code( https://github.com/Erkaman/poisson_blend ), that demonstrates the concepts in the article.

Looks very cool, am I correct in thinking this won't produce images that are seamless without a good mask to go along with the image?

If that's the case I'd be curious to see how it works with masks generated with e.g. photoshops smart edge detection.

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#4
post #3
post #2

In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code( https://github.com/Erkaman/poisson_blend ), that demonstrates the concepts in the article.

Looks very cool, am I correct in thinking this won't produce images that are seamless without a good mask to go along with the image? If that's the case I'd be curious to see how it works with masks generated with e.g. photoshops smart edge detection.

Check the masks here, compare them with those that you can generate fast and then please write about what you've found:

https://github.com/Erkaman/poisson_blend/tree/master/img

I'd also like to read what you can conclude.

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#5
post #2

In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code( https://github.com/Erkaman/poisson_blend ), that demonstrates the concepts in the article.

That was very well explained. Would it be possible to include this into GIMP?

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#6
post #5
post #2

In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code( https://github.com/Erkaman/poisson_blend ), that demonstrates the concepts in the article.

That was very well explained. Would it be possible to include this into GIMP?

since the technique is so simple, it's probably not hard at all to include into GIMP. Wouldn't surprise me if someone had already implemented a plugin for it.

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#7
post #3
post #2

In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code( https://github.com/Erkaman/poisson_blend ), that demonstrates the concepts in the article.

Looks very cool, am I correct in thinking this won't produce images that are seamless without a good mask to go along with the image? If that's the case I'd be curious to see how it works with masks generated with e.g. photoshops smart edge detection.

yes, the mask is also pretty important. otherwise, you get lots of stuff from the background of your source image in your blended image, which often looks pretty bad.

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#8
post #6
post #5

Earlier quoted context omitted.

That was very well explained. Would it be possible to include this into GIMP?

since the technique is so simple, it's probably not hard at all to include into GIMP. Wouldn't surprise me if someone had already implemented a plugin for it.

Indeed, this has been implemented in G'MIC [1], which can be used as a plugin in gimp. I definitively recommend it! (based on the exact same paper :-)

[1] https://www.youtube.com/watch?v=zsHgQY6025I

Re: Show HN: I implemented seamless copy and paste of images, and wrote a tutorial

#9
post #2

In this artice, I describe a technique that can be used to seamlessly copy-and-paste one image into another. I also provide source code( https://github.com/Erkaman/poisson_blend ), that demonstrates the concepts in the article.

Thanks for the beautiful explanation, i have no math background and this was really easy to understand.

Ulterior examples than library+kitten/penguin would be great

Post reply on HN