An improved exemplar-based inpainting method is proposed, which considers the effects of the data term and confidence term by defining the priority function as a piecewise function.
Users can adapt the scale of fuzzy range by setting parameter in membership function or altering values in the histogram, and set different confidence to query different reliable data.