Remote sensing image defogging method and device based on deep learning and medium
Through deep learning methods, combined with hierarchical feature extraction and light attenuation models, the network structure is simplified, the problem of computational complexity and over-fitting in the remote sensing image dehazing process is solved, and efficient and accurate remote sensing image dehazing is achieved.
Patent Information
- Application Number
- CN202410587671.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology has high computational complexity and long processing time in the remote sensing image dehazing process. Moreover, when training data is limited, the complex network structure leads to overfitting and poor generalization ability, resulting in poor dehazing accuracy.
A remote sensing image dehazing method based on deep learning is designed, including a depth map generation sub-network, a transmission map generation sub-network, a backscatter map generation sub-network and an inversion operator sub-network. Through hierarchical feature extraction, light attenuation and scattering Model calculation, realizes the reverse calculation of dehazed images, simplifies the network structure to improve processing speed and efficiency, and adjusts the network structure and parameters through forward propagation and backward propagation training.
It improves the speed and effect of dehazing remote sensing images, ensures high accuracy under different lighting and weather conditions, simplifies data processing, improves the reliability and generalization ability of the model, and significantly improves the visual effects of dehazed images.
Smart Images

Figure CN118537260A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to a remote sensing image defogging method, device and medium based on deep learning. Background Art
[0002] Visual detection based on optical remote sensing images has been widely used in the fields of ocean monitoring and maritime safety. However, due to the complexity of meteorological conditions, there are problems in remote sensing images, such as blurred observation under thin cloud cover and incomplete presentation of target features under thick cloud cover, which greatly reduces the observability of the target. Image dehazing algorithm is an image enhancement algorithm, which aims to improve the clarity and contrast of the image without affecting the image information, or as a preprocessing step for other advanced visual tasks.
[0003] For example, Chinese invention patent CN112215766B discloses an image defogging method and its convolutional network that integrates image restoration and image enhancement. It integrates a deep learning restoration defogging method based on an embedded physical model and an end-to-end deep learning enhancement defogging method, and inputs the output results of the two methods into a gated fusion network to obtain the final defogging image. The restoration network combines the atmospheric scattering model to effectively reduce the complexity of the defogging task; the enhancement network improves the ability to defog non-physical model images by combining the defogging image of the restoration network; the gated fusion network flexibly integrates the defogging images of two different defogging strategies, and obtains the optimal ratio of the combination through learning, thereby combining the advantages of both.
[0004] However, the network architecture that combines two different methods may lead to higher computational complexity, increase processing time and computing resource requirements, and limit real-time applications. At the same time, when training data is limited, too many parameters in the complex network structure may lead to overfitting problems, and the defogging accuracy is poor when generalized to new scenes. Therefore, it is necessary to design a remote sensing image defogging method to further improve the speed and effect of remote sensing image defogging. Summary of the invention
[0005] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a remote sensing image defogging method, device and medium based on deep learning, so as to further improve the speed and effect of remote sensing image defogging.
[0006] The purpose of the present invention can be achieved by the following technical solutions:
[0007] The present invention provides a remote sensing image defogging method, comprising the following steps:
[0008] Obtain the remote sensing image to be defogged, input it into the remote sensing image defogging network, and output the defogged remote sensing image;
[0009] The remote sensing image defogging network includes a depth map generation subnetwork, a transmission map generation subnetwork, a backscattering map generation subnetwork and an inversion subnetwork which are connected in sequence.
[0010] The depth map generation subnetwork is used to extract hierarchical features of the dehazed remote sensing image and generate a corresponding depth map.
[0011] The transmission map generation subnetwork is used to calculate the corresponding transmission map according to the depth map based on the atmospheric scattering model,
[0012] The backscattering image generation subnetwork is used to calculate the corresponding backscattering image according to the transmission image based on the backscattering model,
[0013] The inversion subnetwork takes the backscatter map, the transmission map and the remote sensing image to be defogged as input, generates and outputs the defogged remote sensing image through an inverse calculation process.
[0014] Furthermore, the depth map generation subnetwork includes a symmetrically structured encoding part and a decoding part, the encoding part and the decoding part respectively include a plurality of feature extraction modules, and each feature extraction module includes a plurality of convolution submodules connected in sequence.
[0015] Furthermore, the last convolution submodule is preceded by an upsampling layer or a downsampling layer, and the input of the upsampling layer or the downsampling layer is the sum of the output of the previous convolution submodule and the input of the first convolution submodule.
[0016] Furthermore, each of the convolution submodules includes a convolution layer, a Silu activation layer and a normalization layer.
[0017] Furthermore, the generation process of the transmission map can be specifically expressed as:
[0018] t=e -α×depth
[0019] Among them, t is the transmission map, e is a constant, α is the attenuation rate, and depth is the depth map.
[0020] Furthermore, the generation process of the backscatter map can be specifically expressed as:
[0021] H=A ∞ (1-t)
[0022] Among them, H is the backscattering pattern, A ∞ is the ambient light, the brightest value of the remote sensing image to be atomized is taken, and t is the transmission map.
[0023] Furthermore, the generation process of the defogging remote sensing image can be specifically expressed as:
[0024] J=(IH) / t
[0025] Among them, J is the defogging remote sensing image, I is the remote sensing image to be defogged, H is the backscattering image, and t is the transmission image.
[0026] Furthermore, the remote sensing image defogging network is trained through forward propagation and backward propagation, and after the training is completed, the performance of the remote sensing image defogging network is evaluated through cross-validation to further adjust the structure and parameters of the remote sensing image defogging network.
[0027] The present invention also provides an electronic device, comprising a memory, a processor, and a program stored in the memory, wherein the processor implements the above method when executing the program.
[0028] The present invention also provides a computer-readable storage medium on which a computer program is stored, and the program implements the above method when executed by a processor.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] 1. The present invention outputs a defogging remote sensing image through a remote sensing image defogging network, wherein the remote sensing image defogging network includes a depth map generation subnetwork, a transmission map generation subnetwork, a backscattering map generation subnetwork and an inversion subnetwork connected in sequence, the depth map generation subnetwork is used to extract hierarchical features of the defogging remote sensing image to be defogged, and generate a corresponding depth map, the depth map can perform depth mapping on the image to be defogged to ensure that the high accuracy of defogging can be maintained under different lighting and weather conditions, the transmission map generation subnetwork is used to calculate the corresponding transmission map according to the depth map based on the atmospheric scattering model, and the transmission map generation subnetwork is used to calculate the corresponding transmission map according to the depth map based on the atmospheric scattering model. The transmission map can accurately describe the light attenuation in the image. The backscattering map generation subnetwork is used to calculate the corresponding backscattering map according to the transmission map based on the backscattering model. The backscattering map can accurately describe the scattering effect of suspended particles in the atmosphere on light. The inversion subnetwork takes the backscattering map, transmission map and remote sensing image to be defogged as input, and generates a defogged remote sensing image through an inverse calculation process. The output defogged remote sensing image is visually close to the real scene in a fog-free state, which significantly improves the image to be defogged in many aspects and further enhances the defogging effect of the remote sensing image.
[0031] 2. In the present invention, the depth map generation subnetwork includes a symmetrically structured encoding part and a decoding part, the encoding part and the decoding part respectively include multiple feature extraction modules, each feature extraction module includes multiple convolution submodules connected in sequence, each convolution submodule includes a convolution layer, a Silu activation layer and a normalization layer, the last convolution submodule is preceded by an upsampling layer or a downsampling layer, the input of the upsampling layer or the downsampling layer is the sum of the output of the previous convolution submodule and the input of the first convolution submodule, this design is simple and efficient, can quickly process a large amount of data, and improves the real-time performance of remote sensing image defogging.
[0032] 3. In the present invention, the remote sensing image dehazing network is trained through forward propagation and backward propagation. After the training is completed, the performance of the remote sensing image dehazing network is evaluated through cross-validation to further adjust the structure and parameters of the remote sensing image dehazing network, which helps to improve the reliability and generalization ability of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a schematic diagram of the structure of the remote sensing image dehazing network;
[0034] Figure 2 Schematic diagram of the structure of the sub-network for depth map generation,
[0035] Among them, 1 is the encoding part, 2 is the decoding part, FE is the feature extraction module, F1, F2 and F3 are the features extracted by the first, second and third feature extraction modules in the encoding part respectively, F4, F5 and F6 are the features extracted by the first, second and third feature extraction modules in the decoding part respectively, T1, T2 and T5 are the inputs of the first, second and third convolution submodules respectively, T3 is the output of the third convolution submodule, and T4 is the input of the upsampling layer or the downsampling layer. DETAILED DESCRIPTION
[0036] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0037] Example:
[0038] This embodiment provides a remote sensing image defogging method based on deep learning, comprising the following steps:
[0039] Get the remote sensing image to be defogged, input it into the remote sensing image defogging network, and output the defogged remote sensing image.
[0040] The structure of the remote sensing image dehazing network is as follows Figure 1As shown, it includes a depth map generation subnetwork, a transmission map generation subnetwork, a backscattering map generation subnetwork and an inversion subnetwork which are connected in sequence. The structure and function of each subnetwork are as follows:
[0041] (a) Deep Image Generation Subnetwork
[0042] The depth map generation subnetwork is used to extract hierarchical features from the dehazed remote sensing image and generate the corresponding depth map. The structure of the depth map generation subnetwork is as follows: Figure 2 As shown, it includes a coding part 1 and a decoding part 2 with symmetrical structures. The coding part 1 takes an RGB image as input and includes three feature extraction (FE) modules to obtain a high-dimensional feature representation.
[0043] The data processing process of the encoding part 1 can be expressed by the following formula:
[0044] F1=FE(Input)
[0045] F2=FE(F1)
[0046] F3=FE(F2)
[0047] Among them, F1, F2 and F3 are the features extracted by the first, second and third feature extraction modules in the encoding part 1 respectively, and the input is the remote sensing image to be defogged.
[0048] The highest dimensional feature F3 is sent to the decoding part 2, and after being decoded by the three feature extraction modules, it is reconstructed back to a depth map with channel 1. The data processing process of the decoding part 2 can be expressed by the following formula:
[0049] F4=FE(F3)
[0050] F5=FE(F4)
[0051] F6=FE(F5)
[0052] Among them, F4, F5 and F6 are the features extracted by the first, second and third feature extraction modules in the decoding part 2 respectively.
[0053] Each feature extraction module consists of three convolution submodules, such as Figure 2As shown in the figure, each convolution submodule includes a convolution layer, a Silu activation layer, and a normalization layer. The last convolution submodule is preceded by an upsampling layer Upsample or a downsampling layer Maxpooling. In the encoding part 1, the feature extraction module uses the downsampling layer, and in the decoding part 2, the feature extraction module uses the upsampling layer. The input of the upsampling layer or downsampling layer is the sum of the output of the previous convolution submodule and the input of the first convolution submodule. The data processing process in the convolution submodule can be expressed by the following formula:
[0054] T2=IN(Silu(conv(T1)))
[0055] T3=IN(Silu(conv(T2)))
[0056] T4=T1+T3
[0057] T5=IN(Silu(conv(T4)))
[0058] Among them, conv(*) is the convolution layer operation, Silu(*) is the Silu activation layer operation, IN(*) is the IN normalization layer operation, T1, T2 and T5 are the inputs of the first, second and third convolution submodules respectively, T3 is the output of the third convolution submodule, and T4 is the input of the upsampling layer or downsampling layer.
[0059] The network design is simple and efficient, capable of quickly processing large amounts of data, and is very suitable for the needs of real-time remote sensing image processing.
[0060] (b) Transmission map generation subnetwork
[0061] The transmission map generation subnetwork is used to calculate the corresponding transmission map based on the depth map based on the atmospheric scattering model. The transmission map generation process can be specifically expressed as:
[0062] t=e -α×depth
[0063] Among them, t is the transmission map, e is a constant, α is the attenuation rate, which is generally taken as 1, and depth is the depth map.
[0064] The transmission map reflects the proportion of light from each pixel in the image that passes through the atmosphere to reach the camera. This step is based on the atmospheric scattering model and can accurately describe the light attenuation in the image.
[0065] (c) Backscattering image generation subnetwork
[0066] The backscattering map generation subnetwork is used to calculate the corresponding backscattering map based on the backscattering model and the transmission map. The generation process of the backscattering map can be specifically expressed as:
[0067] H=A ∞ (1-t)
[0068] Among them, H is the backscattering pattern, A ∞ is the ambient light, the brightest value of the remote sensing image to be atomized is taken, and t is the transmission map.
[0069] The backscatter image represents the portion of light that fails to reach the camera due to atmospheric scattering. This calculation process can show the scattering effect of suspended particles in the atmosphere on light.
[0070] (d) Inversion sub-network
[0071] The inversion subnetwork takes the backscatter map, transmission map and remote sensing image to be defogged as input, generates and outputs the defogged remote sensing image through the inverse calculation process. The generation process of the defogged remote sensing image can be specifically expressed as:
[0072] J=(IH) / t
[0073] Among them, J is the defogging remote sensing image, I is the remote sensing image to be defogged, H is the backscattering image, and t is the transmission image.
[0074] The final dehazed remote sensing image is visually close to the real scene in a fog-free state, with significant improvements in color, contrast and details.
[0075] The training process of the remote sensing image dehazing network includes data preprocessing, model training, and model validation. The data preprocessing stage includes data enhancement and standardization to improve the network's generalization ability for images under different lighting and weather conditions. The model training stage includes forward propagation and back propagation, and the network parameters are optimized through the loss function to achieve the model learning process. The model validation stage includes cross-validation and performance evaluation to ensure the robustness and accuracy of the model on unknown data.
[0076] The above method has the advantages of fast processing speed, good defogging effect, strong adaptability, etc., and can meet the image defogging tasks in various remote sensing scenarios. In addition, the implementation of this method does not require complex hardware support and can be easily deployed on existing computing platforms, providing an efficient remote sensing image defogging method for military, meteorological and civil remote sensing fields.
[0077] If the above method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0078] The above description of the embodiments is to facilitate the understanding and use of the invention by those skilled in the art. It is obvious that those skilled in the art can easily make various modifications to these embodiments and apply the general principles described herein to other embodiments without creative work. Therefore, the present invention is not limited to the above embodiments, and improvements and modifications made by those skilled in the art based on the disclosure of the present invention without departing from the scope of the present invention should be within the scope of protection of the present invention.
Claims
1. A remote sensing image defogging method based on deep learning, characterized in that: The following steps are involved: Obtain the remote sensing image to be defogged, input it into the remote sensing image defogging network, and output the defogged remote sensing image; The remote sensing image defogging network includes a depth map generation subnetwork, a transmission map generation subnetwork, a backscattering map generation subnetwork and an inversion subnetwork which are connected in sequence. The depth map generation subnetwork is used to extract hierarchical features of the dehazed remote sensing image and generate a corresponding depth map. The transmission map generation subnetwork is used to calculate the corresponding transmission map according to the depth map based on the atmospheric scattering model, The backscattering image generation subnetwork is used to calculate the corresponding backscattering image according to the transmission image based on the backscattering model, The inversion subnetwork takes the backscatter map, the transmission map and the remote sensing image to be defogged as input, generates and outputs the defogged remote sensing image through an inverse calculation process.
2. The remote sensing image defogging method based on deep learning according to claim 1, characterized in that: The depth map generation subnetwork comprises a symmetrically structured encoding part (1) and a decoding part (2), wherein the encoding part (1) and the decoding part (2) respectively comprise a plurality of feature extraction modules, and each feature extraction module comprises a plurality of convolution submodules connected in sequence.
3. The remote sensing image defogging method based on deep learning according to claim 2, characterized in that: The last convolution submodule is preceded by an upsampling layer or a downsampling layer, and the input of the upsampling layer or the downsampling layer is the sum of the output of the previous convolution submodule and the input of the first convolution submodule.
4. The remote sensing image defogging method based on deep learning according to claim 2, characterized in that: Each of the convolution submodules includes a convolution layer, a Silu activation layer and a normalization layer.
5. The remote sensing image defogging method based on deep learning according to claim 1, characterized in that: The generation process of the transmission map can be specifically expressed as: t=e -α×depth Among them, t is the transmission map, e is a constant, α is the attenuation rate, and depth is the depth map.
6. The remote sensing image defogging method based on deep learning according to claim 1, characterized in that: The generation process of the backscattering graph can be specifically expressed as: H=A ∞ (1-t) Among them, H is the backscattering pattern, A ∞ is the ambient light, the brightest value of the remote sensing image to be atomized is taken, and t is the transmission map.
7. The remote sensing image defogging method based on deep learning according to claim 1, characterized in that: The generation process of the defogging remote sensing image can be specifically expressed as: J=(IH) / t Among them, J is the defogging remote sensing image, I is the remote sensing image to be defogged, H is the backscattering image, and t is the transmission image.
8. The remote sensing image defogging method based on deep learning according to claim 1, characterized in that: The remote sensing image defogging network is trained through forward propagation and backward propagation. After the training is completed, the performance of the remote sensing image defogging network is evaluated through cross-validation to further adjust the structure and parameters of the remote sensing image defogging network.
9. An electronic device comprising a memory, a processor, and a program stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Image defogging method integrating image restoration and image enhancement and convolutional network thereof
CN112215766A
Serial attention enhanced UNet++ defogging network for defogging single image
CN114022392A
Single image defogging method, device and equipment based on physical model
CN117372289A
