We propose an inpainting method able to take into account a variation in the resolution of the image. In the context of diminished reality, inpainting is usually performed in a rectified plane, and we propose a measure of quality on this domain to be used in the PatchMatch algorithm. Our results show a significant improvement of the generated textures.