A convolutional neural network dehazing method based on prior information assistance

By introducing attention supervision, detail refinement and semi-curricular supervision learning strategies into convolutional neural networks, using haze distribution and detail prior information, the problem of poor effectiveness of the existing fog removal algorithm in complex haze environments is solved. , achieving higher quality defogging image recovery.

CN118710547BActive Publication Date: 2024-11-29WENZHOU UNIV METAVERSE & ARTIFICIAL INTELLIGENCE RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411205524.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-29
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

The existing fog removal algorithm is not effective in complex haze environments, and the methods based on prior information are inaccurate in actual situations, while learning-based methods are difficult to deal with complex haze environments, resulting in average fog removal effect.

Method used

Design a convolutional neural network defog removal method based on prior information assistance. Through attention supervision network, use the prior information of haze distribution to perform non-uniform defog removal, and introduce detailed and detailed networks to make up for the loss of details, combining with semi-courses Supervised learning strategies alleviate the learning ambiguity of multi-objective prediction tasks, and finally restore clear images through image reconstruction network fusion information.

Benefits of technology

A better fog removal effect is achieved. Through non-uniform feature distribution and detailed information supplement, the quality of the fog removal image is improved, the learning ambiguity problem is alleviated, and a clearer fog removal image is obtained.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710547B_ABST
    Figure CN118710547B_ABST
Patent Text Reader

Abstract

The present invention proposes a convolutional neural network defogging method based on prior information assistance, and regards the haze image prior as auxiliary information of the neural network to improve the overall defogging effect of the model. Specifically, we use relevant priors from two perspectives: attention supervision and image detail protection. First, the prior information characterizing the spatial distribution of image haze is used as a supervisory constraint to generate the corresponding attention feature map to improve the defogging effect in non-uniform areas. Secondly, the image detail extraction prior is used as supplementary information of the network to overcome the defect of traditional methods in the defogging process that image details are lost. Finally, a semi-course supervised learning strategy is introduced to alleviate the problems of large learning ambiguity and difficult convergence in multi-target regression tasks. In summary, the defogging network proposed in the present invention can effectively retain the detailed information of the image while removing the haze of the image, and has a high practical application prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to technical fields such as deep learning, intelligent image processing, convolutional neural networks and image restoration. By utilizing appropriate image prior information, a convolutional neural network defogging method based on prior information assistance is proposed. Background Art

[0002] In recent years, due to the rapid development of social activities and industrial economy, the frequency of severe weather such as haze and dust has increased year by year. It not only affects people's social production activities, but also causes serious quality degradation problems of images collected by camera equipment, such as color distortion and blurred image details. In order to improve the shooting quality of images under haze weather conditions and reduce the interference of haze weather on outdoor imaging systems, researchers have proposed a large number of defogging algorithms to solve the above problems.

[0003] Specifically, the existing defogging algorithms are mainly divided into two categories: physical model-based defogging methods and learning-based image defogging methods. Physical model-based defogging algorithms are mainly committed to exploring various types of image prior information, estimating the atmospheric scattering coefficient and transmission coefficient through these effective prior information, and then restoring the final defogging image based on the atmospheric scattering model. Prior-based defogging methods have achieved certain results, but due to the complexity and variability of real conditions, the priors they rely on may not be consistent with the actual situation, resulting in defogging failure. The strategy of learning-based image defogging methods is to predict parameters through network learning or directly restore the defogging image end-to-end. Among them, the former is still based on the atmospheric scattering model for the final image restoration, while the latter does not require intermediate parameter prediction and directly predicts the defogging image. Compared with the prior-based image defogging method, the learning-based method has achieved better results in the simulation data set. However, due to the lack of understanding of real haze images, learning-based methods are difficult to handle complex haze environments, and the defogging effect on the real world is average. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a convolutional neural network defogging method based on prior information assistance. By dynamically combining traditional prior information with deep convolutional neural networks, their respective advantages are fully utilized to achieve better defogging effects. Among them, prior information is used as an auxiliary content of the convolutional neural network to strengthen it from two aspects: attention supervision and image detail protection. On the one hand, the prior information characterizing the distribution of haze is used to guide the network to achieve non-uniform defogging. On the other hand, the defogging image is supplemented by introducing detail information prior. Finally, a semi-course supervised learning strategy is introduced to alleviate the learning ambiguity problem in the multi-target prediction task and obtain the final clear image.

[0005] The technical solution adopted by the present invention is a convolutional neural network defogging method based on prior information assistance. It is specifically implemented according to the following steps:

[0006] Step 1: Construction of the attention supervision network. The attention supervision network uses the prior information representing the location of haze to constrain the generation process of the attention feature map. Specifically, it uses the foggy image as the image input of the attention supervision network and outputs the attention feature map that perceives the uneven feature distribution information. The generated attention feature map will guide the main network to perform feature screening and focus on more important feature areas;

[0007] Step 2: Construction of detail refinement network. In order to alleviate the problem of detail loss in the image dehazing process, a supplementary detail refinement network is introduced. We found that the residual channel prior contains rich structural information, so it is natural to merge it into the detail refinement network to guide a more refined detail reconstruction process. It includes a residual channel prior extraction module and a feature enhancement module. The former aims at detail information extraction while the latter focuses on detail feature enhancement. Consistent with the attention supervision network, its detail information will be transmitted to the main network to provide detail information supplement;

[0008] Step 3: Construction of the image reconstruction network. As the main network of the dehazing model, the image reconstruction network is responsible for the final clear and haze-free image reconstruction by fusing the attention feature map from the attention supervision network with the detail supplementary information from the detail refinement network.

[0009] The present invention is also characterized in that:

[0010] The specific implementation process of step 1 is as follows: The purpose of the attention supervision network is to generate an attention feature map with non-uniform feature distribution information. In essence, the attention supervision network adopts a classic encoding and decoding structure in order to perceive a finer spatial haze distribution. First, we use two consecutive 3×3 convolutional layers with a step size of 2 to extract a ×4 downsampled feature map. Subsequently, the feature representation is strengthened in the low-resolution feature space through a continuous mixed attention feature module. Finally, two corresponding transposed convolutional layers are used to upsample the features to the original size, and finally the final generated attention map is obtained through a sigmoid activation function layer. Among them, the core of the attention supervision network lies in two parts: the channel-level attention module and the pixel-level attention module. Both improve the effectiveness of their feature representations at the channel level and the pixel level respectively;

[0011] The specific implementation process of step 2 is as follows: Since structural details and haze have similar intrinsic properties, the dehazing process will inevitably lead to a certain degree of detail loss. Therefore, the purpose of designing a detail refinement network is to compensate for the detail loss problem in the image dehazing process. First, the blurred image is used as the network input, and the residual channel prior extraction module is used to extract the detail information of the image. Secondly, the extracted detail information is feature enhanced, and the detail information is improved by designing a feature enhancement module. Finally, the acquired enhanced information is transmitted to the main network to compensate for the detail loss in the main network's dehazing process. In general, the focus of the detail refinement network is: the residual channel prior extraction module and the feature enhancement module, which are mainly responsible for the extraction and enhancement of detail features;

[0012] The specific implementation process in step 3 is as follows: The image reconstruction network is the main network of the proposed dehazing method, which is responsible for restoring the final clear dehazed image. Among them, the following two problems need to be solved: 1) Since the size and density of haze are arbitrary, the pixel area and degree of occlusion of objects in the haze image are unknown; 2) Since the residual channel prior contains inconsistent feature information compared with the original hazy image, how to effectively fuse them together and make full use of the detail prior is the key to improving the quality of dehazed reconstructed images. To this end, two effective modules are adopted: hierarchical feature module and iterative attention fusion. The former improves the feature enhancement efficiency through a hierarchical structure, and the latter, if the iterative fusion module makes full use of different source features, ensures the efficiency of feature fusion.

[0013] In summary, the main contributions of the present invention are:

[0014] (1) This paper provides a convolutional neural network dehazing method based on prior information. By utilizing the constraints of the prior information of the haze location, an attention supervision network is designed to predict the perceptually uneven attention map feature distribution information. In addition, a self-paced half-course learning strategy is introduced to alleviate the learning ambiguity and network convergence problems caused by the attention feature map prediction.

[0015] (2) The present invention provides a convolutional neural network dehazing method based on prior information. With the assistance of residual channel prior, a detail refinement network is designed. It includes structural modules for feature extraction and enhancement respectively. At the same time, in order to obtain more accurate information from the residual channel prior, a progressive reconstruction strategy is adopted to improve the final dehazed image quality.

[0016] (3) The present invention provides a convolutional neural network dehazing method based on prior information assistance. The image reconstruction network is designed to restore the final dehazed image by integrating the information features of the attention supervision network and the detail refinement network. Among them, the proposed hierarchical feature module and iterative attention fusion can respectively help the model explore multi-scale feature maps and guide the network to make full use of the residual channel prior features. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a schematic diagram of the overall structure of a convolutional neural network defogging method based on prior information assistance proposed by the present invention;

[0018] Figure 2 This is a schematic diagram of the overall structure of the hybrid attention module proposed in the present invention;

[0019] Figure 3 This is a schematic diagram of the overall structure of the feature enhancement module proposed in the present invention. DETAILED DESCRIPTION

[0020] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the described embodiments are intended only to facilitate the understanding of the present invention and do not have any limiting effect on it. The accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. The structures shown in the accompanying drawings are part of the actual structure. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0021] The present invention proposes a convolutional neural network dehazing method based on prior assistance. First, the prior information characterizing the spatial position of haze is used as a conditional constraint of the attention supervision network to generate the corresponding attention feature map. Secondly, the residual channel prior information is used to construct a detail refinement network to compensate for the problem of detail loss in the image dehazing process. Finally, the image reconstruction network integrates the attention feature map from the attention supervision network and the detail information of the detail refinement network, combined with its own feature extraction module, to fully explore multi-source features and improve the overall model dehazing performance.

[0022] The overall model is Figure 1 As shown, it contains three networks, namely, attention supervision network, detail refinement network and image reconstruction network.

[0023] The purpose of the attention supervision network is to generate an attention feature map with non-uniform feature distribution information, which serves as the attention basis for subsequent main network feature selection.

[0024] First, the attention supervision network follows the classic encoder-decoder structure, taking the haze image as the input of the attention supervision network and outputting an attention feature map of the same size. To reduce the amount of computation introduced by the large-size feature map, we map it to a low-dimensional space through two consecutive downsampling operations, with a convolutional layer step size of 2.

[0025] Secondly, the downsampled feature map will be processed by a series of continuous hybrid attention feature modules. Figure 2 As shown in the figure, it includes two parts: channel-level attention module and pixel-level attention module, both of which improve the effectiveness of its feature representation from the channel level and pixel level respectively.

[0026] Among them, the channel attention module is dedicated to exploring the differences between different feature channels and selectively distinguishing their importance. First, the features are processed through two consecutive convolutional layers, and the derived feature maps are input into the global pooling layer for dimensionality reduction. The dimensionality reduction-expansion-increase paradigm is used to enrich the intrinsic representation of the features. Finally, the Sigmoid activation function is used to map the features to the range of 0~1 to obtain the final attention weight results.

[0027] Among them, the pixel attention module is dedicated to exploring the differences between different pixels. Compared with the channel attention module, the pixel attention module pays more attention to the differences between information at different positions in the image. First, after continuous ordinary convolution processing, it is reduced in dimension by 1×1 convolution. Secondly, the Relu function is used for feature activation processing. Finally, the Sigmoid function is used to map the features to the range of 0~1 to obtain the final attention weight result.

[0028] Finally, the feature map after continuous mixed attention processing is subjected to corresponding dimensionality increase processing, and the feature map is resized using two consecutive upsampling operations and returned to its original size. The result will be used as the output of the attention supervision network to assist the main network in subsequent dehazing operations.

[0029] The purpose of the detail refinement network is to compensate for the detail loss problem in the image dehazing process and ensure that the dehazed image has richer detail information.

[0030] First, a residual channel prior information extraction module is constructed to extract detail information from the haze image. The residual channel prior is obtained by subtracting the maximum and minimum channels of the input image. This prior information contains more detail information than the original image. Therefore, the output is feature expanded and feature mapped through a 3×3 convolutional layer to generate a series of feature maps rich in detail information.

[0031] Secondly, in order to make better use of the residual channel prior information, we designed a feature enhancement module to expand it. In order to improve the network's ability to perceive the overall image boundaries and contours, we stacked dilated convolutions of different scales to achieve a larger network receptive field, thereby better capturing the overall contour information. Among them, we used dilated convolution layers with dilation coefficients of 1, 3, and 5 for feature enhancement. The overall structure of the model is as follows: Figure 3 shown.

[0032] Finally, a progressive reconstruction strategy is used to regress and predict the dehazed image. Generally speaking, a clear image contains clearer detail information. Therefore, we adopt a progressive reconstruction strategy in the detail refinement network, which obtains the dehazed image by regressing in different stages, and then extracts its detail information to guide the dehazed task in the next stage. Based on this progressive reconstruction strategy, the image details can be better maintained.

[0033] The purpose of the image reconstruction network is to integrate the features of the attention supervision network and the detail refinement network to achieve the final dehazed image reconstruction.

[0034] First, in order to better utilize the attention feature map generated by the attention supervision network, a semi-course supervised learning strategy is introduced to alleviate the learning ambiguity in the multi-target generation task. The implementation idea is mainly to constrain the network by using the attention truth value, that is, to use a certain proportion of the truth value to guide the network convergence. Among them, the proportion coefficient has a certain numerical relationship with the number of training iterations. Simply put, when the network just starts training, the truth value should occupy a larger proportion. As the network slowly converges, its truth value proportion coefficient should gradually decrease.

[0035] Secondly, in order to better utilize the detail information features from the detail refinement network, an iterative attention fusion module is designed and constructed. Since the atomization features and detail features are essentially inconsistent, a simple fusion strategy will partially lose their information. The iterative attention fusion module fuses different features based on the principle of adaptive allocation, and obtains the fusion result by assigning different weight ratios and superimposing them. In addition, in order to further improve the fusion quality, the features are reused in an iterative manner.

[0036] Finally, in order to improve the feature extraction capability of the image reconstruction network itself, a hierarchical feature extraction module is used as the core of the main network extraction, and the original residual structure is replaced by a hierarchical structure. The advantage is that downsampling in the hierarchical structure can effectively extract features of different levels, thereby obtaining information of different scales. In addition, a global residual connection is introduced to ensure the rapid convergence of the main network.

[0037] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A convolutional neural network dehazing method based on prior information assistance, characterized in that: Step 1: Construction of the attention supervision network. The attention supervision network uses the prior information representing the haze location to constrain the generation process of the attention feature map. The foggy image is used as the image input of the attention supervision network, and the attention feature map that perceives the uneven feature distribution information is output. The generated attention feature map will guide the main network to perform feature screening and focus on more important image feature areas. Step 2: Construction of detail refinement network. To alleviate the detail loss problem in the image dehazing process, a supplementary detail refinement network is introduced. The detail refinement network includes a residual channel prior extraction module and a feature enhancement module. The former aims at detail information extraction while the latter focuses on detail feature enhancement. Step 3: Construction of the image reconstruction network. As the main network of the dehazing model, the image reconstruction network is responsible for the final clear and haze-free image reconstruction by fusing the attention feature map from the attention supervision network with the detail supplementary information from the detail refinement network. In step 1, the attention supervision network uses the position prior information of the haze image as a network optimization constraint, generates an attention feature map to predict the distribution information of haze features with uneven perception, and guides the main network to perform feature screening and focus on more important feature areas; In the step 1, a semi-course supervised learning strategy is introduced to alleviate the learning fuzziness and network convergence difficulties in the generation process of the attention feature map and the dehazed image, and the network is guided to optimize and converge by setting a certain proportional coefficient, wherein the proportional coefficient has a certain numerical relationship with the number of training iterations. When the network just starts to be trained, the true value should occupy a larger proportion, and as the network slowly converges, its true value proportion coefficient gradually decreases; In step 2, the residual channel prior extraction module obtains residual channel prior information by subtracting the maximum and minimum channel values ​​of the input image information, and the feature enhancement module performs superposition operations on dilated convolutions of different scales to enhance the network's perception of the overall image boundary and contour; In step 2, the detail refinement network adopts a progressive image reconstruction strategy, using the restoration result of the previous stage to guide the image defogging work of the subsequent stage of the network. The progressive strategy can effectively improve the accuracy of the detail information brought by the residual channel prior; In step 3, the image reconstruction network uses a hierarchical feature module as its feature extraction core, and continuous downsampling operations can effectively extract features of different levels, obtain information of different scales, and enrich the feature representation capability of the image reconstruction network; In step 3, the image reconstruction network uses an iterative attention fusion module to integrate the haze features from the main network and the detail features from the detail refinement network. The adaptive attention feature fusion method can fully consider the differences between features and achieve better feature fusion effects.

Citation Information

Patent Citations

  • Neural network image defogging method based on multi-level feature fusion and attention guidance

    CN111915531A

  • Single image defogging method based on detail recovery

    CN116152107A