A false alarm suppression method for infrared target detection
By combining grayscale projection method, parallel straight line segment density detection, trajectory correlation and two-level voting method, the problem of false alarm suppression in existing infrared target detection is solved, and the recognition accuracy and real-time performance are improved, especially when the target is small and the contrast is high. low case.
Patent Information
- Application Number
- CN202111546599.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-12-16
AI Technical Summary
Existing infrared target detection methods have low recognition accuracy and high false alarm rate when the target is small and the contrast is low, making it difficult to effectively suppress false alarms.
This method uses a combination of grayscale projection method, parallel straight line segment density detection, trajectory correlation and two-level voting method to conduct multi-level detection and eliminate false alarms on surveillance videos, and conduct comprehensive identification through the trajectory information and limited information of the target.
It improves the recognition accuracy and real-time performance of infrared target detection, effectively suppresses false alarms, and improves the ability to identify small targets.
Smart Images

Figure CN114283293B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of target detection, and in particular relates to a false alarm suppression method for infrared target detection. Background Art
[0002] Existing infrared target detection usually adopts the following three methods: 1. Use the block matching algorithm to match the two frames before and after the video sequence, and then use the two frames to perform differential after matching to obtain the moving target. However, this algorithm has extremely high requirements for matching accuracy. Once the matching is wrong or the matching accuracy is low, a large number of false alarms will be generated, and this method will fail when the target is not moving; 2. Use the deep learning framework YOLO v3 to detect and identify infrared targets. Since the identified targets are small and the contrast is low, the recognition probability of this algorithm is only 70%; 3. Use the linear stretching method to enhance the contrast of the image, and then use the edge detection algorithm to detect the contour of the target. Use the contour information to detect the target. This method has a low recognition rate and a high false alarm rate for vehicle targets with a small area. Summary of the invention
[0003] The purpose of the embodiments of the present invention is to provide a false alarm suppression method for infrared target detection, aiming to solve the problems raised in the background technology.
[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0005] A method for suppressing false alarms in infrared target detection, the method specifically comprising the following steps:
[0006] The grayscale projection method is used to perform the first detection of prominent buildings in the surveillance video to eliminate false alarms;
[0007] Use the density of parallel straight line segments to perform a second detection of prominent buildings in surveillance videos to eliminate false alarms;
[0008] Perform trajectory correlation to eliminate false alarms for multiple frames of targets in surveillance video;
[0009] For suspected targets in surveillance videos, pipeline filtering trajectory extrapolation is used to eliminate false alarms;
[0010] The final target in the surveillance video is determined by a two-level voting method.
[0011] As a further limitation of the technical solution of the embodiment of the present invention, the first detection of the significant buildings in the surveillance video by the grayscale projection method to remove false alarms specifically includes the following steps:
[0012] Acquire a background image in the surveillance video;
[0013] Project the background image in the X direction, accumulate the grayscale values of all points with the same Y coordinate value and calculate the average value to obtain the grayscale mean;
[0014] The grayscale mean is compared with the grayscale value of the whole image, and the projections in the X direction whose grayscale mean is 1.3 times or more of the grayscale mean of the whole image are marked as significant buildings for removal.
[0015] As a further limitation of the technical solution of the embodiment of the present invention, the use of the density of parallel straight line segments to perform a second detection on the prominent buildings in the surveillance video to remove false alarms specifically includes the following steps:
[0016] Using the Sobel algorithm to perform image edge detection and extraction on the background image;
[0017] Hough transform is used to detect straight lines and obtain the straight line segment set of the building;
[0018] The building area is determined by calculating the line density of the line segment set;
[0019] The building area is eliminated.
[0020] As a further limitation of the technical solution of the embodiment of the present invention, the method of performing trajectory association and false alarm removal on multiple frames of targets in the surveillance video specifically includes the following steps:
[0021] Acquire multiple frames of images of the surveillance video;
[0022] Confirm the same target in multiple frames of images, and the basis for confirmation includes the area, brightness and position of the candidate target;
[0023] Target trajectories are associated with multiple frames of images, and candidate targets that cannot be associated are eliminated.
[0024] As a further limitation of the technical solution of the embodiment of the present invention, the method of taking pipeline filtering trajectory extrapolation to remove false alarms for suspected targets in the surveillance video specifically includes the following steps:
[0025] Identify the target objects in multiple frames of images;
[0026] If the target object appears more than 3 times within 5 consecutive frames, it is confirmed to be a real target;
[0027] If the target object appears 3 times or less within 5 consecutive frames, it is identified as a false target and excluded.
[0028] As a further limitation of the technical solution of the embodiment of the present invention, the determination of the final target in the surveillance video by the two-level voting method specifically includes the following steps:
[0029] Marking candidate targets in the fixed surveillance video;
[0030] The brightness, contrast and area information of the candidate targets are used for the first round of voting and scoring;
[0031] After comparing all candidate targets in pairs, the two candidate targets with the highest scores will undergo a second round of voting, and the candidate target with the highest score will be the final target to be intercepted.
[0032] As a further limitation of the technical solution of the embodiment of the present invention, the determining the final target in the surveillance video by the two-level voting method further includes the following steps:
[0033] Through multiple weak classifiers, false targets in some surveillance videos are eliminated.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] The embodiment of the present invention uses a grayscale projection method to perform a first detection on prominent buildings in surveillance videos to eliminate false alarms; uses the density of parallel straight line segments to perform a second detection on prominent buildings in surveillance videos to eliminate false alarms; performs trajectory association on multi-frame targets in surveillance videos to eliminate false alarms; uses pipeline filtering trajectory extrapolation to eliminate false alarms for suspected targets in surveillance videos; and determines the final target in the surveillance video through a two-level voting method. For situations where the target is small, the outline is unclear, and there is no texture information, the target's limited information and neighborhood information are comprehensively used, and the target's trajectory information is used to identify and eliminate false alarms, thereby improving recognition accuracy and real-time performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0037] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0038] Figure 2 The flowchart of removing false alarms during the first detection in the method provided by the embodiment of the present invention is shown.
[0039] Figure 3 The flowchart of the second detection and false alarm elimination in the method provided by the embodiment of the present invention is shown.
[0040] Figure 4 A flow chart of trajectory association false alarm elimination in the method provided by an embodiment of the present invention is shown.
[0041] Figure 5A flow chart of pipeline filter trajectory extrapolation and false alarm elimination in the method provided by an embodiment of the present invention is shown.
[0042] Figure 6 A flow chart of determining the final target using a two-stage voting method in the method provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution 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.
[0044] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0045] Specifically, a method for suppressing false alarms in infrared target detection comprises the following steps:
[0046] Step S101, performing a first detection on prominent buildings in the surveillance video by using a grayscale projection method to remove false alarms.
[0047] In the embodiment of the present invention, the grayscale projection method is mainly used for the possibility of large buildings in the data set. The high-frequency components of the buildings will cause a large number of false alarms. Therefore, the grayscale projection method can be used to preliminarily determine whether there are large buildings. The background image in the surveillance video is obtained, the background image is projected in the X direction, the grayscale sum of all points with the same Y coordinate value is accumulated and the average is calculated, and then compared with the grayscale mean of the whole image. The projection in the X direction with a grayscale mean of 1.3 times or more of the grayscale mean of the whole image is considered to be a possible significant building. Suspicious targets in the significant building area are eliminated as false targets.
[0048] Specifically, Figure 2 The flowchart of removing false alarms during the first detection in the method provided by the embodiment of the present invention is shown.
[0049] Among them, in the preferred embodiment provided by the present invention, the first detection of the prominent buildings in the surveillance video by the grayscale projection method to remove false alarms specifically includes the following steps:
[0050] Step S1011, obtaining a background image in the surveillance video.
[0051] Step S1012, projecting the background image in the X direction, accumulating the grayscales of all points with the same Y coordinate value and calculating the average value to obtain the grayscale mean value.
[0052] Step S1013, comparing the grayscale mean with the grayscale value of the entire image, and marking the projections in the X direction whose grayscale mean is 1.3 times or more of the grayscale mean of the entire image as significant buildings for elimination.
[0053] Furthermore, the infrared target detection false alarm suppression method further comprises the following steps:
[0054] Step S102: Use the density of parallel straight line segments to perform a second detection on the prominent buildings in the surveillance video to remove false alarms.
[0055] In the embodiment of the present invention, for some buildings, there are many parallel straight lines in the buildings. Hough transform is used to detect the straight lines, and the density of the straight lines is used to perform a second detection on the buildings. Specifically, the edge of the image is the position where the grayscale changes dramatically in the image. The image can be differentially operated to obtain the gradient of the image. The templates of the Sobel operator in the vertical and horizontal directions are as follows: Figure 5 As shown in the figure, the former can detect the horizontal edge in the image, while the latter can detect the vertical edge in the image. In practical applications, each pixel in the image is convolved with these two convolution kernels, and the sum is taken as the output. The result of the operation is an image that reflects the edge amplitude. In order to obtain complete edges, the threshold for edge extraction is set adaptively. The grayscale mean and grayscale variance of the entire frame image are obtained, and the edge threshold THRESH is set to the grayscale mean minus three times the standard deviation to achieve adaptive edge extraction. Through Sobel edge extraction and Hough transform, the set of straight line segments of the building can be obtained. There are a large number of straight line segments with nearly parallel directions in the contiguous buildings. By calculating the density of a large number of parallel straight lines, the location of the contiguous buildings can be finally determined. Determine the scope of the building area and delete the candidate targets in the area from the candidate target list.
[0056] Specifically, Figure 3 The flowchart of the second detection and false alarm elimination in the method provided by the embodiment of the present invention is shown.
[0057] Among them, in the preferred embodiment provided by the present invention, the use of the density of parallel straight line segments to perform a second detection on the prominent buildings in the surveillance video to remove false alarms specifically includes the following steps:
[0058] Step S1021, using the Sobel algorithm to perform image edge detection and extraction on the background image.
[0059] It is understandable that the Sobel algorithm is an important processing method in the field of computer vision. It is mainly used to obtain the first-order gradient of digital images. Its common application and physical meaning is edge detection. The Sobel operator is to detect the edge by taking the weighted difference of the grayscale values of the four areas of the top, bottom, left and right of each pixel in the image and reaching the extreme value at the edge.
[0060] Step S1022, using Hough transform to perform straight line detection to obtain a set of straight line segments of the building.
[0061] It can be understood that the basic principle of Hough transform is to transform the curve (including straight line) in the image space into the parameter space, and determine the description parameters of the curve by detecting the extreme points in the parameter space, so as to extract the regular curve in the image.
[0062] Step S1023, determining the building area range by calculating the line density of the straight line segment set.
[0063] Step S1024, removing the building area.
[0064] Furthermore, the infrared target detection false alarm suppression method further comprises the following steps:
[0065] Step S103, performing trajectory association to eliminate false alarms on multiple frames of targets in the surveillance video.
[0066] In the embodiment of the present invention, the surveillance video is processed frame by frame, and the same target may be detected in multiple frames. Therefore, it is necessary to associate the trajectories of the multiple frames of targets and use the spatial continuity of the targets to improve the detection probability and eliminate false alarms.
[0067] Specifically, Figure 4 A flow chart of trajectory association false alarm elimination in the method provided by an embodiment of the present invention is shown.
[0068] Among them, in the preferred embodiment provided by the present invention, the track association and false alarm removal of multiple frame targets in the surveillance video specifically includes the following steps:
[0069] Step S1031, obtaining multiple frames of images of the surveillance video.
[0070] Step S1032, confirming the same target in the multiple frames of images, where the basis for confirmation includes the area, brightness and position of the candidate target.
[0071] Step S1033, performing target trajectory association on multiple frames of images, and eliminating candidate targets that cannot be associated.
[0072] Furthermore, the infrared target detection false alarm suppression method further comprises the following steps:
[0073] Step S104: Pipeline filtering trajectory extrapolation is performed on the suspected target in the surveillance video to eliminate false alarms.
[0074] In the embodiment of the present invention, in the multi-frame image of the surveillance video, if the detected target appears more than 3 times within 5 consecutive frames, it will be confirmed as a real target. If this condition is not met, it can be considered as a false target and excluded. Pipeline filtering can solve the problem of single-frame detection failure and short-term target loss. If a candidate target is lost for a short time, the trajectory extrapolation algorithm is used to extrapolate the trajectory of the candidate target.
[0075] Specifically, Figure 5 A flow chart of pipeline filter trajectory extrapolation and false alarm elimination in the method provided by an embodiment of the present invention is shown.
[0076] Among them, in the preferred embodiment provided by the present invention, the pipeline filtering trajectory extrapolation to remove false alarms for the suspected target in the monitoring video specifically includes the following steps:
[0077] Step S1041, identifying the target object in the multiple frames of images.
[0078] Step S1042: If the target object appears more than 3 times within 5 consecutive frames, it is confirmed to be a real target.
[0079] Step S1043: If the target object appears 3 times or less within 5 consecutive frames, it is determined to be a false target and is excluded.
[0080] Furthermore, the infrared target detection false alarm suppression method further comprises the following steps:
[0081] Step S105, determining the final target in the surveillance video through a two-level voting method.
[0082] In an embodiment of the present invention, the first round of voting is first performed, using the brightness, contrast and area information of the candidate targets as voting basis, and the candidate targets with high brightness, strong contrast or large area have higher scores. All candidate targets are compared in pairs; the three voting bases are compared separately, if candidate target 1 is higher than candidate target 2, then candidate target 1 scores one point, and vice versa, candidate target 2 scores one point. After all candidate targets are compared in pairs, the two candidate targets with the highest scores will undergo a second round of voting. The brightness, contrast and area of the two candidate targets are compared, and the candidate target with the higher score is the target that needs to be intercepted.
[0083] Specifically, Figure 6 A flow chart of determining the final target using a two-stage voting method in the method provided by an embodiment of the present invention is shown.
[0084] Among them, in the preferred embodiment provided by the present invention, the determining the final target in the surveillance video by the two-level voting method specifically includes the following steps:
[0085] Step S1051, marking the candidate targets in the fixed surveillance video.
[0086] Step S1052, using the brightness, contrast and area information of the candidate targets to perform the first round of voting and score.
[0087] Step S1053, after comparing all candidate targets in pairs, the two candidate targets with the highest scores undergo a second round of voting, and the candidate target with the highest score is the final target to be intercepted.
[0088] Furthermore, in another embodiment of the present invention, the method of determining the final target in the surveillance video by the two-level voting method further includes the following steps:
[0089] Through multiple weak classifiers, false targets in some surveillance videos are eliminated.
[0090] In the embodiment of the present invention, a part of false targets can be eliminated by using a plurality of weak classifiers, and the remaining candidate targets are selected using a two-level voting method to select the candidate target with the highest probability as the final target to be intercepted.
[0091] In summary, the embodiments of the present invention can comprehensively use the limited information and neighborhood information of the target and the trajectory information of the target to identify and eliminate the target, thereby improving the recognition accuracy and real-time performance when the target is small, the outline is unclear, and there is no texture information.
[0092] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0093] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0094] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0095] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0096] 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 suppressing false alarms in infrared target detection, characterized in that: The method specifically comprises the following steps: The grayscale projection method is used to perform the first detection of prominent buildings in the surveillance video to eliminate false alarms; Use the density of parallel straight line segments to perform a second detection of prominent buildings in surveillance videos to eliminate false alarms; Perform trajectory correlation to eliminate false alarms for multiple frames of targets in surveillance video; For suspected targets in surveillance videos, pipeline filtering trajectory extrapolation is used to eliminate false alarms; Determine the final target in the surveillance video through a two-level voting method; The first detection of the prominent buildings in the surveillance video by the grayscale projection method to remove false alarms specifically comprises the following steps: Acquire a background image in the surveillance video; Project the background image in the X direction, accumulate the grayscale values of all points with the same Y coordinate value and calculate the average value to obtain the grayscale mean; The grayscale mean is compared with the grayscale value of the whole image, and the projections in the X direction whose grayscale mean is 1.3 times or more of the grayscale mean of the whole image are marked as significant buildings for elimination; The method of performing a second detection of significant buildings in the surveillance video using the density of parallel straight line segments to remove false alarms specifically comprises the following steps: Using the Sobel algorithm to perform image edge detection and extraction on the background image; Hough transform is used to detect straight lines and obtain the straight line segment set of the building; The building area is determined by calculating the line density of the line segment set; Eliminate the building area; The method of performing trajectory association and false alarm removal on multiple frames of targets in the surveillance video specifically comprises the following steps: Acquire multiple frames of images of the surveillance video; Confirm the same target in multiple frames of images, and the basis for confirmation includes the area, brightness and position of the candidate target; Perform target trajectory association on multiple frames of images and eliminate candidate targets that cannot be associated; The method of taking pipeline filtering trajectory extrapolation to remove false alarms for suspected targets in the surveillance video specifically includes the following steps: Identify the target objects in multiple frames of images; If the target object appears more than 3 times within 5 consecutive frames, it is confirmed to be a real target; If the target object appears 3 times or less within 5 consecutive frames, it is identified as a false target and excluded; Determining the final target in the surveillance video by the two-level voting method specifically includes the following steps: Marking candidate targets in the fixed surveillance video; The brightness, contrast and area information of the candidate targets are used for the first round of voting and scoring; After comparing all candidate targets in pairs, the two candidate targets with the highest scores will undergo a second round of voting, and the candidate target with the highest score will be the final target to be intercepted.
2. The infrared target detection false alarm suppression method according to claim 1, characterized in that: Determining the final target in the surveillance video by the two-level voting method also includes the following steps: Through multiple weak classifiers, false targets in some surveillance videos are eliminated.
Citation Information
Patent Citations
In-orbit moving target detecting method with space-based radar and infrared data fusion
CN106204629A
A method and apparatus for detecting infrared dim small targets under a complex background
CN109003277A
Target object state tracking method and device
CN112561957A
