The present invention belongs to the field of target detection, and particularly relates to a method for infrared small target detection based on a depth map in a complex scene.
In recent years, with the development of military and civilian detectors and infrared thermal imaging technologies, target detection based on infrared images has been widely used in unmanned reconnaissance, vehicle obstacle avoidance, battlefield monitoring and wildlife protection. However, most target detection algorithms may fail in extremely complex infrared scenes. Because of having a small imaging area, an infrared small target carries a small amount of information, the heat exchange between the target and the surrounding environment makes the target have low contrast and lack shape, texture and other information; the surrounding background often contains disturbance of an object (for example, branch, wall or the like) which is similar to the small target in feature, making it easy to be obliterated in the complex background; moreover, as the distance between the target and a detector changes, the size of the target may change, so that infrared small target detection in a complex scene becomes a difficult problem.
At present, the traditional infrared target detection algorithms are roughly divided into three types including frame difference algorithm, background difference algorithm and optical flow algorithm. The frame difference algorithm extracts a motion region through binarization segmentation based on the time difference of pixels, is not easily affected by illumination but is sensitive to environmental noise, the overlapping part of targets between adjacent frames cannot be detected, and a camera is required to be fixed. The background difference algorithm is also limited by the camera fixing condition and it is difficult to model and update the background because the change of external illumination, the change of weather and the movement of the background may cause the dynamic change of a background image. The optical flow algorithm estimates a motion field according to the temporal-spatial gradient of an image sequence, and detects a motion object by analyzing the change of the motion field, the detection precision is high but the calculation process is complicated, so the real-time operation needs to be improved. The mean shift algorithm can complete the detection process well in the case of edge blocking and uneven background motion, is a no-parameter estimation method that does not require priori knowledge, but needs to carry out iterative calculation on the characteristic quantity of each pixel value, is large in calculation amount, and is poor in timeliness and anti-noise performance.
In order to solve the problems existing in the existing method, the present invention provides a method for infrared small target detection based on a depth map in a complex scene. The depth map refers to an image that takes the distance (depth) from an image sensor to each point in the scene as a pixel value, which directly reflects the geometry of a visible surface of an object in the scene. The method can detect static or dynamic infrared small targets in real time in an extremely complex scene by using depth map information and static and dynamic scoring strategies.
The technical solution of the present invention is as follows:
A method for infrared small target detection based on a depth map in a complex scene, comprising the following steps:
In step 5), the specific process of formulation of static and dynamic scoring strategies includes:
5-1) According to the static features of the target, using rectangularity, aspect ratio, region gray value, variation coefficient of connected component gray value, and circularity as static features, formulating static scoring strategies, wherein the calculation formula of each static feature is:
where Sk represents the area of the kth connected component, Srect represents the area of the smallest external rectangle of the kth connected component, widthk represents the width of the kth connected component, heightk represents the height of the kth connected component, Ii represents the pixel value of the pixel point I(x,y) in the connected component, wi represents the weight corresponding to the pixel value of the pixel point I(x,y), N represents the number of pixel points in the kth connected component, Imean represents the average gray value of the kth connected component, Imean=Σi=1NIi/N, Clk represents the circumference of the kth connected component, α, β, γ, δ and ε represent weights corresponding to the static features; RankSk represents a score of a static feature of the kth connected component.
5-2) According to dynamic features of the target, using area and distance as dynamic features, formulating dynamic scoring strategies.
where Speedk represents the movement speed of the kth connected component, speedmin represents the minimum known movement speed, speedmax represents the maximum known movement speed, Areak represents the area of the kth connected component, Areamin represents the minimum known connected component area, Areamax represents the maximum known connected component area; Θ1, θ2 represent corresponding speed weights, μ1, μ2 represent corresponding area weights, ζ, φ represent weights corresponding to dynamic features, and RankDk represents a score of a dynamic feature of the kth connected component.
The present invention has the advantageous effects that: the present invention designs a method for infrared small target detection based on a depth map in a complex scene. Infrared small targets are detected by using depth map information and static and dynamic scoring strategies, and single target or multiple targets are screened according to scores. The method has the following characteristics: (1) the method can screen out targets within a specific range, has high reliability; (2) has strong robustness; (3) is simple in program and easy to implement, can be used in sea, land and air, and has significant advantage under a complex jungle background.
The present invention provides a method for infrared small target detection based on a depth map in a complex scene which realizes the detection of infrared small targets in a complex scene by means of four steps, that is, setting of binary threshold, distance limitation, morphological processing and formulation of static and dynamic scoring strategies. The present invention is further described below in combination with the drawings and the embodiments.
As shown in
In step 5), the specific process of formulation of static and dynamic scoring strategies includes:
5-1) According to the static features of the target, using rectangularity, aspect ratio, region gray value, variation coefficient of connected component gray value, and circularity as static features, formulating static scoring strategies, wherein the calculation formula of each static feature is:
where Sk represents the area of the kth connected component, Srect represents the area of the smallest external rectangle of the kth connected component, widthk represents the width of the kth connected component, heightk represents the height of the kth connected component, Ii. represents the pixel value of the pixel point I(x,y) in the connected component, wi represents the weight corresponding to the pixel value of the pixel point I(x,y), N represents the number of pixel points in the kth connected component, Imean represents the average gray value of the kth connected component, Imean=Σi=1NIi/N, Lk represents the circumference of the kth connected component, α, β, γ, δ and ε represent weights corresponding to the static features; RankSk represents a score of a static feature of the kth connected component.
5-2) According to dynamic features of the target, using area and distance as dynamic features, formulating dynamic scoring strategies:
where Speedk represents the movement speed of the kth connected component, speedmin represents the minimum known movement speed, speedmax represents the maximum known movement speed, Areak represents the area of the connected component, Areamin represents the minimum known connected component area, Areamax represents the maximum known connected component area; θ1, θ2 represent corresponding speed weights, μ1, μ2 represent corresponding area weights, ζ, φ represent weights corresponding to dynamic features, and RankDk represents a score of a dynamic feature of the kth connected component.
Those skilled in the art can easily understand that the above only describes preferred embodiments of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and the principle of the present invention shall be contained within the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
202010027793.1 | Jan 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/077963 | 3/5/2020 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2021/138994 | 7/15/2021 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5978498 | Wilhelm | Nov 1999 | A |
20030035507 | Hsu | Feb 2003 | A1 |
Number | Date | Country |
---|---|---|
104240240 | Dec 2014 | CN |
107452033 | Dec 2017 | CN |
109002777 | Dec 2018 | CN |
109345472 | Feb 2019 | CN |
110310362 | Oct 2019 | CN |
5966935 | Aug 2016 | JP |
Number | Date | Country | |
---|---|---|---|
20220174256 A1 | Jun 2022 | US |