Unmanned aerial vehicle multi-modal data fusion curtain wall supporting block state detection method and system

Through the improved SURF algorithm and the improved STDFusionNet model of the convolutional attention module, UAV multi-modal data fusion is realized, the accuracy and robustness of glass curtain wall pallet detection are improved, and the large consumption of computing resources in traditional methods is solved. The feature description phase takes a long time.

CN118658087AInactive Publication Date: 2024-09-17HUNAN ARCHITECTURAL DESIGN INST

Patent Information

Application Number
CN202411125452.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing drone detection methods have low accuracy and slow speed in detecting glass curtain wall brackets. The traditional SURF algorithm consumes a lot of computing resources and takes a long time in the feature description phase. The STDFusionNet network has insufficient interpretability and poor generalization ability, which limits detection. Effect.

Method used

The improved SURF algorithm is used to fuse multi-modal data of infrared and visible light images collected by drones, feature points are detected through Shearlet transformation and Hessian matrix, and the improved STDFusionNet model combined with the convolutional attention module improves image registration and feature extraction. robustness and efficiency.

Benefits of technology

It improves the accuracy and robustness of curtain wall support block status detection, reduces computing resource consumption, enhances feature representation, and solves the problems of insufficient detail information retention and error introduction in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658087A
    Figure CN118658087A
Patent Text Reader

Abstract

The invention discloses a curtain wall supporting block state detection method and system based on unmanned aerial vehicle multi-mode data fusion. The method comprises the steps that an unmanned aerial vehicle image database formed by infrared images and visible light images, collected by an unmanned aerial vehicle, of curtain wall supporting blocks is obtained; performing image registration, denoising and sample standard on the infrared image and the visible light image in the unmanned aerial vehicle image database to construct a training data set; constructing a convolutional neural network model, and training the convolutional neural network model by using the training data set so as to obtain a corresponding curtain wall supporting block detection result according to the infrared image and the visible light image collected by the unmanned aerial vehicle; and the Shearlet-SURF algorithm is utilized to carry out image registration on visible light and infrared images acquired by the unmanned aerial vehicle, and the convolutional neural network model adopts an improved STDFusionNet model to make full use of multi-modal data information, so that the detection precision and robustness of the state of the curtain wall supporting block are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to image processing technology in the field of high-rise glass curtain wall building safety, and in particular to a curtain wall support block state detection method and system based on multi-modal data fusion of unmanned aerial vehicles. Background Art

[0002] The number of high-rise glass curtain wall buildings is increasing year by year. It is very important to quickly and accurately check the status of the glass curtain wall support blocks of the building to ensure the safety of the glass curtain wall. The existing glass curtain wall support block detection methods include manual detection and drone detection.

[0003] The traditional manual inspection method of the status of glass curtain wall supports in buildings cannot effectively detect glass curtain wall supports in high-rise buildings and in special structural areas at this stage, because they cannot be directly observed and cannot be inspected in time. Drones are highly maneuverable and can quickly reach the designated inspection location of high-rise buildings, and are equipped with cameras to collect digital image information. Compared with traditional visual methods, the use of drone technology can significantly reduce time consumption, labor intensity and safety risks, allowing more frequent inspections. However, the large number of images taken by drone inspections have complex backgrounds, making traditional manual inspection methods low in accuracy and slow in speed. Moreover, the image algorithms used in existing drone detection are generally implemented by convolutional neural networks using the SURF algorithm (Speeded-Up Robust Feature) and the STDFusionNet (see the literature: Ma, J., Tang, L., Xu, M., Zhang, H., & Xiao, G. (2021). STDFusionNet: An Infrared and Visible Image Fusion Network Based on Salient Target Detection. IEEE Transactions on Instrumentation and Measurement, 70, 1-13.). The SURF algorithm belongs to a feature-based image registration algorithm. There are three main types of image registration algorithms: grayscale-based image registration algorithms, transform domain-based image registration algorithms, and point feature-based image registration algorithms. The SURF algorithm has good rotation invariance, scale invariance, and noise resistance, and can extract feature points quickly. Moreover, it can also have a good registration effect when there are brightness differences and scale changes in the image. The STDFusionNet network is an infrared and visible light image fusion network based on salient target detection. The network aims to preserve thermal targets in infrared images and texture structures in visible light images, and uses salient target masks to mark infrared image areas that humans or machines pay more attention to, thereby providing spatial guidance to integrate different information. The salient target mask is combined with a specific loss function to guide the feature extraction and reconstruction process. However, the SURF algorithm has a high descriptor dimension, consumes a lot of computing resources, and takes a long time in the feature description stage. In the traditional SURF algorithm, Gaussian filtering is used to smooth the image to establish a scale space. However, the smoothing kernel function based on the normal distribution of Gaussian filtering causes the image pixel values ​​to influence each other, limits the retention of detail information, blurs the edge and detail features, and introduces errors in feature matching.In practical applications, the STDFusionNet network has insufficient explanatory power, poor generalization ability, and unstable results, which limit its application prospects in glass curtain wall support block detection. Therefore, how to improve the accuracy of convolutional neural networks in glass curtain wall support block detection has become a key technical problem that needs to be solved urgently. Summary of the invention

[0004] Technical problem to be solved by the present invention: In view of the above-mentioned problems in the prior art, a curtain wall support block status detection method and system based on multimodal data fusion of unmanned aerial vehicles are provided. The method of the present invention comprises image registration of visible light and infrared images collected by the unmanned aerial vehicle based on an improved SURF algorithm, so as to make full use of multimodal data information and improve the detection accuracy and robustness of the curtain wall support block status.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: A curtain wall support block state detection method based on multimodal data fusion of unmanned aerial vehicles comprises obtaining an unmanned aerial vehicle image database consisting of infrared images and visible light images of curtain wall support blocks collected by unmanned aerial vehicles; performing image registration, denoising and sample standardization on the infrared images and visible light images in the unmanned aerial vehicle image database to construct a training data set; constructing a convolutional neural network model, and using the training data set to train the convolutional neural network model to obtain corresponding curtain wall support block detection results according to the infrared images and visible light images collected by the unmanned aerial vehicle; wherein the image registration comprises: S1, calculates the integral images of infrared image and visible light image respectively; S2, decompose the integral image using Shearlet transform to obtain sub-band images of different scales and directions; S3, calculate the Hessian matrix on the sub-band image and detect feature points; S4, integrates the feature points in sub-band images of different scales and directions to eliminate redundant points; S5, determining the main directions of the feature points for the infrared image and the visible light image respectively and constructing feature descriptors of the feature points; S6, using the SURF algorithm to achieve registration of the infrared image and the visible light image based on the feature descriptors of the infrared image and the visible light image.

[0006] Optionally, in step S4, the feature points in the sub-band images of different scales and directions are integrated to eliminate redundant points, including: for each feature point in the sub-band images of different scales and directions, the feature points are compared with the feature points within the adjacent specified pixel point range in the three-dimensional domain, and the local extreme points are found according to the image response value size of the feature point and the feature points within the adjacent specified pixel point range in the three-dimensional domain, and the feature points other than the local extreme points are treated as redundant points for elimination.

[0007] Optionally, when determining the main direction of the feature point and constructing the feature descriptor of the feature point in step S5, determining the main direction of the feature point includes: calculating the Haar wavelet in a circular area of ​​a specified size of the feature point, and statistically analyzing the features of the Haar wavelet in the circular area to obtain the fan-shaped direction with the largest modulus value in the circular area as the main direction of the feature point.

[0008] Optionally, when determining the direction of the feature point and constructing a feature descriptor of the feature point in step S5, constructing the feature descriptor of the feature point includes: for the infrared image or the visible light image, taking a square frame around the feature point, dividing the square into a plurality of square sub-regions, setting a plurality of rows and columns of sampling points evenly distributed in each sub-region, and constructing a feature descriptor of the feature point according to the characteristics of the sampling point and the main direction of the feature point.

[0009] Optionally, the calculation function expression of the integral image in step S1 is: , In the above formula, is the gray value of the pixel (x, y) in the integral image, is the gray value of the pixel (i, j) in the original image; in step S3, calculating the Hessian matrix on the sub-band image and detecting the feature points include: S3.1, the second-order derivative at the pixel point (x, y) is calculated on the sub-band image using the binary Gaussian function shown in the following formula: , In the above formula, is a bivariate Gaussian function, is the scale space factor; S3.2, construct the Hessian matrix at the pixel point (x, y) based on the second-order derivative at the pixel point (x, y): , In the above formula, is the Hessian matrix at the pixel point (x, y), , , is the second-order derivative at the pixel point (x, y); S3.3, based on the Hessian matrix at the pixel point (x, y), construct the approximate Hessian matrix determinant shown in the following formula: , In the above formula, is the approximate Hessian matrix determinant, , and Respectively , , The approximate value of ; h is the weight coefficient, which is used to balance the error caused by the approximation; S3.4, extracting matrix eigenvalues ​​of the approximate Hessian matrix determinant as the detected feature points.

[0010] Optionally, the convolutional neural network model is an improved STD FusionNet model, wherein the improved STD FusionNet model adds a convolutional attention module CBAM to the feature extraction network and feature reconstruction network of the basic STD FusionNet model, and the number of convolutional attention modules CBAM added to the feature extraction network is one and is located between the common layer of the feature extraction network and the residual block ResBlock, and the number of convolutional attention modules CBAM added to the feature reconstruction network is two and is located at the input end of the residual block ResBlock, so that the feature extraction network in the improved STD FusionNet model includes two feature extraction branches corresponding to infrared images and visible light images respectively, and the feature extraction branch is composed of a common layer, a convolutional attention module CBAM and a two-level residual block ResBlock in sequence, and the common layer is composed of a convolutional layer with a kernel size of 5×5 and a Leaky The feature reconstruction network in the improved STDFusionNet model consists of two convolutional attention modules CBAM and two residual blocks ResBlock cascaded in sequence. The convolutional attention module CBAM includes a channel attention module CAM and a spatial attention module SAM. The input feature of the convolutional attention module CBAM As input, the channel attention weight is first obtained through the channel attention module CAM , channel attention weight and input features After weighting, we get the attention map , attention map The spatial attention weight is obtained through the spatial attention module SAM , spatial attention weight and attention map After weighting, we get the output features of the convolutional attention module CBAM , the function expression of the channel attention module CAM is: , In the above formula, is the Sigmoid activation function; is a multi-layer perceptron, is the average pooling operation, is the maximum pooling operation; the functional expression of the spatial attention module SAM is: , In the above formula, It is the convolution layer operation.

[0011] Optionally, the function expression of the loss function used when training the convolutional neural network model using the training data set is: , In the above formula, is the loss function, is the background pixel loss, is the background gradient loss, is a hyperparameter that controls the balance of losses in different regions, For significant pixel loss, is a significant gradient loss, and: , , , , In the above formula, and are the height and width of the image, respectively. represent of norm, Represents the gradient operator, operator represents element-wise multiplication, For infrared images, is a visible light image, is the salient target mask of the curtain wall bracket, is the expected result, and: .

[0012] In addition, the present invention also provides a curtain wall support block status detection system based on multimodal data fusion of unmanned aerial vehicles, comprising a microprocessor and a memory connected to each other, wherein the microprocessor is programmed or configured to execute the curtain wall support block status detection method based on multimodal data fusion of unmanned aerial vehicles.

[0013] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program or instruction, and the computer program or instruction is programmed or configured to execute the curtain wall support block status detection method based on the multi-modal data fusion of the drone through a processor.

[0014] In addition, the present invention also provides a computer program product, including a computer program or instructions, which are programmed or configured to execute the curtain wall support block status detection method based on multi-modal data fusion of the drone through a processor.

[0015] Compared with the prior art, the present invention mainly has the following advantages: the present invention comprises obtaining a drone image database consisting of infrared images and visible light images of curtain wall support blocks collected by drones; performing image registration, denoising and sample standardization on the infrared images and visible light images in the drone image database to construct a training data set; constructing a convolutional neural network model, and using the training data set to train the convolutional neural network model to obtain corresponding curtain wall support block detection results according to the infrared images and visible light images collected by the drone, wherein the image registration is an improved algorithm of the SURF algorithm, by respectively calculating the integral images of the infrared image and the visible light image; respectively using Shearlet transform to decompose the integral images to obtain sub-band images of different scales and directions; calculating the Hessian matrix on the sub-band images and detecting feature points; and dividing the different The feature points in the sub-band images of scale and direction are integrated to eliminate redundant points; the main directions of the feature points are determined for the infrared image and the visible light image respectively, and the feature descriptors of the feature points are constructed; the SURF algorithm is used to realize the registration of the infrared image and the visible light image based on the feature descriptors of the infrared image and the visible light image, which can solve the problems of high descriptor dimension, large computing resource consumption, and long feature description stage in the traditional SURF algorithm, as well as the problem that when the Gaussian filter is used in the traditional SURF algorithm to smooth the image to establish the scale space, the smoothing kernel function of the Gaussian filter based on the normal distribution causes the image pixel values ​​to affect each other, limits the retention of detail information, blurs the edge and detail features, and introduces errors in feature matching, thereby improving the feature representation effect while retaining the computational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Schematic diagram of the basic flow of the method of the embodiment of the present invention.

[0017] Figure 2 The figure is a schematic diagram of the process of image registration in an embodiment of the present invention.

[0018] Figure 3 The figure is a schematic diagram of the principle flow of the method according to the embodiment of the present invention.

[0019] Figure 4 Schematic diagram of the structure of the convolutional neural network model in an embodiment of the present invention.

[0020] Figure 5 Schematic diagram of the structure of the convolutional attention module CBAM in an embodiment of the present invention.

[0021] Figure 6 Schematic diagram of the structure of the channel attention module CAM in an embodiment of the present invention.

[0022] Figure 7Schematic diagram of the structure of the spatial attention module SAM in an embodiment of the present invention.

[0023] Figure 8 Schematic diagram of the structure of the residual block ResBlock in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] like Figure 1 As shown, a curtain wall support block status detection method using multimodal data fusion of a drone in this embodiment includes obtaining a drone image database consisting of infrared images and visible light images of curtain wall support blocks collected by a drone; performing image registration, denoising and sample standardization on the infrared images and visible light images in the drone image database to construct a training data set; constructing a convolutional neural network model, and using the training data set to train the convolutional neural network model to obtain corresponding curtain wall support block detection results based on the infrared images and visible light images collected by the drone.

[0025] Since the SURF algorithm has a high descriptor dimension, consumes a lot of computing resources, and the feature description stage takes a long time, the traditional SURF algorithm uses Gaussian filtering to smooth the image to establish a scale space. The Gaussian filter is based on the smoothing kernel function of the normal distribution, which causes the image pixel values ​​to influence each other, limits the retention of detail information, blurs the edges and detail features, and introduces errors in feature matching. In order to solve the above technical problems, this embodiment proposes an improved SURF algorithm (named Shearlet-SURF algorithm in this embodiment) for image registration. This method uses Shearlet transform to decompose the image in two dimensions, multi-scale and multi-directional, to fully retain the image detail information, facilitate point feature matching, and use the information of the Shearlet subband image to enhance the robustness of the descriptor. Specifically, Figure 2 As shown, the image registration in this embodiment includes: S1, calculates the integral images of infrared image and visible light image respectively; S2, decompose the integral image using Shearlet transform to obtain sub-band images of different scales and directions; S3, calculate the Hessian matrix on the sub-band image and detect feature points; S4, integrates the feature points in sub-band images of different scales and directions to eliminate redundant points; S5, determining the main directions of the feature points for the infrared image and the visible light image respectively and constructing feature descriptors of the feature points; S6, using the SURF algorithm to achieve registration of the infrared image and the visible light image based on the feature descriptors of the infrared image and the visible light image.

[0026] The calculation function expression of the integral image in step S1 of this embodiment is: , In the above formula, is the gray value of the pixel (x, y) in the integral image, is the gray value of the pixel (i, j) in the original image. The final integral image has the same width and height as the original image.

[0027] In step S2 of this embodiment, Shearlet transform is used to decompose the integral image to obtain sub-band images of different scales and directions. Shearlet transform combines the traditional affine system with synthetic wavelet theory, and generates Shearlet functions with different characteristics by radial transformations such as scaling, shearing and translation of basis functions. hour( represents the dimension), then the mathematical definition of the radiation system is as follows:

[0028] In the above formula, is a synthetic wavelet, in which the subband coefficients are subband images. is the Shearlet transformation, , , denote the scale, shear and translation parameters respectively; The scale matrix controls the scale of the Shearlet transform. Represents the shear matrix, which controls the direction of the shearlet transformation. Represents an element in a composite affine system. and Both is a reversible matrix, and . The Parseval architecture shown in the following formula is a synthetic wavelet:

[0029] In the above formula, Represents Shearlet transform For any coefficient , we can get the scale matrix and the shear matrix as follows:

[0030] When the coefficient When, that is: , hour, It is the Shearlet transform.

[0031] In step S3 of this embodiment, calculating the Hessian matrix on the sub-band image and detecting feature points includes: S3.1, the second-order derivative at the pixel point (x, y) is calculated on the sub-band image using the binary Gaussian function shown in the following formula: , In the above formula, is a bivariate Gaussian function, is the scale space factor; S3.2, construct the Hessian matrix at the pixel point (x, y) based on the second-order derivative at the pixel point (x, y): , In the above formula, is the Hessian matrix at the pixel point (x, y), , , is the second-order derivative at the pixel point (x, y); S3.3, based on the Hessian matrix at the pixel point (x, y), construct the approximate Hessian matrix determinant shown in the following formula: , In the above formula, is the approximate Hessian matrix determinant, , and Respectively , , The approximate value of ; h is the weight coefficient, which is used to balance the error caused by the approximation; S3.4, extracting matrix eigenvalues ​​of the approximate Hessian matrix determinant as the detected feature points.

[0032] In step S4 of this embodiment, the feature points in the sub-band images of different scales and directions are integrated to eliminate redundant points, including: for each feature point in the sub-band images of different scales and directions, the feature points are compared with the feature points within the adjacent specified pixel range in its three-dimensional domain (the pixel range can be selected according to actual needs, for example, as an optional implementation, in this embodiment, the image response value of the pixel point is compared with the size of the image response value of the 26 pixel points in its three-dimensional domain), and the local extreme value points are found according to the size of the image response value of the feature point and the feature points within the adjacent specified pixel range in its three-dimensional domain, and the feature points other than the local extreme value points are treated as redundant points for elimination.

[0033] When determining the main direction of the feature point and constructing the feature descriptor of the feature point in step S5 of this embodiment, determining the main direction of the feature point includes: calculating the Haar wavelet in a circular area of ​​a specified size of the feature point, and statistically analyzing the features of the Haar wavelet in the circular area to obtain the fan-shaped direction with the largest modulus value in the circular area as the main direction of the feature point.

[0034] In step S5 of this embodiment, when determining the direction of the feature point and constructing the feature descriptor of the feature point, constructing the feature descriptor of the feature point includes: for the infrared image or the visible light image, taking a square frame around the feature point, dividing the square into multiple square sub-regions, setting each sub-region with evenly distributed multiple rows and columns of sampling points, and constructing the feature descriptor of the feature point according to the features of the sampling points and the main direction of the feature point. The equal division method and the division method of multiple rows and columns of sampling points can be selected according to actual needs. For example, as an optional implementation, when generating the feature descriptor in this embodiment, the square is divided into 16 sub-regions, each with 25 sampling points.

[0035] Figure 3 This is a schematic diagram of the principle flow of the method of this embodiment, see Figure 3 It can be seen that when obtaining the drone image database composed of infrared images and visible light images of curtain wall support blocks collected by drones in this embodiment, the drone collecting infrared images and visible light images of curtain wall support blocks includes: first conducting an on-site investigation, planning the route of the drone, and then collecting infrared images and visible light images of the curtain wall support blocks by the drone based on the planned route; in addition, it also includes manually taking close-up images of the curtain wall support blocks as a supplement to the drone image database to improve the collection diversity of image samples.

[0036] like Figure 3 and Figure 4As shown, the convolutional neural network model is an improved STD FusionNet model (named CBAM-STDFusionNet model in this embodiment), and the improved STD FusionNet model is a convolutional attention module CBAM added to the feature extraction network and feature reconstruction network of the basic STD FusionNet model, and the number of convolutional attention modules CBAM added to the feature extraction network is one and is located between the common layer of the feature extraction network and the residual block ResBlock, and the number of convolutional attention modules CBAM added to the feature reconstruction network is two and is located at the input end of the residual block ResBlock, so that the feature extraction network in the improved STD FusionNet model includes two feature extraction branches corresponding to infrared images and visible light images respectively, and the feature extraction branch is composed of a common layer, a convolutional attention module CBAM and two-level residual blocks ResBlock in sequence, and the common layer is composed of a convolutional layer with a kernel size of 5×5 and a Leaky ReLU activation function; the feature reconstruction network in the improved STD FusionNet model is composed of two convolutional attention modules CBAM and two residual blocks ResBlock cascaded in sequence. In the improved STD FusionNet model of this embodiment, the feature extraction network uses the convolutional attention module CBAM to replace the residual block ResBlock, while retaining the computational efficiency and obtaining a better feature representation effect. The introduction of the convolutional attention module CBAM in the first two residual blocks ResBlock of the feature reconstruction network can effectively capture and enhance important features in the early stages. This helps to better reconstruct and process these features in subsequent layers, improve the performance of the overall network, and use the Tanh activation function in the last layer to ensure that the range of change of the fused image is consistent with the range of change of the input image.

[0037] The convolutional block attention module (CBAM) in this embodiment is an attention module integrated in the convolutional neural network, which is used to enhance the feature expression ability of the model, so as to achieve the effect of emphasizing important features and suppressing unimportant features. Figure 5 As shown in Figure 1, the convolutional attention module CBAM includes the channel attention module CAM (Channel Attention Module) and the spatial attention module SAM (Spatial Attention Module). Input features of the convolutional attention module CBAM As input, first pass the channel attention module CAM to get the channel attention weight , channel attention weight and input features After weighting, we get the attention map ; Attention map The spatial attention weight is obtained through the spatial attention module SAM , spatial attention weight and attention map After weighting, we get the output feature map of the convolutional attention module CBAM , which can be expressed as: , , In the above formula, is the input feature; is the channel attention weight; is the attention map; is the spatial attention weight; is the output feature map, Weighted multiplication operator for feature maps.

[0038] Channel attention module CAM Figure 6 As shown, the input features After maximum pooling and average pooling Extract high-level features; then, input the extracted features into a multi-layer perceptron consisting of multiple fully connected layers Adjust the weights of feature channels; finally, multiply the features with different weights and add them to the original features, and then process them through the Sigmoid activation function to obtain the channel attention weights , the function expression of the channel attention module CAM is: , In the above formula, is the Sigmoid activation function; is a multi-layer perceptron, is the average pooling operation, It is the maximum pooling operation.

[0039] The spatial attention module SAM is as follows Figure 7 As shown, the attention map after being processed by the channel attention module CAM Through maximum pooling and average pooling Finally, the extracted feature maps are channel-joined, and the convolution layer is used to convolve the joined feature maps to increase the attention to the detail information of the image spatial dimension. Finally, the spatial attention weight is output through the Sigmoid activation function. , the function expression of the spatial attention module SAM is: , In the above formula, It is the convolution layer operation.

[0040] It can be seen that in order to improve the traditional STD FusionNet network model, the convolutional attention module CBAM (Convolutional Block Attention Module) module is integrated into the network structure in this embodiment to replace part of the residual block ResBlock. In the original STD FusionNet network model, part of the residual block ResBlock structure is retained, and the convolutional attention module CBAM replaces the rest to balance the computational complexity and model performance. The convolutional attention module CBAM is a simple and efficient feedforward convolutional neural network attention module that enhances feature representation capabilities by modeling channel and spatial attention. When a given input feature When performing the attention inference on the two independent dimensions of channel and space, the convolutional attention module CBAM performs attention inference on the two independent dimensions of channel and space in turn, and then multiplies the obtained attention map with the input feature to achieve adaptive feature optimization. Using the convolutional attention module CBAM to replace the residual block ResBlock can improve the feature representation ability, enhance the interpretability of the network, and improve the generalization ability. The convolutional attention module CBAM is designed to be lightweight and universal, and can be seamlessly integrated into any convolutional neural network (CNN) architecture with low computational overhead, and can be trained end-to-end with the basic CNN model.

[0041] like Figure 8 As shown in the figure, the residual block ResBlock includes convolution modules Conv1, Convolution modules Conv2, Convolution modules Conv3 and convolution modules Conv4 for skip connection. Except for the convolution kernel size of convolution module Conv2, which is 3×3, the convolution kernel sizes of convolution modules Conv1, Convolution modules Conv3 and Convolution modules Conv4 are all 1×1. Convolution modules Conv1 and Conv2 use Leaky ReLU as the activation function. The output of convolution module Conv3 is added to the output of convolution module Conv4 and then passes through the Leaky ReLU activation function. Convolution module Conv4 is used to solve the inconsistency of input and output dimensions of ResBlock. Given that infrared images and visible light images have different characteristics, although the two feature extraction network branches use the same architecture, their parameters are trained independently.

[0042] In order to improve the detection accuracy of the convolutional neural network model, as an optional implementation method, this embodiment also improves the loss function used when training the convolutional neural network model using the training data set, and uses a specific loss function to constrain the fusion process. The loss function consists of pixel loss and gradient loss, combined with the salient target mask To improve the detection accuracy of the convolutional neural network model. Specifically, the function expression of the loss function used when training the convolutional neural network model using the training data set in this embodiment is: , In the above formula, is the loss function, is the background pixel loss, is the background gradient loss, is a hyperparameter that controls the balance of losses in different regions, For significant pixel loss, is a significant gradient loss, and: , , , , In the above formula, and are the height and width of the image, respectively. represent of norm, represents the gradient operator (in this embodiment, the Sobel operator is used to calculate the gradient of the image), and the operator represents element-wise multiplication, For infrared images, is a visible light image, is the salient target mask of the curtain wall bracket, is the expected result, and: .

[0043] Referring to the above function expression, it can be seen that the introduction of gradient loss in this embodiment can strengthen the constraints on the network to force the fusion of images with sharp textures and prominent targets with sharp edges, so that the network can detect and extract salient targets in infrared images in an implicit manner.

[0044] In summary, the method of this embodiment proposes a curtain wall support block state detection method based on drone multimodal data fusion. The method uses a drone equipped with a high-definition camera to complete the surface image acquisition of the building glass curtain wall, and uses the Shearlet-SURF algorithm to realize the registration of infrared images and visible light images. Then, the registered image data set is constructed for training the CBAM-STDFusionNet model in this embodiment. After the training is completed, the CBAM-STDFusionNet model is used to perform state detection on the glass curtain wall image. Because the method of this embodiment uses the Shearlet-SURF algorithm on the one hand to use the Shearlet transform to decompose the image in two dimensions of multi-scale and multi-directional, the image detail information is fully retained, which is conducive to point feature matching. The information of the Shearlet subband image can be used to enhance the robustness of the descriptor. On the other hand, the CBAM-STDFusionNet model uses the convolutional attention module CBAM instead of the residual block ResBlock in the original STDFusionNet model to improve the feature representation capability, enhance the interpretability of the network, and improve the generalization ability, so as to make full use of multimodal data information and improve the detection accuracy and robustness of the curtain wall support block status.

[0045] In addition, this embodiment also provides a curtain wall support block status detection system based on multimodal data fusion of unmanned aerial vehicles, including a microprocessor and a memory connected to each other, and the microprocessor is programmed or configured to execute the curtain wall support block status detection method based on multimodal data fusion of unmanned aerial vehicles.

[0046] In addition, this embodiment also provides a computer-readable storage medium, which stores a computer program or instruction, and the computer program or instruction is programmed or configured to execute the curtain wall support block status detection method based on the multimodal data fusion of the drone through a processor.

[0047] In addition, this embodiment also provides a computer program product, including a computer program or instructions, which are programmed or configured to execute the curtain wall support block status detection method based on multi-modal data fusion of the drone through a processor.

[0048] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0049] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A curtain wall support block state detection method based on multi-modal data fusion of unmanned aerial vehicles, characterized in that: The method includes obtaining a drone image database consisting of infrared images and visible light images of curtain wall support blocks collected by drones; performing image registration, denoising and sample standardization on the infrared images and visible light images in the drone image database to construct a training data set; constructing a convolutional neural network model, and using the training data set to train the convolutional neural network model to obtain corresponding curtain wall support block detection results based on the infrared images and visible light images collected by drones; wherein the image registration includes: S1, calculates the integral images of infrared image and visible light image respectively; S2, decompose the integral image using Shearlet transform to obtain sub-band images of different scales and directions; S3, calculate the Hessian matrix on the sub-band image and detect feature points; S4, integrates the feature points in sub-band images of different scales and directions to eliminate redundant points; S5, determining the main directions of the feature points for the infrared image and the visible light image respectively and constructing feature descriptors of the feature points; S6, using the SURF algorithm to achieve registration of the infrared image and the visible light image based on the feature descriptors of the infrared image and the visible light image.

2. The curtain wall support block state detection method based on multimodal data fusion of unmanned aerial vehicle according to claim 1 is characterized in that: In step S4, the feature points in the sub-band images of different scales and directions are integrated to eliminate redundant points, including: for each feature point in the sub-band images of different scales and directions, the feature points in the range of adjacent specified pixels in the three-dimensional domain are compared, and the local extreme points are found according to the image response value of the feature point and the feature points in the range of adjacent specified pixels in the three-dimensional domain, and the feature points other than the local extreme points are treated as redundant points for elimination.

3. The curtain wall support block state detection method based on multimodal data fusion of unmanned aerial vehicle according to claim 1 is characterized in that: When determining the main direction of the feature point and constructing the feature descriptor of the feature point in step S5, determining the main direction of the feature point includes: calculating the Haar wavelet in a circular area of ​​a specified size of the feature point, and statistically analyzing the features of the Haar wavelet in the circular area to obtain the fan-shaped direction with the largest modulus value in the circular area as the main direction of the feature point.

4. The curtain wall support block state detection method based on multi-modal data fusion of unmanned aerial vehicle according to claim 1 is characterized in that: When determining the direction of the feature point and constructing the feature descriptor of the feature point in step S5, constructing the feature descriptor of the feature point includes: for the infrared image or the visible light image, taking a square frame around the feature point, dividing the square into a plurality of square sub-regions, setting a plurality of rows and columns of sampling points evenly distributed in each sub-region, and constructing the feature descriptor of the feature point according to the characteristics of the sampling point and the main direction of the feature point.

5. The curtain wall support block state detection method based on multi-modal data fusion of unmanned aerial vehicle according to claim 1 is characterized in that: The calculation function expression of the integral image in step S1 is: , In the above formula, is the gray value of the pixel (x, y) in the integral image, is the gray value of the pixel (i, j) in the original image; in step S3, calculating the Hessian matrix on the sub-band image and detecting the feature points include: S3.1, the second-order derivative at the pixel point (x, y) is calculated on the sub-band image using the binary Gaussian function shown in the following formula: , In the above formula, is a bivariate Gaussian function, is the scale space factor; S3.2, construct the Hessian matrix at the pixel point (x, y) based on the second-order derivative at the pixel point (x, y): , In the above formula, is the Hessian matrix at the pixel point (x, y), , , is the second-order derivative at the pixel point (x, y); S3.3, based on the Hessian matrix at the pixel point (x, y), construct the approximate Hessian matrix determinant shown in the following formula: , In the above formula, is the approximate Hessian matrix determinant, , and Respectively , , The approximate value of ; h is the weight coefficient, which is used to balance the error caused by the approximation; S3.4, extracting matrix eigenvalues ​​of the approximate Hessian matrix determinant as the detected feature points.

6. The curtain wall support block state detection method based on multi-modal data fusion of unmanned aerial vehicle according to claim 1, characterized in that: The convolutional neural network model is an improved STD FusionNet model. The improved STD FusionNet model adds a convolutional attention module CBAM to the feature extraction network and feature reconstruction network of the basic STD FusionNet model. The number of convolutional attention modules CBAM added to the feature extraction network is one and is located between the common layer of the feature extraction network and the residual block ResBlock. The number of convolutional attention modules CBAM added to the feature reconstruction network is two and is located at the input end of the residual block ResBlock, so that the feature extraction network in the improved STD FusionNet model includes two feature extraction branches corresponding to infrared images and visible light images respectively. The feature extraction branch is composed of a common layer, a convolutional attention module CBAM and a two-level residual block ResBlock in sequence. The common layer is composed of a convolutional layer with a kernel size of 5×5 and a Leaky The feature reconstruction network in the improved STDFusionNet model consists of two convolutional attention modules CBAM and two residual blocks ResBlock cascaded in sequence. The convolutional attention module CBAM includes a channel attention module CAM and a spatial attention module SAM. The input feature of the convolutional attention module CBAM As input, the channel attention weight is first obtained through the channel attention module CAM , channel attention weight and input features After weighting, we get the attention map , attention map The spatial attention weight is obtained through the spatial attention module SAM , spatial attention weight and attention map After weighting, we get the output features of the convolutional attention module CBAM , the function expression of the channel attention module CAM is: , In the above formula, is the Sigmoid activation function; is a multi-layer perceptron, is the average pooling operation, is the maximum pooling operation; the functional expression of the spatial attention module SAM is: , In the above formula, It is the convolution layer operation.

7. The curtain wall support block state detection method based on multi-modal data fusion of unmanned aerial vehicle according to claim 1 is characterized in that: The functional expression of the loss function used when training the convolutional neural network model using the training data set is: , In the above formula, is the loss function, is the background pixel loss, is the background gradient loss, is a hyperparameter that controls the balance of losses in different regions, For significant pixel loss, is a significant gradient loss, and: , , , , In the above formula, and are the height and width of the image, respectively. represent of norm, Represents the gradient operator, operator represents element-wise multiplication, For infrared images, is a visible light image, is the salient target mask of the curtain wall bracket, is the expected result, and: .

8. A curtain wall support block state detection system based on multi-modal data fusion of unmanned aerial vehicles, comprising a microprocessor and a memory connected to each other, characterized in that: The microprocessor is programmed or configured to execute the curtain wall support block status detection method based on multimodal data fusion of unmanned aerial vehicle as described in any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program or instruction stored therein, characterized in that: The computer program or instruction is programmed or configured to execute the curtain wall support block status detection method based on multimodal data fusion of unmanned aerial vehicle as described in any one of claims 1 to 7 through a processor.

10. A computer program product comprising a computer program or instructions, characterized in that The computer program or instruction is programmed or configured to execute the curtain wall support block status detection method based on multimodal data fusion of unmanned aerial vehicle as described in any one of claims 1 to 7 through a processor.

Citation Information

Patent Citations

  • Concrete building top surface crack detection method based on dual-light fusion

    CN117788931A

  • UAV (unmanned aerial vehicle) cross-modal fusion detection method based on CFT-OfficientDet

    CN118485932A

Cited By

  • Building apparent defect detection method and system

    CN118941554A

  • Image registration-combined image fusion method and device and electronic medium

    CN119722486A

  • Image fusion method, device and electronic medium for joint image registration

    CN119722486B

  • Gas station fire control method and system, readable storage medium and computer

    CN119723274A

  • Visible light-infrared image structure adaptive fusion crack detection method and system

    CN120047432A