The present disclosure provides an
image processing method, apparatus, electronic device, and storage medium. The method comprises: obtaining an image to be processed, the image to be processed including a
facial region; extracting low-frequency images corresponding to different facial structures from the
facial region; fusing the low-frequency images into a first
reference image according to their corresponding facial structures; obtaining a residual between the
facial region and the first low-frequency image corresponding to the entire facial region in the low-frequency image; superimposing the residual onto the first
reference image to obtain a second
reference image of the facial region; and performing
skin resurfacing
processing on the image to be processed based on the second reference image to obtain a
skin resurfacing image including the facial region. This method can not only remove facial blemishes and improve facial uniformity during the
skin resurfacing process of a portrait by fusing the low-frequency images corresponding to different facial structures in the facial region, but also preserve facial structural features through the residual information between the facial region and the low-frequency image, thereby enhancing the three-dimensional effect of the portrait and optimizing the
skin resurfacing results.