Intelligent monitoring method and system for dam leakage
UAVs equipped with infrared and visible light cameras combined with deep learning algorithms conduct multi-band image analysis of dams, which solves the problem of low manual inspection efficiency in the existing technology and achieves intelligent monitoring and efficient coverage of dam leakage.
Patent Information
- Application Number
- CN202410948636.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing dam inspections mainly rely on manual inspections, which results in high manpower consumption, low efficiency, insufficient coverage, and inability to effectively monitor dam leakage.
UAVs equipped with infrared cameras and visible light cameras are used to conduct dam inspections, and deep learning algorithms are used to extract and fuse multi-band and multi-scale features of the collected visible and infrared images. Leakage conditions are determined through a semantic association mask fusion network.
It realizes intelligent monitoring of dam leakage, improves monitoring efficiency and coverage, and reduces the labor intensity and cost of manual inspections.
Smart Images

Figure CN118485972B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent monitoring, and more specifically, to a method and system for intelligent monitoring of dam leakage. Background Art
[0002] Dam leakage refers to the phenomenon that water or water in a dam or levee structure seeps in or out through cracks, holes or other infiltration channels. Dam leakage may have an adverse effect on the stability of the dam. Therefore, the investigation and monitoring of dam leakage is an important link.
[0003] However, the existing inspection of dikes mainly relies on manual inspection, that is, dragnet inspection, which uses eyes, ears, feet, and hands to judge. The problems of this method are: high manpower consumption, high pressure of inspection, insufficient coverage, and low efficiency. Therefore, an intelligent monitoring method and system for dike leakage is expected. Summary of the invention
[0004] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides an intelligent monitoring method and system for dam leakage, which uses a drone equipped with an infrared camera and a visible light camera to replace manual inspections, and combines a deep learning algorithm to perform correlation analysis on the collected visible light image and infrared image of the dam, so as to learn the multi-band and multi-scale image feature representation of the dam, and use this as a basis for judging whether there is leakage, thereby realizing intelligent monitoring of dam leakage.
[0005] According to one aspect of the present application, a method for intelligently monitoring dam leakage is provided, comprising:
[0006] Obtain visible light images and infrared images of the dam collected by infrared cameras and visible light cameras carried by UAVs;
[0007] Performing multi-scale dam image feature extraction on the dam visible light image and the dam infrared image to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map, and a dam infrared semantic feature map;
[0008] Performing multi-band fusion on the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map;
[0009] Inputting the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map into a semantic association mask fusion network to obtain a dam multi-band multi-scale fusion feature map;
[0010] The monitoring results are determined based on the multi-band and multi-scale fusion feature map of the dam.
[0011] According to another aspect of the present application, there is provided an intelligent monitoring system for dam leakage, comprising:
[0012] An image acquisition module is used to acquire visible light images and infrared images of the dam collected by an infrared camera and a visible light camera carried by the UAV;
[0013] A multi-scale dam image feature extraction module is used to perform multi-scale dam image feature extraction on the dam visible light image and the dam infrared image to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map and a dam infrared semantic feature map;
[0014] A multi-band fusion module, used for performing multi-band fusion on the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map;
[0015] A semantic association mask fusion module, used for inputting the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map into a semantic association mask fusion network to obtain a dam multi-band multi-scale fusion feature map;
[0016] The monitoring result determination module is used to determine the monitoring result based on the multi-band and multi-scale fusion feature map of the dam.
[0017] Compared with the prior art, the present application provides an intelligent monitoring method and system for dam leakage, which utilizes drones equipped with infrared cameras and visible light cameras to replace manual inspections, and combines deep learning algorithms to perform correlation analysis on the collected visible light images and infrared images of the dam, so as to learn the multi-band and multi-scale image feature representation of the dam, and use this as the basis for distinguishing whether there is leakage or not, thereby realizing intelligent monitoring of dam leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0019] Figure 1 is a flow chart of a method for intelligent monitoring of dam leakage according to an embodiment of the present application;
[0020] Figure 2A system architecture diagram of a dam leakage intelligent monitoring method according to an embodiment of the present application;
[0021] Figure 3 is a flowchart of sub-step S4 of the intelligent monitoring method for dam leakage according to an embodiment of the present application;
[0022] Figure 4 It is a block diagram of an intelligent monitoring system for dam leakage according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0024] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0025] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0026] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0027] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0028] The existing inspection and detection of dikes mainly rely on manual inspections, that is, dragnet inspections, using eyes, ears, feet, and hands to judge. The problems of this method are: high manpower consumption, high pressure for inspection, insufficient coverage, and low efficiency. UAVs provide a powerful weapon for the inspection and monitoring of dikes due to their wide coverage, free setting of monitoring areas, high work efficiency, and strong mobility.
[0029] In the technical solution of the present application, an intelligent monitoring method for dam leakage is proposed. Figure 1 It is a flow chart of the intelligent monitoring method of dam leakage according to an embodiment of the present application. Figure 2 FIG. 1 is a system architecture diagram of the intelligent monitoring method for dam leakage according to an embodiment of the present application. Figure 1 and Figure 2 As shown, the intelligent monitoring method for dam leakage according to the embodiment of the present application includes the following steps: S1, obtaining a visible light image and an infrared image of a dam collected by an infrared camera and a visible light camera mounted on an unmanned aerial vehicle; S2, performing multi-scale dam image feature extraction on the visible light image and the infrared image of the dam to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map and a dam infrared semantic feature map; S3, performing multi-band fusion on the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map; S4, inputting the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map into a semantic association mask fusion network to obtain a dam multi-band multi-scale fusion feature map; S5, determining the monitoring result based on the dam multi-band multi-scale fusion feature map.
[0030] In particular, the S1 obtains the visible light image and infrared image of the dam collected by the infrared camera and visible light camera carried by the drone. Here, the visible light camera is used to collect the visible light image of the dam, so that the global image can be quickly obtained. It is worth mentioning that the drone can reach areas that are difficult for people to enter for shooting, thereby expanding the inspection range. Secondly, considering that in actual application scenarios, if a dam leaks, the flow of water may cause local temperature changes. By obtaining the infrared image of the dam, these abnormal temperature changes can be captured, thereby helping to identify potential leakage areas. In this way, multi-band image information can be provided by separately acquiring visible light images and infrared images, and in the subsequent processing and analysis process, it can learn the visual information of the dam surface while also quickly capturing signs of leakage caused by temperature differences, thereby forming a comprehensive state feature representation of the dam.
[0031] In particular, S2 performs multi-scale dam image feature extraction on the dam visible light image and the dam infrared image to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map, and a dam infrared semantic feature map. In particular, in a specific example of the present application, the dam visible light image and the dam infrared image are respectively passed through a dam multi-scale feature extractor based on a dilated pyramid network to obtain the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map, and the dam infrared semantic feature map. Among them, the dilated pyramid network expands the receptive field by using dilated convolution while maintaining the efficiency of the number of parameters. That is, the dilated convolution allows the network to capture a wider range of contextual information without increasing parameters. At the same time, the structure of the dilated pyramid network enables it to capture multi-scale feature information in the input data. In the technical solution of the present application, the hollow pyramid network is used to construct a multi-scale feature extractor for the dam to capture the shallow features and deep semantic features in the visible light image of the dam and the infrared image of the dam, respectively. Specifically, in the visible light image of the dam, the shallow features include information such as edges and textures, while the deep semantic features may include information such as the overall distribution pattern of cracks. In the infrared image of the dam, the shallow features may include information such as the shape and position of the abnormal temperature area, while the deep semantic features may include information such as the overall temperature distribution pattern.
[0032] Accordingly, in a possible implementation, the visible light image of the dam and the infrared image of the dam can be respectively passed through a multi-scale feature extractor of the dam based on a dilute pyramid network to obtain the shallow feature map of the visible light of the dam, the semantic feature map of the visible light of the dam, the shallow feature map of the infrared of the dam, and the semantic feature map of the infrared of the dam, through the following steps, for example: inputting the visible light image of the dam and the infrared image of the dam; using a multi-scale feature extractor of the dam based on a dilute pyramid network to extract the multi-scale features of the image. The dilute pyramid network usually contains multiple branches, each branch has a different dilation convolution rate, so as to capture information of different scales; inputting the visible light image of the dam into the dilute pyramid network to extract the features of the visible light image of the dam. This will generate a multi-scale feature representation of the visible light of the dam; inputting the infrared image of the dam into the dilute pyramid network to extract the features of the infrared image of the dam. This will generate a multi-scale feature representation of the dam's infrared; for each image type (visible light and infrared), the multi-scale features are decomposed to obtain shallow features and semantic features; shallow features are extracted from the multi-scale features of the dam's visible light to capture the low-level visual information of the image; semantic features are extracted from the multi-scale features of the dam's visible light to capture the high-level semantic information of the image; shallow features are extracted from the multi-scale features of the dam's infrared to capture the low-level visual information of the image; semantic features are extracted from the multi-scale features of the dam's infrared to capture the high-level semantic information of the image.
[0033] In particular, S3 performs multi-band fusion on the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map. In an embodiment of the present application, the dam visible light shallow feature map and the dam infrared shallow feature map are fused to obtain a dam multi-band shallow fusion feature map; and the dam visible light semantic feature map and the dam infrared semantic feature map are fused to obtain a dam multi-band semantic fusion feature map. That is, the multi-band complementary information in the visible light image and the infrared image is integrated to obtain more comprehensive dam status information and enhance the expression ability of the dam features. For example, the cracks in the visible light image of the dam may appear as temperature anomalies in the infrared image of the dam. The fusion of these two features can help the model to more accurately monitor and identify cracks and leakage conditions of the dam.
[0034] In particular, in S4, the multi-band shallow fusion feature map of the dam and the multi-band semantic fusion feature map of the dam are input into a semantic association mask fusion network to obtain a multi-band multi-scale fusion feature map of the dam. It should be understood that the shallow features and deep features of the visible light image of the dam and the infrared image of the dam have different information emphases. In the above process, the multi-band information of the corresponding hierarchical features has been fused. If the multi-level features can be further fused, a more comprehensive and integrated dam state feature can be formed. However, traditional fusion methods (such as adding by position) may cause the deep and shallow features to be simply mixed together, and even cause the loss of important features. Therefore, in the technical solution of the present application, further, the multi-band shallow fusion feature map of the dam and the multi-band semantic fusion feature map of the dam are input into a semantic association mask fusion network to obtain a multi-band multi-scale fusion feature map of the dam. In particular, in a specific example of the present application, such as Figure 3 As shown, the S4 includes: S41, determining the weight matrix; S42, determining the semantic association mask coefficient based on the dam multi-band shallow fusion feature map, the dam multi-band semantic fusion feature map and the weight matrix; S43, constructing the dam multi-band shallow fusion weight and the dam multi-band semantic fusion weight based on the semantic association mask coefficient; S44, calculating the dot product of the dam multi-band shallow fusion weight and the dam multi-band shallow fusion feature map and the dot product of the dam multi-band semantic fusion weight and the dam multi-band semantic fusion feature map, and adding them according to position to obtain the dam multi-band multi-scale fusion feature map.
[0035] Specifically, the S41 is to determine a weight matrix. Here, the weight matrix can be obtained through training.
[0036] Specifically, the S42 determines the semantic association mask coefficient based on the dam multi-band shallow fusion feature map, the dam multi-band semantic fusion feature map and the weight matrix. In a specific embodiment of the present application, the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map are cascaded, and the feature map obtained after the cascade is convoluted to obtain the dam multi-band multi-scale cascade coding feature map. In this way, combining feature distributions at different levels can form a rich feature representation, and further convolution processing can be used to extract the local neighborhood spatial association pattern of the multi-level feature distribution. After that, after the weight matrix is used to perform weighted multiplication on each feature matrix of the dam multi-band multi-scale cascade coding feature map along the channel dimension, the cumulative value of each eigenvalue in the feature map obtained by the weighted multiplication is calculated, and the cumulative value is added to the bias parameter to obtain the global semantic association; the global semantic association is then subjected to nonlinear processing based on the sigmoid activation function to obtain the semantic association mask coefficient. The global semantic association degree can reflect the overall correlation between the multi-band shallow feature distribution pattern of the dam and the multi-band semantic feature distribution pattern of the dam. The global semantic association degree can be nonlinearly processed using the sigmoid activation function to be compressed within the range of (0, 1) to form the semantic association mask coefficient. In this way, the semantic association mask coefficient can be used as a weight to adjust the contribution of the multi-band shallow fusion feature map of the dam and the multi-band semantic fusion feature map of the dam in the fusion process.
[0037] Specifically, the S43 and S44 construct the dam multi-band shallow fusion weight and the dam multi-band semantic fusion weight based on the semantic association mask coefficient; then calculate the positional addition of the dot product of the dam multi-band shallow fusion weight and the dam multi-band shallow fusion feature map and the dot product of the dam multi-band semantic fusion weight and the dam multi-band semantic fusion feature map to obtain the dam multi-band multi-scale fusion feature map. In a specific embodiment of the present application, the semantic association mask coefficient is used as the dam multi-band shallow fusion weight, and the result of one minus the semantic association mask coefficient is used as the dam multi-band semantic fusion weight; and calculate the positional addition of the dot product of the dam multi-band shallow fusion weight and the dam multi-band shallow fusion feature map and the dot product of the dam multi-band semantic fusion weight and the dam multi-band semantic fusion feature map to obtain the dam multi-band multi-scale fusion feature map. In general, this fusion method integrates multi-level feature information by adaptively adjusting the contribution of different features, achieving a deep understanding and effective expression of dam characteristics.
[0038] In summary, in the above embodiment, the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map are input into the semantic association mask fusion network to obtain the dam multi-band multi-scale fusion feature map, including: using the semantic association mask fusion network to perform semantic association mask fusion on the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map according to the following formula to obtain the dam multi-band multi-scale fusion feature map; wherein the formula is:
[0039]
[0040]
[0041] in, is the semantic association mask coefficient, and They are respectively the multi-band shallow fusion feature map of the dam and the multi-band semantic fusion feature map of the dam, Indicates cascade, is the weight matrix, Indicates that based on Convolution processing of convolution kernel, It means that the weight matrix is used to weight the feature matrices of the multi-band and multi-scale cascade coding feature map of the dam along the channel dimension. is the bias parameter, Represents the sigmoid activation function.
[0042] It is worth mentioning that in other specific examples of the present application, the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map can also be input into the semantic association mask fusion network in other ways to obtain the dam multi-band multi-scale fusion feature map, for example: input the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map; in the semantic association mask fusion network, generate a semantic association mask to guide the fusion process of the feature map. The semantic association mask can be a mask related to semantic information, which is used to emphasize or suppress the features of a specific area; based on the generated semantic association mask, the shallow and semantic fusion feature maps are fused. This can include using mask weighted fusion, feature cascade, etc. to integrate the information of the two feature maps; the feature map processed by the semantic association mask fusion network is multi-scale fused to obtain the dam multi-band multi-scale fusion feature map. Multi-scale fusion can be achieved by cascading, fusion weights, etc. to obtain the dam multi-band multi-scale fusion feature map.
[0043] In particular, the S5 determines the monitoring result based on the multi-band multi-scale fusion feature map of the dam. That is, in the technical solution of the present application, the multi-band multi-scale fusion feature map of the dam is input into a leakage monitoring module based on a classifier to obtain the monitoring result, which is used to indicate whether leakage occurs.
[0044] Here, considering the misalignment of image semantic feature distributions of the dam visible light shallow feature map and the dam visible light semantic feature map as well as the dam infrared shallow feature map and the dam infrared semantic feature map for the cross-scale and cross-depth image semantic feature representation of the dam visible light image and the dam infrared image, the dam multi-band and multi-scale fusion feature map obtained by further fusion of shallow and deep semantic features and semantic association mask fusion will have a priori-posteriori class probability causal association missing relative to the semantic distribution of the source image, affecting the accuracy of the classification results.
[0045] Preferably, the multi-band multi-scale fusion feature map of the dam is input into a leakage monitoring module based on a classifier to obtain the monitoring result, including: probabilizing each eigenvalue of the multi-band multi-scale fusion feature map of the dam based on a probability activation function, such as a sigmoid function and a softmax function, to obtain a probabilistic multi-band multi-scale fusion feature map of the dam; obtaining an abnormal probability value obtained by inputting the multi-band multi-scale fusion feature map of the dam into the leakage monitoring module based on the classifier; and determining a class recognition symbol value based on a comparison between each eigenvalue of the probabilistic multi-band multi-scale fusion feature map of the dam and the abnormal probability value, wherein the class recognition symbol value respectively responds to the The eigenvalues of the probabilistic dam multi-band multi-scale fusion feature map are greater than, equal to and less than the abnormal probability value and are equal to one, zero and negative one; the mean of all eigenvalues of the probabilistic dam multi-band multi-scale fusion feature map is calculated to obtain the class overall phase shift value; each eigenvalue of the probabilistic dam multi-band multi-scale fusion feature map is multiplied by the class recognition symbol value and the class overall phase shift value, and then a weighted difference calculation is performed, and the absolute value is taken to obtain the optimized eigenvalue of the probabilistic dam multi-band multi-scale fusion feature map; the optimized dam multi-band multi-scale fusion feature map composed of the optimized eigenvalues is input into the classifier-based leakage monitoring module to obtain the monitoring result.
[0046] Specifically, the optimization steps are expressed as:
[0047]
[0048]
[0049] in, and are the eigenvalues before and after optimization of the probabilistic multi-band and multi-scale fusion feature map of the dam, is the abnormal probability value, and are the first weighted hyperparameter and the second weighted hyperparameter, respectively. is the class cognitive symbol value, is the overall phase shift value of the class, Indicates taking the absolute value.
[0050] Therefore, in the above-mentioned optimization process, the present application obtains the class cognitive phase transformation response of the multi-band multi-scale fusion feature map of the dam by comparing the probabilistic amplitude of the eigenvalue of the multi-band multi-scale fusion feature map of the dam with the class probability, and performs a feature distribution sequence invariance transformation based on the class differential distribution expansion on the phase shift response of the eigenvalue of the multi-band multi-scale fusion feature map of the dam relative to the class probability representation of the feature map as a whole, so as to realize the causal constraint of the posterior class probability of the multi-band multi-scale fusion feature map of the dam on its prior feature distribution representation, so as to improve the accuracy of the recognition result obtained by inputting the multi-band multi-scale fusion feature map of the dam into the healing state recognition module based on the classifier.
[0051] In summary, the intelligent monitoring method for dam leakage according to the embodiment of the present application is explained, which utilizes drones equipped with infrared cameras and visible light cameras to replace manual inspections, and combines deep learning algorithms to perform correlation analysis on the collected visible light images and infrared images of the dam, so as to learn the multi-band and multi-scale image feature representation of the dam, and use this as the basis for distinguishing whether there is leakage or not, thereby realizing intelligent monitoring of dam leakage.
[0052] Furthermore, an intelligent monitoring system for dam leakage is also provided.
[0053] Figure 4 FIG. 1 is a block diagram of an intelligent monitoring system for dam leakage according to an embodiment of the present application. Figure 4As shown, the intelligent monitoring system 300 for dam leakage according to the embodiment of the present application includes: an image acquisition module 310, which is used to acquire the visible light image and infrared image of the dam collected by the infrared camera and the visible light camera carried by the drone; a multi-scale dam image feature extraction module 320, which is used to perform multi-scale dam image feature extraction on the visible light image and the infrared image of the dam to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map and a dam infrared semantic feature map; a multi-band fusion module 330, which is used to extract the multi-scale dam image features from the visible light image and the infrared image of the dam to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map and a dam infrared semantic feature map; The visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map are multi-band fused to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map; a semantic association mask fusion module 340 is used to input the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map into a semantic association mask fusion network to obtain a dam multi-band multi-scale fusion feature map; a monitoring result determination module 350 is used to determine the monitoring result based on the dam multi-band multi-scale fusion feature map.
[0054] As described above, the intelligent monitoring system 300 for dam leakage according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with an intelligent monitoring algorithm for dam leakage. In a possible implementation, the intelligent monitoring system 300 for dam leakage according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the intelligent monitoring system 300 for dam leakage can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the intelligent monitoring system 300 for dam leakage can also be one of the many hardware modules of the wireless terminal.
[0055] Alternatively, in another example, the dam leakage intelligent monitoring system 300 and the wireless terminal may also be separate devices, and the dam leakage intelligent monitoring system 300 may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0056] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for intelligent monitoring of dam leakage, characterized in that: include: Obtain visible light images and infrared images of the dam collected by infrared cameras and visible light cameras carried by UAVs; Performing multi-scale dam image feature extraction on the dam visible light image and the dam infrared image to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map, and a dam infrared semantic feature map; Performing multi-band fusion on the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map; Inputting the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map into a semantic association mask fusion network to obtain a dam multi-band multi-scale fusion feature map; Determine the monitoring result based on the multi-band and multi-scale fusion characteristic map of the dam; The multi-band shallow fusion feature map of the dam and the multi-band semantic fusion feature map of the dam are input into a semantic association mask fusion network to obtain a multi-band multi-scale fusion feature map of the dam, including: Determine the weight matrix; Determine the semantic association mask coefficient based on the dam multi-band shallow fusion feature map, the dam multi-band semantic fusion feature map and the weight matrix; Based on the semantic association mask coefficients, constructing the dam multi-band shallow fusion weight and the dam multi-band semantic fusion weight; Calculate the dot product of the dam multi-band shallow fusion weight and the dam multi-band shallow fusion feature map and the dot product of the dam multi-band semantic fusion weight and the dam multi-band semantic fusion feature map, and add them according to position to obtain the dam multi-band multi-scale fusion feature map; Wherein, based on the dam multi-band shallow fusion feature map, the dam multi-band semantic fusion feature map and the weight matrix, determining the semantic association mask coefficient includes: Cascading the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map, and then performing convolution processing on the feature map obtained after the cascading to obtain the dam multi-band multi-scale cascade coding feature map; After weighted multiplication of each feature matrix of the dam multi-band multi-scale cascade coding feature map along the channel dimension using the weight matrix, the cumulative value of each eigenvalue in the feature map obtained by the weighted multiplication is calculated, and the cumulative value is added to the bias parameter to obtain the global semantic association; Performing nonlinear processing on the global semantic association degree to obtain the semantic association mask coefficient; The nonlinear processing of the global semantic association degree to obtain the semantic association mask coefficient includes: Performing nonlinear processing based on a sigmoid activation function on the global semantic association to obtain the semantic association mask coefficient; Wherein, based on the semantic association mask coefficient, constructing the dam multi-band shallow fusion weight and the dam multi-band semantic fusion weight, including: The semantic association mask coefficient is used as the dam multi-band shallow fusion weight, and the result of subtracting the semantic association mask coefficient from one is used as the dam multi-band semantic fusion weight.
2. The intelligent monitoring method for dam leakage according to claim 1 is characterized in that: Performing multi-scale dam image feature extraction on the dam visible light image and the dam infrared image to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map, and a dam infrared semantic feature map, including: The visible light image of the dam and the infrared image of the dam are respectively passed through a dam multi-scale feature extractor based on a diaphanous pyramid network to obtain a visible light shallow feature map of the dam, a visible light semantic feature map of the dam, a shallow infrared feature map of the dam and a semantic infrared feature map of the dam.
3. The intelligent monitoring method for dam leakage according to claim 2 is characterized in that: The dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map are multi-band fused to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map, including: Fusion of the dam visible light shallow layer feature map and the dam infrared shallow layer feature map to obtain the dam multi-band shallow layer fusion feature map; The visible light semantic feature map of the dam and the infrared semantic feature map of the dam are fused to obtain the multi-band semantic fusion feature map of the dam.
4. The intelligent monitoring method for dam leakage according to claim 3 is characterized in that: Based on the multi-band and multi-scale fusion characteristic map of the dam, the monitoring results are determined, including: The multi-band and multi-scale fusion feature map of the dam is input into a leakage monitoring module based on a classifier to obtain the monitoring result, and the monitoring result is used to indicate whether leakage occurs.
5. An intelligent monitoring system for dam leakage, characterized in that: include: An image acquisition module is used to acquire visible light images and infrared images of the dam collected by an infrared camera and a visible light camera carried by the UAV; A multi-scale dam image feature extraction module is used to perform multi-scale dam image feature extraction on the dam visible light image and the dam infrared image to obtain a dam visible light shallow feature map, a dam visible light semantic feature map, a dam infrared shallow feature map and a dam infrared semantic feature map; A multi-band fusion module, used for performing multi-band fusion on the dam visible light shallow feature map, the dam visible light semantic feature map, the dam infrared shallow feature map and the dam infrared semantic feature map to obtain a dam multi-band shallow fusion feature map and a dam multi-band semantic fusion feature map; A semantic association mask fusion module, used for inputting the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map into a semantic association mask fusion network to obtain a dam multi-band multi-scale fusion feature map; A monitoring result determination module, used to determine the monitoring result based on the multi-band and multi-scale fusion feature map of the dam; Wherein, the semantic association mask fusion module includes: Determine the weight matrix; Determine the semantic association mask coefficient based on the dam multi-band shallow fusion feature map, the dam multi-band semantic fusion feature map and the weight matrix; Based on the semantic association mask coefficients, constructing the dam multi-band shallow fusion weight and the dam multi-band semantic fusion weight; Calculate the dot product of the dam multi-band shallow fusion weight and the dam multi-band shallow fusion feature map and the dot product of the dam multi-band semantic fusion weight and the dam multi-band semantic fusion feature map, and add them according to position to obtain the dam multi-band multi-scale fusion feature map; Wherein, based on the dam multi-band shallow fusion feature map, the dam multi-band semantic fusion feature map and the weight matrix, determining the semantic association mask coefficient includes: Cascading the dam multi-band shallow fusion feature map and the dam multi-band semantic fusion feature map, and then performing convolution processing on the feature map obtained after the cascading to obtain the dam multi-band multi-scale cascade coding feature map; After weighted multiplication of each feature matrix of the dam multi-band multi-scale cascade coding feature map along the channel dimension using the weight matrix, the cumulative value of each eigenvalue in the feature map obtained by the weighted multiplication is calculated, and the cumulative value is added to the bias parameter to obtain the global semantic association; Performing nonlinear processing on the global semantic association degree to obtain the semantic association mask coefficient; The nonlinear processing of the global semantic association degree to obtain the semantic association mask coefficient includes: Performing nonlinear processing based on a sigmoid activation function on the global semantic association to obtain the semantic association mask coefficient; Wherein, based on the semantic association mask coefficient, constructing the dam multi-band shallow fusion weight and the dam multi-band semantic fusion weight, including: The semantic association mask coefficient is used as the dam multi-band shallow fusion weight, and the result of subtracting the semantic association mask coefficient from one is used as the dam multi-band semantic fusion weight.
