Image inpainting with another weighting-scheme