Infrared moving small target detection method based on inter-frame local dense feature matching

Through local dense feature matching and camera motion model based on Transformer, combined with morphological processing, the problems of low signal-to-noise ratio and high false alarm rate in infrared moving small target detection are solved, achieving more efficient and accurate target detection results.

CN118537531APending Publication Date: 2024-08-23CHINA ACADEMY OF SPACE TECHNOLOGY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410540514.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In complex backgrounds, it is difficult to detect small infrared moving targets, especially due to low signal-to-noise ratio and weak texture, which makes it difficult to effectively detect dim moving targets, and traditional feature point matching methods fail in low-resolution images, resulting in false alarm rates. high.

Method used

An end-to-end local dense feature matching method based on Transformer architecture is adopted to achieve robust matching of inter-frame images through feature extraction, Transformer encoding, coarse matching and fine matching modules. It combines camera motion model and morphological processing to suppress background noise and improve Target signal-to-noise ratio and detection accuracy.

Benefits of technology

It achieves more efficient and accurate infrared moving small target detection in low signal-to-noise ratio environments, reduces false alarm rates, improves detection performance and accuracy, and is suitable for infrared images with weak textures and blurred areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537531A
    Figure CN118537531A
Patent Text Reader

Abstract

An infrared moving small target detection method based on inter-frame local dense feature matching comprises the following steps: firstly, determining an end-to-end local dense feature matching method based on a Transform architecture, and hierarchically matching features from coarse to fine so as to realize robust inter-frame image matching; after the matching points are determined, inter-frame background motion parameters are solved, and a background suppression result is obtained through inter-frame difference; in order to reduce the false alarm rate and improve the detection performance, noise interference is eliminated through morphological transformation, and finally a target detection result is output. According to the method, the problem of low signal-to-noise ratio dark moving target detection is solved, the detection efficiency can be improved, the false alarm rate is reduced, and the detection accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of target detection, and in particular to a method for detecting infrared moving small targets based on local dense feature matching between frames. Background Art

[0002] Infrared moving small target detection technology, in actual application scenarios, usually needs to detect and track suspicious infrared moving targets in a large field of view and at a long distance, and obtain the target position. However, when the distance is far, the moving target has a small pixel ratio in the image, or even only a few pixels, lacks texture and structural features, and is easily submerged in background noise due to its low signal-to-noise ratio, making it difficult to detect the target.

[0003] Therefore, how to effectively suppress background noise and improve the target signal-to-noise ratio under a complex background, and realize the detection of dim and weak moving small targets has become the key to the problem. The commonly used background suppression methods based on spatial domain and frequency domain will lead to the enhancement of background noise edges while improving the target signal-to-noise ratio, thereby affecting the false alarm rate. The method based on background differential compensation can effectively remove the influence of background noise on weak and small targets and reduce false alarms. This method specifically models the motion characteristics of the background, solves and compensates the motion parameters to obtain the motion information of the target, and then realizes background suppression. In previous studies, the method based on background differential compensation often determines the matching point pairs between frames by extracting image feature points, but most infrared images have lower resolution, weaker texture and image blur compared to general visible light images. Especially in the detection scene of space targets, traditional image matching methods based on feature points (such as SIFT, SURF, etc.) are based on local sparse features. When the image features are not rich enough, the feature points cannot be effectively detected, which leads to the failure of the matching task. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art, solve the problem of detecting dim and weak moving targets with low signal-to-noise ratio, improve detection efficiency, reduce false alarm rate, and improve detection accuracy.

[0005] The purpose of the present invention is achieved through the following technical solutions:

[0006] A method for detecting infrared moving small targets based on inter-frame local dense feature matching is firstly determined based on the Transformer architecture, which can match features from coarse to fine levels to achieve robust inter-frame image matching; after determining the matching points, the inter-frame background motion parameters are solved, and then the background suppression result is obtained by inter-frame difference; in order to reduce the false alarm rate and improve the detection performance, the morphological transformation is used to eliminate noise interference, and finally the target detection result is output, such as Figure 1 shown.

[0007] Specifically include:

[0008] ① Local dense feature matching

[0009] The present invention designs a coarse-to-fine matching process through a local dense feature matching method. The neural network based on Transformer position encoding and attention mechanism can detect denser local features, thereby establishing an infrared image matching method that is more suitable for weak texture and blurred areas.

[0010] The matching method has four modules, namely feature extraction module, Transformer encoding module, coarse matching module and fine matching module. The specific process is to input the image pair to be matched into the model, extract multi-scale features by fusing the feature pyramid backbone network, and then use the Transformer module to encode the features of different scales by self-attention and cross-attention respectively. The coarse matching module outputs coarse matching points by constructing the cost matrix and confidence matrix. The fine matching module fine-tunes the coarse matching results through high-resolution features and outputs sub-pixel matching points to achieve higher-precision matching results, such as Figure 2 shown.

[0011] ②Determination of background motion parameters

[0012] When the camera is shooting a high-speed infrared target, the large-scale and long-distance background generally remains relatively still, and the camera performs a rigid body transformation consisting of rotation and translation. According to the principle of multi-view stereo geometry, once the camera transformation method between two frames under different viewpoints is known, the coordinates of the corresponding pixel points on the current frame image in another frame can be obtained.

[0013] The camera motion model is used to describe the motion of the camera. R is used to represent the rotation transformation and t is used to represent the translation transformation. The mathematical formula is:

[0014]

[0015] Among them, (x t ,y t ,z t ) is the position of the image at time t, (x t+Δt ,y t+Δt ,z t+Δt ) is the position after Δt.

[0016] By selecting n groups of feature point pairs detected by the local dense feature matching method and solving the above parameters, the motion state of the camera can be determined.

[0017] ③ Background compensation and suppression

[0018] Define a frame image as the reference fb , according to the current frame f k The corresponding camera motion state can be used to know the compensation coordinates of each point on the reference compared to the current frame background, and the compensated image f is obtained. k '.

[0019] The compensated image f k ' and the reference image f b Perform inter-frame difference processing to obtain background suppression result D k , that is, f k ' and f b Difference is made in the grayscale value corresponding to the pixel position (x, y).

[0020] D k (x,y)=|f k '(x,y)-f b (x,y)|

[0021] At this time, D k The background has been removed by differential, and only the foreground target remains in the image, which means the target has been successfully detected.

[0022] ④Morphological processing

[0023] Due to noise interference, there may be false detections of detected targets. Therefore, the erosion operator is used to remove isolated points in the binary image, and the dilation operator is used to cluster similar targets to improve the detection performance.

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

[0025] (1) Aiming at the problem of difficulty in detecting infrared moving small targets due to low signal-to-noise ratio, the present invention proposes an infrared moving small target detection method based on local dense feature matching between frames. Instead of directly detecting dim targets, the target signal-to-noise ratio is improved by suppressing background noise, ultimately achieving more accurate target detection.

[0026] (2) The local dense feature matching method between frames can achieve more effective and higher-precision matching results compared to sparse feature point matching, and is more suitable for infrared images with sparse features.

[0027] (3) The matching method used in the present invention fully considers the characteristics of the image and adopts a matching idea from coarse to fine levels. Combined with the Transformer-based position encoding and attention mechanism of the neural network, it can detect more dense local features, thereby establishing an infrared image matching method that is more suitable for weak texture and blurred areas.

[0028] (4) Using morphological processing methods on detected potential targets can effectively reduce the false alarm rate and improve target detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 The figure is a flow chart of the steps of the method of the present invention.

[0030] Figure 2 It is the local dense feature matching map. DETAILED DESCRIPTION

[0031] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0032] A method for detecting small infrared moving targets based on local dense feature matching between frames. The flowchart is as follows: Figure 1 As shown, the following steps are included: Step 1: Based on the end-to-end local dense feature matching method, the inter-frame image matching results are obtained; Step 2: According to the matching results, a camera motion model is established to solve the background motion parameters; Step 3: According to the motion state of the camera, the compensation image is calculated to further obtain the background suppression result; Step 4: The detection results are morphologically processed to improve the detection performance.

[0033] Step 1, based on the end-to-end local dense feature matching method, obtain the inter-frame image matching results. The present invention designs a coarse-to-fine matching process through the local dense feature matching method. The neural network based on the Transformer position encoding and attention mechanism can detect more dense local features, and then establish an infrared image matching method that is more suitable for weak texture and fuzzy areas. The matching method has a total of 4 modules, namely, the feature extraction module, the Transformer encoding module, the coarse matching module and the fine matching module. The specific process is to input the image pair to be matched into the model, extract multi-scale features by fusing the feature pyramid backbone network, and then use the Transformer module to perform self-attention and cross-attention encoding on the features of different scales. The encoded features are respectively input into the coarse matching module and the fine matching module, wherein the coarse matching module outputs the coarse matching points by constructing the cost matrix and the confidence matrix, and the fine matching module fine-tunes the coarse matching results through high-resolution features, and outputs sub-pixel matching points to achieve higher precision matching results.

[0034] Step 2: Based on the matching results, a camera motion model is established to solve the background motion parameters. According to the principle of multi-view stereo geometry, once the camera transformation between two frames under different perspectives is known, the coordinates of the corresponding pixel points on the current frame image in another frame can be obtained. Select n groups of feature point pairs detected by the local dense feature matching method, solve the above parameters, and the camera motion state can be determined.

[0035] Step 3: According to the motion state of the camera, the compensation image is calculated to further obtain the background suppression result. Define a frame image as the reference. According to the motion state of the camera, the current frame background can be compared with the compensation coordinates of each point on the reference to obtain the compensation image. The compensation image and the reference image are subjected to inter-frame difference processing to obtain the background suppression result, which is the preliminary detected target.

[0036] Step 4: Perform morphological processing on the detection results after background suppression to improve the detection performance and obtain the final detected target. Use the erosion operator to remove isolated points in the binary image, and then use the dilation operator to cluster similar targets to improve the detection performance.

[0037] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.

[0038] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.

Claims

1. A method for detecting infrared moving small targets based on local dense feature matching between frames. It is characterized in that include: Based on the end-to-end local dense feature matching method, the inter-frame image matching results are obtained; According to the inter-frame image matching results, a camera motion model is established to solve the background motion parameters and determine the camera motion state; According to the motion state of the camera, a compensation image is obtained and further a detection result after background suppression is obtained, which is the preliminary detected target; Morphological processing is performed on the results after background suppression to improve the detection performance and obtain the final detected target.

2. According to claim 1, the infrared moving small target detection method based on local dense feature matching between frames, It is characterized in that The matching method includes: inputting the image pair to be matched into the model, extracting multi-scale features by fusing the feature pyramid backbone network, and then using the Transformer module to encode the features of different scales by self-attention and cross-attention respectively; performing coarse matching and fine matching on the encoded features respectively, wherein the coarse matching outputs coarse matching points by constructing a cost matrix and a confidence matrix, and the fine matching fine-tunes the coarse matching results by high-resolution features, and outputs sub-pixel matching points to achieve more accurate matching results.

3. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 1, It is characterized in that By selecting n groups of feature point pairs detected by the local dense feature matching method, the background motion parameters are solved and the motion state of the camera is determined.

4. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 3, It is characterized in that According to the principle of multi-view stereo geometry, based on the camera transformation method between two frames under different viewpoints, the coordinates of the corresponding pixel points on the current frame image in another frame are obtained as feature point pairs.

5. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 4, It is characterized in that The camera motion model is used to describe the motion of the camera. R is used to represent the rotation transformation and t is used to represent the translation transformation. The mathematical formula is: Among them, (x t ,y t ,z t ) is the position of the image at time t, (x t+Δt ,y t+Δt ,z t+Δt ) is the position after Δt.

6. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 1, It is characterized in that Define a frame image as the reference, determine the compensation coordinates of each point on the reference compared to the current frame background according to the camera's motion state, and obtain the compensated image.

7. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 6, It is characterized in that The compensation image and the reference image are subjected to frame difference processing to obtain the background suppression result.

8. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 7, It is characterized in that The compensation image f′ k and the reference image f b Perform inter-frame difference processing to obtain background suppression result D k , that is, f′ k and f b Difference of the grayscale value corresponding to the pixel position (x, y): D k (x,y)=|f′ k (x,y)-f b (x,y)|。 9. The infrared moving small target detection method based on inter-frame local dense feature matching according to claim 1, It is characterized in that Morphological processing includes using the erosion operator to remove isolated points from the binary image and then using the dilation operator to cluster similar objects.

10. A computer-readable storage medium having computer program instructions stored thereon, wherein when the computer program instructions are loaded and executed by a processor, the processor is caused to execute the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Small infrared moving target detection method based on complicated background estimation

    CN104463911A

  • Double-waveband fusion target extraction method based on key point matching

    CN111161308A

  • Method for detecting moving small target in complex scene

    CN112364865A

  • Infrared image background suppression method based on image edge recovery filter

    CN116977199A

  • Deep learning based robot target recognition and motion detection method, storage medium and apparatus

    US11763485B1