The invention discloses an image defogging method and
system based on multi-scale residual attention, and the method specifically comprises the steps: inputting a pre-processed foggy image into a
network model based on a U-Net architecture, extracting multi-scale features through an
encoder, carrying out the
processing of a feature refining module, and generating a fogless image through a decoder, and outputting the fogless image. According to the invention, a multi-scale residual block is designed,
convolution kernels of different sizes are used to capture features of different scales, and a residual structure and a mixed attention mechanism are introduced to enhance the
feature extraction capability. Meanwhile, a feature refining module is introduced to enhance the image detail
recovery capability, and smooth L1 loss and
perception loss functions are used to optimize the
network performance. The method aims at effectively removing the
fog in the image and improving the
image quality, and is particularly suitable for the fields of intelligent driving, remote monitoring,
remote sensing image processing and the like. The method is obviously superior to the prior art in qualitative and quantitative evaluation,
fog can be effectively removed, and image detail textures can be recovered.