pytorch-poisson-image-editing
pytorch-poisson-image-editing copied to clipboard
Fast Python implementations of Poisson image editing, using Pytorch and NumPy.
Hi @matt-baugh , Thank you so much for your excellent work! I encounter some problems when using the blend function, as shown below: ''' blended_image = blend(cur_masked_img[0].clone().detach().to("cpu"), cur_Up_img[0].clone().detach().to("cpu"), cur_mask[0].clone().detach().to("cpu") ,...
Green function and laplacion send to same device in case of using a cuda device
Thanks for sharing this repository! The blended result often has some color artifacts when the mask reaches the image's boundary. For exmaple - (src,dst, and mask resized for readability. Everything...
Hi @matt-baugh , thanks for your contribution. This blending implementation is super fast. Here I'd like to seek help from you. Given a source image, a target image, and a...