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.