Method and device for generating cloud and mist shielding image

Through the cloud and fog occlusion image generation method, the feature extraction and fusion module is used to process remote sensing image information, which solves the problem of unstable remote sensing image quality, improves the generation efficiency and reduces the cost.

CN118799428AInactive Publication Date: 2024-10-18BEIJING INST OF REMOTE SENSING INFORMATION

Patent Information

Application Number
CN202410880589.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Under different occlusion conditions, the quality of remote sensing images is difficult to guarantee, affecting generation efficiency and increasing costs.

Method used

The cloud and fog occlusion image generation method is used to obtain and preprocess remote sensing image information, and use the cloud and fog occlusion image generation model, including a feature extraction module and a fusion module, to process the image information to generate the target remote sensing image.

Benefits of technology

It improves the quality of remote sensing images under different occlusion conditions, improves generation efficiency and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799428A_ABST
    Figure CN118799428A_ABST
Patent Text Reader

Abstract

The invention discloses a cloud and mist shielding image generation method and device. The method comprises the following steps: acquiring first remote sensing image information and second remote sensing image information; respectively preprocessing the first remote sensing image information and the second remote sensing image information to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information; and processing the first preprocessed remote sensing image information and the second preprocessed remote sensing image information by using a cloud and mist shielding image generation model to obtain target remote sensing image information. Therefore, the remote sensing image quality under different shielding conditions can be improved, so that the remote sensing image generation efficiency is improved, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of remote sensing image generation, and in particular to a method and device for generating a cloud-occluded image. Background Art

[0002] Remote sensing images have become an important data support carrier for tools or tasks such as geographic information systems, environmental monitoring, climate regulation, and urban planning due to their wide synchronous observation range, fast information acquisition speed, short cycle, and dynamic reflection of changes in ground objects. They play a vital role in various fields. However, in real application scenarios (such as ground object classification, urban change classification, and corresponding position regression), there is a lack of remote sensing image data under different occlusion conditions. Due to the wide imaging range of real remote sensing images, limited imaging frequency, sparse and uneven spatial distribution of ground objects, and the influence of weather and meteorological factors on imaging effects, when acquiring and producing remote sensing images, they are easily disturbed by the environment, and it is difficult to ensure the quality of remote sensing images under different occlusion conditions, which affects efficiency and increases costs. The cloud-occlusion-based image generation method can take into account the remote sensing imaging principle and the relevant characteristics of remote sensing images, and stably generate high-quality remote sensing images. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method and device for generating cloud and fog occlusion images, which is beneficial to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0004] In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a method for generating a cloud-occluded image, the method comprising:

[0005] S1, obtaining first remote sensing image information and second remote sensing image information;

[0006] S2, preprocessing the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information;

[0007] S3: Using a cloud occlusion image generation model, the first preprocessed remote sensing image information and the second preprocessed remote sensing image information are processed to obtain target remote sensing image information.

[0008] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the preprocessing of the first remote sensing image information and the second remote sensing image information respectively to obtain the first preprocessed remote sensing image information and the second preprocessed remote sensing image information includes:

[0009] S21, performing calculation processing on the first remote sensing image information to obtain third pre-processed remote sensing image information;

[0010] S22, preprocessing the third preprocessed remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information.

[0011] As an optional implementation, in the first aspect of the embodiment of the present invention, the cloud and fog occlusion image generation model includes a first feature extraction module, a second feature extraction module, a third feature extraction module and a first fusion module; wherein,

[0012] The input end of the first feature extraction module is connected to the first input of the cloud occlusion image generation model, and the output end of the first feature extraction module is respectively connected to the input end of the second feature extraction module and the input end of the third feature extraction module; the output end of the second feature extraction module is connected to the input end of the first fusion module; the output end of the third feature extraction module is connected to the input end of the first fusion module; the second input of the cloud occlusion image generation model is connected to the input end of the first fusion module; and the output end of the first fusion module is connected to the first output of the cloud occlusion image generation model.

[0013] As an optional implementation, in the first aspect of the embodiment of the present invention, the second feature extraction module includes a first convolution unit, a second convolution unit, a third convolution unit, a fourth convolution unit, a fifth convolution unit, a sixth convolution unit, a seventh convolution unit, an eighth convolution unit, a ninth convolution unit, a tenth convolution unit, a first activation unit, and a first upsampling unit; wherein,

[0014] The input end of the first convolution unit is connected to the output end of the first feature extraction module, and the output end of the first convolution unit is respectively connected to the input end of the second convolution unit and the input end of the first activation unit; the output end of the second convolution unit is respectively connected to the input end of the third convolution unit and the input end of the first activation unit; the output end of the third convolution unit is respectively connected to the input end of the fourth convolution unit and the input end of the first activation unit; the output end of the fourth convolution unit is respectively connected to the input end of the fifth convolution unit and the input end of the first activation unit; the output end of the fifth convolution unit is connected to the input end of the first activation unit; the output end of the first activation unit is connected to the input end of the sixth convolution unit; the output end of the sixth convolution unit is connected to the input end of the seventh convolution unit; the output end of the seventh convolution unit is connected to the input end of the eighth convolution unit; the output end of the eighth convolution unit is connected to the input end of the ninth convolution unit; the output end of the ninth convolution unit is connected to the input end of the tenth convolution unit; the output end of the tenth convolution unit is connected to the input end of the first upsampling unit; the output end of the first upsampling unit is connected to the input end of the first fusion module.

[0015] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the calculation expression for data processing in the first fusion module is:

[0016] I′=β+[1-α]I;

[0017] Among them, I′ is the data information output by the output end of the first fusion module, α is the data information output by the output end of the second feature extraction module, β is the data information output by the output end of the third feature extraction module, and I is the data information input by the second input of the cloud occlusion image generation model.

[0018] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the cloud and fog occlusion image generation model is obtained by the following method;

[0019] Initialize the number of training iterations;

[0020] Acquire a first training data set and a second training data set;

[0021] The first remote sensing model is trained using the first training data set and the second training data set to obtain a first training remote sensing model and first training data result information; the first remote sensing model is consistent with the cloud occlusion image generation model architecture;

[0022] Using the first training data result information and the second training data set to train a second remote sensing model to obtain a second training remote sensing model and second training data result information;

[0023] Determine whether the training number iteration value is equal to a preset training number threshold, and obtain a training determination result;

[0024] When the training judgment result is no, the training number iteration value is increased by 1, and the acquisition of the first training data set and the second training data set is triggered;

[0025] When the training judgment result is yes, the first training remote sensing model is determined to be the cloud occlusion image generation model.

[0026] As an optional implementation, in the first aspect of the embodiment of the present invention, the second remote sensing model includes a fourth feature extraction module, a first pooling module, a first linear module, a second linear module and a first activation module; wherein,

[0027] The input end of the fourth feature extraction module is connected to the third input and the fourth input of the second remote sensing model, and the output end of the fourth feature extraction module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the first linear module; the output end of the first linear module is connected to the input end of the second linear module; the output end of the second linear module is connected to the input end of the first activation module; and the output end of the first activation module is connected to the second output of the second remote sensing model.

[0028] A second aspect of an embodiment of the present invention discloses a cloud and fog occlusion image generation device, characterized in that the device comprises:

[0029] An acquisition module, used for acquiring the first remote sensing image information and the second remote sensing image information;

[0030] A first computing module, configured to preprocess the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information;

[0031] The second computing module is used to process the first preprocessed remote sensing image information and the second preprocessed remote sensing image information by using a cloud occlusion image generation model to obtain target remote sensing image information.

[0032] A third aspect of an embodiment of the present invention discloses another cloud and fog occlusion image generation device, characterized in that the device comprises:

[0033] processor;

[0034] a memory coupled to the processor and storing executable program code;

[0035] The processor calls the executable program code stored in the memory to execute part or all of the steps of the cloud and fog occlusion image generation method disclosed in the first aspect of the embodiment of the present invention.

[0036] The fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute part or all of the steps of the cloud and fog occlusion image generation method disclosed in the first aspect of the embodiment of the present invention.

[0037] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0038] In an embodiment of the present invention, first remote sensing image information and second remote sensing image information are obtained; the first remote sensing image information and the second remote sensing image information are preprocessed respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information; the first preprocessed remote sensing image information and the second preprocessed remote sensing image information are processed using a cloud and fog occlusion image generation model to obtain target remote sensing image information. It can be seen that the present application is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A schematic diagram of a flow chart of a method for generating a cloud-and-fog occlusion image disclosed in an embodiment of the present invention;

[0041] Figure 2 A schematic diagram of the structure of a cloud and fog occlusion image generating device disclosed in an embodiment of the present invention;

[0042] Figure 3 It is a structural schematic diagram of another cloud and fog occlusion image generating device disclosed in an embodiment of the present invention;

[0043] Figure 4 A schematic diagram of a flow chart of a cloud and fog occlusion image generation model disclosed in an embodiment of the present invention;

[0044] Figure 5 The present invention is a flow chart of a second remote sensing model disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0048] The present invention discloses a cloud and fog occlusion image generation method and device, which is beneficial to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs. Detailed descriptions are given below.

[0049] Embodiment 1

[0050] See also Figure 1 , Figure 1 : is a flow chart of a method for generating a cloud-and-fog occlusion image disclosed in an embodiment of the present invention. Figure 1 The described cloud-fog occlusion image generation method is applied to a cloud-fog occlusion image generation device, such as a local server or cloud server for optimizing and managing cloud-fog occlusion image generation, and the embodiments of the present invention do not limit this. Figure 1 As shown, the cloud and fog occlusion image generation method may include the following operations:

[0051] S1, obtaining first remote sensing image information and second remote sensing image information;

[0052] It should be noted that the first remote sensing image information is the cloud and fog remote sensing image information to be processed, and the second remote sensing image information is the real remote sensing background image information without cloud and fog obstruction.

[0053] S2, preprocessing the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information;

[0054] S3: Using a cloud occlusion image generation model, the first preprocessed remote sensing image information and the second preprocessed remote sensing image information are processed to obtain target remote sensing image information.

[0055] It should be noted that the first preprocessed remote sensing image information and the second preprocessed remote sensing image information are processed by using the cloud and fog occlusion image generation model to obtain the target remote sensing image information. The first preprocessed remote sensing image information is input into the first input of the cloud and fog occlusion image generation model, and the second preprocessed remote sensing image information is input into the second input of the cloud and fog occlusion image generation model, and the target remote sensing image information is obtained by the cloud and fog occlusion image generation model.

[0056] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0057] In an optional embodiment, the preprocessing of the first remote sensing image information and the second remote sensing image information to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information respectively includes:

[0058] S21, performing calculation processing on the first remote sensing image information to obtain third pre-processed remote sensing image information;

[0059] It should be noted that the first remote sensing image information is calculated and processed to obtain the third pre-processed remote sensing image information, which is to divide all images in the first remote sensing image information into 512*512 sub-images through an image cropping algorithm based on a sliding window, and use the set of all the obtained sub-images as the third pre-processed remote sensing image information. The specific calculation and processing is set by the user and is not specifically limited in the embodiment of the present invention.

[0060] S22, preprocessing the third preprocessed remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information.

[0061] It should be noted that the above-mentioned preprocessing includes screening the third preprocessed remote sensing image information and the second remote sensing image information, such as whether it is a remote sensing image, whether the image size is within a preset range, etc., wherein the preprocessing step is set by the user and is not specifically limited in the embodiment of the present invention.

[0062] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0063] See also Figure 4In another optional embodiment, the cloud and fog occlusion image generation model includes a first feature extraction module, a second feature extraction module, a third feature extraction module and a first fusion module; wherein,

[0064] The input end of the first feature extraction module is connected to the first input of the cloud occlusion image generation model, and the output end of the first feature extraction module is respectively connected to the input end of the second feature extraction module and the input end of the third feature extraction module; the output end of the second feature extraction module is connected to the input end of the first fusion module; the output end of the third feature extraction module is connected to the input end of the first fusion module; the second input of the cloud occlusion image generation model is connected to the input end of the first fusion module; and the output end of the first fusion module is connected to the first output of the cloud occlusion image generation model.

[0065] It should be noted that the model structures of the second feature extraction module and the third feature extraction module are consistent, and the embodiment of the present invention does not specifically limit them;

[0066] It should be noted that the second feature extraction module is used to obtain cloud transparency image information of remote sensing image data, and the third feature extraction module is used to obtain cloud reflectivity image information of remote sensing image data;

[0067] It should be noted that the first feature extraction module may be obtained by removing the last three fully connected layers and the activation function from the VGG16 model, and the embodiment of the present invention does not make any specific limitation thereto.

[0068] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0069] In another optional embodiment, the second feature extraction module includes a first convolution unit, a second convolution unit, a third convolution unit, a fourth convolution unit, a fifth convolution unit, a sixth convolution unit, a seventh convolution unit, an eighth convolution unit, a ninth convolution unit, a tenth convolution unit, a first activation unit, and a first upsampling unit; wherein,

[0070] The input end of the first convolution unit is connected to the output end of the first feature extraction module, and the output end of the first convolution unit is respectively connected to the input end of the second convolution unit and the input end of the first activation unit; the output end of the second convolution unit is respectively connected to the input end of the third convolution unit and the input end of the first activation unit; the output end of the third convolution unit is respectively connected to the input end of the fourth convolution unit and the input end of the first activation unit; the output end of the fourth convolution unit is respectively connected to the input end of the fifth convolution unit and the input end of the first activation unit; the output end of the fifth convolution unit is connected to the input end of the first activation unit; the output end of the first activation unit is connected to the input end of the sixth convolution unit; the output end of the sixth convolution unit is connected to the input end of the seventh convolution unit; the output end of the seventh convolution unit is connected to the input end of the eighth convolution unit; the output end of the eighth convolution unit is connected to the input end of the ninth convolution unit; the output end of the ninth convolution unit is connected to the input end of the tenth convolution unit; the output end of the tenth convolution unit is connected to the input end of the first upsampling unit; the output end of the first upsampling unit is connected to the input end of the first fusion module.

[0071] It should be noted that the above-mentioned first convolution unit, second convolution unit, third convolution unit, fourth convolution unit and fifth convolution unit all include a convolution layer and an activation function, wherein the convolution layer is constructed based on the ordinary convolution layer, and its convolution kernel size is 3×3, and the activation function is constructed based on the ReLU activation function, which is not specifically limited in the embodiment of the present invention.

[0072] It should be noted that the sixth convolution unit, the seventh convolution unit, the eighth convolution unit, the ninth convolution unit and the tenth convolution unit are constructed based on the ordinary convolution layer, and the convolution kernel size is 1×1, which is not specifically limited in the embodiment of the present invention.

[0073] It should be noted that the above-mentioned first activation unit is constructed based on softmax, and the embodiment of the present invention does not make any specific limitation.

[0074] It should be noted that the above-mentioned first upsampling unit is constructed by a common deconvolution layer, and its convolution kernel size is 3×3, which is not specifically limited in the embodiment of the present invention.

[0075] It should be noted that the above-mentioned first fusion module performs linear superposition calculation on the cloud transparency image information output by the second feature extraction module, the cloud reflectivity image information output by the third feature extraction module and the remote sensing image information without cloud occlusion, so as to obtain the cloud occlusion image information.

[0076] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0077] In an optional embodiment, the calculation expression for data processing in the first fusion module is:

[0078] I′=β+[1-α]I;

[0079] Among them, I′ is the data information output by the output end of the first fusion module, α is the data information output by the output end of the second feature extraction module, β is the data information output by the output end of the third feature extraction module, and I is the data information of the second input input generated by the cloud occlusion image.

[0080] It should be noted that the data information of α is the cloud transparency image information of the remote sensing image data, and the data information corresponding to each pixel in α takes a value in [0,1], which is used to indicate the transparency of the image. When the value is 0, it represents complete transparency, and when the value is 1, it represents complete opacity; the data information of β is the cloud reflectivity image information of the remote sensing image data, and the data information of I is the real remote sensing background image information without cloud occlusion. At the input end of the first fusion module, the remote sensing background image information without cloud occlusion is input into the first input of the cloud occlusion image to obtain. For example, Then through the above calculation expression, we get

[0081] It should be noted that the first fusion module can generate cloud and fog occlusion image information, and by fitting the real image information without cloud and fog occlusion with the cloud reflectivity image information and the cloud transparency image information, the robustness of the model training process can be effectively improved.

[0082] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0083] In an optional embodiment, the cloud and fog occlusion image generation model is obtained in the following manner;

[0084] Initialize the number of training iterations;

[0085] Acquire a first training data set and a second training data set;

[0086] It should be noted that the first training data set and the second training data set are screened out through public remote sensing data set data. The selected first training data set is cloud and fog remote sensing image information used for training, which is divided into thick cloud remote sensing image data set and thin cloud remote sensing image data set. The number of remote sensing images in the thick cloud remote sensing image data set and the thin cloud remote sensing image data set is adjusted according to user needs. Preferably, the number of remote sensing images in the thick cloud remote sensing image data set and the thin cloud remote sensing image data set is the same. In addition, the selected images are divided into 512*512 sub-images, and are randomly flipped horizontally and vertically with a probability of 50%, and randomly rotated by 0° to 270° to obtain the first training data set to be processed. After the first training data set to be processed is preprocessed, the first training data set is finally obtained. The selected second training data set is real remote sensing background image information without cloud obstruction for training. The real remote sensing background image information without cloud obstruction is randomly flipped horizontally and vertically with a probability of 50%, and randomly rotated from 0° to 270° to obtain the second training data set to be processed. After the second training data set to be processed is preprocessed, the second training data set is obtained.

[0087] Through the above processing, the deviation of the training data set caused by factors such as position change and perspective change is increased, which can effectively reduce the sensitivity of the model to images during training, thereby improving the robustness and generation performance of the model.

[0088] It should be noted that the above preprocessing to obtain the first training data set and the second training data set is obtained through the following steps:

[0089] Acquire preprocessed first discrimination information and preprocessed second discrimination information; the preprocessed first discrimination information includes a plurality of preprocessed first discrimination values; the preprocessed second discrimination information includes a plurality of preprocessed second discrimination values; the number of the preprocessed first discrimination values ​​is consistent with the number of first training image information in the first training data set to be processed; the number of the preprocessed second discrimination values ​​is consistent with the number of second training image information in the second training data set to be processed;

[0090] Step 1: Preset t=1;

[0091] Step 2: Determine whether the t-th pre-processed first discrimination value is greater than a preset first discrimination threshold, and obtain a first judgment result;

[0092] When the first judgment result is yes, randomly cropping the t-th first training image information in the first training data set to be processed to obtain updated first training image information, and determining the updated first training image information as the t-th first training image information in the first training data set to be processed;

[0093] When the first judgment result is no, executing step 3;

[0094] Step 3: Determine whether t is equal to the number of first training image information in the first training data set to be processed, and obtain a second determination result;

[0095] When the second judgment result is yes, execute step 4;

[0096] When the second judgment result is no, increase t by 1 and execute step 2;

[0097] Step 4: Preset s=1;

[0098] Step 5: Determine whether the sth pre-processed second discrimination value is greater than a preset second discrimination threshold, and obtain a third judgment result;

[0099] When the third judgment result is yes, randomly cropping the s-th second training image information in the second training data set to be processed to obtain updated second training image information, and determining the updated second training image information as the s-th second training image information in the second training data set to be processed;

[0100] When the third judgment result is no, executing step 6;

[0101] Step 6: Determine whether s is equal to the number of second training image information in the second training data set to be processed, and obtain a fourth determination result;

[0102] When the fourth judgment result is yes, execute step 7;

[0103] When the fourth judgment result is no, increase s by 1 and execute step 5;

[0104] Step 7: Determine that the first training data set to be processed is the first training data set; determine that the second training data set to be processed is the second training data set.

[0105] It should be noted that the above two random cropping processes are to obtain a random cropping scale factor to ensure that the size of the area cropped for each image information is different, thereby increasing the diversity and randomness of the remote sensing image information training data.

[0106] The first remote sensing model is trained using the first training data set and the second training data set to obtain a first training remote sensing model and first training data result information; the first remote sensing model is consistent with the cloud occlusion image generation model architecture;

[0107] Using the first training data result information and the second training data set to train a second remote sensing model to obtain a second training remote sensing model and second training data result information;

[0108] Determine whether the training number iteration value is equal to a preset training number threshold, and obtain a training determination result;

[0109] When the training judgment result is no, the training number iteration value is increased by 1, and the acquisition of the first training data set and the second training data set is triggered;

[0110] When the training judgment result is yes, the first training remote sensing model is determined to be the cloud occlusion image generation model.

[0111] It should be noted that the preset training times threshold is set by the user and is not specifically limited in the embodiment of the present invention;

[0112] Preferably, the preset training times threshold is 20,000.

[0113] It should be noted that the learning rates of the first remote sensing model and the second remote sensing model are 1*10 -5 and 1*10 -4 .

[0114] It should be noted that the loss function of the above training can be set by the user or obtained based on historical data, and the embodiment of the present invention does not make any specific limitation.

[0115] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0116] See also Figure 5 In an optional embodiment, the second remote sensing model includes a fourth feature extraction module, a first pooling module, a first linear module, a second linear module and a first activation module; wherein,

[0117] The input end of the fourth feature extraction module is connected to the third input and the fourth input of the second remote sensing model, and the output end of the fourth feature extraction module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the first linear module; the output end of the first linear module is connected to the input end of the second linear module; the output end of the second linear module is connected to the input end of the first activation module; and the output end of the first activation module is connected to the second output of the second remote sensing model.

[0118] It should be noted that the fourth feature extraction module can be obtained by removing the last three fully connected layers and the activation function from the VGG16 model, and the embodiment of the present invention does not make any specific limitation.

[0119] It should be noted that the first pooling module is constructed based on the average pooling layer, which is not specifically limited in the embodiment of the present invention;

[0120] It should be noted that the first linear module is constructed based on a 512*512 fully connected layer, and the first linear module is constructed based on a 512*1 fully connected layer, which is not specifically limited in the embodiment of the present invention;

[0121] It should be noted that the above-mentioned first activation module is constructed based on the ReLU activation function, which is not specifically limited in the embodiment of the present invention.

[0122] It can be seen that implementing the cloud and fog occlusion image generation method described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0123] Embodiment 2

[0124] See also Figure 2 , Figure 2 : is a schematic diagram of the structure of a cloud and fog occlusion image generation device disclosed in an embodiment of the present invention. Figure 2 The described cloud-fog occlusion image generation device is applied to a cloud-fog occlusion image generation optimization system, such as a local server or a cloud server for cloud-fog occlusion image generation, which is not limited in the embodiments of the present invention. Figure 2 As shown, the cloud and fog occlusion image generating device comprises:

[0125] An acquisition module 201 is used to acquire first remote sensing image information and second remote sensing image information;

[0126] A first calculation module 202 is used to preprocess the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information;

[0127] The second calculation module 203 is used to process the first pre-processed remote sensing image information and the second pre-processed remote sensing image information by using the cloud occlusion image generation model to obtain target remote sensing image information.

[0128] It can be seen that the implementation of the cloud and fog occlusion image generation device described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0129] Embodiment 3

[0130] See also Figure 3 , Figure 3 is a schematic diagram of the structure of another cloud and fog occlusion image generation device disclosed in an embodiment of the present invention. Figure 3 The described cloud-fog occlusion image generation device is applied to a cloud-fog occlusion image generation optimization system, such as a local server or a cloud server for cloud-fog occlusion image generation, which is not limited in the embodiments of the present invention. Figure 3 As shown, the cloud and fog occlusion image generating device comprises:

[0131] Processor 301;

[0132] A memory 302 coupled to the processor 301 and storing executable program codes;

[0133] The processor 301 calls the executable program code stored in the memory 302 to execute part or all of the steps of the cloud and fog occlusion image generation method described in the first embodiment.

[0134] It can be seen that the implementation of the cloud and fog occlusion image generation device described in the embodiment of the present invention is conducive to improving the quality of remote sensing images under different occlusion conditions, thereby improving the efficiency of remote sensing image generation and reducing costs.

[0135] Embodiment 4

[0136] An embodiment of the present invention discloses a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute part or all of the steps of the cloud and fog occlusion image generation method described in Example 1.

[0137] Embodiment 5

[0138] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute some or all of the steps in the cloud and fog occlusion image generation method described in Example 1.

[0139] The system embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative labor.

[0140] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0141] Finally, it should be noted that the cloud and fog occlusion image generation method and device disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating a cloud-occluded image, characterized in that: The method comprises: S1, obtaining first remote sensing image information and second remote sensing image information; S2, preprocessing the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information; S3: Using a cloud occlusion image generation model, the first preprocessed remote sensing image information and the second preprocessed remote sensing image information are processed to obtain target remote sensing image information.

2. The method for generating a cloud-and-fog occlusion image according to claim 1, characterized in that: The preprocessing of the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information comprises: S21, performing calculation processing on the first remote sensing image information to obtain third pre-processed remote sensing image information; S22, preprocessing the third preprocessed remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information.

3. The method for generating a cloud-and-fog occlusion image according to claim 1, characterized in that: The cloud and fog occlusion image generation model includes a first feature extraction module, a second feature extraction module, a third feature extraction module and a first fusion module; wherein, The input end of the first feature extraction module is connected to the first input of the cloud occlusion image generation model, and the output end of the first feature extraction module is respectively connected to the input end of the second feature extraction module and the input end of the third feature extraction module; the output end of the second feature extraction module is connected to the input end of the first fusion module; the output end of the third feature extraction module is connected to the input end of the first fusion module; the second input of the cloud occlusion image generation model is connected to the input end of the first fusion module; and the output end of the first fusion module is connected to the first output of the cloud occlusion image generation model.

4. The method for generating a cloud-and-fog occlusion image according to claim 3, characterized in that: The second feature extraction module includes a first convolution unit, a second convolution unit, a third convolution unit, a fourth convolution unit, a fifth convolution unit, a sixth convolution unit, a seventh convolution unit, an eighth convolution unit, a ninth convolution unit, a tenth convolution unit, a first activation unit, and a first upsampling unit; wherein, The input end of the first convolution unit is connected to the output end of the first feature extraction module, and the output end of the first convolution unit is respectively connected to the input end of the second convolution unit and the input end of the first activation unit; the output end of the second convolution unit is respectively connected to the input end of the third convolution unit and the input end of the first activation unit; the output end of the third convolution unit is respectively connected to the input end of the fourth convolution unit and the input end of the first activation unit; the output end of the fourth convolution unit is respectively connected to the input end of the fifth convolution unit and the input end of the first activation unit; the output end of the fifth convolution unit is connected to the input end of the first activation unit; the output end of the first activation unit is connected to the input end of the sixth convolution unit; the output end of the sixth convolution unit is connected to the input end of the seventh convolution unit; the output end of the seventh convolution unit is connected to the input end of the eighth convolution unit; the output end of the eighth convolution unit is connected to the input end of the ninth convolution unit; the output end of the ninth convolution unit is connected to the input end of the tenth convolution unit; the output end of the tenth convolution unit is connected to the input end of the first upsampling unit; the output end of the first upsampling unit is connected to the input end of the first fusion module.

5. The method for generating a cloud-and-fog occlusion image according to claim 3, characterized in that: The calculation expression for data processing in the first fusion module is: I ′ =β+[1-α]I; Among them, I ′ is the data information output by the output end of the first fusion module, α is the data information output by the output end of the second feature extraction module, β is the data information output by the output end of the third feature extraction module, and I is the data information input by the second input of the cloud occlusion image generation model.

6. The method for generating a cloud-and-fog occlusion image according to claim 1, characterized in that: The cloud and fog occlusion image generation model is obtained in the following way; Initialize the number of training iterations; Acquire a first training data set and a second training data set; Using the first training data set and the second training data set to train a first remote sensing model, to obtain a first training remote sensing model and first training data result information; The first remote sensing model is consistent with the cloud and fog occlusion image generation model architecture; Using the first training data result information and the second training data set to train a second remote sensing model to obtain a second training remote sensing model and second training data result information; Determine whether the training number iteration value is equal to a preset training number threshold, and obtain a training determination result; When the training judgment result is no, the training number iteration value is increased by 1, and the acquisition of the first training data set and the second training data set is triggered; When the training judgment result is yes, the first training remote sensing model is determined to be the cloud occlusion image generation model.

7. The method for generating a cloud-and-fog occlusion image according to claim 1, characterized in that: The second remote sensing model includes a fourth feature extraction module, a first pooling module, a first linear module, a second linear module and a first activation module; wherein, The input end of the fourth feature extraction module is connected to the third input and the fourth input of the second remote sensing model, and the output end of the fourth feature extraction module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the first linear module; the output end of the first linear module is connected to the input end of the second linear module; the output end of the second linear module is connected to the input end of the first activation module; and the output end of the first activation module is connected to the second output of the second remote sensing model.

8. A cloud and fog occlusion image generation device, characterized in that: The device comprises: An acquisition module, used for acquiring the first remote sensing image information and the second remote sensing image information; A first computing module, configured to preprocess the first remote sensing image information and the second remote sensing image information respectively to obtain first preprocessed remote sensing image information and second preprocessed remote sensing image information; The second computing module is used to process the first preprocessed remote sensing image information and the second preprocessed remote sensing image information by using a cloud occlusion image generation model to obtain target remote sensing image information.

9. A cloud and fog occlusion image generation device, characterized in that: The device comprises: processor; a memory coupled to the processor and storing executable program code; The processor calls the executable program code stored in the memory to execute the cloud and fog occlusion image generation method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the cloud and fog occlusion image generation method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Optical remote sensing image detection method and device and storage medium

    CN114724046A

  • Cloud remote sensing image processing method and device, equipment and medium

    CN117808708A

  • Cloud-free optical remote sensing image acquisition method and system, electronic equipment and storage medium

    CN117974471A

  • Remote sensing imaging bridge detection method based on convolutional neural network

    WO2018214195A1

Cited By

  • Data processing method and device for cyberspace situation analysis

    CN120050187A

  • Method and device for detecting space drivable area for automatic driving

    CN120298996A