I create an image with PIL:
I need to fill in the empty space (depicted as black). I coul
A method with nice results is the Navier-Stokes Image Restoration. I know OpenCV has it, don't know about PIL.
Your example:
I did it with Mathematica.
Edit
As per your reuquest, the code is:
i = Import["http://i.stack.imgur.com/uEPqc.png"];
Inpaint[i, ColorNegate@Binarize@i, Method -> "NavierStokes"]
The ColorNegate@ ... part creates the replacement mask.
The filling is done with just the Inpaint[]
command.