The invention discloses an image defogging method and
system based on a physical guide
diffusion model, and relates to the technical field of
image processing. Comprising the following steps: inputting a to-be-processed
fog image into a trained physical
perception defogging model to obtain a pseudo clear image (namely a preliminarily estimated
fog-free image) and a transmissivity image (representing the attenuation degree of a medium to scene light); inputting the to-be-processed
fog image into a pre-trained physical guide
diffusion model, and gradually adding
Gaussian noise to the clear image through a
Markov chain to generate a
noise image; the pseudo clear image and the transmissivity image serve as input through condition guidance, and feature splicing is adopted to be injected into a
diffusion model so as to guide the denoising direction; then capturing the characteristics of
noise distribution by using a diffusion model, predicting and removing noise components in the
current time step, and obtaining an
intermediate image; and taking the
intermediate image corresponding to the final
time step as a defogged clear image. According to the method, the accuracy of the denoising direction is emphasized, and the definition and quality of the defogged image can be improved.