1. A method for editing a digital image in an image editing device, comprising: obtaining a restoration region in the digital image; determining texture information corresponding to the restoration region; based on the texture information, generating a texture strength map corresponding to the restoration region; and based on the texture strength map, applying an inpainting operation to pixels in the restoration region; wherein applying an inpainting operation to pixels in the restoration region based on the texture strength map comprises applying, for the restoration region pixel, a patch matching operation to a current restoration region pixel based on at least one n th order statistic difference in texture strength between the texture of the current restoration region pixel and a region outside of the restoration region, wherein the at least one n th order statistic difference is selected from a plurality of differences ordered according to an order statistics distribution, and wherein n is a sample size of differences.