A method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites
By constructing a dense atrous convolution teacher network and a spatial-spectral feature fusion student network, combined with the knowledge distillation strategy, and using domestic high-scoring satellite data, the problem of extracting three-dimensional flood disaster information in the existing technology has been solved, and efficient and accurate flood disaster information has been achieved. The acquisition of water depth and submergence range improves the ability to monitor flood disasters.
Patent Information
- Application Number
- CN202311836868.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-12-28
AI Technical Summary
Existing technologies are difficult to quickly and accurately extract three-dimensional information of flood disasters, especially because the water body index method, threshold method and semantic segmentation network have shortcomings in applicability and accuracy, and when using LiDAR data, they are limited by turbidity and cannot be effectively obtained. Depth and inundation extent of flood water bodies.
Using a method based on domestic high-scoring satellites, a dense atrous convolution teacher network and a spatial-spectral feature fusion student network were constructed. Combined with the knowledge distillation strategy, the flood water body spatial terrain data and rainfall event statistical data were used to extract the submergence depth and inundation of the flood water body. range to achieve rapid and macroscopic three-dimensional information acquisition.
It improves the accuracy and efficiency of flood information extraction, and can obtain the submergence depth and submergence range of flood water bodies at the same time, forming three-dimensional information of flood water bodies, which is helpful for monitoring the evolution process of flood disasters and speeding up the convergence speed of the network structure.
Smart Images

Figure CN117934915B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of remote sensing satellite information technology, and in particular to a method for extracting three-dimensional information of flood disasters based on a domestically-produced high-resolution satellite. Background Art
[0002] The disaster caused by the increase of water volume, water level rise and mountain torrents in rivers, lakes and coastal areas due to heavy rainfall, melting of ice and snow, dam breach, storm surge and other reasons is called flood disaster. The present invention aims to extract the flood disaster information caused by heavy rainfall, wherein the flood disaster information refers to the three-dimensional flood disaster information composed of the flood water body inundation depth and dynamic inundation range. The rapid and effective extraction of flood disaster information is an important support for emergency response and rescue. Combined with the existing literature, few people have directly obtained the three-dimensional information of flood disasters through remote sensing means.
[0003] In the past, relevant personnel were mainly relied on to conduct field surveys to obtain some flood information, but this acquisition method is relatively backward and requires a lot of manpower and material resources. Using hydrological and water level stations arranged in rivers and lakes to obtain water levels, water speeds and other hydrological data in the basin, the uneven distribution of stations affects the comprehensiveness and accuracy of flood information. With the development of technology, drones are used to obtain images of flooded areas. Although they provide high-precision water body boundaries and feature information, the coverage area is small and is limited by weather conditions. Using ground videos to obtain flood information can monitor flood disasters in real time, but the coverage area is limited. Using remote sensing satellite data, there are the following methods to obtain flood-inundated areas, but there are also problems, mainly: (1) Using band reflectivity to construct a water body index to extract the area and contour of the flood water body. However, the water body index method is usually based on a specific band combination and spectral characteristics, and has limited applicability to different regions, different water body types and spectral characteristics. (2) Using the threshold method to extract the water body area, but this method is usually based on the reflectivity or brightness value of the pixel for classification, without considering the spatial relationship or contextual information of the ground objects. (3) Using semantic segmentation networks, such as U-net and transformer, to extract the area of flooded water bodies, but the boundaries of water bodies are fuzzy and difficult to determine. (4) Using different data sources to obtain water depth, using LiDAR data to fuse optical remote sensing images to extract water depth. However, for flooded water bodies, the turbidity is high and LiDAR is difficult to penetrate, so it is impossible to obtain underwater terrain data. Summary of the invention
[0004] The present invention utilizes the imaging characteristics of domestic high-resolution satellite data and proposes a method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites. This method is based on a semantic segmentation network structure and utilizes domestic high-resolution satellite data of flood water bodies, spatial terrain data of flood disasters, and statistical data of rainfall events to extract the depth information and submerged range of flood water bodies, thereby achieving rapid and macroscopic acquisition of three-dimensional information of flood water bodies in a large area and improving the accuracy and efficiency of flood information extraction.
[0005] The purpose of the present invention is to provide a method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites, thereby solving the above-mentioned problems existing in the prior art.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0007] A method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites comprises the following steps:
[0008] S100, build a teacher network based on dense void convolution (Context Extractor Teacher Net, CETNet), input the spatial terrain data of flood disasters and statistical data of rainfall events, and use the encoder-decoder structure to obtain the probability distribution p of the flood water body inundation depth Depth ;
[0009] S200, build a student network based on spatial-spectral feature fusion (Spatial-Spectral Fusion Student Network, SSFSNet), input GF-2 panchromatic and multispectral satellite remote sensing data, and obtain the probability distribution p of flood water inundation range of domestic GF satellite data Range ;
[0010] S300, the probability distribution of flood water depth p Depth and the probability distribution of flood water body inundation range p Range They are all input into the knowledge distillation strategy module, and the knowledge distillation loss function and pixel-by-pixel loss function are used to obtain the flood depth and flood range of the flood water body, thereby accelerating the convergence speed of the overall network structure.
[0011] In some specific embodiments, the teacher network (Context Extractor Teacher Net, CETNet) specifically includes: a rainfall feature extraction module, a ResNet-101 encoder, a dense atrous convolution module (Dense Atrous Convolution, DAC), a pyramid pooling module and a DeconvNet decoder;
[0012] The specific steps of S100 are:
[0013] S110, using a rainfall feature extraction module to convert the statistical data of rainfall events into rainfall features
[0014] S120, input all flood water body spatial terrain data into the ResNet-101 encoder network to extract the flood water body spatial terrain data features
[0015] S130, spatial topographic data characteristics of flood water bodies The input is sent to the Dense Atrous Convolution (DAC) module, and different receptive fields are used to obtain high-level semantic features of flood water bodies of different sizes. Combine it with the rainfall characteristics obtained in step S110 Perform Concat to obtain spatial terrain features containing precipitation information
[0016] S140, spatial terrain features containing precipitation information Input to the pyramid pooling module to obtain spatial terrain features containing contextual information
[0017] S150, using DeconvNet decoder to decode spatial terrain features containing contextual information Upsampling is performed to restore the size of the feature map and obtain the probability distribution p of the flood water body submergence depth Depth .
[0018] In some specific embodiments, the rainfall characteristics include: spatial and temporal distribution of rainfall, rainfall intensity, and rainfall frequency;
[0019] The DeconvNet decoder is a deconvolution network, which is mainly composed of the unpooling operation of the maximum pooling and the deconvolution operation; the unpooling operation of the maximum pooling is the inverse operation of the maximum pooling. In the maximum pooling, each pooling window selects the maximum value in the window. When unpooling, these maximum values are put back to their positions in the original feature map, and zero padding is performed at other positions. The feature values are restored to their original positions, and zero padding is performed at other positions.
[0020] In some of the specific embodiments, a student network based on spatial-spectral feature fusion (Spatial-Spectral Fusion Student Network, SSFSNet) is constructed, including: a spatial-spectral feature extraction module based on ResNet-101 encoder, a spatial-spectral feature interaction module, a spatial-spectral feature fusion module and a decoder;
[0021] The specific steps of S200 are:
[0022] S210, using a grid cell method to slice the GF-2 panchromatic image (PANimage) and the multispectral image (MSimage) to obtain image blocks of a size of 224×224;
[0023] S220, inputting each corresponding image block of the panchromatic image and the multispectral image into the spatial-spectral feature extraction module of the ResNet-101 encoder in sequence, and obtaining the spatial features of the flood water body, Spectral characteristics of flood water bodies
[0024] S230, the flood water body spatial feature I in step S220 spa Spectral characteristics of flood water bodies I spe Input into the spatial-spectral feature interaction module to obtain the interactive flood water body spatial characteristics I′ spa and flood water spectral characteristics I′ spe ;
[0025] S240: extract the interactive flood water body spatial feature I′ from step S230 spa Spectral characteristics of flood water body after interaction I′ spe Input into the spatial-spectral feature fusion module to obtain the fused feature I fuse , and then input it into SENet to obtain the weighted flood water body feature F fuse ;
[0026] S250, the weighted flood water characteristics F fuse The input is sent to the decoder, and the size of the feature map is restored by upsampling and transposed convolution to improve the resolution of the feature map, and the probability distribution p of the flood water body inundation range of domestic high-resolution satellite data is obtained. Range ;
[0027] S260 , repeating steps S210 to S250 , merging the probability distribution of flood range obtained from each image block, and finally forming the probability distribution of flood range of the flood water body of the entire image.
[0028] In some specific embodiments, the slicing step in the above step S210 is specifically as follows:
[0029] The slice size is set to 224×224 to adapt to the input size of the ResNet-101 encoder network. The entire panchromatic image and multispectral image are divided into regular grids respectively. The grid size is consistent with the slice size. The rows and columns of the grid are traversed from left to right and from top to bottom. The image block is extracted in each grid cell to obtain an image block of size 224×224. For the last image slice, if it exceeds the image boundary, zero padding is used to ensure that it meets the network input requirements.
[0030] In some specific embodiments, the information interaction method of the spatial-spectral feature interaction block (FIB) is specifically as follows:
[0031] When using spectral information in the spatial branch, the spectral characteristics of flood water bodies I spe Perform a 3×3 convolution operation and then combine the result with the flood water body spatial feature I spa The Concat operation is performed, and then the result of the Concat operation is subjected to 1×1 convolution and ReLU activation function to enhance the spatial features. Finally, it is combined with the spatial features with edge information enhancement obtained by Laplace convolution operation. Add element by element and output the interactive flood water body spatial characteristics I′ spa ,
[0032] The formula is:
[0033]
[0034] When using spatial information in the spectral branch, the interactive flood water body spatial characteristics I′ spa Perform a 3×3 convolution operation and then combine the result with the flood water spectral feature I spe The Concat operation is performed, and then the result of the Concat operation is subjected to 1×1 convolution and ReLU activation function to enhance the spectral features. Finally, it is combined with the spectral features with edge information enhancement obtained by Laplace convolution operation. Add element by element and output the interactive flood water spectral feature I′ spe ;
[0035] The formula is as follows:
[0036]
[0037] In some specific embodiments, the fusion method of the spatial-spectral feature fusion module is specifically as follows:
[0038] First, 1×1 convolution is used to respectively transform the interactive flood water body spatial features I′ spa Spectral characteristics of flood water body after interaction I′ spe The number of channels is compressed, and then the compressed features are combined with the flood water body spatial features I obtained in step S220 spa Spectral characteristics of flood water bodies I spe Add each element separately to generate feature I″ spa and I″ spe , and finally I″ spa and I″ spe Perform the Concat operation and use 1×1 convolution to compress the number of channels of the features after the Concat operation to obtain the fused feature I fuse ;
[0039] The calculation formula is as follows:
[0040] I″ spa =conv 1×1 (I′ spa )+I spa
[0041] I″ spe =conv 1×1 (I′ spe )+I spe
[0042] I fuse =conv 1×1 (Concat(I″ spa ,I″ spe ))
[0043] Then, the fused feature I fuse Input into the Squeeze-and-Excitation Attention (SENet) mechanism to obtain the weighted flood water feature F fuse ;
[0044] F fuse =SENet(I fuse ).
[0045] In some specific embodiments, the SENet calculation steps are specifically as follows:
[0046] Squeeze operation: for the fused feature I fuse A global average pooling (GAP) operation is performed on each channel in to obtain the compressed feature I sq ;
[0047] Excitation operation: compress feature I sq Input into a two-layer network, learn the weight of each channel, and generate the attention weight vector w for each channel ex , the network includes a fully connected layer (Fully Convolution, FC) with ReLU activation function and a sigmoid activation function layer;
[0048] The calculation formula is as follows:
[0049] w ex =sigmoid(ReLU(FC(I sq )))
[0050] Reweighting operation: using attention weights w ex For the fused feature I fuse Perform channel-by-channel weighting to generate weighted flood water body characteristics F fuse ;
[0051] The calculation formula is as follows:
[0052] F fuse =I fuse ·w ex .
[0053] In some specific embodiments, the knowledge distillation strategy module includes: a knowledge distillation loss function and a pixel-by-pixel loss function;
[0054] The probability distribution of flood water depth p Depth and the probability distribution of flood water body inundation range p Range The data are input into the knowledge distillation strategy module, and the knowledge distillation loss function and the pixel-by-pixel loss function are used to obtain the flood depth and flood range of the flood water body, thereby accelerating the convergence speed of the overall network structure.
[0055] In some specific embodiments, the knowledge distillation loss function is as follows:
[0056]
[0057]
[0058] Among them, p Depth is the probability distribution of flood water depth, obtained by teacher network training; p Range is the probability distribution of flood water inundation range, obtained by student network training; α is the cross entropy loss logp Range And regression loss smooth L1 (p Range -pDepth ), α=0.5, N is the number of classes;
[0059] The pixel-by-pixel loss function is as follows:
[0060]
[0061] in, is the average value of the probability distribution of flood water depth of the teacher network, and is the binary uncertainty of the ith pixel, which is obtained by performing median threshold processing on the pixel-by-pixel variance; specifically, if the variance of the pixel is higher than the median threshold, the binary uncertainty of the pixel is set to 1, that is, high uncertainty; if it is lower than the median threshold, the binary uncertainty of the pixel is set to 0, that is, low uncertainty.
[0062] In some specific embodiments,
[0063] The beneficial effects of the present invention are:
[0064] The present invention provides a method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites, which has the following beneficial effects:
[0065] (1) This patent makes full use of the inherent spectral characteristics of multispectral images in high-resolution remote sensing data, uses a spatial-spectral feature interaction module to interactively process spatial and spectral features, and further adds a Laplace differential operator to enhance the detailed information of flood water bodies, thereby improving the accuracy and effect of information extraction.
[0066] (2) By using the network model of this patent to process the spatial terrain data of flood disasters, statistical data of rainfall events, and GF-2 image data of flood areas, this patent can simultaneously obtain the inundation depth and inundation range of flood water bodies, form three-dimensional information of flood water bodies, and help monitor the evolution of flood disasters.
[0067] (3) Through the knowledge distillation strategy module, the knowledge distillation loss function is used to measure the similarity between the probability distribution of flood water body inundation depth and the probability distribution of flood water body inundation range. The pixel-by-pixel loss function is used to reduce the uncertainty of pixel prediction and accelerate the convergence speed of the overall network structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. 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 paying creative labor.
[0069] Figure 1 It is a schematic diagram of the overall process of the present invention;
[0070] Figure 2 is a rainfall feature extraction flow chart of the present invention;
[0071] Figure 3 Schematic diagram of the structure of the dense hole convolution block of the present invention;
[0072] Figure 4 It is a schematic diagram of the structure of pyramid pooling of the present invention;
[0073] Figure 5 It is a schematic diagram of the structure of the spatial-spectral feature interaction module of the present invention;
[0074] Figure 6 It is a structural schematic diagram of the spatial-spectral feature fusion module of the present invention;
[0075] Figure 7 It is a schematic diagram of the decoding block structure of the present invention;
[0076] Figure 8 It is a specific flow chart of a method for extracting three-dimensional information of flood disasters based on a domestically produced high-resolution satellite according to the present invention. DETAILED DESCRIPTION
[0077] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Examples of the embodiments are shown in the accompanying drawings, where the same or similar symbols throughout represent the same or similar elements or elements with the same or similar functions.
[0078] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", "one specific embodiment" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0079] Reference Figure 1 , Figure 2 and Figure 3 A method for extracting three-dimensional information of flood disasters based on a domestic high-resolution satellite is shown, comprising the following steps:
[0080] S100, build a teacher network based on dense void convolution (Context Extractor Teacher Net, CETNet), input the spatial terrain data of flood disasters and statistical data of rainfall events, and use the encoder-decoder structure to obtain the probability distribution p of the flood water body inundation depth Depth .
[0081] S200, build a student network based on spatial-spectral feature fusion (Spatial-Spectral Fusion Student Network, SSFSNet), input GF-2 panchromatic and multispectral satellite remote sensing data, and obtain the probability distribution p of flood water inundation range of domestic GF satellite data Range .
[0082] S300, the probability distribution of flood water depth obtained by the teacher network p Depth The probability distribution of flood water inundation range obtained by the student network is p Range The data are input into the knowledge distillation strategy module together, and the knowledge distillation loss function and the pixel-by-pixel loss function are used to obtain the flood depth and flood range of the flood water body, thereby accelerating the convergence speed of the overall network structure.
[0083] In some of the specific embodiments, the teacher network (Context Extractor Teacher Net, CETNet) specifically includes: a rainfall feature extraction module, a ResNet-101 encoder, a dense atrous convolution module (Dense Atrous Convolution, DAC), a pyramid pooling module and a DeconvNet decoder.
[0084] The specific steps of S100 are:
[0085] S110, using a rainfall feature extraction module to convert the statistical data of rainfall events into rainfall features
[0086] The statistical data of rainfall events include the following 9 types:
[0087] r p Describes when the peak rainfall occurred relative to the total duration of the rainfall.
[0088] r cg Describe the relationship between the median cumulative rainfall and the duration of rainfall events.
[0089] m1 is the ratio of the cumulative rainfall before and after the peak rainfall.
[0090] m2 describes the relationship between rainfall intensity and overall rainfall depth.
[0091] m3The ratio of the rainfall depth in the first third to the total rainfall depth.
[0092] m5 Precipitation depth in the first half of the rainfall relative to the entire rainfall event.
[0093] P tot The total amount of precipitation for the entire rainfall event.
[0094] r i The amount of precipitation per unit time and per unit area.
[0095] dur Duration of rainfall.
[0096] Rainfall feature extraction module: In the first layer, four 3×3 convolution kernels are used, the Leaky ReLU activation function is used to avoid gradient vanishing, and the maximum pooling operation is used for downsampling to reduce the dimension of the feature, and the rainfall features are output.
[0097] S120, input all flood water body spatial terrain data into the ResNet-101 encoder network to extract the flood water body spatial terrain data feature map
[0098] All the spatial topographic data of flood water bodies in Table 1 (all in 224×224 size) are input into the ResNet-101 encoder network to extract the spatial topographic data features of flood water bodies. (h, w represent the height and width of the spatial terrain data feature map, c represents the number of channels of the spatial terrain data feature map, F B Represents the feature map obtained by ResNet-101). The ResNet-101 encoder network retains the first five feature extraction blocks and removes the average pooling layer and the fully connected layer.
[0099] Among them, the spatial terrain data of flood disasters are shown in Table 1:
[0100] Table 1. Spatial data types, data ranges and their meanings used in deep learning models for urban flood disasters
[0101]
[0102] S130, spatial topographic data characteristics of flood water bodies The input is sent to the Dense Atrous Convolution (DAC) module, and different receptive fields are used to obtain high-level semantic features of flood water bodies of different sizes. Combine it with the rainfall characteristics obtained in step S110 Perform Concat operation to obtain spatial terrain features containing precipitation information
[0103] In this embodiment, the spatial terrain data features of flood water bodies are The input is sent to the Dense Atrous Convolution (DAC) module, and different receptive fields are used to obtain high-level semantic features of flood water bodies of different sizes. Combine it with the rainfall characteristics obtained in step S110 Perform Concat operation to obtain spatial terrain features containing precipitation information The dense atrous convolution module has four cascaded branches, and the atrous rate gradually increases from 1 to 1, 3, and 5. According to the formula, the receptive field of each branch is 3, 7, 9, and 19. In each branch, a 1×1 convolution is applied to adjust the number of channels of the feature map. The calculation formula of the receptive field is:
[0104] Receptive field = (convolution kernel - 1) × dilation rate + 1.
[0105] S140, spatial terrain features containing precipitation information Input to the pyramid pooling module to obtain spatial terrain features containing contextual information
[0106] Reference Figure 4 As shown in the figure, four pooling kernels of different sizes (1×1, 2×2, 3×3 and 6×6) are used to perform pooling operations on the feature map, and then 1×1 convolution is used to adjust the channel dimension. The reduced feature map is upsampled by bilinear interpolation to restore it to the same size as the original feature map. Finally, the original feature and the upsampled feature map are connected through the Concat operation to obtain the spatial terrain feature containing context information.
[0107] S150, using DeconvNet decoder to decode spatial terrain features containing contextual information Upsampling is performed to restore the size of the feature map and obtain the probability distribution p of the flood water body submergence depth Depth .
[0108] Among them, DeconvNet is a deconvolution network, which is mainly composed of the unpooling operation of maximum pooling and the deconvolution operation. The unpooling operation of maximum pooling is the inverse operation of maximum pooling. In maximum pooling, each pooling window selects the maximum value in the window. When unpooling, these maximum values are placed back to their positions in the original feature map and zero-filled in other positions.
[0109] In some specific embodiments, the rainfall characteristics include the temporal and spatial distribution of rainfall, rainfall intensity, and rainfall frequency.
[0110] The DeconvNet decoder is a deconvolution network, which is mainly composed of the unpooling operation of the maximum pooling and the deconvolution operation. The unpooling operation of the maximum pooling is the inverse operation of the maximum pooling. In the maximum pooling, each pooling window selects the maximum value in the window. When unpooling, these maximum values are placed back to their positions in the original feature map and zero-filled in other positions.
[0111] In some specific embodiments, a student network based on spatial-spectral feature fusion (Spatial-Spectral Fusion Student Network, SSFSNet) is constructed to extract the flood water body inundation range of domestic high-resolution satellite data. It includes: a spatial-spectral feature extraction module based on ResNet-101 encoder, a spatial-spectral feature interaction module, a spatial-spectral feature fusion module and a decoder.
[0112] The specific steps of S200 are:
[0113] S210, using the grid unit method to slice the GF-2 panchromatic image (PANimage) and the multispectral image (MSimage) respectively to obtain image blocks with a size of 224×224.
[0114] S220, inputting each corresponding image block of the panchromatic image and the multispectral image into the spatial-spectral feature extraction module based on the ResNet-101 encoder in sequence, and obtaining the spatial features of the flood water body, Spectral characteristics of flood water bodies
[0115] In this embodiment, spatial-spectral feature extraction based on ResNet-101 encoder is performed. Each corresponding image block of the panchromatic image and the multispectral image is sequentially input into the spatial-spectral feature extraction module based on ResNet-101 encoder to obtain the spatial features of the flood water body. Spectral characteristics of flood water bodies (Where C is the number of channels of the feature map, H, W are the height and width of the spatial feature map, and H0, W0 are the height and width of the spectral feature map).
[0116] S230, the flood water body spatial feature I in step S220 spa Spectral characteristics of flood water bodies I spe Input into the spatial-spectral feature interaction module to obtain the interactive flood water body spatial characteristics I′spa and flood water spectral characteristics I′ spe .
[0117] S240: extract the interactive flood water body spatial feature I′ from step S230 spa Spectral characteristics of flood water body after interaction I′ spe Input into the spatial-spectral feature fusion module to obtain the fused feature I fuse , and then input it into SENet to obtain the weighted flood water body feature F fuse .
[0118] S250, the weighted flood water characteristics F fuse Input to the decoder, use upsampling and transposed convolution to restore the size of the feature map, improve the resolution of the feature map, and obtain the probability distribution p of the flood water body inundation range of domestic high-resolution satellite data Range .
[0119] S260 , repeating steps S210 to S250 , merging the probability distribution of flood range obtained from each image block, and finally forming the probability distribution of flood range of the flood water body of the entire image.
[0120] In some specific embodiments, the slicing step in the above step S210 is specifically as follows:
[0121] The slice size is set to 224×224 to adapt to the input size of the ResNet-101 encoder network. The entire panchromatic image and multispectral image are divided into regular grids respectively. The grid size is consistent with the slice size. The rows and columns of the grid are traversed from left to right and from top to bottom. The image block is extracted in each grid cell to obtain an image block of size 224×224. For the last image slice, if it exceeds the image boundary, zero padding is used to ensure that it meets the network input requirements.
[0122] In some specific embodiments, the information interaction method of the spatial-spectral feature interaction block (FIB) is specifically as follows:
[0123] When using spectral information in the spatial branch, the spectral characteristics of flood water bodies I spe Perform a 3×3 convolution operation and then combine the result with the flood water body spatial feature I spa The Concat operation is performed, and then the result of the Concat operation is subjected to 1×1 convolution and ReLU activation function to enhance the spatial features. Finally, it is combined with the spatial features with edge information enhancement obtained by Laplace convolution operation. Add element by element and output the interactive flood water body spatial characteristics I′spa ,
[0124] The formula is:
[0125]
[0126] Among them, the Laplace convolution operation is applied to obtain the spatial features with edge information enhancement The steps are:
[0127] Channel traversal: For spatial feature I spa For each channel c, from 1 to C, perform the following steps.
[0128] Apply the Laplace convolution operation: For each channel c, apply the Laplace differential operator to perform the convolution operation. The operator in discrete form is represented as:
[0129]
[0130] Represents the spatial characteristics of flood water bodies I spa The value at position (x,y) in channel c.
[0131] Repeat the above steps until the convolution operation is completed for all channels, and obtain the spatial features with edge information enhancement, which is recorded as
[0132] When using spatial information in the spectral branch, the interactive flood water body spatial characteristics I′ spa Perform a 3×3 convolution operation and then combine the result with the flood water spectral feature I spe The Concat operation is performed, and then the result of the Concat operation is subjected to a 1×1 convolution and a ReLU activation function to enhance the spectral features. Finally, it is combined with the spectral features with edge information enhancement obtained by the Laplace convolution operation. Add element by element and output the interactive flood water spectral feature I′ spe .
[0133] The formula is as follows:
[0134]
[0135] Among them, the Laplace convolution operation is applied to obtain the spectral features with enhanced edge information The steps are:
[0136] Channel traversal: For spectral feature I spe For each channel c, from 1 to C, perform the following steps to apply the Laplacian convolution operation: For each channel c, apply the Laplacian differential operator to perform the convolution operation. The operator in discrete form is represented as:
[0137]
[0138] Indicates the spectral characteristics of flood water bodies I spe The value at position (i,j) in channel c.
[0139] Repeat the above steps until the convolution operation is completed for all channels, and obtain the spectral features with enhanced edge information, which is recorded as
[0140] In some specific embodiments, the fusion method of the spatial-spectral feature fusion module is specifically as follows: Figure 6 As shown in the figure, firstly, 1×1 convolution is used to respectively transform the interactive flood water body spatial features I′ spa Spectral characteristics of flood water body after interaction I′ spe The number of channels is compressed, and then the compressed features are combined with the flood water body spatial features I obtained in step S220 spa Spectral characteristics of flood water bodies I spe Add each element separately to generate feature I″ spa and I″ spe , and finally I″ spa and I″ spe Perform the Concat operation and use 1×1 convolution to compress the number of channels of the features after the Concat operation to obtain the fused feature I fuse .
[0141] The calculation formula is as follows:
[0142] I″ spa =conv 1×1 (I′ spa )+I spa
[0143] I″ spe =conv 1×1 (I′ spe )+I spe
[0144] I fuse =conv 1×1 (Concat(I″ spa ,I″ spe ))
[0145] Then, the fused feature I fuse Input into the Squeeze-and-Excitation Attention (SENet) mechanism to obtain the weighted flood water feature F fuse .
[0146] F fuse =SENet(I fuse ).
[0147] In some specific embodiments, the SENet calculation steps are specifically as follows:
[0148] Squeeze operation: for the fused feature I fuse A global average pooling (GAP) operation is performed on each channel in to obtain the compressed feature I sq .
[0149] Excitation operation: compress feature I sq Input into a two-layer network, learn the weight of each channel, and generate the attention weight vector w for each channel ex The network consists of a fully connected layer (Fully Convolution, FC) with a ReLU activation function and a sigmoid activation function layer.
[0150] The calculation formula is as follows:
[0151] w ex =sigmoid(ReLU(FC(I sq )))
[0152] Reweighting operation: using attention weights w ex For the fused feature I fuse Perform channel-by-channel weighting to generate weighted flood water body characteristics F fuse .
[0153] The calculation formula is as follows:
[0154] F fuse =I fuse ·w ex .
[0155] In some specific embodiments, the knowledge distillation strategy module includes: a knowledge distillation loss function and a pixel-by-pixel loss function.
[0156] The knowledge distillation strategy module measures the probability distribution of flood water depth p by using the knowledge distillation loss function. Depth and probability distribution of flood water body inundation range p Range similarity; the pixel-by-pixel loss function is used to reduce the uncertainty of pixel prediction, and the flood depth and flood range of the flood water body are obtained, thereby accelerating the convergence speed of the overall network structure.
[0157] In some specific embodiments, the knowledge distillation loss function is as follows:
[0158]
[0159]
[0160] Among them, p Depth is the probability distribution of flood water depth, obtained by teacher network training; p Range is the probability distribution of flood water inundation range, obtained by student network training. α is the cross entropy loss logp Range And regression loss smooth L1 (p Range -p Depth ), α=0.5, and N is the number of classes.
[0161] The pixel-by-pixel loss function is as follows:
[0162]
[0163] in, is the average value of the probability distribution of flood water depth of the teacher network, and is the binary uncertainty of the ith pixel, obtained by median thresholding the pixel-by-pixel variance. Specifically, if the variance of a pixel is above the median threshold, the binary uncertainty of the pixel is set to 1, i.e., high uncertainty. If it is below the median threshold, the binary uncertainty of the pixel is set to 0, i.e., low uncertainty.
[0164] Reference Figure 7 The weighted flood water body characteristics F fuse Input to the decoder, use upsampling and transposed convolution to restore the size of the feature map, improve the resolution of the feature map, and obtain the probability distribution p of the flood water body inundation range of domestic high-resolution satellite data Range According to the relevant references, the decoder used in the present invention has a total of 5 decoding blocks, each of which is composed of a 1×1 convolution, a 3×3 transposed convolution (De-Conv) and a 1×1 convolution.
[0165] Repeat steps 210 to 250 to merge the probability distribution of flood range obtained from each image block, and finally form the probability distribution of flood range of the flood water body of the entire image.
[0166] Knowledge distillation strategy module. The probability distribution of flood water depth p Depth and the probability distribution of flood water body inundation range p Range The knowledge distillation loss function is used to measure the probability distribution of flood water body submergence depth pDepth and the probability distribution of flooding range p Range The similarity of the pixel-by-pixel loss function is used to reduce the uncertainty of pixel prediction, obtain the flood depth and flood range of the flood water body, and accelerate the convergence speed of the overall network structure.
[0167] Knowledge Distillation Loss Function
[0168] Using cross entropy loss and regression loss to simultaneously measure the probability distribution p of flood water body inundation depth Depth and probability distribution of flood water body inundation range p Range The similarity between them is that the probability distribution of the student network is made close to the probability distribution of the teacher network through back propagation. The knowledge distillation loss function is as follows:
[0169]
[0170]
[0171] Among them, p Depth is the probability distribution of flood water depth, obtained by training the teacher network. Range is the probability distribution of flood water inundation range, obtained by student network training. α is the cross entropy loss logp Range And regression loss smooth L1 (p Range -p Depth ), and N is the number of classes.
[0172] Pixel-wise loss function
[0173] To reduce the uncertainty of pixel prediction, the probability distribution of each test sample is obtained by applying random dropout (MC-Dropout) multiple times. The pixel-by-pixel loss function is as follows:
[0174]
[0175] in, is the average value of the probability distribution of flood water depth of the teacher network, and is the binary uncertainty of the ith pixel, obtained by median thresholding the pixel-by-pixel variance. Specifically, if the variance of a pixel is above the median threshold, the binary uncertainty of the pixel is set to 1 (high uncertainty). If it is below the median threshold, the binary uncertainty of the pixel is set to 0 (low uncertainty).
[0176] By adopting the above technical solution disclosed in the present invention, the following beneficial effects are obtained:
[0177] (1) This patent makes full use of the inherent spectral characteristics of multispectral images in high-resolution remote sensing data, uses a spatial-spectral feature interaction module to interactively process spatial and spectral features, and further adds a Laplace differential operator to enhance the detailed information of flood water bodies, thereby improving the accuracy and effect of information extraction.
[0178] (2) By using the network model of this patent to process the spatial terrain data of flood disasters, statistical data of rainfall events, and GF-2 image data of flood areas, this patent can simultaneously obtain the inundation depth and inundation range of flood water bodies, form three-dimensional information of flood water bodies, and help monitor the evolution of flood disasters.
[0179] (3) Through the knowledge distillation strategy module, the knowledge distillation loss function is used to measure the similarity between the probability distribution of flood water body inundation depth and the probability distribution of flood water body inundation range. The pixel-by-pixel loss function is used to reduce the uncertainty of pixel prediction and accelerate the convergence speed of the overall network structure.
[0180] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.
Claims
1. A method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites, characterized in that: The following steps are involved: S100, build a teacher network based on dense void convolution (Context Extractor Teacher Net, CETNet), input the spatial terrain data of flood disasters and statistical data of rainfall events, and use the encoder-decoder structure to obtain the probability distribution p of the flood water body inundation depth Depth ; S200, build a student network based on spatial-spectral feature fusion (Spatial-Spectral Fusion StudentNetwork, SSFSNet), input GF-2 panchromatic and multispectral satellite remote sensing data, and obtain the probability distribution p of flood water inundation range of domestic GF-2 satellite data Range ; S300: The probability distribution p of the flood water body flooding depth Depth and the probability distribution of the flood water body inundation range p Range The data are input into the knowledge distillation strategy module, and the flood depth and flood range of the flood water body are obtained by using the knowledge distillation loss function and the pixel-by-pixel loss function to accelerate the convergence speed of the overall network structure. The teacher network (Context Extractor Teacher Net, CETNet) specifically includes: a rainfall feature extraction module, a ResNet-101 encoder, a dense atrous convolution module (Dense Atrous Convolution, DAC), a pyramid pooling module and a DeconvNet decoder; The specific steps of S100 are: S110, using the rainfall feature extraction module to convert the statistical data of rainfall events into rainfall features S120, input all the flood water body spatial terrain data into the ResNet-101 encoder to extract the flood water body spatial terrain data features S130: The spatial terrain data feature of the flood water body The image is input into the Dense Atrous Convolution (DAC) module, and different receptive fields are used to obtain high-level semantic features of flood water bodies of different sizes. Combine it with the rainfall characteristics obtained in step S110 Perform Concat operation to obtain spatial terrain features containing precipitation information S140: The spatial terrain features containing the precipitation information Input to the pyramid pooling module to obtain spatial terrain features containing contextual information S150, using the DeconvNet decoder to decode the spatial terrain features containing the context information Upsampling is performed to restore the size of the feature map and obtain the probability distribution p of the flood water body submergence depth Depth ; The student network based on spatial-spectral feature fusion (Spatial-Spectral Fusion StudentNetwork, SSFSNet) comprises: a spatial-spectral feature extraction module based on ResNet-101 encoder, a spatial-spectral feature interaction module, a spatial-spectral feature fusion module and a decoder; The step S200 is specifically as follows: S210, using a grid cell method to slice the GF-2 panchromatic image (PANimage) and the multispectral image (MSimage) to obtain image blocks of a size of 224×224; S220, inputting each corresponding image block of the panchromatic image and the multispectral image into the spatial-spectral feature extraction module based on the ResNet-101 encoder in sequence, and obtaining the spatial features of the flood water body respectively. Spectral characteristics of flood water bodies S230, the flood water body spatial feature I in step S220 spa and the spectral characteristics of flood water bodies I spe Input into the spatial-spectral feature interaction module to obtain the interactive flood water body spatial characteristics I s ' pa Spectral characteristics of flood water bodies I s ' pe ; S240, the interactive flood water body spatial feature I extracted in step S230 s ' pa and the spectral characteristics of the flood water body after interaction I s ' pe Input into the spatial-spectral feature fusion module to obtain the fused feature I fuse , and then input it into SENet to obtain the weighted flood water body feature F fuse ; S250, the weighted flood water characteristics F fuse The decoder is input, and the upsampling and transposed convolution are used to restore the feature map size, improve the resolution of the feature map, and obtain the probability distribution p of the flood water body inundation range of the domestic high-resolution satellite data. Range ; S260, repeating steps S210 to S250, merging the probability distribution of the flood range obtained from each image block, and finally forming the probability distribution of the flood range of the flood water body of the entire image; The knowledge distillation loss function is as follows: Among them, p Depth is the probability distribution of flood water depth, obtained by teacher network training; p Range is the probability distribution of flood water inundation range, obtained by student network training; α is the cross entropy loss logp Range And regression loss smooth L1 (p Range -p Depth ), α=0.5, N is the number of classes; The pixel-by-pixel loss function is as follows: in, is the mean of the probability distribution of the submerged depth of the teacher network, and is the binary uncertainty of the ith pixel, which is obtained by performing median threshold processing on the pixel-by-pixel variance; specifically, if the variance of the pixel is higher than the median threshold, the binary uncertainty of the pixel is set to 1, that is, high uncertainty; if it is lower than the median threshold, the binary uncertainty of the pixel is set to 0, that is, low uncertainty.
2. The method for extracting three-dimensional information of flood disasters based on domestic high-resolution satellites according to claim 1 is characterized in that: The rainfall characteristics include: spatial and temporal distribution of rainfall, rainfall intensity, and rainfall frequency; The DeconvNet decoder is a deconvolution network, which is mainly composed of the unpooling operation (Unpooling) and deconvolution operation (Deconvolution) of maximum pooling; the unpooling operation of maximum pooling is the inverse operation of maximum pooling. In maximum pooling, each pooling window selects the maximum value within the window. When unpooling, these maximum values are put back to their positions in the original feature map, and zero padding is performed at other positions.
3. The method for extracting three-dimensional flood disaster information based on domestic high-resolution satellites according to claim 2 is characterized in that: The slicing steps in the above step S210 are specifically as follows: The slice size is set to 224×224 to adapt to the input size of the ResNet-101 encoder, and the entire panchromatic image and the multispectral image are divided into regular grids respectively. The grid size is consistent with the slice size. The rows and columns of the grid are traversed from left to right and from top to bottom. The image block is extracted in each grid unit to obtain the image block of size 224×224. For the last image slice, if it exceeds the image boundary, it is filled with zeros to ensure that it meets the network input requirements.
4. The method for extracting three-dimensional flood disaster information based on domestic high-resolution satellites according to claim 3 is characterized in that: The information interaction method of the spatial-spectral feature interaction block (FIB) is specifically as follows: When using spectral information in the spatial branch, firstly, the spectral feature I of the flood water body is spe Perform a 3×3 convolution operation and then combine the result with the flood water body spatial feature I spa The Concat operation is performed, and then the result of the Concat operation is subjected to a 1×1 convolution and a ReLU activation function to enhance the spatial features, and finally the result is combined with the spatial features with edge information enhancement obtained by the Laplace convolution operation. Add element by element and output the interactive flood water body spatial feature I s ' pa , The formula is: When using spatial information in the spectral branch, firstly, the interactive flood water body spatial feature I s ' pa Perform a 3×3 convolution operation and then combine the result with the flood water body spectral feature I spe The Concat operation is performed, and then the result of the Concat operation is subjected to a 1×1 convolution and a ReLU activation function to enhance the spectral features, and finally the result is combined with the spectral features with edge information enhancement obtained by the Laplace convolution operation. Perform element-by-element addition to output the interactive flood water body spectral feature I s ' pe ; The formula is as follows:
5. The method for extracting three-dimensional flood disaster information based on domestic high-resolution satellites according to claim 4 is characterized in that: The fusion method of the spatial-spectral feature fusion module is specifically as follows: First, 1×1 convolution is used to respectively transform the interactive flood water body spatial features I s ' pa and the spectral characteristics of the flood water body after the interaction I s ' pe The number of channels is compressed, and then the compressed features are combined with the flood water body spectral feature I obtained in step S220 spe And the spatial characteristics of flood water bodies I spa Add each element separately to generate feature I s ” pa and I s ” pe , and finally s ” pa and I s ” pe Perform the Concat operation and use 1×1 convolution to compress the number of channels of the features after the Concat operation to obtain the fused feature I fuse ; The calculation formula is as follows: I s ” pa =conv 1×1 (I s ' pa )+I spa I s ” pe =conv 1×1 (I s ' pe )+I spe I fuse =conv 1×1 (Concat(I s ” pa ,I s ” pe )) Then, the fused feature I fuse Input into the squeeze-and-excitation attention mechanism (SENet) to obtain the weighted flood water feature F fuse ; F fuse =SENet(I fuse )。 6. The method for extracting three-dimensional flood disaster information based on domestic high-resolution satellites according to claim 5 is characterized in that: The SENet calculation steps are specifically as follows: Squeeze operation: for the fused feature I fuse A global average pooling (GAP) operation is performed on each channel in to obtain the compressed feature I sq ; Excitation operation: The compression feature I sq Input into a two-layer network, learn the weight of each channel, and generate the attention weight vector w for each channel ex , the network includes a fully connected layer (Fully Convolution, FC) with ReLU activation function and a sigmoid activation function layer; The calculation formula is as follows: In ex =sigmoid(ReLU(FC(I sq ))) Reweighting operation: using attention weights w ex The fused feature I fuse Perform channel-by-channel weighting to generate the weighted flood water body feature F fuse ; The calculation formula is as follows: F fuse =I fuse ·w ex 。 7. The method for extracting three-dimensional flood disaster information based on domestic high-resolution satellites according to claim 6 is characterized in that: The knowledge distillation strategy module includes: a knowledge distillation loss function and a pixel-by-pixel loss function.
Citation Information
Patent Citations
Lightweight remote sensing image change detection method based on knowledge distillation
CN115546196A
Image super-resolution method and device based on knowledge distillation compression model
CN115984111A
Image retrieval method and device, equipment and storage medium
CN115994242A
Systems and methods for image-to-video re-identification
WO2022134104A1
