Free Gradient Discontinuity and Image Inpainting