Infrared weak and small target super-resolution reconstruction method based on optical flow motion

Through the super-resolution reconstruction method based on optical flow motion, the features of infrared weak and small targets are extracted and enhanced, combined with the Transformer model and softmax feature matching module, to solve the problem of identifying weak and small infrared targets in background clutter, and achieve efficient detail recovery and Recognition performance improved.

CN118735779AInactive Publication Date: 2024-10-01BEIJING SATELLITE INFORMATION ENG RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410739941.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Due to the long distance, low signal-to-noise ratio, and unclear boundaries of infrared weak and small targets in the image, it is difficult to identify them in the background clutter. It is difficult for existing technology to effectively perform super-resolution reconstruction.

Method used

A super-resolution reconstruction method based on optical flow motion is used to extract initial features through sequence images for enhancement and motion compensation. Combined with the Transformer model and softmax feature matching module, the self-attention module is used to restore the detailed information of weak and small infrared targets.

Benefits of technology

It effectively restores the fine structure of weak infrared targets, improves the peak signal-to-noise ratio and structural similarity, provides a practical super-resolution reconstruction technology, and improves recognition performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735779A_ABST
    Figure CN118735779A_ABST
Patent Text Reader

Abstract

The invention relates to an infrared weak and small target super-resolution reconstruction method based on optical flow motion, and the method comprises the steps: obtaining an initial feature of an infrared weak and small target based on a sequence image, carrying out the enhancement, and obtaining a first reference frame feature and a first neighborhood frame feature; combining the first reference frame feature, the first neighborhood frame feature, the reference frame and the neighborhood frame in pairs to form four groups of second features, and performing motion compensation to obtain two groups of third features; combining the third features with the reference frame to finally form two groups of fourth features, and inputting the two groups of fourth features into a feature enhancement module; the features output from the feature enhancement module are input to a softmax-based feature matching module; the features output by the feature matching module and one feature output by the feature enhancement module are input into a self-attention module; and a super-resolution reconstruction module is used to recover detail information of the infrared weak and small target. According to the method, the fine structure of the small target with large motion can be recovered, and the peak signal-to-noise ratio and the structural similarity are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of infrared dim small target super-resolution reconstruction, and in particular to an infrared dim small target super-resolution reconstruction method based on optical flow motion. Background Art

[0002] With the rapid development of infrared imaging technology and deep learning, the infrared small targets are far away from the imaging system, resulting in the target occupying only a few pixels on the image, generally less than 9 pixels. Infrared small targets have no clear outlines and boundaries, are very similar to noise points, have low signal-to-noise ratio, low contrast with the background, are easily submerged in background clutter, and are not easy for the human eye to distinguish.

[0003] Therefore, it is important to perform super-resolution reconstruction before infrared dim target recognition. Summary of the invention

[0004] In order to solve the technical problems existing in the above-mentioned prior art, the purpose of the present invention is to provide an infrared dim small target super-resolution reconstruction method based on optical flow motion, which can effectively restore the fine structure of infrared dim small targets and improve the performance of subsequent recognition.

[0005] To achieve the above-mentioned object of the invention, the present invention provides a super-resolution reconstruction method of infrared dim small targets based on optical flow motion, comprising the following steps:

[0006] Step S1, based on the sequence image, obtaining the initial features of the infrared weak small target, and enhancing them to obtain the first reference frame features and the first neighborhood frame features;

[0007] Step S2, combining the first reference frame feature, the first neighborhood frame feature, the reference frame and the neighborhood frame in pairs to form four groups of second features, and performing motion compensation to obtain two groups of third features;

[0008] Step S3, combining the third features with the reference frames respectively, finally forming two groups of fourth features, and inputting the two groups of fourth features into the feature enhancement module;

[0009] Step S4, inputting the features output from the feature enhancement module into a softmax-based feature matching module;

[0010] Step S5, inputting the feature output from the feature matching module and a feature output from the feature enhancement module in step S3 into the self-attention module;

[0011] Step S6: Use a super-resolution reconstruction module to restore the detail information of the infrared dim target.

[0012] According to a technical solution of the present invention, the step S1 specifically includes:

[0013] Step S11, inputting the sequence image into a 1x1 convolution to extract the initial features of the infrared weak target;

[0014] Step S12: input the initial features into the central difference residual group module, significantly enhance the features of the target, and obtain the first reference frame features and the first neighborhood frame features.

[0015] According to a technical solution of the present invention, the step S2 specifically includes:

[0016] The reference frame is sent to a 1x1 convolution Conv_q to extract features and obtain a feature map response centered on P0;

[0017] Send the neighborhood frame to a 1x1 convolution Conv_k to extract features and obtain the feature map response of the nth value in the neighborhood centered on P0;

[0018] The first reference frame feature and the first neighborhood frame feature are multiplied and then processed by the activation function to obtain an attention map;

[0019] The attention map is multiplied by the neighboring frame to obtain the local spatiotemporal attention feature centered on P0;

[0020] The local spatiotemporal attention module is used to calculate the response between the reference frame and its adjacent frames to generate an attention map. The generated attention map is used to calculate the weighted sum to implicitly align the neighborhood frames, and the complementary temporal information is combined to enhance the features of small objects to obtain the third feature.

[0021] According to a technical solution of the present invention, in step S3, the feature enhancement module selects a Transformer model.

[0022] According to a technical solution of the present invention, step S4 includes:

[0023] Step S41: Calculate the correlation between all points using the global correlation of the two sets of features output from the feature enhancement module. This is achieved by matrix multiplication. The calculation formula is as follows:

[0024]

[0025] Among them, C represents the correlation matrix, F1 and F2 represent the two sets of features output in the feature enhancement module, is the normalization factor;

[0026] Step S42: Use the softmax operation to normalize the last two dimensions of C to form a matching probability distribution. The calculation formula is as follows:

[0027] M=softmax(C)∈R H×W×H×W ;

[0028] Step S43, all positions in F1 and F2 are matched, and then the two-dimensional coordinates of the pixel grid G ​​are weighted averaged to obtain the corresponding G∈H×W×2 and the matching distribution M. The calculation formula is as follows:

[0029]

[0030] Step S44, the optical flow V is obtained by calculating the difference of the corresponding pixel coordinates, and the calculation formula is as follows:

[0031]

[0032] According to a technical solution of the present invention, the step S5 specifically includes:

[0033] The high-quality optical flow estimation results of the matching area are propagated to the unmatched area through the self-similarity of the features. This is implemented based on the self-attention layer. The calculation formula is as follows:

[0034]

[0035] in, The calculation formula is as follows:

[0036]

[0037] For optical flow prediction, the Transformer enhanced features are fed into the softmax differentiable matching layer.

[0038] According to a technical solution of the present invention, step S6 specifically includes:

[0039] The features output from the self-attention module are input into the residual group and convolutional layer to further extract features, and finally a high-resolution image is obtained by bicubic upsampling the reference frame image.

[0040] According to one aspect of the present invention, an electronic device is provided, comprising: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device performs a super-resolution reconstruction method of infrared dim small targets based on optical flow motion as described in any one of the above technical solutions.

[0041] According to one aspect of the present invention, a computer-readable storage medium is provided for storing computer instructions. When the computer instructions are executed by a processor, a super-resolution reconstruction method of infrared dim small targets based on optical flow motion as described in any of the above technical solutions is implemented.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] The present invention proposes a super-resolution reconstruction method for infrared dim small targets based on optical flow motion. By adding an optical flow motion module, the fine structure of a small target with large motion is effectively restored, the peak signal-to-noise ratio and structural similarity are improved, and a practical technical approach can be provided for super-resolution reconstruction of infrared dim small targets, which has great practical application value in the field of super-resolution reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 The overall flow chart of the infrared dim target super-resolution reconstruction method based on optical flow motion according to one embodiment of the present invention is schematically shown;

[0046] Figure 2 The overall network architecture diagram of an infrared dim target super-resolution reconstruction method based on optical flow motion according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0047] The description of the embodiments of this specification should be combined with the corresponding drawings, which should be considered as part of the complete specification. In the drawings, the shape or thickness of the embodiments may be enlarged and indicated for simplification or convenience. Furthermore, the parts of each structure in the drawings will be described separately. It is worth noting that the elements not shown in the drawings or not described in words are in a form known to ordinary technicians in the relevant technical field.

[0048] The description of the embodiments herein and any reference to directions and orientations are only for the convenience of description and are not to be construed as any limitation on the scope of protection of the present invention. The following description of the preferred embodiments may involve combinations of features, which may exist independently or in combination, and the present invention is not particularly limited to the preferred embodiments. The scope of the present invention is defined by the claims.

[0049] like Figure 1 and Figure 2 As shown, a super-resolution reconstruction method of infrared dim small targets based on optical flow motion of the present invention comprises the following steps:

[0050] Step S1, based on the sequence image, obtain the initial features of the infrared weak small target, and enhance them to obtain the first reference frame features and the first neighborhood frame features. The step S1 specifically includes:

[0051] Step S11, inputting the sequence image into a 1x1 convolution to extract the initial features of the infrared weak target;

[0052] Step S12: input the initial features into the central difference residual group module, significantly enhance the features of the target, and obtain the first reference frame features and the first neighborhood frame features.

[0053] Since the intensity and gradient of infrared weak targets and local background clutter are high in all directions, the center difference residual group module combines the center difference convolution and the residual group to achieve center-oriented gradient perception feature extraction. The center difference convolution gathers both intensity information and gradient information. The residual group provides a large receptive field and bypasses low-frequency information through short jump connections, allowing the backbone network to focus on high-frequency information.

[0054] Step S2, combining the first reference frame feature, the first neighborhood frame feature, the reference frame and the neighborhood frame in pairs to form four groups of second features, and performing motion compensation to obtain two groups of third features, wherein step S2 specifically includes:

[0055] The local spatiotemporal attention module first feeds the reference frame into a 1x1 convolution Conv_q to extract features and obtains a feature map response centered on P0. The neighborhood frame is fed into a 1x1 convolution Conv_k to extract features and obtains a feature map response of the nth value in the neighborhood centered on P0. The two features are multiplied and then processed with an activation function to obtain an attention map. Finally, the attention map and the neighborhood frame are dot-multiplied to obtain the local spatiotemporal attention feature centered on P0. The local spatiotemporal attention module is used to calculate the response between the reference frame and its adjacent frames to generate an attention map. The generated attention map is used to calculate the weighted sum to implicitly align the neighborhood frames, and the complementary temporal information is combined to enhance the features of small targets to obtain the third feature. In this way, the neighborhood frames can be implicitly aligned and the features of small targets can be enhanced by combining complementary temporal information.

[0056] Step S3, combining the third features with the reference frames respectively, finally forming two groups of fourth features, and inputting the two groups of fourth features into the feature enhancement module;

[0057] The two sets of third features are extracted independently from the weight-sharing convolutional network. In order to further consider the interdependence between them, the Transformer model is selected, which is particularly suitable for modeling the relationship between the two sets using the attention mechanism. Since the two sets of features have no concept of spatial position, fixed two-dimensional sine and cosine position encodings are first added to the features. Adding position information also allows the matching process to consider not only the similarity of the features, but also their spatial distance, which helps to eliminate ambiguity and improve performance.

[0058] Step S4, inputting the features output from the feature enhancement module into the softmax-based feature matching module, wherein step S4 includes:

[0059] Step S41: The two sets of features output from the feature enhancement module (Transformer) are used to calculate the correlation between all points through global correlation, which is achieved through matrix multiplication. The calculation formula is as follows:

[0060]

[0061] Among them, C represents the correlation matrix, F1 and F2 represent the two sets of features output in the feature enhancement module, is the normalization factor.

[0062] Step S42: One method to determine the corresponding relationship is to select the position with the highest correlation, but this method is not differentiable and has an impact on end-to-end training. A softmax-based feature matching module is used to solve this problem. The last two dimensions of C are normalized using the softmax operation to form a matching probability distribution. The calculation formula is as follows:

[0063] M=softmax(C)∈R H×W×H×W

[0064] In step S43, all positions in F1 and F2 are matched accordingly, and then the two-dimensional coordinates of the pixel grid G ​​are weighted averaged to obtain the corresponding G∈H×W×2 and the matching distribution M, and the calculation formula is as follows:

[0065]

[0066] Step S44, the optical flow V is obtained by calculating the difference of the corresponding pixel coordinates, and the calculation formula is as follows:

[0067]

[0068] Finally, the softmax-based feature matching module effectively solves the problem that end-to-end cannot be achieved, and this module can provide sub-pixel accuracy.

[0069] Step S5, inputting the feature output from the feature matching module and a feature output from the feature enhancement module in step S3 into the self-attention module;

[0070] Step S6: Use a super-resolution reconstruction module to restore the detail information of the infrared dim target.

[0071] The optical flow estimation method implicitly assumes that corresponding points are visible in both images, so they can be matched by comparing similarities. However, this assumption is invalid for occluded pixels and pixels outside the boundary. To alleviate this problem, it is observed that there is a certain structural similarity between the optical flow and the image itself, and it is proposed to propagate the high-quality optical flow estimation results of the matched area to the unmatched area through the self-similarity of the features. This operation can be achieved through a simple self-attention layer, and the calculation formula is as follows:

[0072]

[0073] in, The calculation formula is as follows:

[0074]

[0075] For optical flow prediction, the Transformer enhanced features are fed into the softmax differentiable matching layer.

[0076] In some embodiments of the present invention, the step S6 specifically includes:

[0077] The features output from the self-attention module are input into the residual group and convolutional layer to further extract features, and finally a high-resolution image is obtained by bicubic upsampling the reference frame image.

[0078] According to one aspect of the present invention, an electronic device is provided, comprising: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device performs an infrared dim target super-resolution reconstruction method based on optical flow motion as any one of the above technical solutions.

[0079] According to one aspect of the present invention, a computer-readable storage medium is provided for storing computer instructions. When the computer instructions are executed by a processor, a super-resolution reconstruction method of infrared dim small targets based on optical flow motion is implemented as described in any of the above technical solutions.

[0080] Computer-readable storage media may include any medium capable of storing or transmitting information. Examples of computer-readable storage media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments may be downloaded via computer networks such as the Internet, intranets, etc.

[0081] The invention discloses a super-resolution reconstruction method for infrared dim small targets based on optical flow motion, comprising: step S1, based on a sequence of images, obtaining the initial features of the infrared dim small targets, and enhancing them to obtain the first reference frame features and the first neighborhood frame features; step S2, combining the first reference frame features, the first neighborhood frame features, the reference frame and the neighborhood frame in pairs to form four groups of second features, and performing motion compensation to obtain two groups of third features; step S3, combining the third features with the reference frames respectively, finally forming two groups of fourth features, and inputting the two groups of fourth features into a feature enhancement module; step S4, inputting the features output from the feature enhancement module into a feature matching module based on softmax; step S5, inputting the features output from the feature matching module and a feature output from the feature enhancement module in step S3 into a self-attention module; step S6, using a super-resolution reconstruction module to restore the detail information of the infrared dim small targets. By adding the optical flow motion module, the fine structure of the small target with large motion is effectively restored, the peak signal-to-noise ratio and the structural similarity are improved, and a practical technical approach can be provided for super-resolution reconstruction of infrared dim small targets, which has great practical application value in the field of super-resolution reconstruction.

[0082] In addition, it should be noted that the present invention can be provided as a method, an apparatus or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0083] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks 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, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0084] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements 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 terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0085] It should also be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0086] Finally, it should be noted that the above is a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for those skilled in the art, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.

Claims

1. A super-resolution reconstruction method for infrared dim small targets based on optical flow motion, characterized in that: The following steps are involved: Step S1, based on the sequence image, obtaining the initial features of the infrared weak small target, and enhancing them to obtain the first reference frame features and the first neighborhood frame features; Step S2, combining the first reference frame feature, the first neighborhood frame feature, the reference frame and the neighborhood frame in pairs to form four groups of second features, and performing motion compensation to obtain two groups of third features; Step S3, combining the third features with the reference frames respectively, finally forming two groups of fourth features, and inputting the two groups of fourth features into the feature enhancement module; Step S4, inputting the features output from the feature enhancement module into a softmax-based feature matching module; Step S5, inputting the feature output from the feature matching module and a feature output from the feature enhancement module in step S3 into the self-attention module; Step S6: Use a super-resolution reconstruction module to restore the detail information of the infrared dim target.

2. The infrared dim small target super-resolution reconstruction method based on optical flow motion according to claim 1 is characterized in that: The step S1 specifically includes: Step S11, inputting the sequence image into a 1x1 convolution to extract the initial features of the infrared weak target; Step S12: input the initial features into the central difference residual group module, significantly enhance the features of the target, and obtain the first reference frame features and the first neighborhood frame features.

3. The infrared dim small target super-resolution reconstruction method based on optical flow motion according to claim 1 is characterized in that: The step S2 specifically includes: The reference frame is sent to a 1x1 convolution Conv_q to extract features and obtain a feature map response centered on P0; Send the neighborhood frame to a 1x1 convolution Conv_k to extract features and obtain the feature map response of the nth value in the neighborhood centered on P0; The first reference frame feature and the first neighborhood frame feature are multiplied and then processed by the activation function to obtain an attention map; The attention map is multiplied by the neighboring frame to obtain the local spatiotemporal attention feature centered on P0; The local spatiotemporal attention module is used to calculate the response between the reference frame and its adjacent frames to generate an attention map. The generated attention map is used to calculate the weighted sum to implicitly align the neighborhood frames, and the complementary temporal information is combined to enhance the features of small objects to obtain the third feature.

4. The infrared dim small target super-resolution reconstruction method based on optical flow motion according to claim 3 is characterized in that: In step S3, the feature enhancement module selects a Transformer model.

5. The infrared dim small target super-resolution reconstruction method based on optical flow motion according to claim 4 is characterized in that: The step S4 includes: Step S41: Calculate the correlation between all points using the global correlation of the two sets of features output from the feature enhancement module. This is achieved by matrix multiplication. The calculation formula is as follows: Among them, C represents the correlation matrix, F1 and F2 represent the two sets of features output in the feature enhancement module, is the normalization factor; Step S42: Use the softmax operation to normalize the last two dimensions of C to form a matching probability distribution. The calculation formula is as follows: M=softmax(C)∈R H×W×H×W ; Step S43, all positions in F1 and F2 are matched, and then the two-dimensional coordinates of the pixel grid G ​​are weighted averaged to obtain the corresponding G∈H×W×2 and the matching distribution M. The calculation formula is as follows: Step S44, the optical flow V is obtained by calculating the difference of the corresponding pixel coordinates, and the calculation formula is as follows:

6. The infrared dim small target super-resolution reconstruction method based on optical flow motion according to claim 5 is characterized in that: The step S5 specifically includes: The high-quality optical flow estimation results of the matching area are propagated to the unmatched area through the self-similarity of the features. This is implemented based on the self-attention layer. The calculation formula is as follows: in, The calculation formula is as follows: For optical flow prediction, the Transformer enhanced features are fed into the softmax differentiable matching layer.

7. The infrared dim small target super-resolution reconstruction method based on optical flow motion according to claim 5 is characterized in that: The step S6 specifically includes: The features output from the self-attention module are input into the residual group and convolutional layer to further extract features, and finally a high-resolution image is obtained by bicubic upsampling the reference frame image.

8. An electronic device, characterized in that: include: One or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device performs the infrared dim target super-resolution reconstruction method based on optical flow motion as described in any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, implement the infrared dim target super-resolution reconstruction method based on optical flow motion as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Sequence image infrared small target super-resolution method and device, equipment and storage medium

    CN113793268A

  • Optical flow estimation method based on multi-scale global cross matching

    CN115861647A