Intrinsic feature self-adaptive visible light infrared fusion detection and identification method and system

By designing an X-shaped multi-layer feature interaction and fusion structure and a conditional convolution dynamic attention module, combined with a heavy calculation two-way jump pyramid structure, we can adaptively extract multi-scale compatible features of visible and infrared images, and solve the problem of modal feature fusion. Insufficient problem improves the accuracy and adaptability of visible and infrared fusion recognition.

CN118658028AActive Publication Date: 2024-09-1710TH RES INST OF CETC

Patent Information

Application Number
CN202410687752.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-17
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

In the existing visible light infrared image fusion technology, modal feature fusion is insufficient, resulting in poor fusion recognition results, especially in complex environments where external factors have a large impact, and the trained model cannot dynamically adapt to input images of various qualities, resulting in target Insufficient feature fusion.

Method used

Design an X-shaped multi-layer feature interaction and fusion structure, build a dynamic attention fusion module based on conditional convolution, use a heavy-computation two-way jump pyramid structure to extract essential fusion features, and adaptively learn multi-scale compatible features of visible and infrared images. , adjust the feature weight according to the image itself to achieve multi-scale detection and recognition.

Benefits of technology

It improves the positioning and recognition accuracy of multi-modal data, improves the accuracy of visible and infrared fusion recognition, is suitable for all-weather and all-time target detection and recognition tasks, and reduces the problem of low recognition accuracy due to environmental factors such as lighting and visibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658028A
    Figure CN118658028A
Patent Text Reader

Abstract

The invention discloses an essential feature adaptive visible light infrared fusion detection and identification method and system, and the method comprises the steps: extracting the features of images of different modes under different scales through a preset X-type multilayer feature interaction fusion module, and carrying out the X-type interaction fusion of the features of which the difference is greater than a threshold value, forming comprehensive features sensitive to the target features; a dynamic attention fusion module based on conditional convolution and splicing operation is used to amplify the feature difference between the modalities, and the compensation and compatibility features between the modalities are calculated, and are fused with the original features of the corresponding modalities to obtain fusion features consistent with the target features; and a modal fusion feature analysis module based on a re-calculation amount bidirectional jumper pyramid performs target category classification and position regression on the fusion features of different scales according to sequence and cross-layer hybrid connection, thereby obtaining a fusion detection identification result. According to the invention, the visible light and infrared fusion identification accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method and system for detecting and identifying visible light infrared fusion with adaptive essential features. Background Art

[0002] With the continuous development of image sensor technology, image sensors of different bands have been widely used in all walks of life, and the multi-band image fusion technology that has been developed has also received more and more attention. Multi-band image fusion can fuse the images collected by different image sensors in the same scene to obtain more comprehensive and accurate fusion information. It has important applications in remote sensing, detection, military reconnaissance, security monitoring, medical health, industrial production and other fields. Among them, the acquisition and application of visible light and infrared band images are the most common. Infrared images can highlight the characteristics of infrared thermal target areas but often lack detailed information and have low contrast, while visible light images can reflect the texture, color, contour and other information of the imaging area. By fusing visible light band images and infrared band images, both the thermal radiation information in the infrared image and the clear appearance texture information of the visible light image can be maintained, and a comprehensive and accurate description of the current scene can be obtained. Visible light infrared image fusion combined with specific scene tasks, such as target detection and recognition, target tracking, target positioning, etc., can achieve better performance than single-source image sensors. In the typical task - target detection and recognition, visible light infrared fusion processing can reduce the impact of external factors on the detection of multiple targets. It is suitable for target detection and recognition tasks in all weather and at all times, and has received widespread attention and research.

[0003] Visible light infrared fusion detection and recognition technology can be divided into two categories: traditional and intelligent methods. Among them, traditional methods can generally be divided into two categories: fusion methods based on transform domain and spatial domain. Among them, the common practice of transform domain-based methods is to perform multi-scale decomposition on the source image to be processed, and then design fusion rules to fuse the decomposed images, and use multi-scale inverse transform to obtain the final fused image. Commonly used multi-scale decompositions include Laplace transform, curvelet transform, wavelet transform, etc., as well as improved multi-scale low-rank decomposition, adaptive sparse representation, particle swarm optimization algorithm, etc. The transform domain-based method improves the fusion effect by improving and optimizing the multi-scale decomposition method and fusion rules. However, in actual complex and changeable application scenarios, it is often necessary to manually design decomposition and fusion methods according to different scenarios, so it is difficult to meet actual application needs. The traditional fusion method based on spatial domain is to divide the source image into several sub-images, and further combine the sub-images to obtain the final fused image. It is also possible to obtain the final fused image on the background image by superimposing the area to be fused and the background area in the source image. The traditional fusion method based on the spatial domain has a good fusion effect for local images, but the fused image is prone to produce obvious edge effects at the edges of the segmented blocks, which affects the further processing of the image.

[0004] With the rapid development of artificial intelligence technology, deep learning methods based on neural networks have developed rapidly in the visible light infrared image fusion processing. Researchers use the pre-trained model of convolutional neural network to provide deep learning feature maps, and then perform fusion. This method has greatly improved the performance of traditional fusion methods, but the fusion process is not end-to-end and depends on the design of multi-scale decomposition and fusion rules. Some researchers have proposed a fusion method based on generative adversarial networks. First, the loss function of the generator and discriminator is constructed to iteratively optimize the network parameters, and then the dual discriminator is designed to enhance the image fusion effect. The content information and edge information of the image are written into the loss function to ensure that the fused image can retain both the detail information of the visible light image and the edge information of the infrared image. In addition, the researchers define the loss function of the local binary pattern LBP so that the generated fused image has rich boundary information. The advantage of this method is that different loss functions can be assigned to the generator and discriminator to meet different fusion requirements. However, its disadvantage is that the network training process needs to be divided into two stages: generation and discrimination, and the trained network model depends on the distribution of the data set data, so the robustness and generalization ability of the neural network are poor. To solve this problem, the researchers proposed an end-to-end deep convolutional neural network to perform local Gaussian blur construction, and then achieved image fusion by learning an end-to-end convolutional neural network. This method transforms unsupervised image fusion into a supervised image classification problem and is therefore more suitable for multi-source image fusion tasks. The researchers further designed an end-to-end fusion network with target structure similarity and pixel difference as loss functions for the fusion task of visible light and infrared images, and combined the learned shallow and deep features in the feature extraction model to make it suitable for the fusion of infrared and visible light and other multimodal images.

[0005] However, visible light and infrared are two modalities with large feature differences, which are prone to insufficient fusion. Research on insufficient modal fusion is devoted to the study of the fusion stage. According to the different fusion stages, it can be divided into image stage fusion, feature stage fusion and decision stage fusion. Among them, the fusion research of the feature stage is the most popular, and a large number of researchers have improved the feature fusion structure of deep neural networks. Choi et al. (2016) proposed to balance the feature recognition ability and resolution between different convolutional layers by fusing multi-scale feature maps. Zheng et al. (2019) designed a cross-modal detector based on dual SSD (singleshot detector), using 6 different-sized feature maps in the SSD model to detect targets of different scales. In order to make full use of the complementarity between the two modalities, Zhang et al. (2019b) first applied the attention mechanism to cross-modal pedestrian detection and proposed a cross-modal interactive attention network. Yang et al. (2022) proposed a bidirectional adaptive attention gate (BAA-Gate) based on the attention mechanism. The attention mechanism is used to suppress the noise information in the two modalities and select the effective information between the two modalities. Kim et al. (2022a) proposed a cross-modal pedestrian detection framework based on region of interest (RoI) uncertainty and prediction uncertainty.

[0006] However, the above methods are all based on artificially designed feature extraction operators and structures. Once the training is completed, they are unable to dynamically and adaptively extract the features of the input modality, resulting in insufficient fusion of features of different modalities, and even having a negative effect on the other modality compared to single-modal recognition, further affecting the visible light infrared fusion recognition effect. Summary of the invention

[0007] A single-source detection network can only use data from a single-source sensor for target detection, and cannot use data from multiple sources for fusion detection and identification at the same time. In order to solve the above problems, the present invention proposes a method and system for visible light infrared fusion detection and identification with adaptive essential features, which performs fusion detection and identification on targets by making full use of the rich colors and texture characteristics of visible light, high image resolution, and the characteristics of infrared images that can effectively form images in poor light and at night. The present invention designs an X-shaped multi-layer feature interaction and fusion structure, builds a dynamic attention fusion module based on conditional convolution to extract essential fusion features, and uses a heavy-computation bidirectional jump pyramid structure to further retain high-precision multi-scale visible light infrared fusion features, thereby improving the accuracy of fusion recognition.

[0008] The technical solution adopted by the present invention is as follows:

[0009] On the one hand, the present invention proposes a method for detecting and identifying visible light infrared fusion with adaptive essential features, comprising:

[0010] The features of images of different modalities at different scales are extracted through a preset X-shaped multi-layer feature interactive fusion module, and the features with differences greater than a threshold are subjected to X-shaped interactive fusion to form a comprehensive feature that is sensitive to the target feature; the modalities include visible light and infrared, i.e., infrared rays;

[0011] The dynamic attention fusion module based on conditional convolution and concatenation operations amplifies the feature differences between the modalities, calculates the compensation and compatible features between the modalities, and fuses them with the original features of the corresponding modality to obtain fused features that are consistent with the target features.

[0012] The modal fusion feature analysis module based on the heavy-computation bidirectional jump pyramid connects the fusion features of different scales in sequence and cross-layer hybrid connection to perform target category classification and position regression, thereby obtaining fusion detection and recognition results.

[0013] Furthermore, the extracting features of images of different modalities at different scales through a preset X-type multi-layer feature interactive fusion module includes: using two residual networks composed of residual blocks to respectively extract features of visible light and infrared images at different scales.

[0014] Furthermore, a dynamic attention fusion module based on conditional convolution and splicing operations is embedded in each layer of the residual network of the X-type multi-layer feature interaction fusion module, and the similarities and differences of the features of different modal data in each layer are learned.

[0015] Furthermore, in the dynamic attention fusion module based on conditional convolution and splicing operations, the conditional convolution calculates a weighted convolution kernel for the input sample before performing the convolution calculation, and each convolution kernel is calculated once and acts on the positions of different data.

[0016] Furthermore, in the modal fusion feature analysis module based on the heavy-computation bidirectional skip-connection pyramid, the original bidirectional pyramid structure is expanded from the original U-shaped feature transfer loop to N U-shaped feature transfer loops, the connection between the backbone network and the detection head is deepened, and the learning and extraction of multi-scale features is realized; the feature layer-by-layer connection in the original bidirectional pyramid structure is optimized into a sequential and skip-level mixed connection, and the combination types of multi-scale features are expanded.

[0017] On the other hand, the present invention proposes a self-adaptive visible light infrared fusion detection and recognition system, comprising:

[0018] An X-type multi-layer feature interactive fusion module is configured to extract features of images of different modalities at different scales, and perform X-type interactive fusion on features with differences greater than a threshold to form a comprehensive feature that is sensitive to the target feature; the modalities include visible light and infrared, i.e., infrared light;

[0019] The dynamic attention fusion module based on conditional convolution and concatenation operations is configured to amplify the feature differences between the modalities, calculate the compensation and compatible features between the modalities, and fuse them with the original features of the corresponding modality to obtain fused features that are consistent with the target features;

[0020] The modal fusion feature analysis module based on the heavy-computation bidirectional jump pyramid is configured to connect the fusion features of different scales in sequence and cross-layer hybrid connection to perform target category classification and position regression, so as to obtain fusion detection and recognition results.

[0021] Furthermore, the extracting features of images of different modalities at different scales through a preset X-type multi-layer feature interactive fusion module includes: using two residual networks composed of residual blocks to respectively extract features of visible light and infrared images at different scales.

[0022] Furthermore, a dynamic attention fusion module based on conditional convolution and splicing operations is embedded in each layer of the residual network of the X-type multi-layer feature interaction fusion module, and the similarities and differences of the features of different modal data in each layer are learned.

[0023] Furthermore, in the dynamic attention fusion module based on conditional convolution and splicing operations, the conditional convolution calculates a weighted convolution kernel for the input sample before performing the convolution calculation, and each convolution kernel is calculated once and acts on the positions of different data.

[0024] Furthermore, in the modal fusion feature analysis module based on the heavy-computation bidirectional skip-connection pyramid, the original bidirectional pyramid structure is expanded from the original U-shaped feature transfer loop to N U-shaped feature transfer loops, the connection between the backbone network and the detection head is deepened, and the learning and extraction of multi-scale features is realized; the feature layer-by-layer connection in the original bidirectional pyramid structure is optimized into a sequential and skip-level mixed connection, and the combination types of multi-scale features are expanded.

[0025] The beneficial effects of the present invention are:

[0026] 1. The present invention designs an X-shaped multi-layer feature interaction and fusion structure, builds a dynamic attention fusion module based on conditional convolution to extract essential fusion features, and uses a heavy-computation bidirectional pyramid structure to further retain high-precision multi-scale visible light infrared fusion features, thereby improving the positioning and recognition accuracy based on multimodal data and the visible light infrared fusion recognition accuracy.

[0027] 2. The present invention makes full use of the color and texture characteristics of visible light, high image resolution, and the characteristics of infrared images that can effectively form images in poor light and at night, adaptively learns the multi-scale compatible fusion features of visible light and infrared images, automatically adjusts the feature weights according to the conditions of visible light and infrared images themselves, and performs multi-scale detection and recognition to improve the accuracy of fusion recognition. The present invention can better solve the problems of poor single-source target detection and recognition due to deterioration of environmental conditions such as illumination and visibility, and insufficient target feature fusion caused by the inability of the trained model to dynamically adapt to input images of various qualities.

[0028] 3. The present invention is applicable to target detection and recognition task scenarios in airborne and vehicle-mounted platforms equipped with both visible light and infrared optical sensors. It can solve the problem of low recognition accuracy of a single optical sensor that is easily affected by environmental factors such as weather, light, and distance. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of an essential feature adaptive visible light infrared fusion detection and recognition system in Example 1 of the present invention;

[0030] Figure 2 Schematic diagram of an X-type multi-layer feature interactive fusion module in Embodiment 1 of the present invention;

[0031] Figure 3 Schematic diagram of a dynamic attention fusion module based on conditional convolution and splicing operations in Example 1 of the present invention;

[0032] Figure 4 It is a schematic diagram of a modal fusion feature analysis module based on a recalculated bidirectional jump pyramid in Example 1 of the present invention. DETAILED DESCRIPTION

[0033] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation methods of the present invention are now described. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the embodiments described are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0034] Example 1

[0035] This embodiment provides a visible light infrared fusion detection and recognition system with intrinsic feature adaptation, which fully integrates image data of different modalities using an X-type multi-layer feature interactive fusion module, and obtains compatible fusion features of images of different modalities using a dynamic attention fusion module based on conditional convolution and splicing operations, and finally classifies the target category and regresses the position through multiple scale fusion feature sequences and cross-layer hybrid connections, thereby obtaining fusion detection and recognition results. This solution can adaptively learn multi-scale compatible fusion features of visible light and infrared images based on the characteristics and advantages of visible light and infrared data, adaptively adjust feature weights based on the conditions of visible light and infrared images themselves, and perform multi-scale detection and recognition, thereby improving the fusion effect.

[0036] like Figure 1 As shown, the visible light infrared fusion detection and recognition system of this embodiment includes: an X-type multi-layer feature interaction fusion module, a dynamic attention fusion module based on conditional convolution and splicing operations, and a modal fusion feature analysis module based on a heavy-computation bidirectional jump pyramid, as described in detail as follows.

[0037] (1) X-type multi-layer feature interactive fusion module

[0038] Since the features of visible light and infrared images are quite different, this embodiment uses two backbone networks composed of residual blocks to extract features of the two types of images at different scales. In the second half of the backbone network, since the features of visible light and infrared images are highly abstracted, structures such as dynamic convolutional attention are used to perform X-shaped interactive fusion of features with large differences to form comprehensive features that are sensitive to target features, and further pass them backward to obtain homogeneous features. The X-shaped multi-layer feature interactive fusion module is as follows: Figure 2 shown.

[0039] (2) Dynamic attention fusion module based on conditional convolution and splicing operations

[0040] Convolution has achieved unprecedented success in many computer vision tasks, but its performance improvement comes more from the increase in model size and capacity and larger data sets. The increase in model size further increases the amount of computation, making it more difficult to deploy excellent models. Existing convolutions use the same convolution parameters for all samples after training. This means that in multimodal tasks, such as visible light and infrared target detection and recognition, in order to extract features from multiple modal data to increase the capacity of the model, it is necessary to increase the model's parameters, depth, and number of channels, which further increases the amount of computation and makes deployment more difficult.

[0041] In order to solve the above problems, this embodiment designs a dynamic attention fusion module based on conditional convolution and splicing operations to achieve the fusion of visible light and infrared images. Conditional convolution breaks the traditional static convolution characteristics by inputting the calculation of convolution kernel parameters. The convolution kernel is parameterized as a linear combination of multiple expert knowledge: (α1W1+…+α n W n )*x, where α1,…,α n is the weighted coefficient learned by gradient descent. In order to more effectively improve the capacity of multimodal models such as visible light infrared models, the number of experts can be increased during network design, which is more efficient than increasing the size of convolution kernels. At the same time, expert knowledge only needs to be combined once, which can maintain efficient reasoning while increasing model capacity.

[0042] In specific calculations, conditional convolution uses multiple experts to calculate weighted convolution kernels for input samples before performing convolution calculations. Each convolution kernel only needs to be calculated once and acts on different data locations. By increasing the amount of expert data, the capacity of the multimodal visible light infrared network is increased, and the code is only a small inference time: each additional parameter only requires one multiplication and addition. Dynamic convolution is equivalent to a linear combination of multiple static convolutions. Therefore, it has the same capacity as n experts, but data calculation is more efficient in multimodal tasks.

[0043] A dynamic attention fusion module based on conditional convolution and concatenation operations is embedded in each layer of the residual network to learn the similarities and differences of the data features of different modalities in each layer. By amplifying the feature differences between the modalities, the compensation and compatible features between the modalities are calculated and fused with the original features of the corresponding modalities to achieve the effect of complementing the features of different modalities, and finally obtain the fusion features of visible light and infrared with consistent target features.

[0044] Dynamic attention fusion module based on conditional convolution and splicing operations such as Figure 3 shown.

[0045] (3) Modal fusion feature analysis module based on recalculated bidirectional jump pyramid

[0046] The X-type multi-layer feature interaction fusion module and the dynamic attention fusion module based on conditional convolution and splicing operations extract the fusion features of the visible light and infrared modalities, so as to obtain favorable information for target recognition and positioning that can complement each other in the two modalities. Before obtaining the target type location information in an end-to-end manner, in order to further fully integrate the visible light infrared fusion features, an improved modal fusion feature analysis module based on a heavy-duty bidirectional jump pyramid is used behind the network backbone to perform high-precision position prediction and classification of visible light and infrared fusion features in multi-scale space. The modal fusion feature analysis module based on a heavy-duty bidirectional jump pyramid is as follows: Figure 4 shown.

[0047] The differences between the recalculated bidirectional skip-connection pyramid of this embodiment and the original bidirectional pyramid structure are: 1) the original bidirectional pyramid structure is expanded from the original U-shaped feature transfer loop to N U-shaped feature transfer loops, which deepens the connection between the intelligent detection model backbone and the detection head, and is conducive to the learning and extraction of multi-scale features; 2) the layer-by-layer connection of features in the original bidirectional pyramid structure is optimized to a sequential and skip-level mixed connection method, which enriches the scale combination types of visible light infrared features and improves the multi-scale feature extraction capability.

[0048] Example 2

[0049] This embodiment is based on embodiment 1:

[0050] This embodiment provides a method for detecting and identifying visible light infrared fusion with self-adaptive essential features, which mainly includes two parts: model training and model reasoning. The specific implementation steps are as follows:

[0051] S1: Use visible light sensors and infrared sensors to obtain a large number of pixel-level aligned image pairs, which are divided into training sets and test sets;

[0052] S2: Build a visible light infrared fusion detection and recognition network with intrinsic feature adaptation. The innovation of this network lies in the design of a dynamic attention fusion module based on conditional convolution and a heavy-computation bidirectional jump pyramid modality fusion feature analysis module in the multimodal target intelligent detection and recognition model.

[0053] S3: Use the training set to train the visible light infrared fusion detection and recognition network with essential feature adaptation, and use the test data to test the trained model. During the training and testing process, input the visible light image to the visible light branch input of the network trunk, and input the infrared image to the infrared branch input of the network trunk. Use the maximum suppression post-processing to filter the output of the fusion detection and recognition network to obtain the final comprehensive detection and recognition result.

[0054] Preferably, the workflow of the dynamic attention fusion module based on conditional convolution is:

[0055] 1) The extracted visible light image features and infrared image features are subjected to spatial attention feature analysis respectively. The spatial attention consists of operators such as global average pooling (GAP), full connection (FC), and ReLU activation function;

[0056] 2) Use full connection and Sigmoid activation function to map the attention features to the weighted weights of the convolution operator group and update the parameters of the conditional convolution. The spatial attention features of the visible light image features are represented as Z, and the spatial attention features of the infrared image features are represented as X. The mapping process is:

[0057] a) Input the spatial attention feature Z of the visible light image feature into the mapping function composed of FC and Sigmoid to obtain the mapping weight vector

[0058] b) Input the spatial attention feature X of the infrared image feature into another set of mapping functions composed of FC and Sigmoid to obtain the mapping weight vector

[0059] c) Map the weight vector and the mapping weight vector Combine them using dot products to get weighted weights:

[0060] d) Combine the weighted weights and the convolution parameters of the convolution operator group through a dot multiplication operation, and update the convolution parameters to: W i =c i *W i , where c i is the weighted weight vector A single value in .

[0061] Example 3

[0062] This embodiment is based on Embodiment 2:

[0063] This embodiment provides a method for detecting and identifying visible light infrared fusion based on intrinsic characteristics self-adaptation, which specifically includes the following steps:

[0064] First, pixel-level aligned visible light and infrared image pairs are obtained, and the locations of the objects of interest in the images are marked with rectangular boxes and annotated with categories for training the intrinsic feature-adaptive visible light and infrared fusion model.

[0065] Build and implement the adaptive visible light infrared fusion model of essential features. First, prepare the environment required for model building and model training. This embodiment uses the coding and operating environment of Docker+VScode+PyTorch to implement the adaptive visible light infrared fusion model of essential features. The model is based on the end-to-end target detection and recognition network structure, and is mainly composed of a backbone network, a connection neck, a detection head and other parts. In the visible light infrared fusion detection and recognition, a backbone network with a similar structure is first used to perform single-source extraction of visible light and infrared image features respectively. The backbone network of this embodiment adopts the public Darknet53 backbone, which specifically includes modules such as residuals and spatial pooling pyramids.

[0066] Then, the single-source visible light or infrared features are fused together using a dynamic attention fusion module based on conditional convolution in an X-shaped multi-layer feature interactive connection. The dynamic attention fusion module based on conditional convolution is composed of full connection, Sigmoid activation function, convolution and other operators. In this embodiment, the convolution kernel adopts a size of 3*3, with a total of 4 groups, and 1 convolution in each group. After constructing the dynamic attention fusion module based on conditional convolution, it is embedded in different positions between the visible light and infrared single-source trunks, and the visible light and infrared features are fused and re-input into the trunk of the other source to form an X-shaped feature interactive fusion structure.

[0067] The connection Neck adopts an improved U-shaped recalculation bidirectional jump pyramid structure. The difference between it and the original recalculation pyramid structure is that the original U-shaped feature transfer loop is expanded to N U-shaped loops, and the feature is changed from layer-by-layer connection to a sequential and skip-level mixed connection mode, so that the visible light and infrared features can be better integrated. In this embodiment, N=3.

[0068] The labeled pairs of visible light and infrared images are input into the intrinsic feature adaptive visible light infrared fusion model for training. During the training process, the commonly used training parameter settings in YOLOv5 are used, and maximum suppression is combined as post-processing. The trained model is saved and input into the test image pair to test it, and the final target comprehensive detection and recognition results are obtained.

[0069] The above essential feature adaptive visible light infrared fusion model makes full use of the color, texture characteristics, high image resolution of visible light, and the characteristics of infrared images that can effectively form images in poor light and at night. It adaptively learns the multi-scale compatible fusion features of visible light and infrared images, automatically adjusts the feature weights according to the conditions of visible light and infrared images, and performs multi-scale detection and recognition to improve the accuracy of fusion recognition. This model can better solve the problems of poor single-source target detection and recognition due to deterioration of environmental conditions such as lighting and visibility, and insufficient target feature fusion caused by the inability of the trained model to dynamically adapt to input images of various qualities.

[0070] Example 4

[0071] This embodiment is based on Embodiment 2:

[0072] This embodiment provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the self-adaptive visible light infrared fusion detection and recognition method of embodiment 1 are implemented. The computer program may be in source code form, object code form, executable file, or some intermediate form.

[0073] Example 5

[0074] This embodiment is based on Embodiment 2:

[0075] The present embodiment provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the adaptive visible light infrared fusion detection and recognition method of the essential feature of Embodiment 1. The computer program may be in source code form, object code form, executable file, or some intermediate form, etc. The storage medium includes: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained in the storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the storage medium does not include electric carrier signals and telecommunication signals.

[0076] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

Claims

1. A method for detecting and identifying visible light and infrared fusion with self-adaptive essential features, characterized in that: include: The features of images of different modalities at different scales are extracted through a preset X-shaped multi-layer feature interactive fusion module, and the features with differences greater than a threshold are subjected to X-shaped interactive fusion to form a comprehensive feature that is sensitive to the target feature; the modalities include visible light and infrared, i.e., infrared rays; The dynamic attention fusion module based on conditional convolution and concatenation operations amplifies the feature differences between the modalities, calculates the compensation and compatible features between the modalities, and fuses them with the original features of the corresponding modality to obtain fused features that are consistent with the target features. The modal fusion feature analysis module based on the heavy-computation bidirectional jump pyramid connects the fusion features of different scales in sequence and cross-layer hybrid connection to perform target category classification and position regression, thereby obtaining fusion detection and recognition results.

2. The essential feature adaptive visible light infrared fusion detection and recognition method according to claim 1 is characterized in that: The method of extracting features of images of different modalities at different scales through a preset X-type multi-layer feature interactive fusion module includes: using two residual networks composed of residual blocks to respectively extract features of visible light and infrared images at different scales.

3. The essential feature adaptive visible light infrared fusion detection and recognition method according to claim 2 is characterized in that: A dynamic attention fusion module based on conditional convolution and splicing operations is embedded in each layer of the residual network of the X-type multi-layer feature interaction fusion module, and the similarities and differences of the features of different modal data in each layer are learned.

4. The essential feature adaptive visible light infrared fusion detection and recognition method according to claim 1 is characterized in that: In the dynamic attention fusion module based on conditional convolution and splicing operations, the conditional convolution calculates a weighted convolution kernel for the input sample before performing the convolution calculation, and each convolution kernel is calculated once and acts on the positions of different data.

5. The essential feature adaptive visible light infrared fusion detection and recognition method according to claim 1 is characterized in that: In the modal fusion feature analysis module based on the heavy-computation bidirectional skip-connection pyramid, the original bidirectional pyramid structure is expanded from the original U-shaped feature transfer loop to N U-shaped feature transfer loops, the connection between the backbone network and the detection head is deepened, and the learning and extraction of multi-scale features are realized; the feature layer-by-layer connection in the original bidirectional pyramid structure is optimized into a sequential and skip-level mixed connection, and the combination types of multi-scale features are expanded.

6. A self-adaptive visible light infrared fusion detection and recognition system, characterized in that: include: An X-type multi-layer feature interactive fusion module is configured to extract features of images of different modalities at different scales, and perform X-type interactive fusion on features with differences greater than a threshold to form a comprehensive feature that is sensitive to the target feature; the modalities include visible light and infrared, i.e., infrared light; The dynamic attention fusion module based on conditional convolution and concatenation operations is configured to amplify the feature differences between the modalities, calculate the compensation and compatible features between the modalities, and fuse them with the original features of the corresponding modality to obtain fused features that are consistent with the target features; The modal fusion feature analysis module based on the heavy-computation bidirectional jump pyramid is configured to connect the fusion features of different scales in sequence and cross-layer hybrid connection to perform target category classification and position regression, so as to obtain fusion detection and recognition results.

7. The essential feature adaptive visible light infrared fusion detection and recognition system according to claim 6 is characterized in that: The method of extracting features of images of different modalities at different scales through a preset X-type multi-layer feature interactive fusion module includes: using two residual networks composed of residual blocks to respectively extract features of visible light and infrared images at different scales.

8. The essential feature adaptive visible light infrared fusion detection and recognition system according to claim 7 is characterized in that: A dynamic attention fusion module based on conditional convolution and splicing operations is embedded in each layer of the residual network of the X-type multi-layer feature interaction fusion module, and the similarities and differences of the features of different modal data in each layer are learned.

9. The essential feature adaptive visible light infrared fusion detection and recognition system according to claim 6, characterized in that: In the dynamic attention fusion module based on conditional convolution and splicing operations, the conditional convolution calculates a weighted convolution kernel for the input sample before performing the convolution calculation, and each convolution kernel is calculated once and acts on the positions of different data.

10. The essential feature adaptive visible light infrared fusion detection and recognition system according to claim 6, characterized in that: In the modal fusion feature analysis module based on the heavy-computation bidirectional skip-connection pyramid, the original bidirectional pyramid structure is expanded from the original U-shaped feature transfer loop to N U-shaped feature transfer loops, the connection between the backbone network and the detection head is deepened, and the learning and extraction of multi-scale features are realized; the feature layer-by-layer connection in the original bidirectional pyramid structure is optimized into a sequential and skip-level mixed connection, and the combination types of multi-scale features are expanded.

Citation Information

Patent Citations

  • Voice emotion recognition method and system based on cross-layer cross fusion

    CN114898775A

  • Dynamic feature assisted visible light fire detection and identification method and device and medium

    CN115841642A

  • Dual-mode target detection model and method based on residual contraction attention network

    CN116342953A

  • Power equipment detection method based on cross-modal multilevel feature fusion

    CN117350964A

  • Unmanned aerial vehicle small target detection method based on multispectral interactive attention fusion

    CN117830878A

Cited By

  • Unmanned aerial vehicle target searching method and device and medium

    CN119536340A

  • Infrared-visible light combined target detection method

    CN120147605A

  • Optical camera communication-oriented GAN-based stripe image processing method

    CN120431449A

  • Visible light and infrared image bimodal target detection method

    CN121937784A