Real-time weak and small moving target detection method based on space-time parallel coupling robust principal component analysis
By employing a spatiotemporal parallel coupled robust principal component analysis method, target information is directly extracted from the sparse matrix, solving the problems of low efficiency and poor accuracy in the detection of weak moving targets, and achieving efficient and accurate target detection.
Patent Information
- Application Number
- CN202411647983.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-18
AI Technical Summary
Existing technologies are ineffective at detecting weak moving targets, especially in complex backgrounds, and traditional methods suffer from low detection efficiency, high false alarm rate, and high false negative rate.
A spatiotemporal parallel coupled robust principal component analysis method is adopted. By constructing coarse-grained and fine-grained sparse decomposition problems, the sparse decomposition problem is solved using the Lagrange multiplier algorithm. Combined with the edge continuity clustering detection algorithm, target information is directly extracted from the sparse matrix, eliminating the background modeling process and directly detecting weak moving targets.
It improves the accuracy and efficiency of detection, reduces the false alarm rate and the missed detection rate, and can better adapt to changes in the camera's field of view and background area, significantly improving the ability to detect weak moving targets.
Smart Images

Figure CN119540534A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of motion target detection, and in particular to a method, device, equipment and medium for real-time weak motion target detection by time-space parallel coupling robust principal component analysis. Background Art
[0002] Weak moving target detection is a key and difficult problem in the field of target detection. On the one hand, weak targets themselves contain little information and are not obvious compared with noise. Whether using radar, sonar, infrared or camera detection equipment, there are serious detection problems; on the other hand, some weak targets such as drones carrying warheads can pose a serious security threat.
[0003] Xixi Chen et al. proposed a radar weak target detection method based on robust principal component analysis. The detection performance of weak targets in complex backgrounds is better than that of general methods. However, due to the working characteristics of the radar itself, this method has great difficulties in detecting weak targets with slow movement speeds such as drones, unmanned vehicles, and airships. Prashant W. Patil et al. proposed an end-to-end moving target detection network. Compared with the comparison method, this method performs best in detection indicators such as prediction rate, recall rate, and F1 index. However, due to the characteristics of the deep convolutional neural network itself, this method is difficult to effectively detect weak moving targets.
[0004] At present, the detection of common weak moving targets is still mainly based on visual detection equipment such as infrared and cameras. Among them, most moving target detection methods, including deep learning, optical flow, background modeling, etc., have poor ability to detect weak moving targets. Summary of the invention
[0005] In view of this, the embodiments of the present application propose a time-space parallel coupling robust principal component analysis real-time weak motion target detection method, device, equipment and medium, aiming to better adapt to changes in the camera field of view and background area, while effectively improving the detection accuracy, reducing the false alarm rate and missed detection rate, and improving the operating efficiency of the method.
[0006] To achieve the above-mentioned objectives, an embodiment of the present application provides a real-time weak motion target detection method by robust principal component analysis with time-space parallel coupling, including: obtaining image data to be detected, and constructing a time-space data matrix based on the image data to be detected; constructing a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem based on the time-space data matrix, respectively, wherein the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extreme sparse matrix to be solved, and the fine-grained sparse decomposition problem is constructed based on an extreme low-rank matrix to be solved and a rough sparse matrix to be solved; solving the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem respectively based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix; processing the rough low-rank matrix and the extreme low-rank matrix using an edge continuity clustering detection algorithm to obtain a target image matrix, and determining a weak motion target detection result based on the target image matrix.
[0007] Optionally, the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extremely sparse matrix to be solved, including: constructing a first objective function based on the sum of a kernel function of the rough low-rank matrix to be solved and an L1 norm of the extremely sparse matrix to be solved with a first weighting coefficient, wherein the rough low-rank matrix to be solved and the extremely sparse matrix are obtained based on the decomposition of the spatiotemporal data matrix.
[0008] Optionally, the fine-grained sparse decomposition problem is constructed based on the extreme low-rank matrix to be solved and the rough sparse matrix to be solved, including: constructing a second objective function based on the sum of the kernel function of the extreme low-rank matrix to be solved and the L1 norm of the rough sparse matrix to be solved with a second weighting coefficient, wherein the extreme low-rank matrix to be solved and the rough sparse matrix to be solved are obtained based on the decomposition of the spatiotemporal data matrix.
[0009] Optionally, the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are respectively solved based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix, including: solving the minimum value of the first objective function based on an inexact augmented Lagrange multiplier algorithm to obtain a rough low-rank matrix; solving the minimum value of the second objective function based on an exact Lagrange multiplier algorithm to obtain the extreme low-rank matrix.
[0010] Optionally, the use of an edge continuity clustering detection algorithm to process the rough low-rank matrix and the extreme low-rank matrix to obtain a target image matrix includes: obtaining a first coordinate set in the rough low-rank matrix whose matrix values are greater than a first preset value; determining a second coordinate set in the low-rank matrix to be solved that is the same as the first coordinate set based on the first coordinate point set; determining a third coordinate set that belongs to a connected area with the second coordinate set according to the edge continuity clustering detection algorithm; determining non-zero values and zero values in the extreme low-rank matrix to be solved based on the third coordinate set; and obtaining the target image matrix based on the non-zero values and zero values in the extreme low-rank matrix to be solved, wherein the first preset value and the second preset value are both greater than or equal to zero and less than or equal to 1, and the first preset value is much larger than the second preset value.
[0011] Optionally, determining a third coordinate set that belongs to a connected area with the second coordinate set based on an edge continuity clustering detection algorithm includes: detecting coordinate points around the second coordinate set that are connected to each coordinate point in the second coordinate set based on a Canny operator or a deep continuous clustering algorithm; and obtaining the third coordinate set based on coordinate points connected to each coordinate point in the second coordinate set.
[0012] Optionally, the spatiotemporal parallel coupled robust principal component analysis real-time weak motion target detection method also includes: obtaining the background image matrix based on the difference between the spatiotemporal data matrix and the target image matrix, and obtaining the background image based on the background image matrix.
[0013] To achieve the above-mentioned objectives, an embodiment of the present application also provides a real-time weak motion target detection device using robust principal component analysis with time-space parallel coupling, comprising: an acquisition module, used to acquire image data to be detected, and construct a time-space data matrix based on the image data to be detected; a processing module, used to construct a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem based on the time-space data matrix, respectively, wherein the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extreme sparse matrix to be solved, and the fine-grained sparse decomposition problem is constructed based on an extreme low-rank matrix to be solved and a rough sparse matrix to be solved, and the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are respectively solved based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix; an output module, used to process the rough low-rank matrix and the extreme low-rank matrix using an edge continuity clustering detection algorithm to obtain a target image matrix, and determine a weak motion target detection result based on the target image matrix.
[0014] To achieve the above-mentioned purpose, an embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the real-time weak motion target detection method using robust principal component analysis with time-space parallel coupling provided in any one of the aforementioned embodiments.
[0015] To achieve the above objectives, an embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the above-mentioned time-space parallel coupling robust principal component analysis real-time weak motion target detection method.
[0016] The embodiments of the present application propose a method, device, equipment and medium for real-time small motion target detection by robust principal component analysis with time-space parallel coupling, including: obtaining image data to be detected, and constructing a time-space data matrix based on the image data to be detected; constructing a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem based on the time-space data matrix, wherein the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extreme sparse matrix to be solved, and the fine-grained sparse decomposition problem is constructed based on an extreme low-rank matrix to be solved and a rough sparse matrix to be solved; solving the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem respectively based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix; processing the rough low-rank matrix and the extreme low-rank matrix using an edge continuity clustering detection algorithm to obtain a target image matrix, and determining a small motion target detection result based on the target image matrix. The present invention can directly abandon the background modeling process, can directly detect the target from the sparse matrix, and improve the efficiency of target detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a process of a real-time weak moving target detection method using a time-space parallel coupled robust principal component analysis provided in an embodiment of the present application. Figure 1 ;
[0018] Figure 2 The process of a real-time weak moving target detection method using time-space parallel coupling robust principal component analysis is provided in an embodiment of the present application. Figure 2 ;
[0019] Figure 3 It is provided in one embodiment of the present application, that is, four matrices generated during the operation of the time-space parallel coupling robust principal component analysis real-time weak moving target detection method and their corresponding visualization effect display diagrams;
[0020] FIG4 is a comparison diagram of the effects of a real-time weak moving target detection method using a time-space parallel coupled robust principal component analysis provided in an embodiment of the present application;
[0021] Figure 5 It is a structural block diagram of a real-time weak motion target detection device using robust principal component analysis with time-space parallel coupling provided in one embodiment of the present application. DETAILED DESCRIPTION
[0022] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.
[0023] Traditional robust principal component analysis has the following shortcomings. First, after the ideal matrix decomposition, the target information is only contained in the sparse matrix S, but this information is difficult to be directly and effectively extracted and utilized, which causes serious information waste, while increasing the complexity of the detection method and greatly reducing the efficiency of the detection process. In addition to containing potential target information, the sparse matrix also contains a large amount of noise, error, and irrelevant information components that are difficult to filter out. These components are mixed with the effective information of the potential target, making it difficult to effectively peel off the target component. The present invention effectively solves the above problems through parallel coupling ideas and cluster filtering methods, so that the detection method can directly use the sparse matrix to extract effective information, directly realize accurate detection of the target, greatly improve the operation efficiency of the algorithm, and at the same time improve the accuracy and signal-to-noise ratio of detection.
[0024] Second, in view of the problem described in question one, the traditional robust principal component analysis method cannot directly and effectively use sparse matrices for target detection. Therefore, the common operation process of the traditional robust principal component analysis method when performing target detection is to first use the low-rank matrix L to establish a robust detection background, and then subtract the background information from the input data of the current frame. The obtained content is regarded as an effective foreground (i.e., a moving target) after a certain filtering algorithm, which causes a large amount of noise to be mixed into the actual detection results. When the target to be detected is relatively weak, the above problem will be more serious. The present invention directly abandons the background modeling process and directly detects the target from the sparse matrix, which can effectively avoid the above problems, better adapt to the changes in the camera field of view and background area, and improve the operation efficiency of the algorithm.
[0025] An embodiment of the present application proposes a real-time weak small moving target detection method using robust principal component analysis with time-space parallel coupling, which is applied to an electronic device, wherein the electronic device may be a terminal or a server, and this embodiment and the following embodiments are all described using a server as an example. The following is a specific description of the implementation details of the real-time weak small moving target detection method using robust principal component analysis with time-space parallel coupling proposed in this embodiment, and the following content is only provided for the convenience of understanding the implementation details, and is not necessary for the implementation of this solution.
[0026] refer to Figure 1 and Figure 2 The specific process of the real-time weak moving target detection method of the spatiotemporal parallel coupled robust principal component analysis proposed in this embodiment may include:
[0027] S10, acquiring image data to be detected, and constructing a spatiotemporal data matrix based on the image data to be detected;
[0028] The spatiotemporal data matrix is the input data of the moving target detection method, which is usually a data matrix composed of grayscale values of a video or a time-sequential image sequence.
[0029] S20. Based on the spatiotemporal data matrix, a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem are respectively constructed, wherein the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extreme sparse matrix to be solved, and the fine-grained sparse decomposition problem is constructed based on the extreme low-rank matrix to be solved and the rough sparse matrix to be solved, and the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are respectively solved based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix.
[0030] In an embodiment of the present application, step S20 may include the following execution process:
[0031] S201. Constructing a first objective function based on the sum of the kernel function of the rough low-rank matrix to be solved and the L1 norm of the extreme sparse matrix to be solved with a first weighting coefficient, wherein the rough low-rank matrix to be solved and the extreme sparse matrix are obtained based on the decomposition of the spatiotemporal data matrix.
[0032] S202. Constructing a second objective function based on the sum of the kernel function of the extreme low rank matrix to be solved and the L1 norm of the rough sparse matrix to be solved with a second weighting coefficient, wherein the extreme low rank matrix to be solved and the rough sparse matrix to be solved are obtained based on the decomposition of the spatiotemporal data matrix.
[0033] S203, solving the minimum value of the first objective function based on an inexact augmented Lagrange multiplier algorithm to obtain a rough low-rank matrix;
[0034] S204. Solve the minimum value of the second objective function based on the exact Lagrange multiplier algorithm to obtain the extreme low-rank matrix.
[0035] Among them, the server simultaneously constructs two independent sparse decomposition problems to be optimized based on the spatiotemporal data matrix.
[0036] In principle, the first optimization problem is rougher than the second optimization problem during the optimization process, which is called a coarse-grained sparse decomposition problem; the second optimization problem is more detailed than the first optimization problem during the optimization process, which is called a fine-grained sparse decomposition problem.
[0037] refer to Figure 3 ,After constructing two independent sparse decomposition problems to be optimized, the server can simultaneously use different optimization methods to solve the two problems to be optimized, and obtain a rough low-rank matrix (Lr), an extreme sparse matrix (Se), an extreme low-rank matrix (Le), and a rough sparse matrix (Sr).
[0038] In the specific implementation process, two independent optimization problems are constructed at the same time. These two problems can be respectively the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem, and the iterative optimization method is used to solve the above problems. The two independent optimization problems are expressed as follows:
[0039]
[0040] subject to X≈Lr+Se≈Le+Sr
[0041] Due to the limitations of approximate substitution and approximate calculation in the iterative optimization process, the equal sign in the formula is replaced by an approximately equal sign to indicate that the two are only approximately equal, not strictly equal. In the formula, λ∈[0,1], η∈[0,1], and λ>>η, X≈Lr+Se≈Le+Sr.
[0042] In another embodiment, when the question is relatively simple, the first question can also be The inexact augmented Lagrange multiplier method is used to solve the second problem The exact Lagrange multiplier method is used to solve the problem.
[0043] S30. Processing the rough low-rank matrix and the extreme low-rank matrix by using an edge continuity clustering detection algorithm to obtain a target image matrix, and determining a weak moving target detection result based on the target image matrix.
[0044] In an embodiment of the present application, step S30 may include the following execution steps:
[0045] Obtain a first coordinate set in the rough low-rank matrix whose matrix value is greater than a first preset value;
[0046] S301, determining a second coordinate set in a low-rank matrix to be solved that is the same as the first coordinate set based on the first coordinate point set;
[0047] S302, determining a third coordinate set belonging to a connected area with the second coordinate set according to an edge continuity cluster detection algorithm;
[0048] In an embodiment of the present application, step S302 may include the following execution steps:
[0049] S3021. Detecting coordinate points around the second coordinate set that are connected to each coordinate point in the second coordinate set based on a Canny operator or a deep continuous clustering algorithm;
[0050] S3022: Obtain the third coordinate set based on coordinate points connected to each coordinate point in the second coordinate set.
[0051] S303, determining non-zero values and zero values in the extreme low-rank matrix to be solved based on the third coordinate set;
[0052] S304, obtaining the target image matrix based on the non-zero values and zero values in the extreme low-rank matrix to be solved;
[0053] The first preset value and the second preset value are both greater than or equal to zero and less than or equal to 1, and the first preset value is much greater than the second preset value.
[0054] In the specific implementation process, the moving target area is based on the target point set (corresponding to the first coordinate set) of the extreme sparse matrix Se, and the area (corresponding to the third coordinate set) detected by edge continuity clustering in the corresponding coordinate area of the Sr matrix (corresponding to the second coordinate set). From then on, the present invention can directly obtain a more accurate moving target foreground area without background modeling. Its mathematical expression is as follows:
[0055]
[0056] In the formula, x, y represent the horizontal and vertical coordinates of any matrix value in the extreme sparse matrix Se respectively. (x+i,y+j) represents the connected area with (x,y) as the core, and the specific calculation result of the edge detection operator shall prevail, that is, for the rough sparse matrix Sr, (x+i,y+j) should satisfy Se(x,y)>δ and (x+i,y+j) is within the continuous region clustering interval calculated by the edge detection operator with (x,y) as the center. δ∈[0,1], ξ∈[0,1], the present invention refers to them as positioning sensitivity coefficient and detection sensitivity coefficient respectively. Among them, the larger δ is, the more targets are detected, and it may be accompanied by a decrease in detection accuracy and a decrease in signal-to-noise ratio; the smaller δ is, the easier it is to guarantee the detection accuracy, stability and signal-to-noise ratio, but the number of detected targets may be reduced. The larger the ξ, the easier it is to preserve the details of the moving foreground, but more noise may be introduced; the smaller the ξ, the higher the detection accuracy and signal-to-noise ratio, but some details of the moving foreground may be lost.
[0057] In the specific implementation process, the point that satisfies Se(x,y)>δ, δ∈[0,1] is taken as the coordinate center, and the edge continuity operator (such as Canny operator, or simple continuity clustering) and other methods are used to calculate the connected area that meets the conditions for the relevant area of the Sr matrix. The coordinates of the relevant points that meet the requirements are marked as (x+i,y+j). For the point Sr(x+i,y+j)>ξ, Fa(x+i,y+j)=Sr(x+i,y+j). The other points in the Fa matrix (corresponding to the target image matrix) that do not meet the conditions remain unchanged at 0. The result is recorded as the foreground area of the moving target detection, that is, the detected weak moving target.
[0058] In another embodiment, the time-space parallel coupling robust principal component analysis real-time weak moving target detection method further includes:
[0059] S40, obtaining the background image matrix based on the difference between the spatiotemporal data matrix and the target image matrix, and obtaining the background image based on the background image matrix.
[0060] In the specific implementation process, the server uses the X matrix (corresponding to the spatiotemporal data matrix) to subtract the Fa matrix to obtain a background image matrix Ba that contains noise, is more accurate but not robust. Using the background image matrix Ba as the background model and using the background modeling method can also achieve moving target detection. Compared with the original RPCA type moving target detection method or other background modeling methods, since this background model contains more extensive noise and interference information, using this background model for moving target detection (when the background model is subtracted from the current frame) can also effectively improve the detection accuracy and signal-to-noise ratio.
[0061] FIG4 is a comparison diagram of the actual operation results of the present invention in Example 1, wherein FIG4(a) is a frame of the original video; FIG4(b) is a diagram of the operation results of the sparse decomposition moving target detection method using the inexact Lagrange multiplier method (IALM); FIG4(c) is a diagram of the operation results of the sparse decomposition moving target detection method using the alternating direction iteration method (ADM); FIG4(d) is a diagram of the operation results of the sparse decomposition moving target detection method using the motion-assisted matrix recovery (RMAMR); and FIG4(e) is a diagram of the operation results of the moving target detection method using the present invention. It can be seen from the figure that the effect of detecting the target image using the method of the present application is far better than the target image detection effect of other comparative methods.
[0062] The beneficial effects of the method of the present invention mainly include:
[0063] (1) The present invention solves the problem that RPCA-type motion target detection methods must rely on low-rank matrix components and background modeling methods to achieve target detection. It creatively extracts target information directly through sparse components for detection, while effectively suppressing the interference of a large amount of noise, interference, calculation errors and irrelevant components contained in the sparse matrix on the detection results. While simplifying the method operation process and improving the operation efficiency, it effectively improves the accuracy and stability of the detection results.
[0064] (2) Compared with the traditional RPCA type motion target detection method, the time-space parallel coupled robust principal component analysis technology of the present invention can effectively reduce the signal-to-noise ratio of the detection result without reducing the algorithm operation efficiency; compared with other methods such as deep learning method, optical flow method, background modeling method, etc., it has obvious advantages in detecting weak targets and can greatly improve the detection rate of weak targets and the accuracy of detection results.
[0065] (3) This method can also obtain more accurate background information (including noise). Even if the background modeling method is selected for target detection, the background information provided by this method is used as the background model, and the target detection result obtained is more accurate and has a lower signal-to-noise ratio.
[0066] It should be pointed out that the step division of the above methods is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this application; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this application.
[0067] On the basis of the above embodiments, the present invention further proposes a real-time weak small moving target detection device by robust principal component analysis with time-space parallel coupling. The real-time weak small moving target detection device by robust principal component analysis with time-space parallel coupling proposed in this embodiment is specifically described below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this embodiment. Figure 5 It is a structural block diagram of the real-time weak motion target detection device of the spatiotemporal parallel coupled robust principal component analysis proposed in this embodiment. The target detection device 100 may include an acquisition module 1001, a processing module 1002 and an output module 1003, wherein the acquisition module 1001 is used to acquire the image data to be detected and construct a spatiotemporal data matrix based on the image data to be detected; the processing module 1002 is used to construct a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem based on the spatiotemporal data matrix, wherein the rough low-rank matrix to be solved and the output matrix to be solved are respectively The coarse-grained sparse decomposition problem is constructed based on the extreme sparse matrix, the fine-grained sparse decomposition problem is constructed based on the extreme low-rank matrix to be solved and the rough sparse matrix to be solved, and the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are solved respectively based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix; the output module 1003 is used to use the edge continuity clustering detection algorithm to process the rough low-rank matrix and the extreme low-rank matrix to obtain a target image matrix, and determine the weak motion target detection result based on the target image matrix.
[0068] It is not difficult to find that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details and technical effects mentioned in the above embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiments.
[0069] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.
[0070] Another embodiment of the present application proposes an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the real-time weak motion target detection method using robust principal component analysis with time-space parallel coupling provided in any one of the aforementioned embodiments.
[0071] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripheral devices, voltage regulators and power management circuits together, which are all well known in the art, so this article will not describe them further. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor.
[0072] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.
[0073] Another embodiment of the present application relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0074] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM (Read-Only Memory), RAM (Random Access Memory), disk or optical disk and other media that can store program codes.
[0075] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.
Claims
1. A real-time small moving target detection method based on robust principal component analysis with time-space parallel coupling, characterized in that: include: Acquire image data to be detected, and construct a spatiotemporal data matrix based on the image data to be detected; Based on the spatiotemporal data matrix, a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem are respectively constructed, wherein the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extreme sparse matrix to be solved, and the fine-grained sparse decomposition problem is constructed based on an extreme low-rank matrix to be solved and a rough sparse matrix to be solved, and the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are respectively solved based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix; The rough low-rank matrix and the extreme low-rank matrix are processed by an edge continuity clustering detection algorithm to obtain a target image matrix, and a weak moving target detection result is determined based on the target image matrix.
2. The real-time small moving target detection method of spatiotemporal parallel coupling robust principal component analysis according to claim 1 is characterized in that: The coarse-grained sparse decomposition problem is constructed based on the rough low-rank matrix to be solved and the extreme sparse matrix to be solved, including: A first objective function is constructed based on the sum of the kernel function of the rough low-rank matrix to be solved and the L1 norm of the extreme sparse matrix to be solved with a first weighting coefficient, wherein the rough low-rank matrix to be solved and the extreme sparse matrix are obtained based on the decomposition of the spatiotemporal data matrix.
3. The real-time small moving target detection method of spatiotemporal parallel coupling robust principal component analysis according to claim 2 is characterized in that: The fine-grained sparse decomposition problem is constructed based on the extreme low-rank matrix to be solved and the rough sparse matrix to be solved, including: A second objective function is constructed based on the sum of the kernel function of the extreme low rank matrix to be solved and the L1 norm of the rough sparse matrix to be solved with a second weighting coefficient, wherein the extreme low rank matrix to be solved and the rough sparse matrix to be solved are obtained based on the decomposition of the spatiotemporal data matrix.
4. According to the time-space parallel coupling robust principal component analysis real-time weak moving target detection method of claim 3, the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are solved based on the Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix, including: Solving the minimum value of the first objective function based on an inexact augmented Lagrange multiplier algorithm to obtain a rough low-rank matrix; The minimum value of the second objective function is solved based on the exact Lagrange multiplier algorithm to obtain the extreme low-rank matrix.
5. The method for real-time small moving target detection by robust principal component analysis based on time-space parallel coupling according to claim 1 is characterized in that: The method of using the edge continuity clustering detection algorithm to process the rough low-rank matrix and the extreme low-rank matrix to obtain a target image matrix includes: Obtain a first coordinate set in the rough low-rank matrix whose matrix value is greater than a first preset value; Determine, based on the first coordinate point set, a second coordinate set in a low-rank matrix to be solved that is the same as the first coordinate set; Determine, according to an edge continuity cluster detection algorithm, a third coordinate set that belongs to a connected region with the second coordinate set; Determine non-zero values and zero values in the extreme low-rank matrix to be solved based on the third coordinate set; Obtaining the target image matrix based on the non-zero values and zero values in the extreme low-rank matrix to be solved; The first preset value and the second preset value are both greater than or equal to zero and less than or equal to 1, and the first preset value is much greater than the second preset value.
6. The method for real-time small moving target detection by robust principal component analysis based on time-space parallel coupling according to claim 1 is characterized in that: The determining, according to the edge continuity cluster detection algorithm, a third coordinate set belonging to a connected area with the second coordinate set comprises: Detecting coordinate points around the second coordinate set that are connected to each coordinate point in the second coordinate set based on a Canny operator or a deep continuous clustering algorithm; The third coordinate set is obtained based on coordinate points connected to each coordinate point in the second coordinate set.
7. The method for real-time small moving target detection by time-space parallel coupling robust principal component analysis according to claim 1 is characterized in that: After determining the small moving target detection result based on the target image matrix, the time-space parallel coupled robust principal component analysis real-time small moving target detection method further includes: A background image matrix is obtained based on the difference between the spatiotemporal data matrix and the target image matrix, and a background image is obtained based on the background image matrix.
8. A real-time weak moving target detection device based on robust principal component analysis with time-space parallel coupling, characterized in that: include: An acquisition module, used for acquiring image data to be detected, and constructing a spatiotemporal data matrix based on the image data to be detected; A processing module, used for constructing a coarse-grained sparse decomposition problem and a fine-grained sparse decomposition problem based on the spatiotemporal data matrix, wherein the coarse-grained sparse decomposition problem is constructed based on a rough low-rank matrix to be solved and an extreme sparse matrix to be solved, and the fine-grained sparse decomposition problem is constructed based on the extreme low-rank matrix to be solved and the rough sparse matrix to be solved, and the coarse-grained sparse decomposition problem and the fine-grained sparse decomposition problem are respectively solved based on a Lagrange multiplier algorithm to obtain a rough low-rank matrix and an extreme low-rank matrix; The output module is used to process the rough low-rank matrix and the extreme low-rank matrix using an edge continuity clustering detection algorithm to obtain a target image matrix, and determine a weak moving target detection result based on the target image matrix.
9. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; In which, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the real-time weak motion target detection method using spatiotemporal parallel coupling robust principal component analysis as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it can implement the real-time weak moving target detection method using robust principal component analysis with time-space parallel coupling as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Non-convex low-rank salient target detection method based on structural matrix factorization
CN110188770A
Robust low-rank sparse decomposition moving target detection method
CN113723183A
Video SAR moving target detection method in complex scene
CN115311572A
System and method for denoising synthetic aperture radar (SAR) images via sparse and low-rank (SLR) decomposition and using SAR images to image a complex scene
US10310074B1