CN113421279B - Infrared weak and small target detection method based on weighted nuclear norm minimization - Google Patents
Infrared weak and small target detection method based on weighted nuclear norm minimization Download PDFInfo
- Publication number
- CN113421279B CN113421279B CN202110777730.2A CN202110777730A CN113421279B CN 113421279 B CN113421279 B CN 113421279B CN 202110777730 A CN202110777730 A CN 202110777730A CN 113421279 B CN113421279 B CN 113421279B
- Authority
- CN
- China
- Prior art keywords
- target
- tensor
- matrix
- function
- constructing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 claims abstract description 59
- 230000011218 segmentation Effects 0.000 claims abstract description 8
- 239000011159 matrix material Substances 0.000 claims description 56
- 230000009191 jumping Effects 0.000 claims description 6
- 101150083745 preT gene Proteins 0.000 claims description 6
- 239000000126 substance Substances 0.000 claims description 4
- 230000008602 contraction Effects 0.000 claims description 3
- 238000000354 decomposition reaction Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 34
- 238000001914 filtration Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000011160 research Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000877 morphologic effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002146 bilateral effect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000003331 infrared imaging Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000013101 initial test Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G06T5/70—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10048—Infrared image
Abstract
The invention relates to an infrared dim target detection method based on weighted nuclear norm minimization. Aiming at the condition that a weak and small target is easy to be missed or mistakenly detected in a complex environment, the method provides that the image to be processed is preliminarily detected by using a characteristic detection function, a weight related to the target is constructed based on the preliminary detection, a new target function is constructed by using the weight to solve to obtain a final target image, and finally threshold segmentation is carried out to remove partial interference; the method provided by the invention can effectively reduce the false alarm rate and has good detection effect on infrared weak and small targets.
Description
Technical Field
The invention relates to the field of infrared image processing and target detection, and particularly provides an infrared weak and small target detection method based on weighted nuclear norm minimization.
Background
Target detection technique has developed comparatively ripe now, in civilian field, is often used for intelligent monitoring, traffic management and control, medical feature identification etc. comparatively common have: SIFT, integral image characteristics and AdaBoost are used for detecting the human face, and the HOG and the SVM are combined and mainly used for detecting pedestrians; in the military field, the system is commonly used for reconnaissance, guidance, early warning and the like. Compared with visible light and radar imaging systems, the infrared imaging system has the advantages of small size, strong anti-interference capability, good concealment, full-day operation and the like, and is mostly used in the military field, so that the key technology of infrared weak and small target detection becomes a research hotspot. The difficulty of detecting the infrared weak and small target is mainly as follows: on one hand, the target is far away from the imaging system, is generally imaged between 2X2 to 9X9 pixels, lacks obvious shape and texture characteristics, and because of scattering of energy in long-distance imaging, the energy loss of a small target is serious, so that the contrast between the target and the background is low, and the final target presents weak and small characteristics; on the other hand, the background of the small target is variable and complex, and the strong edge features of some backgrounds are very similar to the features of the small target, which is very easy to cause the misjudgment of the target. Therefore, the detection of the visible infrared small and weak target is very challenging, and although a plurality of methods for detecting the infrared small and weak target have been proposed at present, the method cannot adapt to variable background environments and cannot maintain excellent detection performance under various environments. Based on these difficulties, infrared detection of small and weak targets has received attention from many researchers.
The major research institutions for weak and small target detection abroad comprise the naval laboratory and the air force laboratory in the United states, and the international conference on the weak and small target detection technology is held almost every year from 1989 by the international optical engineering institute (SPIE) to study the latest results of the weak and small target detection technology; in China, because the starting is late, the method has a certain gap with foreign countries, but the country has a great amount of investment in the aspect of weak and small target detection technology, and related research organizations in the aspect of weak and small target detection in China have the following characteristics: colleges and universities such as national defense science and technology university, huazhong science and technology university, and the 211 th research institute of the weapon industry group, 205 th research institute of the weapon industry group, 27 th research institute of the middle electric group, 717 th institute of the Chinese ship industry, and the like.
The infrared small and weak target detection methods can be roughly divided into two categories: tracking Before Detection (TBD) and tracking before Detection (DBT), the tracking method before detection usually needs to process according to information of multiple frames of pictures, and finally detects a target, which needs a large amount of calculation and storage, and cannot meet the real-time requirement in actual demand, so the method is rarely applied in practice; the detection method before tracking only needs to detect a single-frame picture, has higher processing speed but less available information amount, and can be roughly divided into three types according to research concerns:
(1) Background-based suppression methods. The method generally adopts various strategies to inhibit the background, generally considers that the background is positioned at the low-frequency part of an image signal, the target is positioned at the high-frequency part of the image signal, separates the low-frequency part and the high-frequency part of an infrared image through various transformations, then inhibits each low-frequency component, analyzes the high-frequency component, can detect the target, and can be divided into a spatial filtering method and a transform domain filtering method according to different background inhibition modes. The traditional spatial filtering-based method includes a maximum median/maximum mean (max-mean/max-mean) filter method, a two-dimensional least mean square (TDLMS) filter method, a mathematical morphology method, a median filtering method, a bilateral filter, a high-pass template filtering method and the like. The method of transform domain filtering firstly transforms the picture to obtain the information of the transform domain, which commonly has Fourier transform and wavelet transform, then processes the obtained information in the transform domain, finally carries out inverse transform to obtain the information of the spatial domain, and obtains the corresponding result. For the frequency domain, common weak and small target detection methods mainly include ideal high-pass filtering, butterworth high-pass filtering and the like. Since the wavelet transform has very excellent performance in multi-scale and multi-directional signal analysis, and can better detect singular portions in signals, the wavelet transform is also widely applied to infrared detection of weak and small targets on the sea surface, and common wavelet transform filtering methods mainly include a Countourlet transform-based method, a non-downsampling contourlet transform-based method, and the like.
(2) A method based on target enhancement. Because the weak and small target has no geometric shape or texture feature and available effective feature information is less, based on the target angle, only a detection operator can be designed according to the characteristic differences of gray scale, structure, contrast and the like of the target and the surrounding background in a single-frame infrared image, and the target is directly extracted. Inspired by the fact that small objects appear gaussian in image distribution, some methods based on local intensity and gradient are proposed. The small target can be simulated by using a two-dimensional Gaussian function, the two-dimensional Gaussian function forms a scalar field, the gradient field of the scalar field shows the characteristic that a gradient vector points to the center, and similarly, the small target has a gray scale scalar field, and the gradient field also shows the characteristic that the gradient vector points to the center of the target. These two properties are considered to be a local intensity property and a local gradient property, respectively. Based on the two attributes, target enhancement and clutter suppression can be achieved by calculating a Local Intensity and Gradient (LIG) map of the original infrared image. Inspired by biological vision, a weak and small target detection method based on a visual contrast mechanism is proposed, which is a novel weak and small target detection method appearing in recent years, and a local contrast measurement method (LCM) is mainly adopted according to the characteristic that the gray level of a small target is stronger than that of a neighborhood, but the method has the phenomenon of enhancing noise, so that a series of improved methods exist, such as: the method adopts an HVS size self-adaption process and an attention transfer mechanism, utilizes information such as image information entropy and local similarity, a local homogeneity measuring method, contrast measurement of multi-scale blocks, a local homogeneity measuring method, a relative local contrast measuring method, a local difference measuring method and the like. However, these methods have been proposed to blur the metric because strong edges and other interference can cause a high false alarm.
(3) Method based on object and background data structures. The method mainly comprises the step of displaying a data structure by searching a low-dimensional subspace structure or using a preset super-complete dictionary, so that the detection of small targets is realized. The target in the infrared image has sparsity, the background has low rank, the separation of the target image and the background image is realized based on the two characteristics, the target and the background are considered simultaneously by the method, and more attention is paid to the method based on the image data structure recently. Image data structure based methods typically detect small objects using two ways:
(1) the method for detecting the small targets comprises the steps of firstly presetting the overcomplete dictionary for an image by using a method for presetting the overcomplete dictionary, then displaying a data structure of the image by using the dictionary, and decomposing an image matrix by using a low-rank sparse representation model to obtain data components corresponding to the small targets, so that the small targets are detected. For the construction of the overcomplete dictionary, a two-dimensional Gaussian model, a generalized Gaussian model and a dictionary learning method can be used, a fractal theory is added in some researches, and background clutter can be eliminated through sparse representation on a fractal background overcomplete dictionary.
(2) The method is characterized in that a low-rank subspace structure is searched, typically, a detection problem of an infrared small target is described as an optimization problem for recovering a low-rank sparse matrix based on an infrared image block (IPI) model, a nuclear norm is usually used as an optimal convex approximation of a rank, unlike the matrix, a tensor is a multi-linear generation of a multi-dimensional matrix and usually directly acts on high-order data, so that a tensor method is generally adopted for processing, and then, some improved methods are also used for changing the nuclear norm into other norms on the basis of the model, which is more convenient for optimization, or some a priori knowledge is added, for example, weights are added in front of the target, or regular terms are added to constrain the target or the background, so as to solve the influence of strong edges and underutilized prior information on small target detection, and obtain a better background estimation effect, for example, a weighted infrared block image (WIPI) model, a weighted block tensor image (RIPT) model, a kernel tensor part based on image blocks and (IPT-tnn) model, and the like.
Disclosure of Invention
Although the weight proposed in the weighted block image tensor (RIPT) model can suppress the interference of a part of the background, but many strong edges in the complex background are not suppressed but enhanced, aiming at the problem, the invention provides an infrared weak and small target detection method based on weighted nuclear norm minimization, so as to solve the problem that the detection false alarm is enhanced due to the strong edge interference in the complex background in the existing model method.
The technical scheme provided by the invention is as follows:
a method for detecting infrared weak and small targets based on weighted kernel norm minimization comprises the following steps:
step 1: inputting an infrared image to be processedWherein +>Representing a real space, m and n representing the number of pixel lines and the number of pixels of the image to be processed, respectivelyNumber of rows by using a length and width dimension of n 1 ×n 2 Traversing the infrared image D to be processed through a sliding window with the step length s to obtain the tensor of the infrared image block->Wherein n is 1 ×n 2 Is equal to the size of the sliding window, n 3 The number of the sliding windows;
step 2: obtaining two maximum eigenvalues by calculating the structure tensor of the original infrared image to be processed, and preliminarily judging the positions of point features and line features in the original image according to the two eigenvalues to construct a feature description matrix W 0 And based on the matrix W 0 Obtaining a target weight matrix W p Then converted into tensor form;
and step 3: constructing a target function and a Lagrange function, and solving the target function and the Lagrange function to obtain a target image block tensor
And 5: the target image is processedAnd performing threshold segmentation to obtain a detection result.
The method of the invention is based on a data structure, simultaneously considering the target and the background, using a weighted nuclear norm as a convex approximation of the background rank, while using a weighted L 1 Norm constrains sparsity of the target, and L is used to further suppress noise 21 The norm constrains noise, effectively reduces false alarm rate, improves algorithm robustness, and has good detection effect in complex environment.
On the basis, the step 1 comprises the following steps:
step 1.1: with the length and width dimension n 1 ×n 2 Traversing the infrared image D by a sliding window with the step length of s, and stacking pixels intercepted by the sliding window on a third dimension to construct a tensor;
step 1.2: repeating the step 1.1 until the whole infrared image is traversed, thereby finishing the tensor of the infrared image blockAnd (4) constructing.
Wherein the step 2 comprises the following steps:
step 2.1: constructing structure tensor by using infrared image D to be processed and solving eigenvalue lambda 1 And λ 2 The formula is as follows:
wherein J is the structure tensor, K ρ Is a gaussian kernel with variance p, representing a convolution,represents a gradient,. Based on the presence of a marker>Represents the Kronecker product, D σ The image to be processed is filtered by a gaussian smoothing filter with variance σ. /> Respectively represent D σ Gradient along x and y directions.
Obtaining the maximum two eigenvalues lambda according to the structure tensor 1 And λ 2 The formula is as follows:
step 2.2: using lambda 1 And λ 2 Obtaining W rec And W 0 Further obtain the target weight matrix W p ;
Wherein the content of the first and second substances,respectively constructing a point feature matrix W according to the feature point detection result of the original infrared image point Sum line feature matrix W line To thereby obtain a feature description matrix W 0 =W line +C*W point C is a constant and is finally based on W p =W rec .W sw .W 0 An objective weight matrix W can be obtained p Wherein->Updating in subsequent iterative solution, wherein T represents a target matrix, eta is a nonzero constant, and | represents solving an absolute value;
step 2.3: using a sliding window to apply the target weight matrix W as described in step 1 p Stacked in tensor formThe describedThe image block tensor is the target weight.
Wherein the step 2.2 comprises:
step 2.2.1: constructing a feature point detection function:
step 2.2.2: constructing a point feature matrix according to a feature point detection function, defining a threshold value for val, and taking gamma of the maximum value except infinity 1 Multiplying by a threshold seg _ val, defining a threshold for val1, and taking the minimum value of gamma 2 Multiple threshold value seg _ val1 for simultaneous val satisfaction>The characteristic points of seg _ val and val1 which are less than or equal to seg _ val1 are regarded as point characteristics, the positions corresponding to the point characteristic matrix are set as 1, other positions are set as 0, and the point characteristic matrix is subjected to morphological expansion by adopting a circular structural element;
step 2.2.3: and constructing a line feature matrix according to the feature point detection function, considering feature points with val values being infinite and satisfying val1> seg _ val1 as line features, and setting the positions corresponding to the line feature matrix as 0 and setting other positions as 1.
In step 3, an objective function is constructed through the weighted nuclear norm and the target weight, an ADMM algorithm is used for constructing a Lagrangian function, and the Lagrangian function is solved to obtain a target image block tensorThe step 3 comprises the following steps:
Step 3.2: constructing an objective function through the weighted kernel norm and the objective weight, and constructing a Lagrangian function by using an ADMM algorithm;
Wherein said step 3.2 comprises:
step 3.2.1: constructing an objective function through the weighted kernel norm and the target weight, wherein the constructed objective function is as follows:
whereinTensor representative of noise->Tensor representative of background,. Sup.>Here | * Represents the nuclear norm by summing all the singular values of the matrix A>L representing tensor A 1 Norm> L being a noise component 21 Norm>The status of the Hadamard product is indicated by the indicator, and the penalty coefficients are indicated by the indicator lambda and the beta; />
Step 3.2.2: constructing a Lagrangian function through an ADMM algorithm:
wherein |) F Represents the Frobenius norm,representing the lagrange multiplier and μ the non-negative penalty factor.
Wherein the step 3.3 comprises:
step 3.3.1: initializing ADMM equation parameters, iterating the times k =0,μ 0 =0.007,/>iteration end threshold epsilon =10 -7 ,/>β=0.1,η=0.01;
Step 3.3.2: iterating until the Lagrangian function constructed by the ADMM algorithm converges;
wherein step 3.3.2 comprises:
WhereinIs a singular value contraction operator>In the formula, U and D X V is the moment of alignmentObtained by singular value decomposition of the array X, D X Representing a diagonal matrix composed of its eigenvalues;
Wherein S is τ (X) is a soft threshold shrink operator, S τ (X)=sign(X)×max(|X|-τ,0);
Wherein Representing the ith matrix of image blocks truncated by a sliding window, | 2 A two-norm representing a matrix;
Step 3.3.2.7: update iteration number k = k +1;
step 3.3.2.9: judging whether preT and currT are equal and both greater than 0, if so, terminating iteration, and jumping to the step 3.3.2.10; if not, judging the formulaIf the result is true, terminating iteration and jumping to the step 3.3.2.10, and if the result is false, jumping to the step 3.3.2.1;
The infrared weak and small target detection method based on the weighted nuclear norm minimization has the beneficial effects that:
1. the model used is added with L 21 Norm constrained noise and using weighted L for the target image 1 Norm constraint and innovativeness provide a weight construction mode, and the problem that the result is interfered by edges, noise, false alarm sources and the like due to the fact that sparse constraint is not strict in the conventional algorithm is effectively solved;
2. the infrared small target detection problem is converted into an optimization problem, so that the target and the background are efficiently and accurately separated, and the small target detection accuracy is improved;
3. iterative solution is carried out by adopting an alternating direction multiplier method, and meanwhile, an improved iteration termination condition is used, so that the convergence speed is greatly improved, the calculation running time is greatly reduced, and the applicability is obviously improved.
Drawings
FIG. 1 is a flow chart of the infrared weak and small target detection method based on weighted nuclear norm minimization according to the present invention;
FIG. 2a is an infrared image containing a small target as employed in an embodiment of the present invention;
FIG. 2b is a three-dimensional representation of the original infrared image of FIG. 2a in an embodiment of the present invention;
FIG. 3a is a target image obtained by solving in FIG. 2a and subjected to threshold segmentation according to an embodiment of the present invention;
FIG. 3b is a three-dimensional representation of the target image shown in FIG. 3a according to an embodiment of the present invention;
FIG. 4a is a two-dimensional display of the processing results of FIG. 2a using a prior art intermediate infrared block image (IPI) model approach;
FIG. 4b is a three-dimensional display of the processing results of FIG. 2a using a prior art intermediate infrared block image (IPI) model approach;
FIG. 5a is a two-dimensional representation of the processing results of FIG. 2a using a prior art method of reweighted infrared block tensor (RIPT) model;
FIG. 5b is a three-dimensional representation of the processing results of FIG. 2a using a prior art method of reweighting infrared block tensor (RIPT) models.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings. This should not be construed as limiting the scope of the invention to the following examples. Various substitutions and alterations according to the general knowledge and conventional practice in the art are intended to be included within the scope of the present invention without departing from the technical spirit of the present invention as described above.
As shown in fig. 1, the method for detecting infrared weak and small targets based on weighted nuclear norm minimization of the present invention includes the following steps:
step 1: inputting a 256X 256 infrared image to be processedWherein->Representing a real number space, wherein m and n respectively represent the number of lines and the number of columns of the image to be processed, and traversing the infrared image D to be processed through a sliding window to obtain the tensor (greater or lesser) of the infrared image block>Wherein n is 1 ×n 2 Is equal to the size of the sliding window, n 3 The number of the sliding windows;
specifically, the step 1 comprises:
step 1.1: traversing the infrared image D by adopting a sliding window with the length and width of 40 multiplied by 40 and the step length of 40, and stacking pixels intercepted by the sliding window on a third dimension to construct a tensor;
step 1.2: repeating the step 1.1 until the whole infrared image is traversed, thereby finishing the tensor of the infrared image blockIn which n is 1 =n 2 =n 3 =40。
And 2, step: by calculating the originalObtaining two maximum eigenvalues by the structure tensor of the infrared image, and preliminarily judging the positions of the point characteristic and the line characteristic in the original image according to the two eigenvalues to construct W in the target weight matrix 0 Thereby obtaining a target weight W p Then converted into tensor form;
specifically, the step 2 includes:
step 2.1: a structure tensor J is constructed according to the infrared image D to be processed, and the formula is as follows:
wherein, K ρ Is a gaussian kernel with variance p, representing a convolution,represents a gradient,. Based on the presence of a marker>Represents the Kronecker product, D σ The image to be processed is filtered by a gaussian smoothing filter with variance σ. />Respectively represent D σ Gradient along x and y directions.
Obtaining the maximum two eigenvalues lambda according to the structure tensor 1 And λ 2 The formula is as follows:
step 2.2: using lambda 1 And λ 2 Obtaining W rec And W 0 Further obtain the target weight matrix W p ,
Wherein the content of the first and second substances,respectively constructing point characteristic moments W according to characteristic point detection results of original infrared images point Array sum line feature matrix W line Thereby obtaining a matrix W 0 =W line +C*W point (ii) a A better result can be obtained when the initial test C =2, and finally a target weight matrix can be obtained: w p =W rec .W sw .W 0 Wherein->η =0.01, updated in subsequent iterative solutions.
Wherein, step 2.2 includes:
step 2.2.1: constructing a feature point detection function:
Step 2.2.2: constructing a point feature matrix according to a feature point detection function, defining a threshold value for val, and taking gamma of the maximum value except infinity 1 (in this example, 0.5 times) the threshold seg _ val, the threshold is defined for val1, and γ is the minimum value of the threshold seg _ val 2 (100 times in this embodiment) the threshold seg _ val1, for the simultaneous satisfaction of val>The characteristic points of seg _ val and val1 which are less than or equal to seg _ val1 are regarded as point characteristics, so that the corresponding positions of the point characteristic matrix are set as 1, other positions are set as 0, as the point characteristics are more easily presented by a remote weak and small target, in order to keep the shape characteristics of the weak and small target, the point characteristic matrix needs to be subjected to morphological expansion, and a circular structural element with the radius of 5 is adopted in the example;
step 2.2.3: constructing a line feature matrix according to the feature point detection function, regarding feature points with val values being infinite and satisfying val1> seg _ val1 as line features, and setting the positions corresponding to the line feature matrix as 0 and setting other positions as 1;
step 2.3: using sliding window to obtain the target weight matrix W according to the step 1 p Stacked in tensor form
And 3, step 3: constructing an objective function through the weighted nuclear norm and the target weight, constructing a Lagrangian function by using an ADMM algorithm, and solving the Lagrangian function to obtain a target image block tensor
Wherein, step 3 includes:
Step 3.2: constructing an objective function through the weighted kernel norm and the target weight, and constructing a Lagrangian function by using an ADMM algorithm;
wherein, step 3.2 includes:
step 3.2.1: the infrared weak and small target image is composed of a background with low-rank components, a target with sparse components and noise, a weighted nuclear norm is adopted because the nuclear norm cannot approach the rank well, the weight added to the target part is used for better inhibiting the background, and the constructed target function is as follows:
whereinTensor representative of noise->Tensor representative of background,. Sup.>Here |) * Represents the nuclear norm by summing all the singular values of the matrix A>L representing tensor A 1 Norm> L being a noise component 21 Norm>As indicates Hadamard product, λ and β indicate penalty coefficients;
step 3.2.2: constructing a Lagrangian function through an ADMM algorithm:
wherein |) F Represents the Frobenius norm,representing a lagrange multiplier, mu representing a non-negative penalty factor;
Wherein, step 3.3 includes:
step 3.3.1: initializing ADMM equation parameters, iterating the times k =0,μ 0 =0.007,/>iteration termination threshold epsilon =10 -7 ,/>β=0.1;
Step 3.3.2: and iterating until the Lagrangian function constructed by the ADMM algorithm converges.
Wherein step 3.3.2 comprises:
WhereinIs a singular value contraction operator, in conjunction with a value selection function>In the formula, U and D X V is obtained by singular value decomposition of X, D X Representing a diagonal matrix composed of its eigenvalues.
Wherein S is τ (X) is a soft threshold shrink operator, S τ (X)=sign(X)×max(|X|-τ,0);
Wherein Representing the ith matrix of image blocks truncated by a sliding window, | 2 A two-norm representing a matrix;
Step 3.3.2.7: update iteration number k = k +1;
step 3.3.2.9: judging whether preT and currT are equal and both greater than 0, if so, terminating iteration, and skipping to the step 3.3.2.10; if not, judging the formulaIf yes, terminating iteration and skipping to the step 3.3.2.10; if not, jumping to step 3.3.2.1.
And 4, step 4: tensor of the target image blockReconstruct back to the target image->Reconstructing each frontal slice in the infrared image block tensor sequentially into a 256 × 256 target image->And determining the pixel value of the position by adopting a mean filtering mode for the overlapped part.
And 5: the target image is processedPerforming threshold segmentation to obtain a detection result: based on the reconstructed target image->Adaptive threshold segmentation is performed, where Th = μ + c σ, where μ denotes a mean value of the input infrared image, σ is a standard deviation of the input infrared image, and c denotes a constant, in this example c =3, and the detection result is obtained after the segmentation is completed.
Effect analysis was performed according to the attached figures: fig. 2a is an infrared image, a small target is located at the edge of a road, the background is complex, some small stones are located on the roadside besides the small target, the edge of the road is obvious, the small stones greatly interfere the target detection, and fig. 2b is a three-dimensional display of an original image, so that the interference is particularly large; FIG. 3a is a thresholded target image obtained by the method of the present invention, and FIG. 3b is a three-dimensional display showing that the responses are all 0 except for the target region; fig. 4 to 5 are a two-dimensional display and a three-dimensional display of results obtained after processing and threshold segmentation of the infrared block image (IPI) model and the heavily weighted infrared block tensor (RIPT) model in the prior art for fig. 2a, respectively, where the IPI method has a lot of clutter interference to cause a lot of false alarms, the RIPT method has false detections, and the presence of clutter interference part weakens the target; by comparison, the processing results of the two existing methods have clutter interference, but the method only has response in the target area, so that the false alarm rate can be reduced, and the accuracy of target detection can be improved.
The above description is only for the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto, and these examples are only for illustrative purpose and are not intended to limit the scope of the present invention. The scope of the invention is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the invention, and these alternatives and modifications are intended to fall within the scope of the invention.
Claims (2)
1. A method for detecting infrared weak and small targets based on weighted nuclear norm minimization is characterized by comprising the following steps:
step 1: inputting an infrared image to be processedWherein->Representing real number space, m and n respectively representing the pixel row number and the pixel column number of the image to be processed, and adopting the length and width dimension as n 1 ×n 2 Traversing the infrared image D to be processed by the sliding window with the step length of s to obtain the tensor of the infrared image block>Wherein n is 1 ×n 2 Is equal to the size of the sliding window, n 3 The number of the sliding windows;
and 2, step: obtaining two maximum eigenvalues by calculating the structure tensor of the original infrared image to be processed, and initially judging the positions of the point characteristic and the line characteristic in the original image according to the two eigenvalues to construct an eigen description matrix W 0 And is based on W 0 Obtaining a target weight matrix W p Then it is converted into tensor form;
and step 3: constructing a target function and a Lagrange function, and solving the target function and the Lagrange function to obtain a target image block tensor
wherein the step 2 comprises the following steps:
step 2.1: constructing structure tensor by using infrared image D to be processed and solving eigenvalue lambda 1 And λ 2 ;
Step 2.2: using lambda 1 And λ 2 Obtaining W rec And W 0 Further obtain the target weight matrix W p ;
Wherein the content of the first and second substances,respectively constructing a point feature matrix W according to the feature point detection result of the original infrared image point Sum line feature matrix W line To thereby obtain a feature description matrix W 0 =W line +C*W point C is a constant and is finally based on W p =W rec .W sw .W 0 Obtaining a target weight matrix W p (ii) a Wherein->Updating in subsequent iterative solution, wherein T represents a target matrix, eta is a nonzero constant, and | represents an absolute value;
step 2.3: using sliding window to obtain the target weight matrix W according to the step 1 p Stacked in tensor formIs/are>A tensor of the target weight image block;
wherein the step 2.2 comprises:
step 2.2.1: constructing a feature point detection function:
step 2.2.2: constructing a point feature matrix according to a feature point detection function, defining a threshold value for val, and taking gamma of the maximum value except infinity 1 Multiplying by a threshold seg _ val, defining a threshold for val1, and taking the minimum value of the threshold value gamma 2 The multiple is a threshold value seg _ val1, feature points which simultaneously satisfy val > seg _ val and val1 is less than or equal to seg _ val1 are regarded as point features, the positions corresponding to the point feature matrix are set as 1, other positions are set as 0, and the point feature matrix is morphologically expanded by adopting circular structural elements;
step 2.2.3: constructing a line feature matrix according to the feature point detection function, regarding feature points with val values being infinite and satisfying val1> seg _ val1 as line features, and setting the positions corresponding to the line feature matrix as 0 and setting other positions as 1;
in the step 3, a target function is constructed through the weighted nuclear norm and the target weight, an ADMM algorithm is used for constructing a Lagrangian function, and the Lagrangian function is solved to obtain a target image block tensorThe step 3 comprises the following steps: />
Step 3.2: constructing an objective function through the weighted kernel norm and the target weight, and constructing a Lagrangian function by using an ADMM algorithm;
Said step 3.2 comprises:
step 3.2.1: constructing an objective function through the weighted kernel norm and the target weight, wherein the constructed objective function is as follows:
wherein the content of the first and second substances,tensor representative of noise->A representative background tensor; />Here | | | charging * Represents a nuclear norm,>representing a tensor>L of 1 Norm, specifically expressed as: /> L being a noise component 21 Norm>The status of the Hadamard product is indicated by the indicator, and the penalty coefficients are indicated by the indicator lambda and the beta;
step 3.2.2: constructing a Lagrangian function through an ADMM algorithm:
2. The infrared weak and small target detection method based on weighted nuclear norm minimization as claimed in claim 1, characterized in that:
said step 3.3 comprises:
step 3.3.1: initializing ADMM equation parameters, iterating the times k =0,μ 0 =0.007,iteration end threshold epsilon =10 -7 ,/>β=0.1,η=0.01;
Step 3.3.2: iterating until the Lagrangian function constructed by the ADMM algorithm converges;
wherein step 3.3.2 comprises:
WhereinIs a singular value contraction operator>In the formula, U and D X V is obtained by singular value decomposition of matrix X, D X Representing a diagonal matrix composed of its eigenvalues;
Wherein S is τ (x) Is a soft threshold shrink operator, S τ (X)=sign(X)×max(|X|-τ,0);
Wherein Representing the ith image block matrix intercepted by a sliding window, | | | calting 2 A two-norm representing a matrix;
Step 3.3.2.7: update iteration number k = k +1;
step 3.3.2.9: judging whether preT and currT are equal and both greater than 0, if so, terminating iteration, and skipping to the step 3.3.2.10; if not, judging the formulaIf the result is true, terminating iteration and jumping to the step 3.3.2.10, and if the result is false, jumping to the step 3.3.2.1;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110777730.2A CN113421279B (en) | 2021-07-07 | 2021-07-07 | Infrared weak and small target detection method based on weighted nuclear norm minimization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110777730.2A CN113421279B (en) | 2021-07-07 | 2021-07-07 | Infrared weak and small target detection method based on weighted nuclear norm minimization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113421279A CN113421279A (en) | 2021-09-21 |
CN113421279B true CN113421279B (en) | 2023-03-31 |
Family
ID=77720615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110777730.2A Active CN113421279B (en) | 2021-07-07 | 2021-07-07 | Infrared weak and small target detection method based on weighted nuclear norm minimization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113421279B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6282301B1 (en) * | 1999-04-08 | 2001-08-28 | The United States Of America As Represented By The Secretary Of The Army | Ares method of sub-pixel target detection |
CN109215025A (en) * | 2018-09-25 | 2019-01-15 | 电子科技大学 | A kind of method for detecting infrared puniness target approaching minimization based on non-convex order |
CN109934815A (en) * | 2019-03-18 | 2019-06-25 | 电子科技大学 | A kind of tensor recovery method for detecting infrared puniness target of combination ATV constraint |
CN110135344A (en) * | 2019-05-16 | 2019-08-16 | 电子科技大学 | Based on the method for detecting infrared puniness target for weighting fixed order expression |
CN111160181A (en) * | 2019-12-20 | 2020-05-15 | 西北工业大学 | Small target detection method based on infrared video image |
CN112329764A (en) * | 2020-09-28 | 2021-02-05 | 中国空气动力研究与发展中心计算空气动力研究所 | Infrared dim target detection method based on TV-L1 model |
-
2021
- 2021-07-07 CN CN202110777730.2A patent/CN113421279B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6282301B1 (en) * | 1999-04-08 | 2001-08-28 | The United States Of America As Represented By The Secretary Of The Army | Ares method of sub-pixel target detection |
CN109215025A (en) * | 2018-09-25 | 2019-01-15 | 电子科技大学 | A kind of method for detecting infrared puniness target approaching minimization based on non-convex order |
CN109934815A (en) * | 2019-03-18 | 2019-06-25 | 电子科技大学 | A kind of tensor recovery method for detecting infrared puniness target of combination ATV constraint |
CN110135344A (en) * | 2019-05-16 | 2019-08-16 | 电子科技大学 | Based on the method for detecting infrared puniness target for weighting fixed order expression |
CN111160181A (en) * | 2019-12-20 | 2020-05-15 | 西北工业大学 | Small target detection method based on infrared video image |
CN112329764A (en) * | 2020-09-28 | 2021-02-05 | 中国空气动力研究与发展中心计算空气动力研究所 | Infrared dim target detection method based on TV-L1 model |
Non-Patent Citations (3)
Title |
---|
Infrared small target detection based on partial sum of the tensor nuclear norm;Landan Zhang et.al;《Remote Sensing》;20190213;全文 * |
Infrared small target detection via spatial-temporal infrared patch-tensor model and weighted Schatten p-norm minimization;Yang Sun et.al;《INFRARED PHSICS & TECHNOLOGY》;20190930;全文 * |
红外弱小目标检测算法综述;李俊宏等;《中国图象图形学报》;20200916(第09期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113421279A (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | Review of video and image defogging algorithms and related studies on image restoration and enhancement | |
Deng et al. | Infrared small-target detection using multiscale gray difference weighted image entropy | |
CN109934815B (en) | Tensor recovery infrared small target detection method combined with ATV constraint | |
CN109447073B (en) | Infrared weak and small target detection method based on tensor robust principal component analysis | |
Li et al. | Multifocus image fusion using wavelet-domain-based deep CNN | |
Zhang et al. | Infrared small target detection based on an image-patch tensor model | |
CN110135344B (en) | Infrared dim target detection method based on weighted fixed rank representation | |
CN108805057B (en) | SAR image reservoir area detection method based on joint significance analysis | |
Teng et al. | Modified pyramid dual tree direction filter‐based image denoising via curvature scale and nonlocal mean multigrade remnant filter | |
Chen et al. | A novel infrared small target detection method based on BEMD and local inverse entropy | |
Zhang et al. | Infrared small target detection based on gradient correlation filtering and contrast measurement | |
Zhou et al. | Infrared small target detection via incorporating spatial structural prior into intrinsic tensor sparsity regularization | |
Jian et al. | A multi-source image fusion algorithm based on gradient regularized convolution sparse representation | |
Fang et al. | Infrared Small Target Detection with Total Variation and Reweighted ℓ_1 Regularization | |
Qin et al. | Multiscale random projection based background suppression of infrared small target image | |
Yang et al. | Infrared and visible image fusion based on QNSCT and Guided Filter | |
CN113421279B (en) | Infrared weak and small target detection method based on weighted nuclear norm minimization | |
Zhang et al. | Infrared small dim target detection based on region proposal | |
CN115601301B (en) | Fish phenotype characteristic measurement method, system, electronic equipment and storage medium | |
Kekre et al. | SAR Image Segmentation using co-occurrence matrix and slope magnitude | |
CN111222470A (en) | Visible light remote sensing image ship detection method based on multivariate Gaussian distribution and PCANet | |
Li et al. | Region adaptive morphological reconstruction fuzzy C-means for near-field 3-D SAR image target extraction | |
Lu et al. | Infrared small target detection based on joint local contrast measures | |
Xiong et al. | Small target detection for infrared image based on optimal infrared patch-image model by solving modified adaptive RPCA problem | |
Zhao et al. | Infrared Maritime Target Detection Based on Iterative Corner and Edge Weights in Tensor Decomposition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |