CN105469428B - A kind of detection method of small target based on morphologic filtering and SVD - Google Patents
A kind of detection method of small target based on morphologic filtering and SVD Download PDFInfo
- Publication number
- CN105469428B CN105469428B CN201510837688.3A CN201510837688A CN105469428B CN 105469428 B CN105469428 B CN 105469428B CN 201510837688 A CN201510837688 A CN 201510837688A CN 105469428 B CN105469428 B CN 105469428B
- Authority
- CN
- China
- Prior art keywords
- image
- frames
- max
- image sequence
- images
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20036—Morphological image processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30212—Military
Landscapes
- Image Analysis (AREA)
Abstract
本发明公开了一种基于形态学滤波和SVD的弱小目标检测方法,步骤1:通过形态学滤波目标增强算法进行背景抑制、噪声去除,得到预处理后图像序列;步骤2:读入Nmax幅所得图像序列,进行帧数估计,得到需要处理的帧数N;步骤3:将N+1幅图像组成的图像合并成二维数据,求其自相关矩阵并对其自相关矩阵进行SVD;步骤4:选择合适的特征向量重构图像序列,得到新的特征图像序列;步骤5:对重构图像序列进行阈值分割,从背景中分离得到原图像中弱小目标的位置;步骤6:对序列中的每幅图像分别进行修正;步骤7:将N代替Nmax后,重复步骤2~7。本发明将形态学滤波与奇异值分解的方法有效的结合对视频中的弱小目标进行检测,计算时间短,检测效率高,准确性和鲁棒性都比较好。
The invention discloses a weak and small target detection method based on morphological filtering and SVD. Step 1: Perform background suppression and noise removal through a morphological filtering target enhancement algorithm to obtain a preprocessed image sequence; Step 2: Read in N max images The obtained image sequence is estimated by the number of frames to obtain the number of frames N to be processed; step 3: merge the images composed of N+1 images into two-dimensional data, find its autocorrelation matrix and perform SVD on its autocorrelation matrix; step 4: Select the appropriate feature vector to reconstruct the image sequence to obtain a new feature image sequence; Step 5: Carry out threshold segmentation on the reconstructed image sequence, and separate from the background to obtain the position of the weak target in the original image; Step 6: In the sequence Correct each image separately; Step 7: After replacing N max with N, repeat steps 2-7. The invention effectively combines the method of morphological filtering and singular value decomposition to detect the weak and small targets in the video, has short calculation time, high detection efficiency, good accuracy and robustness.
Description
技术领域technical field
本方法属于视频分析领域,具体涉及一种基于形态学滤波和SVD的弱小目标检测方法。The method belongs to the field of video analysis, and specifically relates to a small target detection method based on morphological filtering and SVD.
背景技术Background technique
弱小目标的检测在现代战争中的地位是不言而喻的,目前已成为卫星遥感、高能物理、低空预警以及精确制导等领域信息处理的核心技术。由于弱小目标的像元个数很少,缺乏目标的结构信息,可供分割与检测算法利用的信息很少。而传感器接受的目标强度较弱,噪声和背景杂波干扰较强,使图像的信噪比降低,故而我们应当利用好序列图像中目标的连续性和规则性来检测目标。一直以来,如何更好的利用弱小目标帧间信息,提高检测的可靠性和效率,是弱小目标检测的重点。The detection of small and weak targets is self-evident in modern warfare. At present, it has become the core technology of information processing in the fields of satellite remote sensing, high-energy physics, low-altitude early warning, and precision guidance. Due to the small number of pixels and the lack of target structure information, there is very little information available for segmentation and detection algorithms. However, the intensity of the target accepted by the sensor is weak, and the interference of noise and background clutter is strong, which reduces the signal-to-noise ratio of the image. Therefore, we should make good use of the continuity and regularity of the target in the sequence image to detect the target. For a long time, how to better use the inter-frame information of weak and small targets to improve the reliability and efficiency of detection has been the focus of weak and small target detection.
对于背景抑制与弱小目标检测问题,早期的一些工作主要是集中于动态规划和状态估计技术来增加目标的可检测性,但是,在低信噪比情况下可能呈现比较差的性能。目前,已经有人将形态学滤波、遗传算法、神经网络算法、小波变换等方法用于弱小目标检测。但是,在复杂背景下,目标点极易被噪声淹没,实现目标的可靠性检测和识别难度较大。此外,在数据吞吐量大、实时性要求高的条件下难以满足很好的检测性能。For the problem of background suppression and weak target detection, some early work mainly focused on dynamic programming and state estimation techniques to increase the detectability of the target, but it may show poor performance in the case of low signal-to-noise ratio. At present, methods such as morphological filtering, genetic algorithm, neural network algorithm, and wavelet transform have been used for weak and small target detection. However, in complex backgrounds, target points are easily overwhelmed by noise, and it is difficult to achieve reliable detection and recognition of targets. In addition, it is difficult to meet good detection performance under the conditions of high data throughput and high real-time requirements.
发明内容Contents of the invention
发明目的:针对现有技术存在的问题,本发明提供了一种计算时间短,检测精准的基于形态学滤波和奇异值分解(下文简称SVD)的弱小目标检测方法。Purpose of the invention: Aiming at the problems existing in the prior art, the present invention provides a small target detection method based on morphological filtering and singular value decomposition (hereinafter referred to as SVD) with short calculation time and accurate detection.
发明内容:本发明提供了一种基于形态学滤波和SVD的弱小目标检测方法,包括以下步骤:SUMMARY OF THE INVENTION: The present invention provides a small target detection method based on morphological filtering and SVD, including the following steps:
步骤1:输入待检测的视频序列,通过形态学滤波目标增强算法进行背景抑制、噪声去除,得到预处理后图像序列;Step 1: Input the video sequence to be detected, perform background suppression and noise removal through the morphological filtering target enhancement algorithm, and obtain the preprocessed image sequence;
步骤2:从预处理后的图像序列中,读入Nmax幅图像组成的图像序列,进行帧数估计,得到需要处理的帧数N;Step 2: From the preprocessed image sequence, read in an image sequence composed of N max images, estimate the number of frames, and obtain the number N of frames to be processed;
步骤3:读入N+1幅图像,包括需要处理的N帧图像和N帧图像的后一幅图像,并将N+1幅图像组成的图像合并成二维数据,求其自相关矩阵并对其自相关矩阵进行SVD;Step 3: Read in N+1 images, including N frames of images to be processed and the next image of N frames of images, and merge the images composed of N+1 images into two-dimensional data, find its autocorrelation matrix and Perform SVD on its autocorrelation matrix;
步骤4:选择中间特征值对应特征向量重构图像序列,得到重构图像序列;Step 4: Select the eigenvector corresponding to the intermediate eigenvalue to reconstruct the image sequence to obtain the reconstructed image sequence;
步骤5:对重构图像序列进行阈值分割,从背景中分离得到原图像中弱小目标的位置;Step 5: Carry out threshold segmentation on the reconstructed image sequence, separate from the background to obtain the position of the weak target in the original image;
步骤6:对步骤4中得到的重构图像序列中的每幅图像分别进行帧间位置修正与帧内位置修正;Step 6: Perform inter-frame position correction and intra-frame position correction on each image in the reconstructed image sequence obtained in step 4;
步骤7:将N代替Nmax后,重复步骤2~7,直到Nmax幅图像组成的图像序列中最后一幅图像处理完成后输出结果。Step 7: After replacing N max with N, repeat steps 2 to 7 until the last image in the image sequence composed of N max images is processed and the result is output.
进一步,所述步骤1中形态学滤波目标增强算法采用圆形作为结构元素。这对于恢复噪声污染图像会产生较好的滤波效果。这样能够得到更好的滤波效果。Further, in the step 1, the morphological filtering target enhancement algorithm uses a circle as a structural element. This will produce a better filtering effect for restoring noise-contaminated images. In this way, a better filtering effect can be obtained.
进一步,所述步骤1中利用形态学滤波目标增强算法先对待检测视频中的每一帧图像进行闭运算,然后对有能填入砂眼噪声之间的图像内部或不会形成退化矩形的区域进行开运算。Further, in the step 1, the morphological filtering target enhancement algorithm is used to first perform a closing operation on each frame of the image in the video to be detected, and then perform a closed operation on the image that can be filled between the trachoma noise or the area that will not form a degenerated rectangle. Open operation.
进一步,所述步骤2中帧数估计的方法为:读入Nmax幅图像组成的图像序列,对读入的所有图像进行两两差分操作得到Nmax-1帧图像序列,然后对Nmax-1帧图像序列中的每一幅图像总像素求和,再用求得的Nmax-1个像素和分别除以对应图像的宽和高得到Nmax-1个评估值,将Nmax-1个评估值求平均到Nmax帧图像变化剧烈程度的值X,最后将图像变化剧烈程度X代入公式中,得到本次需要处理的图像帧数N,其中,Nmax表示最大处理帧数,Nmin表示最小处理帧数。Further, the method for estimating the number of frames in step 2 is: read in an image sequence composed of N max images, perform a pairwise difference operation on all the images read in to obtain an N max -1 frame image sequence, and then perform N max - Sum the total pixels of each image in the 1-frame image sequence, and then divide the calculated N max -1 pixel sum by the width and height of the corresponding image to obtain N max -1 evaluation values, and divide N max -1 The evaluation values are averaged to the value X of the severe degree of image change in N max frames, and finally the severe degree of image change X is substituted into the formula , the number N of image frames to be processed this time is obtained, where N max represents the maximum number of processed frames, and N min represents the minimum number of processed frames.
进一步,所述最大处理帧数Nmax设为25,最小处理帧数Nmin设为5。Further, the maximum number of processing frames N max is set to 25, and the minimum number of processing frames N min is set to 5.
进一步,所述步骤5中采用最大熵方法对图像进行阈值分割。Further, in the step 5, the maximum entropy method is used to perform threshold segmentation on the image.
进一步,所述步骤6中修正方法为:在当前搜索窗口内寻找灰度最大值,然后将灰度最大值的坐标作为下次搜索窗口的中心位置迭代搜索,直到最终搜索窗口不变为止,这时搜索窗口中心的位置即为目标位置。Further, the correction method in step 6 is: find the maximum gray value in the current search window, and then iteratively search the coordinates of the maximum gray value as the center position of the next search window until the final search window remains unchanged. The position at the center of the search window is the target position.
有益效果:与现有技术相比,本发明将形态学滤波与奇异值分解的方法有效的结合对视频中的弱小目标进行检测,不仅计算时间短,检测效率高,而且准确性和鲁棒性都比较好。Beneficial effects: Compared with the prior art, the present invention effectively combines the method of morphological filtering and singular value decomposition to detect weak and small targets in the video, which not only has short calculation time and high detection efficiency, but also has high accuracy and robustness. Both are better.
附图说明Description of drawings
图1是本发明的工作流程图。Fig. 1 is a work flowchart of the present invention.
图2(a)和图2(b)分别为检测视频中第20帧和第50帧图像;Figure 2(a) and Figure 2(b) are the 20th and 50th frame images in the detection video, respectively;
图3(a)和图3(b)分别为基于形态学滤波方法对检测视频中第20帧和第50帧图像中弱小目标检测的结果;Figure 3(a) and Figure 3(b) are the detection results of weak and small targets in the 20th frame and 50th frame in the detection video based on the morphological filtering method;
图4(a)和图4(b)分别为基于SVD对检测视频中第20帧和第50帧图像中弱小目标检测的结果;Figure 4(a) and Figure 4(b) are the results of detecting weak and small targets in the 20th and 50th frames of the video based on SVD, respectively;
图5(a)和图5(b)分别为本发明对检测视频中第20帧和第50帧图像中弱小目标检测的结果。Fig. 5(a) and Fig. 5(b) are the detection results of the weak and small targets in the 20th frame and the 50th frame in the detection video, respectively, according to the present invention.
具体实施方式Detailed ways
下面结合附图,对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings.
如图1所示,本发明提供了一种基于形态学滤波和SVD的弱小目标检测方法,包括以下步骤:As shown in Fig. 1, the present invention provides a kind of weak target detection method based on morphological filtering and SVD, comprises the following steps:
步骤1:输入待检测的视频序列,通过形态学滤波目标增强算法进行背景抑制、噪声去除,得到预处理后图像序列;Step 1: Input the video sequence to be detected, perform background suppression and noise removal through the morphological filtering target enhancement algorithm, and obtain the preprocessed image sequence;
考虑到弱小目标的检测,或多或少会遇到噪声图像与非噪声图像发生重叠形成结团或者某些噪声粒子的半径超过了非噪声粒子的半径,那么这种情况可选择合适半径的圆形作为结构元素,这对于恢复噪声污染图像会产生较好的滤波效果,是因为:(1)圆形的圆化作用可以起到低通滤波的效果;(2)采用圆形滤波可以不必考虑旋转的影响。Considering the detection of weak and small targets, it is more or less encountered that the noise image overlaps with the non-noise image to form agglomerates or the radius of some noise particles exceeds the radius of the non-noise particles, then in this case, a circle with a suitable radius can be selected As a structural element, this will produce a better filtering effect for restoring noise-contaminated images, because: (1) the rounding effect of the circle can play the effect of low-pass filtering; (2) the use of circular filtering does not need to consider The effect of rotation.
在确定圆形结构元素的半径时,可采用优化方法,将图象和噪声视为随机过程,通过统计分析,对被噪声污染的颗粒图象进行数量分析,求取统计分布参数,获得出现概率最大的噪声颗粒和未被噪声污染颗粒的半径,选取未被噪声污染颗粒的半径为结构元素半径,得到优化结果。When determining the radius of a circular structural element, an optimization method can be used to treat the image and noise as a random process. Through statistical analysis, the particle image polluted by noise can be quantitatively analyzed, and the statistical distribution parameters can be obtained to obtain the probability of occurrence. The radius of the largest noise particle and the particle not polluted by noise is selected as the radius of the structural element, and the optimization result is obtained.
此外,弱小目标的序列中可能既存在胡椒状噪声(差噪声),也存在砂眼噪声(并噪声),这样单纯的使用开运算或者闭运算效果都不会好,为了兼容平滑噪声和保留图像边缘及其他有意义的特征,本发明先对待检测视频中的每一帧图像进行闭运算,然后对可以进行开运算的区域开运算,能够得到更好的滤波效果,其中可以进行开运算的区域为有可填入砂眼噪声之间的图像内部,不会形成严重退化矩形的区域。根据公式和定义,我们不难得知,该形态学滤波器具有良好的平移不变性、递增性、幂等性和对偶性。这些性质使得此种开-闭或者闭-开滤波器实用性和可行性更强,取得的效果也更佳。In addition, there may be both pepper noise (difference noise) and trachoma noise (combination noise) in the sequence of weak and small targets, so the effect of simply using the opening or closing operation will not be good. In order to be compatible with smooth noise and preserve image edges and other meaningful features, the present invention first performs a closing operation on each frame of image in the video to be detected, and then performs an opening operation on the area that can be opened to obtain a better filtering effect, wherein the area that can be opened is There are regions of the image that can be filled in between trachoma noise without forming severely degenerated rectangles. According to the formula and definition, it is not difficult to know that the morphological filter has good translation invariance, incrementality, idempotency and duality. These properties make the on-off or off-on filter more practical and feasible, and achieve better results.
步骤2:从预处理后的图像序列中,读入Nmax幅图像组成的图像序列,进行帧数估计,得到需要处理的帧数N;Step 2: From the preprocessed image sequence, read in an image sequence composed of N max images, estimate the number of frames, and obtain the number N of frames to be processed;
在弱小目标序列中,不同目标需要一次性处理的帧数并不相同,所以需要通过自适应确定来得到需要处理的帧数N。在选择帧数的时候,首先要考虑的是图像变化快慢,即变化快时选择较少帧数来处理,反之选择较多帧数。故而,帧数估计的时候需要确定最大处理帧数Nmax和最小处理帧数Nmin,其中,最大处理帧数Nmax即为从预处理后的图像序列中读入的图像数Nmax。若Nmax很大则算法没有实时性,同样,若Nmin≤0,则对其进行奇异值分解也是没有任何意义的。考虑到实时性和可行性,最大处理帧数Nmax设为25,最小处理帧数Nmin设为5,用余弦函数来计算Nmax和Nmin之间的帧数估计,自变量为图像变化剧烈程度X。In the weak target sequence, the number of frames that need to be processed at one time is different for different targets, so it is necessary to obtain the number of frames N that need to be processed through adaptive determination. When choosing the number of frames, the first thing to consider is the speed of image changes, that is, when the changes are fast, select fewer frames for processing, otherwise choose more frames. Therefore, when estimating the number of frames, it is necessary to determine the maximum number of processed frames N max and the minimum number of processed frames N min , wherein the maximum number of processed frames N max is the number of images N max read in from the preprocessed image sequence. If N max is very large, the algorithm has no real-time performance. Similarly, if N min ≤ 0, it is meaningless to perform singular value decomposition on it. Considering real-time and feasibility, the maximum processing frame number N max is set to 25, the minimum processing frame number N min is set to 5, and the cosine function is used to calculate the frame number estimation between N max and N min , and the independent variable is the image change Intensity X.
当X<0.5时采用最小帧数处理,当X>1.5时采用最大帧数处理,当0.5<X<1.5时采用余弦函数过渡方式处理。利用三角函数知识,得到图像变化剧烈程度X和处理帧数N的公式如下:When X<0.5, the minimum number of frames is used for processing, when X>1.5, the maximum number of frames is used for processing, and when 0.5<X<1.5, the cosine function transition method is used for processing. Using the knowledge of trigonometric functions, the formulas for obtaining the degree of image change X and the number of processing frames N are as follows:
其中,具体评估算法为:在Nmax=25和Nmin=5的前提下,首先读入最大帧数的图像,对这些帧的图像进行两两差分操作得到Nmax-1帧图像序列,然后对Nmax-1帧图像序列中的每一幅图像总像素求和,再用求得的Nmax-1个像素和分别除以对应图像的宽和高得到Nmax-1个评估值,将Nmax-1个评估值求平均就可以得到Nmax帧图像变化剧烈程度的值X,最后将X代入公式(1)得到本次需要处理的图像帧数N。Among them, the specific evaluation algorithm is: under the premise of N max = 25 and N min = 5, first read in the images with the maximum number of frames, perform pairwise difference operations on the images of these frames to obtain an image sequence of N max -1 frames, and then Sum the total pixels of each image in the N max -1 frame image sequence, and then divide the calculated N max -1 pixel sum by the width and height of the corresponding image to obtain N max -1 evaluation values, and Take the average of N max -1 evaluation values to get the value X of the severe degree of image change in N max frames, and finally substitute X into formula (1) to get the number N of image frames that need to be processed this time.
步骤3:读入N+1幅图像,包括需要处理的N帧图像和N帧图像的后一幅图像,并将N+1幅图像组成的图像合并成二维数据,求其自相关矩阵并对其自相关矩阵进行SVD;Step 3: Read in N+1 images, including N frames of images to be processed and the next image of N frames of images, and merge the images composed of N+1 images into two-dimensional data, find its autocorrelation matrix and Perform SVD on its autocorrelation matrix;
N+1幅图像组成的图像序列A是一个{x,y,z}的三维数据集合,其中x表示图像的行数,y表示图像的列数,z表示序列的帧数。设矩阵Bq×z为A的二维展开,其中q=x×y,则B为x×y行z列的矩阵。一般情况下,x×y的值是比较大的,所以矩阵Bq×z的数据量不适合直接用来进行奇异值分解。设Bq×z的自相关矩阵为Cq×z,则Cq×z=B′q×zBq×z,其中,B′q×z是Bq×z的转置,所以矩阵Cq×z是行与列都等于z的方阵。此时,对矩阵Cq×z进行SVD。为了实现对弱小目标的检测,对每一幅图像及其之前的图像序列做上述奇异值分解。The image sequence A composed of N+1 images is a three-dimensional data set of {x, y, z}, where x represents the number of rows of the image, y represents the number of columns of the image, and z represents the number of frames of the sequence. Suppose the matrix B q×z is a two-dimensional expansion of A, where q=x×y, then B is a matrix of x×y rows and z columns. In general, the value of x×y is relatively large, so the data volume of the matrix B q×z is not suitable for direct use for singular value decomposition. Let the autocorrelation matrix of B q×z be C q×z , then C q×z =B′ q×z B q×z , where B′ q×z is the transpose of B q×z , so the matrix C q×z is a square matrix whose rows and columns are equal to z. At this time, SVD is performed on the matrix C q×z . In order to realize the detection of weak and small targets, the above-mentioned singular value decomposition is performed on each image and its previous image sequence.
步骤4:选择中间特征值对应特征向量重构图像序列,得到重构图像序列;Step 4: Select the eigenvector corresponding to the intermediate eigenvalue to reconstruct the image sequence to obtain the reconstructed image sequence;
根据奇异值分解的结果,选择合适的特征向量进行对应的图像序列重构,重构后的图像序列是q行i列的矩阵,Vz×i是中间特征值对应特征向量,可将重新变换为图像矩阵r表示步骤3中获得的奇异值的总数,i表示奇异值的标号,选择不同的i能得到不同的重构图像。其中,背景图像序列占整个待检测图像序列的绝大部分,得到的主要的特征值对应的特征向量重构的图像就会反映背景的信息。噪声图像序列是一组二维的随机过程,得到的最小的特征值对应的特征向量重构的图像因而会反映噪声信息。目标图像序列在整个图像序列中是不断运动变化的,得到的中间特征值重构的图像就会使移动的弱小目标得到增强。According to the results of singular value decomposition, select the appropriate eigenvector to reconstruct the corresponding image sequence, and the reconstructed image sequence is a matrix of q rows and i columns, and V z×i is the eigenvector corresponding to the intermediate eigenvalue, which can be Transform back to image matrix r represents the total number of singular values obtained in step 3, i represents the label of the singular value, different reconstructed images can be obtained by choosing different i. Among them, the background image sequence accounts for the vast majority of the entire image sequence to be detected, and the obtained image reconstructed from the eigenvectors corresponding to the main eigenvalues will reflect the background information. The noise image sequence is a group of two-dimensional random processes, and the image reconstructed by the eigenvector corresponding to the smallest eigenvalue will reflect the noise information. The target image sequence is constantly moving and changing throughout the image sequence, and the reconstructed image obtained from the intermediate eigenvalues will enhance the moving weak target.
步骤5:对步骤4中获得的重构图像序列进行阈值分割,从背景中分离得到原图像中弱小目标的位置;Step 5: Perform threshold segmentation on the reconstructed image sequence obtained in step 4, and separate the position of the weak target in the original image from the background;
其中,步骤5中采用最大熵方法对图像进行阈值分割,主要是利用重构图像序列中每个图像的灰度分布密度函数定义图像的信息熵,根据假设的不同或视角的不同提出不同的熵准则,最后通过优化该准则得到阈值。图像的信息熵反应了图像的整体面貌。若图像中包含目标,则在目标与背景可分割处信息量(即熵)最大。在一幅含有多目标的多灰度图像中,必然存在一个灰度,以这个灰度作为阈值,可使图像得到最佳二值化分割。从而实现目标和背景的分离,得到其大致位置。Among them, in step 5, the maximum entropy method is used to threshold the image, mainly using the gray distribution density function of each image in the reconstructed image sequence to define the information entropy of the image, and different entropy is proposed according to different assumptions or different viewing angles criterion, and finally the threshold is obtained by optimizing the criterion. The information entropy of an image reflects the overall appearance of the image. If the image contains a target, the amount of information (that is, entropy) is the largest where the target and the background can be separated. In a multi-grayscale image containing multiple targets, there must be a grayscale, which can be used as a threshold to obtain the best binary segmentation of the image. In this way, the separation of the target and the background can be achieved, and its approximate position can be obtained.
步骤6:对步骤4中得到的重构图像序列中的每幅图像分别进行帧间位置修正与帧内位置修正,以达到检测弱小目标的目的;Step 6: Perform inter-frame position correction and intra-frame position correction on each image in the reconstructed image sequence obtained in step 4, so as to achieve the purpose of detecting weak and small targets;
为了提高目标位置估计的准确性,在处理下一帧图像及其图像序列时需要用到本次的检测结果对目标位置进行修正。In order to improve the accuracy of target position estimation, the detection result of this time needs to be used to correct the target position when processing the next frame image and its image sequence.
具体方法是根据前后两次不同的检测结果的差值,如果在一定阈值内,则更新目标检测位置,否则认为本次处理为异常值,检测结果予以舍弃。此处的阈值通过最大熵方法得到。The specific method is to update the target detection position according to the difference between the two different detection results before and after it is within a certain threshold, otherwise it is considered that this processing is an outlier, and the detection result is discarded. The threshold here is obtained by the method of maximum entropy.
奇异值分解的是图像序列,因此整个数据空间中不仅包含有当前图像的数据,同时也包含之前的N幅图像数据。重构后得到的目标位置会在一定程度上反映当前目标过去的位置,而不是当前图像中目标的位置,所以还需要在帧内进行目标位置修正。The singular value decomposition is an image sequence, so the entire data space contains not only the data of the current image, but also the data of the previous N images. The target position obtained after reconstruction will reflect the past position of the current target to a certain extent, rather than the position of the target in the current image, so it is necessary to correct the target position within the frame.
修正算法的基本原理是:在当前搜索窗口内寻找灰度最大值,然后将此处坐标作为下次搜索窗口的中心位置迭代搜索,直到最终搜索窗口不变为止,这时搜索窗口中心的位置即为目标位置。The basic principle of the modified algorithm is: find the maximum gray value in the current search window, and then use the coordinates here as the center position of the next search window to iteratively search until the final search window remains unchanged. At this time, the position of the center of the search window is for the target location.
SVD处理后结合帧间与帧内的联合检测能使图像序列的弱小目标检测率始终保持在90%左右,这在很大程度上满足图像处理的实时性和可行性要求。After SVD processing, the combination of inter-frame and intra-frame joint detection can keep the detection rate of weak and small objects in the image sequence at about 90%, which meets the real-time and feasibility requirements of image processing to a large extent.
步骤7:将N代替Nmax后,重复步骤2~7,直到Nmax幅图像组成的图像序列中最后一幅图像处理完成后输出结果。Step 7: After replacing N max with N, repeat steps 2 to 7 until the last image in the image sequence composed of N max images is processed and the result is output.
如图2(a)和图2(b)所示,在vs2010+opencv2.4.3运行环境下对实际拍摄的红外弱小目标序列图像进行了实验,序列图像共100帧,图像大小为200×256像素,目标大小约为2×2像素,信噪比为2以内,对比度7%,背景为天空和云层.选取第20帧图像(为图2(a))和第50帧(图2(b))分别基于形态学滤波、基于SVD和本发明提供的方法进行检测。As shown in Figure 2(a) and Figure 2(b), in the vs2010+opencv2.4.3 operating environment, the experiment was carried out on the actually shot sequence images of infrared weak targets. The sequence images have 100 frames in total, and the image size is 200×256 pixels , the target size is about 2×2 pixels, the signal-to-noise ratio is within 2, the contrast is 7%, and the background is the sky and clouds. Select the 20th frame image (as Figure 2(a)) and the 50th frame (Figure 2(b) ) are detected based on morphological filtering, SVD and the method provided by the present invention respectively.
如图3(a)~图5(b)所示,形态学滤波方法处理速度较快,但却不能准确的达到弱小目标检测的目的,还检测到假目标;SVD可以较好实现突出弱小目标,并能保持较高的检测率,但对目标位置的跟踪不是太理想,另外检测运算量大,速度较慢。而本发明提出的方法不仅检测率高,而且处理的速度快,鲁棒性和实时性都比较好。As shown in Figure 3(a) to Figure 5(b), the morphological filtering method has a faster processing speed, but it cannot accurately achieve the purpose of weak and small target detection, and also detects false targets; SVD can better achieve highlighting weak and small targets , and can maintain a high detection rate, but the tracking of the target position is not ideal, and the detection calculation is heavy and the speed is slow. However, the method proposed by the present invention not only has a high detection rate, but also has a fast processing speed, and is relatively good in robustness and real-time performance.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510837688.3A CN105469428B (en) | 2015-11-26 | 2015-11-26 | A kind of detection method of small target based on morphologic filtering and SVD |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510837688.3A CN105469428B (en) | 2015-11-26 | 2015-11-26 | A kind of detection method of small target based on morphologic filtering and SVD |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105469428A CN105469428A (en) | 2016-04-06 |
| CN105469428B true CN105469428B (en) | 2018-05-11 |
Family
ID=55607087
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510837688.3A Expired - Fee Related CN105469428B (en) | 2015-11-26 | 2015-11-26 | A kind of detection method of small target based on morphologic filtering and SVD |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105469428B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106570889A (en) * | 2016-11-10 | 2017-04-19 | 河海大学 | Detecting method for weak target in infrared video |
| CN108010064A (en) * | 2017-11-03 | 2018-05-08 | 河海大学 | Motor cell tracking based on active profile and Kalman filter |
| CN111047624A (en) * | 2019-12-27 | 2020-04-21 | 成都英飞睿技术有限公司 | Image dim target detection method, device, equipment and storage medium |
| CN112381738B (en) * | 2020-11-23 | 2023-12-05 | 深圳企业云科技股份有限公司 | Perspective image self-adaptive correction algorithm based on correlation operation |
| CN112686890B (en) * | 2021-02-09 | 2024-02-20 | 浙江师范大学 | Artificial board surface defect detection method based on singular value decomposition |
| CN113971815B (en) * | 2021-10-28 | 2024-07-02 | 西安电子科技大学 | Few-sample target detection method based on singular value decomposition feature enhancement |
| CN118537360B (en) * | 2024-05-10 | 2025-02-07 | 西安兵器工业科技产业开发有限公司 | Image separation method, device, storage medium and electronic device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102750533A (en) * | 2012-07-05 | 2012-10-24 | 重庆大学 | Infrared small and weak target detection method based on morphological component sparse representation |
| CN103440502A (en) * | 2013-09-06 | 2013-12-11 | 重庆大学 | Infrared small-target detection method based on mixing Gauss and sparse representation |
-
2015
- 2015-11-26 CN CN201510837688.3A patent/CN105469428B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102750533A (en) * | 2012-07-05 | 2012-10-24 | 重庆大学 | Infrared small and weak target detection method based on morphological component sparse representation |
| CN103440502A (en) * | 2013-09-06 | 2013-12-11 | 重庆大学 | Infrared small-target detection method based on mixing Gauss and sparse representation |
Non-Patent Citations (3)
| Title |
|---|
| Infrared dim small target detection algorithm based on NSCT and SVD;Ying Zhao et al;《AOPC 2015: Image Processing and Analysis》;20151014;第9675卷;全文 * |
| 基于SVD背景抑制和粒子滤波的弱小目标检测;崔丽洁 等;《计算机应用研究》;20110430;第28卷(第4期);全文 * |
| 基于背景抑制和灰度形态学的弱小目标检测;董宇星 等;《图像图形技术研究与应用》;20101231;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105469428A (en) | 2016-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105469428B (en) | A kind of detection method of small target based on morphologic filtering and SVD | |
| CN103971386B (en) | A kind of foreground detection method under dynamic background scene | |
| CN112257569B (en) | Target detection and identification method based on real-time video stream | |
| Ye et al. | Dynamic texture based smoke detection using Surfacelet transform and HMT model | |
| CN112364865B (en) | A detection method for moving small objects in complex scenes | |
| CN101276468B (en) | Computer-implemented method of tracking an object in a sequence of video frames | |
| Gao et al. | Robust infrared small target detection using multiscale gray and variance difference measures | |
| CN103729854B (en) | A kind of method for detecting infrared puniness target based on tensor model | |
| Zhang et al. | Infrared small target detection based on spatial-temporal enhancement using quaternion discrete cosine transform | |
| Patil et al. | MsEDNet: Multi-scale deep saliency learning for moving object detection | |
| Xu et al. | COCO-Net: A dual-supervised network with unified ROI-loss for low-resolution ship detection from optical satellite image sequences | |
| CN107633226A (en) | A kind of human action Tracking Recognition method and system | |
| CN106991686A (en) | A kind of level set contour tracing method based on super-pixel optical flow field | |
| Hambarde et al. | Single image depth estimation using deep adversarial training | |
| Zhao et al. | Multi-scale direction-aware network for infrared small target detection | |
| Guo et al. | Small aerial target detection using trajectory hypothesis and verification | |
| CN111539396A (en) | Pedestrian detection and gait recognition method based on yolov3 | |
| Xiao et al. | A multi-cue mean-shift target tracking approach based on fuzzified region dynamic image fusion | |
| CN105930793A (en) | Human body detection method based on SAE characteristic visual learning | |
| CN106570889A (en) | Detecting method for weak target in infrared video | |
| Ma et al. | Video image clarity algorithm research of USV visual system under the sea fog | |
| CN113470074B (en) | Self-adaptive space-time regularization target tracking method based on block discrimination | |
| Li et al. | Underwater image clearing algorithm based on the Laplacian edge detection operator | |
| Hao et al. | Moving object tracking algorithm based on improved Gaussian mixture model | |
| Liu et al. | [Retracted] Mean Shift Fusion Color Histogram Algorithm for Nonrigid Complex Target Tracking in Sports Video |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180511 Termination date: 20201126 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |