The invention discloses a refocus image processing method, which relates to the technical field of image processing. The method is characterized by comprising the following steps: S1, an image is acquired, and the image is divided into segmentation areas and distance layers; S2, the distance layers are merged, and processed; S3, the segmentation areas belonging to different layers are marked and then processed; and S4, a blank result image is newly built, layers of images are adhesive to the result image, and a result image is further obtained. Through area segmentation on the image, fuzzy processing of different strength degrees is carried out on a background image according to different distances, the background of the result image can be transited more naturally, distortion of the image is not caused, and the original authenticity of the image is ensured; and through image adhesion fusion by the distance layers in a layer-by-layer mode, fuzzy diffusion of the background is not diffused to a foreground, edge effects from the foreground to the background are better, and optical imaging effects are more realized.