The invention discloses a
diffusion image compression and
reconstruction method combining semantic guidance and regional detail enhancement, and the method comprises the steps: extracting image semantic features through a pre-training visual semantic model, carrying out the PCA dimension reduction, generating semantic prior embedding matched with a
diffusion potential space, and meanwhile, generating a structure
perception ROI
mask corresponding to small contents in the
potential space; in the
diffusion forward coding process, the KL
divergence of each
time step is adaptively divided between the ROI and the background, and two paths of
noise are respectively written in through a
Gaussian channel; in a reverse denoising stage, a condition guidance weight of spatial variation is constructed based on semantic prior and ROI
mask, and pixel-by-pixel fusion is performed on
noise prediction of unconditional branches and conditional branches, so that the definition and the stability of fine structures such as characters and human faces can be remarkably improved under the condition of low
bit rate, and the method is suitable for large-scale popularization and application. Meanwhile, the naturalness of the overall structure and texture is kept, and the method has high detail fidelity, good subjective and objective
rate distortion performance and high practical popularization value.