Inpainting

inpainting

Totally obsessed with the idea of inpainting, used to reconstruct and remove items from images automatically. I’m especially in love with the glitchy, Predator-esque ghosting that remains.

This is very easy to accomplish with OpenCV and a few lines of code – here I’ve run this with a radius of 5px. The results are actually pretty usable, especially in busy or small areas of the image.

telea-5

The very simple code to run everything:

And here’s the same input, but with a really weird, blobby, random mask:

telea-5

h/t Miriam Redi

Leave a Reply

Your email address will not be published. Required fields are marked *