Infrared and visible light target identification method based on image registration

Through the combination of dense mapping module and feature interactive fusion module, the problem of misregistration and target scale change of infrared and visible light dual-mode images is solved, the accurate recognition of ship targets is achieved, and the recognition accuracy and real-time performance are improved.

CN118674989APending Publication Date: 2024-09-20CHINA SHIP DEV & DESIGN CENT
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410822818.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

When infrared and visible light dual-modal images are recognized in the maritime environment, there are problems such as image misregistration and large changes in target scale, resulting in low recognition accuracy and an increase in false alarms.

Method used

The dense mapping module is used for image registration, the deformation field is estimated through the pyramid feature extractor and the flow estimator for image registration, and the feature interactive fusion module is used for cross-modal interactive learning, and the multi-scale feature extraction module is combined with the multi-scale feature extraction module to extract features of different sizes. Perform perception and fusion to achieve accurate identification of ship targets.

Benefits of technology

It effectively solves the problems of low recognition accuracy and false alarms caused by image misregistration and target scale changes, and improves the accuracy and real-time performance of infrared and visible light dual-modal target recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674989A
    Figure CN118674989A
Patent Text Reader

Abstract

The invention discloses an infrared and visible light target identification method based on image registration, and belongs to the technical field of multi-modal target identification, and the method comprises the steps: constructing a dense mapping module as an image registration network, and carrying out the registration of unregistered images shot by an infrared and visible light camera through the image registration network; the registered infrared and visible light bimodal images are sent to a feature interaction fusion module, cross-modal interaction learning is carried out, and bimodal image features with complementary information are obtained; a multi-scale feature extraction module is used for carrying out large and small target self-adaptive sensing operation on the fused bimodal image features, so that features of different sizes can be fused; and carrying out classification and regression on the fusion features of different sizes to obtain final ship target position and category information. According to the invention, the image registration network and the target scale self-adaptive sensing module are utilized, so that accurate recognition of infrared and visible light dual-mode targets can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of multimodal target recognition, and more specifically, relates to a method for recognizing ship targets in infrared and visible light dual-modal images. Background Art

[0002] Target recognition is a key technology for unmanned boats to autonomously perceive the surface environment. Common sensor devices used to identify surface targets include visible light cameras, infrared cameras, etc. The sea / lake environment is complex and changeable, and the visible light and infrared sensors have their own limitations, making it difficult for single-modality sensors to accurately and reliably identify surface targets. Specifically, the images captured by visible light cameras show rich details and texture information, but are easily affected by weather and lighting. For example, targets cannot be effectively captured under dark and haze conditions; while infrared cameras rely on thermal radiation imaging of objects, and have the advantages of anti-interference, long range, strong ability to penetrate smoke and haze, and work all day, but their images have the disadvantages of low contrast, lack of target texture information, and low signal-to-noise ratio. Therefore, by combining infrared and visible light dual-modality image information, the advantages of these two sensors can be complemented, thereby improving the performance of surface target detection and recognition.

[0003] At present, infrared and visible light image target recognition mainly faces the following two problems:

[0004] (1) Image misregistration. To achieve dual-modal target recognition of infrared and visible light, existing traditional recognition methods and deep learning recognition methods are designed based on registered dual-modal images. However, due to the different internal and external parameters of infrared and visible light cameras, and the large fluctuations of the waves when the cameras are operating on the sea surface, the positions of the targets in the images taken by the infrared and visible light cameras are inconsistent, that is, the images are not registered. At this time, target recognition will produce a large number of false alarms. Therefore, registering dual-modal images is the basis for accurate target recognition.

[0005] (2) The problem of large changes in target scale. In the case of long-distance detection and identification, ship targets usually show large scale changes, resulting in different target sizes, which leads to confusion in target category identification. In this regard, the mainstream method is to increase the resolution of small targets to improve recognition accuracy. However, increasing the resolution of the input image is not friendly to the real-time performance of the model. Therefore, allowing the recognition network to adaptively perceive large and small targets, learn the multi-scale information of the targets, strengthen the differences between targets, and then learn the discriminative features of each target is the key to improving target recognition capabilities. Summary of the invention

[0006] Aiming at the problems of image misregistration and large target scale variation, an infrared and visible light target recognition method based on image registration is proposed. The deformation fields of infrared and visible light images are estimated by using the image registration network, and the target scale adaptive perception module is used to learn the differences in features between targets of different scales, so as to achieve accurate recognition of infrared and visible light dual-modal targets.

[0007] To achieve the above object, the present invention provides an infrared and visible light target recognition method based on image registration, comprising:

[0008] Construct a dense mapping module as an image registration network, and register the unregistered images taken by infrared and visible light cameras through the image registration network;

[0009] The registered infrared and visible light bimodal images are sent to the feature interactive fusion module for cross-modal interactive learning to obtain bimodal image features with complementary information.

[0010] The multi-scale feature extraction module is used to perform adaptive perception operations on large and small objects on the fused bimodal image features, so that features of different sizes can be fused;

[0011] The fused features of different sizes are classified and regressed to obtain the final ship target position and category information.

[0012] In some optional embodiments, the dense mapping module is constructed as an image registration network, and unregistered images taken by infrared and visible light cameras are registered through the image registration network, including:

[0013] For the unregistered images taken by infrared and visible light cameras, a dense mapping module is used to estimate the deformation field between the unregistered images taken by infrared and visible light cameras;

[0014] The unregistered infrared image is resampled using the estimated deformation field to obtain the registered infrared image.

[0015] In some optional embodiments, the dense mapping module is composed of a pyramid feature extractor and a flow estimator, the pyramid feature extractor is composed of four layers of convolution operations to extract multi-scale features of bimodal images, and the flow estimator is composed of three identical flow estimation blocks, each flow estimation block includes a channel splicing operation, four convolution operations and an upsampling operation.

[0016] In some optional embodiments, the estimating the deformation field between the unregistered images taken by the infrared and visible light cameras using a dense mapping module includes:

[0017] The infrared and visible light images are sent to the pyramid feature extractor to obtain the multi-scale features of infrared and visible light respectively. Starting from the second convolution layer, the features of the infrared and visible light images in the pyramid feature extractor will be used as the input of the flow estimator;

[0018] In each flow estimation block, the infrared and visible light features are sequentially concatenated, convolved with four convolution kernels of size 1×1, upsampled, and added to the features in the upper flow estimation block;

[0019] The output of the flow estimator is the deformation field from the infrared image to the visible light image.

[0020] In some optional embodiments, in order to train the dense mapping module, the registered infrared and visible light bimodal image pairs in the public dataset are collected, and the infrared images in the registered image pairs are de-registered to form unregistered infrared and visible light image pairs with registration truth information as training data.

[0021] In some optional implementations, the registered infrared and visible light dual-modal images are sent to a feature interactive fusion module to perform cross-modal interactive learning to obtain dual-modal image features with complementary information, including:

[0022] Registered infrared image and the visible light image x vis The infrared image feature extraction module and the visible light image feature extraction module are respectively sent to obtain the infrared image representation feature f inf And the visible light image representation feature f vis ;

[0023] The infrared image features f inf and visible light image characterization features f vis Divide into N P×P feature blocks, each feature block passes through the fully connected layer to obtain a 1×C vector, and concatenate the N feature blocks to obtain a two-dimensional vector E of size N×C x and E y , respectively in the two-dimensional vector E x and E y Embed location information P x and P y , get the two-dimensional vector E with position information x,p and E y,p ;

[0024] The infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y .

[0025] In some optional embodiments, the infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y ,include:

[0026] E x,p After three linear functions, we can get Q x , K x and V x , and sent to the unimodal self-attention mechanism module and the fully connected module to obtain the feature Z with infrared global information x ;

[0027] E y,p After three linear functions, we can get Q y , K y and V y , and sent to the unimodal self-attention mechanism module and the fully connected module to obtain the feature Z with infrared global information y ;

[0028] The feature Z x and Z y After three linear functions respectively, we get Q′ x , K′ x , V′ x and Q′ y , K′ y , V′ y , and sent to the cross-modal self-attention mechanism module and the fully connected module to obtain the feature Z′ with both unimodal global information and bimodal complete information x,y .

[0029] In some optional implementations, after obtaining the feature Z′ having both unimodal global information and bimodal complete information x,y Afterwards, the method further comprises:

[0030] Repeat the process to convert the infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y Step 2, where the infrared feature vector E is transformed into x,p and the visible light eigenvector E y,p The first dimension of the feature is reduced by half, and the second dimension of the feature is doubled, and the feature Z″ with the same unimodal global information is obtained in turn. x,y and the characteristic Z″′ of bimodal complete information x,y ;

[0031] Z′x,y , Z″ x,y , Z″′ x,y Reshape the features to obtain the feature f′ that can be used for convolution operation x,y ∈R h×w×c , Among them, h, w, and c are the length, width, and number of channels of the feature map, respectively.

[0032] In some optional implementations, the multi-scale feature extraction module is used to perform large and small target adaptive perception operations on the fused dual-modal image features so that features of different sizes can be fused, including:

[0033] For feature f′ x,y , the feature f″ x,y , f″′ x,y The resolution is converted to f′ by upsampling operation. x,y Keep it consistent, and then get the fusion representation R1 by channel splicing;

[0034] For feature f″ x,y , the feature f′ x,y , f″′ x,y The resolution is converted to f″ by downsampling and upsampling operations respectively. x,y Keep it consistent, and then get the fusion representation R2 by channel splicing;

[0035] For the feature f″′ x,y , the feature f′ x,y , f″ x,y The resolution is converted to f″′ by downsampling operation. x,y Keep it consistent, and then obtain the fusion representation R3 by channel splicing.

[0036] In some optional implementation schemes, the classification and regression of fused features of different sizes to obtain the final ship target position and category information includes:

[0037] For the three classification prediction feature maps R1, R2, and R3, generate prior target boxes of different scales, and output the classification score vector of the number of categories × the number of prior target boxes through the classification convolution layer, and output the regression vector of the number of 3 × the number of prior target boxes through the regression convolution layer. For the setting of the prior box, the number of detection boxes is the same for each grid of the feature map;

[0038] The non-maximum suppression algorithm is used to filter out repeated detection frames to form the final ship target detection and recognition results.

[0039] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0040] The present invention estimates the image deformation field by using a dense mapping module to obtain a registered infrared-visible light dual-modal image, which can solve the problem of image misalignment caused by factors such as different external and internal parameters of infrared and visible light cameras, thereby reducing the situation where a large number of false alarms are generated when the dual-modal images are not registered for ship target recognition; at the same time, a multi-scale feature extraction module is used to perform multi-scale learning on the dual-modal fusion features, which can more fully perceive the information of features of different scales, thereby solving the problem of confusion of target categories of different sizes caused by distance. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is an overall framework diagram of an infrared and visible light target recognition method provided by an embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of a dense mapping module provided by an embodiment of the present invention;

[0043] Figure 3 is a schematic diagram of a feature interaction fusion module provided by an embodiment of the present invention;

[0044] Figure 4 It is a schematic diagram of a multi-scale feature extraction module provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0046] like Figure 1 As shown, the present invention includes four core steps, namely, bimodal image registration, bimodal feature interactive fusion, multi-scale feature extraction, and target classification and regression.

[0047] (1) Dual-modality image registration

[0048] A dense mapping module is constructed as an image registration network to register newly unregistered images taken by infrared and visible cameras.

[0049] To train the dense mapping module, the registered infrared-visible bimodal image pairs in the public dataset are collected. At the same time, the infrared images in the registered image pairs are subjected to non-registration operations (translation, rotation, scaling, etc.) to form unregistered infrared-visible image pairs with registration groundtruth information as training data.

[0050] (2) Interactive fusion of bimodal features

[0051] The registered infrared-visible bimodal image is sent to the feature interactive fusion module for cross-modal interactive learning to obtain bimodal image features with complementary information.

[0052] (3) Multi-scale feature extraction

[0053] The multi-scale feature extraction module is used to perform adaptive perception operations on large and small targets on the fused bimodal features. Bilinear interpolation, maximum pooling and other methods are used to enlarge or reduce the features of the image so that features of different sizes can be fused.

[0054] (4) Target classification and regression

[0055] The multi-scale fusion features are classified and regressed to obtain the final ship target location and category information.

[0056] In order to train the overall infrared and visible light target recognition network, endpoint loss, regression and classification loss are used to measure the differences between image registration results, target detection results and true labels, and the network is trained and optimized by minimizing the loss function.

[0057] The details are described below.

[0058] (1) Dual-modality image registration

[0059] Construct a dense mapping module as an image registration network to register newly captured unregistered images from infrared and visible cameras. The following steps are included:

[0060] ① For the newly captured unregistered images of infrared and visible light cameras, the dense mapping module DF is used to estimate the deformation field φ between the two. inf→vis ∈R H×W×2 :

[0061] φ inf→vis =DF(x inf ,x vis ) (1)

[0062] Among them, x vis and x inf are visible light images and unregistered infrared images respectively, and each element φ of the deformation field inf→vis[i,j]=(△x,△y)∈R 2 Represents the deformation offset of the unregistered infrared image pixels.

[0063] ② Use the estimated deformation field to resample the unregistered infrared image to obtain the registered infrared image

[0064]

[0065] ③ Such as Figure 2 As shown in Figure 1, the dense mapping module consists of a pyramid feature extractor and a flow estimator. The pyramid feature extractor consists of four layers of convolution operations to extract multi-scale features of bimodal images. The flow estimator consists of three identical flow estimation blocks, each of which contains a channel splicing operation, four convolution operations, and an upsampling operation.

[0066] The workflow of the dense mapping module is as follows: first, the infrared and visible light images are sent to the pyramid feature extractor to obtain the multi-scale features of infrared and visible light respectively. Starting from the second layer of convolution, the features of the infrared and visible light images in the pyramid feature extractor will be used as the input of the flow estimator; then, in each flow estimation block, the infrared and visible light features are sequentially subjected to channel concatenation, four convolutions with a kernel size of 1×1, upsampling (for increasing the feature scale), and added to the features in the upper layer flow estimation block; finally, the flow estimator outputs the deformation field from the infrared image to the visible light image.

[0067] ④ To train the dense mapping module, we collected the registered infrared-visible bimodal image pairs from the public dataset, and performed deregistration operations (translation, rotation, scaling, etc.) on the infrared images in the registered image pairs to form unregistered infrared-visible image pairs with registration groundtruth information as training data. To ensure that the training data can cover the deformation between the newly captured unregistered images of the infrared and visible cameras, we used randomized and diversified deregistration operations.

[0068] (2) Interactive fusion of bimodal features

[0069] The registered infrared-visible bimodal image is sent to the feature interaction fusion module for cross-modal interactive learning to obtain bimodal image features with complementary information. The specific steps include:

[0070] ①Infrared image after registration and the visible light image x vis They are sent to the infrared image feature extraction module and the visible light image feature extraction module (both use the ResNet feature extraction network) to obtain the infrared image representation feature f inf And the visible light image representation feature fvis .

[0071] ② Perform feature transformation on the dual-mode characterization features. inf For example, f inf Divide into N P×P feature blocks. Each feature block passes through the fully connected layer to obtain a 1×C vector. Concatenate the N feature blocks to obtain a two-dimensional vector E of size N×C x In order to fix the relative and absolute position of each feature block, the position information P is embedded in the two-dimensional vector x , get the two-dimensional vector E with position information x,p . Characteristic features of visible light mode f vis After the same steps as above, we can get the two-dimensional vector E with position information. y,p .

[0072] ③ Such as Figure 3 As shown, the infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y .

[0073] Take the infrared modality as an example. In order to better learn the global information of the image, E x,p After three linear functions, we can get Q x , K x and V x , and sent to the unimodal self-attention mechanism module and the fully connected module FFN to obtain the feature Z with infrared global information x Among them, the execution mode of the unimodal self-attention mechanism module is shown in formula (3), and the execution mode of the fully connected module is shown in formula (4).

[0074]

[0075] Z x = LN(FFNE′ x )+E′ x ) (4)

[0076] Among them, LN(·) is layer normalization, softmax(·) is the activation function, and d is Q x The number of feature channels, FFN(·) consists of two fully connected layers. The visible light modality uses the same method to obtain the feature Z with visible light global information y .

[0077] In order to better learn the complementary information of bimodal images, the feature Z x and Z yAfter three linear functions respectively, we get Q′ x , K′ x , V′ x and Q′ y , K′ y , V′ y , and sent to the cross-modal self-attention mechanism module and the fully connected module FFN to obtain the feature Z′ with both unimodal global information and bimodal complete information x,y Among them, the execution mode of the cross-modal self-attention mechanism module is shown in equations (5)-(6), and the execution mode of the fully connected module is shown in equations (7)-(8).

[0078]

[0079]

[0080] Z xy = LN(FFNE′ xy )+E′ xy ) (7)

[0081] Z yx = LN(FFNE′ yx )+E′ yx ) (8)

[0082] Z′ x,y =Z xy +Z yx (9)

[0083] Among them, LN(·) is layer normalization, softmax(·) is the activation function, and d is Q′ x , Q′ y FFN(·) consists of two fully connected layers.

[0084] ④ In order to further explore the features of high-level images, repeat the above step ③ twice. Before each operation, use the linear layer to transform the infrared feature vector E x,p and the visible light eigenvector E y,p The first dimension of the feature dimension is reduced by half, and the second dimension of the feature dimension is doubled, and the feature Z″ with the same unimodal global information and bimodal complete information is obtained in turn. x,y , Z″′ x,y .

[0085] ⑤Z′ x,y , Z″ x,y , Z″′ x,y Reshape the features to obtain the feature f′ that can be used for convolution operation x,y ∈R h ×w×c , Where h, w, and c are the length, width, and number of channels of the feature map, respectively.

[0086] (3) Multi-scale feature extraction

[0087] like Figure 4 As shown in the figure, the multi-scale feature extraction module is used to extract the fused bimodal features f′ x,y , f″ x,y , f″ x,y Perform adaptive perception operations for large and small objects, making full use of the semantic information of high-level features and the fine-grained features of the underlying layers. The specific steps include:

[0088] ①For feature f′ x,y , the feature f″ x,y , f″′ x,y The resolution of each is converted to the same as f′ through upsampling operation. x,y Keep it consistent, and then get the fusion representation R1 by channel splicing. The upsampling operation is achieved by linear interpolation.

[0089] ②For feature f″ x,y , the feature f′ x,y , f″′ x,y The resolution is converted to the same value as f″ through downsampling and upsampling operations. x,y Keep it consistent, and then get the fusion representation R2 by channel splicing. The upsampling operation is implemented by linear interpolation, and the downsampling operation is implemented by maximum pooling with a step size of 2.

[0090] ③For feature f″′ x,y , the feature f′ x,y , f″ x,y The resolution of each of them is converted to the same value as f″′ by downsampling operation. x,y Keep it consistent, and then get the fusion representation R3 by channel splicing. x,y The downsampling operation is achieved by two maximum pooling operations with a step size of 2. x,y The downsampling operation is achieved through a maximum pooling with a stride of 2.

[0091] (4) Target classification and regression

[0092] like Figure 1 As shown in the figure, the multi-scale fusion features are classified and regressed to obtain the final ship target position and category information. The specific steps include:

[0093] ① For the three classification prediction feature maps R1, R2, and R3, generate a priori target boxes of different sizes, and output the classification score vector of the dimension "number of categories × number of prior boxes" through the classification convolution layer, and output the regression vector of the dimension "3 × number of prior boxes" through the regression convolution layer. For the setting of the prior box, for each grid of the feature map, the number of detection boxes is 6.

[0094] ② Considering that a true target may be covered by multiple detection frames, the non-maximum suppression algorithm NMS is used to filter out repeated detection frames to form the final ship target detection and recognition results. The NMS threshold can be set to 0.45.

[0095] ③ In order to train the overall infrared and visible light target recognition network, endpoint loss, regression and classification loss are used to measure the differences between image registration results, target detection results and true labels, and the network is trained and optimized by minimizing the loss function.

[0096] The target recognition network loss function is as follows:

[0097]

[0098]

[0099]

[0100]

[0101]

[0102]

[0103] In formula (10), L represents the loss function; M is the number of training samples; α is the weight coefficient, which is set to 1. In formulas (11)-(13), CrossEntropy(·) and SmoothL1(·) represent the cross entropy error and smooth L1 norm error respectively; p = (p1,…,p k ,…,p N ) represents the probability vector of the detected bounding box being judged as each category, N is the total number of classification categories, and the values ​​in the vector p have the following characteristics:

[0104]

[0105] Represents the category annotation vector of the true value bounding box. N has the same meaning as before. The vector p * There is a value of 1 (the index position of this value corresponds to the annotation category of the ground truth bounding box), and the other values ​​are 0, which is called one-hot representation:

[0106]

[0107] The operator log represents the natural logarithm; the detection bounding box, the true bounding box, and the prior bounding box are represented by (x, y, w, h, (x * ,y * , w * ,h * )、(x a ,y a , w a ,h a ), (x, y), w, and h represent the center point coordinates, width, and height of the bounding box, respectively. In formula (14), φ gt (·) represents the true value information of the registration between the infrared image and the visible light image, ‖·‖2 represents the L2 norm, and H and W are the length and width of the image (the infrared and visible light images are of the same size).

[0108] The target recognition network loss function L is minimized and optimized using the momentum-based stochastic gradient descent method (Momentum):

[0109]

[0110] W←W+v (18)

[0111] Among them, W is the network weight parameter; is the gradient of the loss function with respect to the weight parameter; β is the momentum factor, which is set to 0.9; η is the learning rate (used to control the speed of gradient descent), which is set to 0.0005.

[0112] When training the target recognition network, the batch size of training samples is set to 16; the total number of iterations in the training process is set to 120 epochs, and one epoch means that all training data in the learning process are used once.

[0113] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.

[0114] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for infrared and visible light target recognition based on image registration, characterized in that: include: Construct a dense mapping module as an image registration network, and register the unregistered images taken by infrared and visible light cameras through the image registration network; The registered infrared and visible light bimodal images are sent to the feature interactive fusion module for cross-modal interactive learning to obtain bimodal image features with complementary information. The multi-scale feature extraction module is used to perform adaptive perception operations on large and small objects on the fused bimodal image features, so that features of different sizes can be fused; The fused features of different sizes are classified and regressed to obtain the final ship target position and category information.

2. The method according to claim 1, characterized in that The dense mapping module is constructed as an image registration network, and unregistered images taken by infrared and visible light cameras are registered through the image registration network, including: For the unregistered images taken by infrared and visible light cameras, a dense mapping module is used to estimate the deformation field between the unregistered images taken by infrared and visible light cameras; The estimated deformation field is used to resample the unregistered infrared image to obtain the registered infrared image.

3. The method according to claim 2, characterized in that The dense mapping module consists of a pyramid feature extractor and a flow estimator. The pyramid feature extractor consists of four layers of convolution operations to extract multi-scale features of bimodal images. The flow estimator consists of three identical flow estimation blocks, each of which contains a channel splicing operation, four convolution operations, and an upsampling operation.

4. The method according to claim 3, characterized in that The method of estimating the deformation field between the unregistered images taken by the infrared and visible light cameras using the dense mapping module includes: The infrared and visible light images are sent to the pyramid feature extractor to obtain the multi-scale features of infrared and visible light respectively. Starting from the second convolution layer, the features of the infrared and visible light images in the pyramid feature extractor will be used as the input of the flow estimator; In each flow estimation block, the infrared and visible light features are sequentially concatenated, convolved with four convolution kernels of size 1×1, upsampled, and added to the features in the upper flow estimation block; The output of the flow estimator is the deformation field from the infrared image to the visible light image.

5. The method according to claim 4, characterized in that To train the dense mapping module, the registered infrared and visible light bimodal image pairs in the public dataset are collected. At the same time, the infrared images in the registered image pairs are de-registered to form unregistered infrared and visible light image pairs with registration truth information as training data.

6. The method according to claim 5, characterized in that The registered infrared and visible light dual-modal images are sent to the feature interactive fusion module for cross-modal interactive learning to obtain dual-modal image features with complementary information, including: Registered infrared image and the visible light image x vis The infrared image feature extraction module and the visible light image feature extraction module are respectively sent to obtain the infrared image representation feature f inf And the visible light image representation feature f vis ; The infrared image features f inf and visible light image characterization features f vis Divide into N P×P feature blocks, each feature block passes through the fully connected layer to obtain a 1×C vector, and concatenate the N feature blocks to obtain a two-dimensional vector E of N×C size x and E y , respectively in the two-dimensional vector E x and E y Embed location information P x and P y , get the two-dimensional vector E with position information x,p and E y,p ; The infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y .

7. The method according to claim 6, characterized in that The infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y ,include: E x,p After three linear functions, we can get Q x , K x and V x , and sent to the unimodal self-attention mechanism module and the fully connected module to obtain the feature Z with infrared global information x ; E y,p After three linear functions, we can get Q y , K y and V y , and sent to the unimodal self-attention mechanism module and the fully connected module to obtain the feature Z with infrared global information y ; The feature Z x and Z y After three linear functions respectively, we get Q′ x , K′ x , V′ x and Q′ y , K′ y , V′ y , and sent to the cross-modal self-attention mechanism module and the fully connected module to obtain the feature Z′ with both unimodal global information and bimodal complete information x,y .

8. The method according to claim 7, characterized in that After obtaining the feature Z′ that has both unimodal global information and bimodal complete information x,y Afterwards, the method further comprises: Repeat the process to convert the infrared feature vector E x,p and the visible light eigenvector E y,p Send it to the feature interaction fusion module to obtain the bimodal feature Z′ with complementary information x,y Step 2, where the infrared feature vector E is transformed into x,p and the visible light eigenvector E y,p The first dimension of the feature is reduced by half, and the second dimension of the feature is doubled, and the feature Z″ with the same unimodal global information is obtained in turn. x,y and the characteristic Z″′ of bimodal complete information x,y ; Z′ x,y , Z″ x,y , Z″′ x,y Reshape the features to obtain the feature f′ that can be used for convolution operation x,y ∈R h×w×c , Among them, h, w, and c are the length, width, and number of channels of the feature map, respectively.

9. The method according to claim 8, characterized in that The multi-scale feature extraction module is used to perform large and small target adaptive perception operations on the fused dual-modal image features so that features of different sizes can be fused, including: For feature f′ x,y , the feature f x,y , f″′ x,y The resolution is converted to f′ by upsampling operation. x,y Keep it consistent, and then get the fusion representation R1 by channel splicing; For feature f″ x,y , the feature f′ x,y , f″′ x,y The resolution is converted to f″ by downsampling and upsampling operations respectively. x,y Keep it consistent, and then get the fusion representation R2 by channel splicing; For the feature f″′ x,y , the feature f′ x,y , f″ x,y The resolution is converted to f″′ by downsampling operation. x,y Keep it consistent, and then obtain the fusion representation R3 by channel splicing.

10. The method according to claim 9, characterized in that The fusion features of different sizes are classified and regressed to obtain the final ship target position and category information, including: For the three classification prediction feature maps R1, R2, and R3, generate prior target boxes of different scales, and output the classification score vector of the number of categories × the number of prior target boxes through the classification convolution layer, and output the regression vector of the number of 3 × the number of prior target boxes through the regression convolution layer. For the setting of the prior box, the number of detection boxes is the same for each grid of the feature map; The non-maximum suppression algorithm is used to filter out repeated detection frames to form the final ship target detection and recognition results.

Citation Information

Cited By

  • Infrared image and visible light image fusion method, system and device and storage medium

    CN119151802A

  • Target detection method and system based on infrared and visible light image fusion

    CN119649175A

  • Dynamic ship classification and identification method based on multi-modal mass change

    CN119810564A

  • Dynamic ship classification and recognition method based on multimodal mass changes

    CN119810564B

  • Marine dynamic monitoring method and system based on fused image

    CN119879856A