Tailing pond detection method

By constructing a tailings dam detection network model and using remote sensing image samples for training and testing, the problems of low efficiency and insufficient accuracy in traditional tailings dam detection have been solved, achieving high-precision and automated tailings dam detection.

CN117496371BActive Publication Date: 2026-11-24BEIJING RES INST OF URANIUM GEOLOGY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311533194.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-16
Publication Date
2026-11-24
Estimated Expiration
2043-11-16

AI Technical Summary

Technical Problem

Traditional tailings dam detection methods are inefficient and costly, and remote sensing technology is difficult to achieve high-precision and automated detection, resulting in false detections and missed detections.

Method used

A tailings dam detection network model was constructed, trained and tested using remote sensing image samples, and optimized to improve detection accuracy by utilizing multi-scale feature extraction and saliency feature fusion, combined with data augmentation and sample delineation techniques.

Benefits of technology

It has achieved high-precision and automated tailings dam detection, reduced false detection and missed detection rates, and improved detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117496371B_ABST
    Figure CN117496371B_ABST
Patent Text Reader

Abstract

This application provides a tailings dam detection method, which includes the following steps: acquiring remote sensing images of the tailings dam; using the remote sensing images to obtain samples for training a tailings dam detection network model and samples for testing the tailings dam detection network model; constructing a tailings dam detection network model; training the tailings dam detection network model using the training samples; and inputting the test samples into the trained tailings dam detection network model to obtain the tailings dam detection result. The detection method provided by this application can obtain the tailings dam detection result by using training and test samples obtained from remote sensing images to train and test the established tailings dam detection network model. This avoids false detections and missed detections, and also achieves high-precision, automated detection of tailings dams, improving detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this application involve the use of a combination of image preprocessing and multiple recognition functions to identify images, specifically relating to a tailings dam detection method. Background Technology

[0002] Tailings dams are sites used in mining operations to store tailings or other industrial waste discharged after mineral processing. They are essential infrastructure for maintaining normal mine production. Real-time monitoring of tailings dams to determine their quantity, location, area, and other information is a crucial means of reducing tailings dam accidents and maintaining normal mine operations.

[0003] Traditional tailings dam detection relies primarily on manual ground surveys. This method is heavily influenced by human subjectivity, resulting in low efficiency and high costs, failing to meet the needs of tailings dam detection. Compared to man-made targets like cars detected by remote sensing technology, tailings dams vary greatly in size and shape, and the surrounding backgrounds are complex and diverse. Furthermore, the tailings and industrial waste within the dams exhibit diverse colors, making it difficult for traditional remote sensing technology to accurately and efficiently detect tailings dams over large areas. Simultaneously, existing deep learning algorithms still suffer from false positives and false negatives when extracting tailings dams. Summary of the Invention

[0004] To address at least one aspect of the aforementioned technical problems, embodiments of this application provide a tailings dam detection method, comprising the following steps: acquiring remote sensing images of the tailings dam; using the remote sensing images to obtain samples for training a tailings dam detection network model and samples for testing the tailings dam detection network model; constructing a tailings dam detection network model; training the tailings dam detection network model using the training samples; and inputting the testing samples into the trained tailings dam detection network model to obtain the tailings dam detection result.

[0005] The detection method provided in the embodiments of this application can obtain the detection results of tailings dams by using training samples and test samples obtained from remote sensing images to train and test the established tailings dam detection network model. This can avoid false detections and missed detections, and can also achieve high-precision and automated detection of tailings dams, thereby improving detection efficiency. Attached Figure Description

[0006] Other objects and advantages of this application will become apparent from the following description of embodiments of this application with reference to the accompanying drawings, and will help to provide a comprehensive understanding of this application.

[0007] Figure 1 This is a schematic diagram of the process of a tailings dam detection method according to an embodiment of this application.

[0008] Figure 2This is a schematic diagram of a tailings dam detection network model according to an embodiment of this application.

[0009] Figure 3 This is a schematic diagram of the tailings dam detection network model constructed in the embodiments of this application.

[0010] Explanation of reference numerals in the attached figures:

[0011] 1. Sample; 2. First feature extraction module; 21. First extraction unit; 22. Feature optimization unit; 23. Feature fusion unit; 3. Second feature extraction module; 31. Second extraction unit; 4. Feature calculation module; 5. Prediction module; 51. Region proposal network; 52. Classification determination network; 6. Feature fusion module; 61. First feature fusion unit; 62. Second feature fusion unit.

[0012] It should be noted that the accompanying drawings are not necessarily drawn to scale, but are shown only in a schematic manner without affecting the reader's understanding. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only one embodiment of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the described embodiments of this application without creative effort are within the scope of protection of this application.

[0014] It should be noted that, unless otherwise defined, the technical or scientific terms used in this application should have the ordinary meaning understood by a person with ordinary skill in the art to which this application pertains. Where the terms "first," "second," etc., are used throughout the text, they are used only to distinguish similar objects and should not be construed as indicating or implying their relative importance, order of precedence, or implicitly specifying the number of technical features indicated. It should be understood that the data described by "first," "second," etc., can be interchanged where appropriate. Where "and / or" appears throughout the text, it means including three parallel solutions. Taking "A and / or B" as an example, it includes solution A, or solution B, or a solution that satisfies both A and B. Furthermore, for ease of description, spatial relative terms such as "above," "below," "top," "bottom," etc., may be used here, only to describe the spatial positional relationship between one device or feature as shown in the figure and other devices or features. It should be understood that this also includes different orientations in use or operation besides those shown in the figure.

[0015] Existing technologies utilize a combination of remote sensing and deep learning algorithms to detect tailings ponds. However, due to the complex and diverse surrounding environment of tailings ponds, as well as their varying shapes, colors, and sizes, remote sensing technology struggles to achieve high-precision, automated detection of tailings ponds over large areas, resulting in a high rate of missed detections. Furthermore, the poor robustness of remote sensing technology to noise in the surrounding environment limits its ability to extract model features, leading to a high rate of false detections of tailings ponds.

[0016] To address at least one aspect of the above-mentioned problems, embodiments of this application provide a tailings dam detection method. For example... Figure 1 The diagram illustrates a process schematic of a tailings dam detection method according to an embodiment of this application. The method includes the following steps: S00: acquiring remote sensing images of the tailings dam; S10: using the remote sensing images to obtain samples for training a tailings dam detection network model and samples for testing the tailings dam detection network model; S20: constructing a tailings dam detection network model; S30: training the tailings dam detection network model using the training samples; S40: inputting the testing samples into the trained tailings dam detection network model to obtain the tailings dam detection result.

[0017] The detection method provided in the embodiments of this application can obtain the detection results of tailings dams by using training samples and test samples obtained from remote sensing images to train and test the established tailings dam detection network model. This can avoid false detections and missed detections, and can also achieve high-precision and automated detection of tailings dams, thereby improving detection efficiency.

[0018] In some embodiments, when acquiring remote sensing images of the tailings dam in step S00, images with a spatial resolution better than 1 meter and containing the R, G, and B channels can be selected to improve the accuracy of identifying the internal features of the tailings dam.

[0019] In some embodiments, after acquiring remote sensing images of the tailings dam, the acquired remote sensing images of the tailings dam can be preprocessed to obtain preprocessed remote sensing images, which facilitates subsequent steps.

[0020] In some embodiments, preprocessing the acquired remote sensing image of the tailings dam may include using processing software to perform radiometric calibration, atmospheric correction, geometric correction, and format conversion on the image.

[0021] In some embodiments, the processing software for processing remote sensing images of tailings ponds may be ENVI software.

[0022] In some embodiments, in step S10, when obtaining samples for training and testing the tailings dam detection network model using remote sensing imagery, the number of training and testing samples can be determined according to a predetermined ratio. The training samples can be used to train the established tailings dam detection network model to obtain a model that meets the requirements; the testing samples can be input into the trained tailings dam detection network model for target detection and accuracy evaluation.

[0023] In some embodiments, the predetermined ratio for determining the number of training samples and test samples can be 7:3, that is, the number of training samples can account for 7 / 10 of the total number of samples, and the number of test samples can account for 3 / 10 of the total number of samples.

[0024] In some embodiments, step S10 may further include slicing the remote sensing image to form training samples and test samples. When performing the slicing operation, the overlap rate of the sliding window can be set to a predetermined value to avoid the tailings pond target in the image being segmented.

[0025] In some embodiments, the predetermined value of the overlap ratio of the sliding window can be 128 pixels. A predetermined value of 128 pixels allows for overlap between adjacent image slices, which can both prevent the tailings pond target in the image from being segmented and increase the number of image slices.

[0026] In some embodiments, the size of the slice can be set to 1024×1024 pixels.

[0027] Using a sliding window approach to slice remote sensing images takes into account both the limitations of hardware computing power during model training and the integrity of tailings ponds in the sample.

[0028] In some embodiments, in step S10, when slicing remote sensing images to form training and testing samples, data augmentation methods may be used to increase the number of samples.

[0029] In some embodiments, methods such as horizontal flipping, vertical flipping, diagonal mirroring, and adding Gaussian noise can be used to augment the sliced ​​images, which can increase the diversity of the tailings pond samples and improve the model's recognition accuracy and generalization ability.

[0030] In some embodiments, when obtaining samples for training the tailings dam detection network model and samples for testing the tailings dam detection network model, a combination of tailings dam statistics and image target interpretation can be used.

[0031] In some embodiments, when obtaining training and testing samples by combining tailings dam statistical information with image target interpretation, tools can be used to delineate tailings dam samples in remote sensing images, mark the fine boundary contours of tailings dams, and generate the minimum bounding rectangle of the boundary contours to avoid interference from redundant backgrounds in tailings dam feature recognition.

[0032] In some embodiments, the LabelImg tool can be used to delineate tailings ponds in remote sensing images.

[0033] like Figure 2 The diagram illustrates a tailings dam detection network model according to an embodiment of this application. In step S20, the tailings dam detection network model may include a first feature extraction module 2, a second feature extraction module 3, a feature calculation module 4, and a prediction module 5. Specifically, the first feature extraction module 2 processes the input sample 1 to extract a first feature of sample 1; the second feature extraction module 3 processes the input sample 1 to extract a second feature of sample 1; the feature calculation module 4 receives the first and second features and performs calculations on them; and the prediction module receives the calculation results from the feature calculation module 4 and makes a prediction.

[0034] The first feature extraction module 2 can be used to extract multi-scale image features of different levels and stages of the tailings pond in the input sample 1. The second feature extraction module 3 can be used to extract salient features of tailings pond targets that are more prominent and important than the surrounding background environment in the image.

[0035] The first feature extraction module 2 may include an n-layer first extraction unit 21, an n-1-layer feature optimization unit 22, and an n-1-layer feature fusion unit 23.

[0036] Among them, the first extraction unit 21 of the nth layer is configured to extract the image features of tailings ponds of different sizes from the input data.

[0037] In some embodiments, the first extraction unit 21 may be a convolution extraction module, wherein the first extraction unit 21 of the first layer may be composed of a 7×7 convolutional layer, and the first extraction units 21 of the second to nth layers may be composed of a number of residual blocks, each residual block containing a different number of 1×1 and 3×3 convolutional layers.

[0038] The feature map of sample 1 obtained after the first extraction unit 21 can be represented as {C1, C2, C3, C4, C5, ..., C...} n}

[0039] When extracting image features from tailings ponds of different sizes, shallow features have high resolution and can capture better details, but lack semantic information, making them suitable for detecting small-scale tailings pond targets. Deep features contain rich semantic information but lack spatial resolution information, resulting in poorer capture of detail information, making them suitable for detecting large-scale tailings pond targets. Therefore, for the detection of tailings ponds of different sizes, it is necessary to effectively integrate and utilize both shallow spatial resolution information and deep semantic information.

[0040] Feature Pyramid Network (FPN) is a commonly used structural model in the field of multi-scale object detection. FPN can connect high-level features with low resolution and strong semantic information and low-level features with high resolution and weak semantic information in a top-down manner. This allows features at different levels to contain rich semantic information, making it more suitable for detecting objects of different sizes and enhancing the feature representation capabilities of different networks.

[0041] In some embodiments, the first extraction unit 21 may further include an FPN, which can extract feature maps {C2, C3, C4, C5, ..., C6}. n The feature maps {C2, C3, C4, C5, ..., C6} are used as input features for the FPN, and then processed by 256 1×1 convolutional layers. n Channel compression is performed, reducing the number of channels to 256. The resulting feature map can be denoted as {D2, D3, D4, D5, ..., D...}. n The calculation process is as follows:

[0042] D i =Conv 1×1 (C i ), i = 2, 3, 4, 5, ..., n

[0043] The n-1 layer feature optimization unit 22 corresponds one-to-one with the second to nth layer first extraction units 21 of the nth layer first extraction unit 21.

[0044] Sample 1 can be input into the first extraction unit 21 of the first layer. The result after extraction by the first extraction unit 21 of the first layer can be input into the first extraction unit 21 of the second layer, and so on, so that the result after extraction by the first extraction unit 21 of the (n-1)th layer can be input into the first extraction unit 21 of the nth layer.

[0045] The processing result of the first extraction unit 21 of the second layer can also be input to the corresponding feature optimization unit 22 of the first layer, and so on. The processing result of the first extraction unit 21 of the nth layer can be input to the corresponding feature optimization unit 22 of the (n-1)th layer.

[0046] Each layer in the n-1 layer feature optimization unit 22 can enhance the input features and remove interference.

[0047] In some embodiments, the feature optimization unit 22 can be a deformable convolution network (DCN). A DCN allows the feature optimization unit 22 to additionally learn the offset of features, optimizing and obtaining feature representation capabilities that automatically adapt to the shape of the tailings dam, thus helping to detect tailings dam targets with varying shapes and irregular appearances.

[0048] Feature maps {D2, D3, D4, D5, ... D} n After DCN operation, the feature map {E2, E3, E4, E5, ... E} can be obtained. n}

[0049] In some embodiments, the feature extraction unit can also be a Convolutional Block Attention Module (CBAM), which can include channel attention and spatial attention to enhance feature extraction performance. CBAM enables the feature optimization unit 22 to filter out more useful features for tailings pond detection from a rich variety of features, enhancing and optimizing feature representation, effectively removing interference, and reducing the probability of misjudgment.

[0050] Feature maps {E2, E3, E4, E5, ... E n After CBAM operation, we can obtain the feature maps {F2, F3, F4, F5, ... F} after layer-by-layer attention enhancement. n}

[0051] The feature optimization unit 22 adopts a top-down approach to perform horizontal connections and achieves multi-scale feature fusion by pixel-level addition.

[0052] The n-1 layer feature optimization unit 22 and the n-1 layer feature fusion unit 23 correspond one-to-one. The data processed by each layer feature optimization unit 22 can be input into the corresponding layer feature fusion unit 23.

[0053] The result of the processing of the second layer feature fusion unit 23 can be input into the first layer feature fusion unit 23, and so on, the result of the processing of the (n-1)th layer feature fusion unit 23 can be input into the (n-2)th layer feature fusion unit 23.

[0054] The data input from the first-layer feature optimization unit 22 to the first-layer feature fusion unit 23 can be superimposed with the data input from the second-layer feature fusion unit 23. The superimposed data can be processed by the first-layer feature fusion unit 23 and output to the feature calculation module 4. Similarly, the data input from the (n-2)th layer feature optimization unit 22 to the (n-2)th layer feature fusion unit 23 can be superimposed with the data input from the (n-1)th layer feature fusion unit 23. The superimposed data can be processed by the (n-2)th layer feature fusion unit 23 and output to the feature calculation module 4.

[0055] The data processed by the feature optimization unit 22 of the (n-1)th layer is output to the feature fusion unit 23 of the (n-1)th layer, and after being processed by the feature fusion unit 23 of the (n-1)th layer, it is directly output to the feature calculation module 4.

[0056] In some embodiments, the feature maps {F2, F3, F4, F5, ... F...} processed by the feature optimization unit 22 are... n} can be used as the source features for feature fusion. After processing by feature fusion unit 23, the resulting multi-scale feature map can be denoted as {P2, P3, P4, P5, ..., P}. n The calculation process is as follows:

[0057] P n =Conv 3×3 (F n )

[0058] P n-1 =Conv 3×3 Upsam ×2 P n )⊕(F n-1 ))

[0059] Among them, Conv 3×3 This represents a 3×3 convolution operation with a stride of 2; Upsam ×2 ⊕ indicates a 2x upsampling operation; ⊕ indicates pixel-level addition.

[0060] In some embodiments, the tailings dam detection network model may further include a feature fusion module 6, which may include a first feature fusion unit 61 and a second feature fusion unit 62.

[0061] In some embodiments, the result processed by the feature fusion unit 23 of the (n-1)th layer can also be input to an additional first feature fusion unit 61, and after processing by the first feature fusion unit 61, it can be input to an additional second feature fusion unit 62. After processing by the first feature fusion unit 61, the output from the first feature fusion unit 61 can be input to the second feature fusion unit 62, and after processing by the second feature fusion unit 62, it can be input to the prediction module 5. The result processed by the first feature fusion unit 61 can also be input to the prediction module 5.

[0062] In some embodiments, P can be n The input is fed into the first feature fusion unit 61, and after processing by the first feature fusion unit 61, P can be obtained. n+1 , will P n+1 Input to prediction module 5; P can also be... n+1 The input is fed into the second feature fusion unit 62, and after processing, P can be obtained. n+2 , will P n+2 Input to prediction module 5.

[0063] In some embodiments, the additional first feature fusion unit 61 and second feature fusion unit 62 may process the input feature map by performing convolution operations on the input feature map to reduce the size of the resulting feature map, thereby enabling the detection of larger tailings ponds.

[0064] In some embodiments, the convolution operation of the additional first feature fusion unit 61 and the second feature fusion unit 62 can be a 3×3 convolution operation, and the stride of the convolution operation can be set to 2.

[0065] Small size features Figure 1 It can generally be used to detect large-scale targets and large-scale features. Figure 1 It can generally be used to detect small-scale targets. By processing the feature map with additional first and second feature units, a feature map P with a larger receptive field and stronger semantics can be obtained. n+1 and P n+2 This is beneficial for inspecting larger tailings ponds.

[0066] After processing by the first extraction module, multi-scale feature maps {P2, P3, P4, P5, ... P} can be obtained. n-1 P n P n+1 P n+2}

[0067] The second feature extraction module 3 may include n-1 different second extraction units 31. The n-1 different second extraction units 31 can process the input image and perform size transformation processing on the output of the n-1 different second extraction units 31 so that their feature sizes correspond one-to-one with the feature sizes output by the n-1 feature fusion units 23. The size transformation processing results of the n-1 different second extraction units 31 can be input to the feature calculation module 4.

[0068] In some embodiments, the second extraction unit 31 may include different handcrafted models for extracting salient features of tailings dam images, and n-1 different second extraction units 31 may include n-1 different handcrafted models.

[0069] In some embodiments, different handcrafted models used to extract saliency features from tailings pond images may be: the Itti and Koch (IttiKoch) model, the Boolean Map based Saliency (BMS) model, the Histogram-based Contrast (HC) model, and the Local Contrast (LC) model. These handcrafted models can be used to generate different saliency maps of the input sample 1 image.

[0070] In some embodiments, the second feature extraction module 3 may also include a Reshape operation, which can transform the image size according to size requirements.

[0071] In some embodiments, processing the input sample 1 using the second feature extraction module 3 may include the following operations:

[0072] First, the saliency features of input sample 1 can be obtained using the four manual models mentioned above, denoted as saliency maps {T2, T3, T4, T5, ..., T...}. n Next, for the saliency graphs {T2, T3, T4, T5, ..., T...} n Perform a reshape operation on the saliency maps {T2, T3, T4, T5, ..., T} to make the saliency maps {T2, T3, T4, T5, ..., T} more saliency maps. n The size transformation of} to feature map {P2, P3, P4, P5, ..., P} n The corresponding sizes, and the saliency maps after the size transformation, can be denoted as {S2, S3, S4, S5, ..., S}. n}

[0073] In some embodiments, the feature maps {P2, P3, P4, P5, ..., P...} obtained after processing by the first feature extraction module 2 are... n} and the saliency maps {S2, S3, S4, S5, ..., S} obtained after processing by the second feature extraction module 3.n The input data can be sent to feature calculation module 4 for data processing. Feature calculation module 4 processes the input data using the following expression:

[0074] S_P i =P i (j)+α×S i (j)×P i (j)

[0075] Where i represents the feature map number, j represents the pixel number in the feature map, and α represents the importance weight factor of the saliency map, which can be used to flexibly set the importance of salient features extracted by different manual models.

[0076] In some embodiments, i = 2, 3, 4, 5, ..., n; α ∈ [0.1, 1.5].

[0077] In some embodiments, the saliency map after size transformation obtained after processing by feature calculation module 4 can be denoted as {S_P2, S_P3, S_P4, S_P5, ..., S_P}. n The resulting final feature maps are {S_P2, S_P3, S_P4, S_P5, ..., S_P}. n P n+1 P n+2}

[0078] In some embodiments, the prediction module 5 may include a region proposal network 51. The output of the first feature fusion unit 61 can be input to the second feature fusion unit 62. After being processed by the second feature fusion unit 62, the data can be input to the region proposal network 51. The data processed by the feature calculation module 4 can also be input to the region proposal network 51. After being processed by the region proposal network 51, the preliminary location result of the tailings dam target can be determined. The prediction module 5 may also include a classification determination network 52. The preliminary location result of the tailings dam target and the data processed by the feature calculation module 4 can be input to the classification determination network 52. After being processed by the classification determination network 52, the final detection result of the tailings dam target can be determined.

[0079] In some embodiments, the region proposal network 51 may include convolution operations, the Bbox Reg (Bounding Box Regression) function, and the Softmax function.

[0080] In some embodiments, the initial location result of the tailings dam target may be a series of candidate boxes (Proposals) containing the tailings dam target.

[0081] In some embodiments, data processing by the regional recommendation network 51 may include the following steps:

[0082] First, the final feature maps {S_P2, S_P3, S_P4, S_P5, ..., S_P} can be processed. n P n+1 P n+2 After performing a convolution operation, the initial location of the tailings dam target can be determined using the BboxReg and Softmax functions.

[0083] In some embodiments, the classification network 52 may include a fully connected layer (FC), a Bounding Box Regression function, and a Softmax function.

[0084] In some embodiments, after processing by the classification and determination network 52, the detection result for the final tailings dam target may include:

[0085] The saliency maps {S2, S3, S4, S5, ..., S} after size transformation can be analyzed. n The results of the region proposal network 51 are processed to extract candidate feature maps. Then, the category of each candidate box can be calculated by fully connected layers and the Softmax function. At the same time, the position offset of each candidate box can be obtained again by using Bbox Reg, and regression can be used to obtain the final detection result of the tailings pond target.

[0086] In some embodiments, when training the tailings dam detection network model using the training sample 1 in step S30, the optimizer can use stochastic gradient descent (SGD), the initial learning rate can be set to 0.02, the momentum can be set to 0.9, the weight decay can be set to 0.0001, and the batch processing parameter can be set to 2.

[0087] like Figure 3 As shown, this is a schematic diagram of the tailings dam detection network model constructed in an embodiment of this application, where n=5. The following is in conjunction with... Figure 3 The process of constructing a tailings dam detection network model is described in detail, and this process may include the following steps:

[0088] The training sample 1 is input into the first extraction module 2. Feature D2 is obtained through the second-layer first extraction unit 21, feature D3 is obtained through the third-layer first extraction unit 21, and so on, resulting in feature maps {D2, D3, D4, D5}. The feature maps {D2, D3, D4, D5} are then input into the feature optimization unit 22. Feature F2 is obtained through the first-layer feature optimization unit 22, feature F3 is obtained through the second-layer feature optimization unit 22, and so on, resulting in feature maps {F2, F3}. The feature maps {F2, F3, F4, F5} are input into the feature fusion unit 23. F5 is input into the fourth layer feature fusion unit to obtain P5. P5 is superimposed with F4 and then input into the third layer feature fusion unit. After processing, P4 is obtained. P4 is superimposed with F3 and then input into the second layer feature fusion unit. After processing, P3 is obtained. And so on, the feature maps {P2, P3, P4, P5} are obtained through the feature fusion unit 23 and the first feature extraction module 2.

[0089] The result P5 obtained after processing by the fourth layer feature fusion unit can also be input into the additional feature fusion module 6, and P6 is obtained through the first feature fusion unit 61. P6 is then input into the second feature fusion unit 62 to obtain P7. P6 and P7 are then input into the region proposal network 51 of the prediction module 5.

[0090] Meanwhile, the sample 1 used for training can also be input into the second feature extraction module 3, and S2 is obtained through the first layer second extraction unit 31, S3 is obtained through the second layer second extraction unit 31, and so on, and the saliency map {S2, S3, S4, S5} is obtained through the second extraction module 3.

[0091] The feature maps {P2, P3, P4, P5} and saliency maps {S2, S3, S4, S5} are input into the feature calculation module. After calculation and processing, the transformed saliency maps {S_P2, S_P3, S_P4, S_P5} are obtained, resulting in the final feature maps {S_P2, S_P3, S_P4, S_P5, P6, P7}. The final feature maps {S_P2, S_P3, S_P4, S_P5, P6, P7} are input into the region proposal network 51 of the prediction module 5 to determine the preliminary location result of the tailings dam target. The preliminary location result of the tailings dam target and the transformed saliency maps {S_P2, S_P3, S_P4, S_P5} are input into the classification determination network 62 to determine the final detection result of the tailings dam target.

[0092] In some embodiments, during step S30, when training the tailings dam detection network model using the training sample 1, the target detection result can be obtained by inputting the training sample 1 data, and the loss function can be calculated. Specifically, in the region proposal network 51, the classification loss function can use the cross-entropy loss function, and the location loss function can use Smooth L1. The parameters in the network model are continuously updated and optimized through backpropagation, iterating multiple times until the model converges and training ends.

[0093] Regarding the embodiments of this application, it should also be noted that, without conflict, the embodiments of this application and the features in the embodiments can be combined with each other to obtain new embodiments.

[0094] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. The scope of protection of this application shall be determined by the scope of the claims.

Claims

1. A method for detecting tailings dams, characterized in that, It includes the following steps: S00: Acquire remote sensing images of the tailings dam; S10: Using the remote sensing image, obtain samples for training the tailings dam detection network model and samples for testing the tailings dam detection network model. S20: Construct the tailings dam detection network model; S30: Train the tailings dam detection network model using the samples used for training; S40: Input the test samples into the trained tailings dam detection network model to obtain the detection results of the tailings dam; The tailings dam detection network model includes a first feature extraction module, a second feature extraction module, a feature calculation module, and a prediction module. The first feature extraction module is used to process the input sample and extract the first feature of the sample. The second feature extraction module is used to process the input sample and extract the second feature of the sample. The feature calculation module receives the first feature and the second feature, and performs calculations on them. The prediction module receives the calculation results from the feature calculation module and makes a prediction. The feature maps {P2, P3, P4, P5, ..., Pn} obtained after processing by the first feature extraction module and the saliency maps {S2, S3, S4, S5, ..., Sn} obtained after processing by the second feature extraction module are input into the feature calculation module for data processing. The feature calculation module processes the input data using the following expression. S_P i =P i (j)+α×S i (j)×P i (j) i represents the feature map number, j represents the pixel number in the feature map, and α represents the importance weight factor of the saliency map, which is used to flexibly set the importance of salient features extracted by different manual models.

2. The method according to claim 1, characterized in that, The first feature extraction module includes an n-layer first extraction unit, an n-1-layer feature optimization unit, and an n-1-layer feature fusion unit. The first extraction unit in layer n is configured to extract image features of tailings ponds of different sizes from the input data; The n-1 layer feature optimization unit corresponds one-to-one with the second to nth layer first extraction units of the nth layer first extraction unit; The sample is input into the first extraction unit of the first layer. The result extracted by the first extraction unit of the first layer is input into the first extraction unit of the second layer, and so on, with the result extracted by the (n-1)th extraction unit of the first layer being input into the first extraction unit of the nth layer. The processing result of the first extraction unit of the second layer is also input to the corresponding feature optimization unit of the first layer, and so on, with the processing result of the first extraction unit of the nth layer being input to the corresponding feature optimization unit of the (n-1)th layer. Each layer in the n-1 layer feature optimization unit enhances the input features and removes interference; Each of the n-1 layer feature optimization units corresponds one-to-one with each of the n-1 layer feature fusion units. The data processed by each layer feature optimization unit is input into the corresponding layer feature fusion unit. The result of the second-layer feature fusion unit is input to the first-layer feature fusion unit, and so on, with the result of the (n-1)th-layer feature fusion unit being input to the (n-2)th-layer feature fusion unit. The data input from the first-layer feature optimization unit to the first-layer feature fusion unit and the data input from the second-layer feature fusion unit to the first-layer feature fusion unit are superimposed on each other. The superimposed data is then processed by the first-layer feature fusion unit and output to the feature calculation module. Similarly, the data input from the (n-2)th-layer feature optimization unit to the (n-2)th-layer feature fusion unit and the data input from the (n-1)th-layer feature fusion unit to the (n-2)th-layer feature fusion unit are superimposed on each other. The superimposed data is then processed by the (n-2)th-layer feature fusion unit and output to the feature calculation module. The data processed by the feature optimization unit of the (n-1)th layer is input to the feature fusion unit of the (n-1)th layer, and after being processed by the feature fusion unit of the (n-1)th layer, it is directly output to the feature calculation module.

3. The method according to claim 2, characterized in that, The result processed by the feature fusion unit of the (n-1)th layer is input to an additional first feature fusion unit, then processed by the first feature fusion unit and input to an additional second feature fusion unit. After being processed by the first feature fusion unit, the result output from the first feature fusion unit is input to the second feature fusion unit, then processed by the second feature fusion unit and input to the prediction module. The result processed by the first feature fusion unit is also input to the prediction module.

4. The method according to claim 3, characterized in that, The second feature extraction module includes n-1 different second extraction units. The n-1 different second extraction units process the input image and perform size transformation processing on the output of the n-1 different second extraction units so that their feature sizes correspond one-to-one with the feature sizes output by the n-1 feature fusion units. The size transformation processing results of the n-1 different second extraction units are input to the feature calculation module.

5. The method according to claim 4, characterized in that, The prediction module includes a regional suggestion network. The output of the first feature fusion unit is input to the second feature fusion unit. After being processed by the second feature fusion unit, the output is input to the regional suggestion network. The result processed by the first feature fusion unit is also input to the regional suggestion network. The data processed by the feature calculation module is also input to the regional suggestion network. After being processed by the regional suggestion network, the preliminary location result of the tailings dam target is determined. The prediction module also includes a classification and determination network. The preliminary tailings dam target location results and the data processed by the feature calculation module are input into the classification and determination network. After processing by the classification and determination network, the final detection result of the tailings dam target is determined.

6. The method according to claim 1, characterized in that, In step S10, the number of training samples and test samples is determined according to a predetermined ratio.

7. The method according to claim 1, characterized in that, In step S10, the remote sensing image is further sliced ​​to form the training samples and the test samples. When performing the slicing operation, the overlap rate of the sliding window is set to a predetermined value to avoid the tailings pond target in the image being segmented.

Citation Information

Patent Citations

  • Remote-sensing image building change detection method

    CN110705457A

  • Spatiotemporal action detection method

    US20210248378A1