The invention provides an
image diffusion enhancement method and device based on multi-scale
feature extraction and fusion. The method comprises the following steps: acquiring a to-be-processed image; performing multi-scale
feature extraction on the to-be-processed image to obtain a multi-scale feature map;
pyramid feature fusion is carried out on the multi-scale feature map to obtain a fused feature map; performing compressed
block detection on the to-be-processed image, and generating a block boundary
mask; based on a preset
retrieval algorithm, retrieving similar reference images of the to-be-processed image from the natural
image reference library, and extracting reference features of the similar reference images; and by taking the fused feature map, the block boundary
mask and the reference feature as conditions, enhancing the to-be-processed image by using a conditional
potential space diffusion model, and outputting an enhanced image. According to the method and the device, the brightness, the
contrast ratio and the detail texture of the underground low-light-intensity compressed image can be effectively recovered without depending on pairwise training data, compression artifacts such as color blocks and
ringing are remarkably inhibited, and a high-quality enhanced image with rich details and a natural structure is generated.