CN102314687A - Method for detecting small targets in infrared sequence images - Google Patents
Method for detecting small targets in infrared sequence images Download PDFInfo
- Publication number
- CN102314687A CN102314687A CN201110260493A CN201110260493A CN102314687A CN 102314687 A CN102314687 A CN 102314687A CN 201110260493 A CN201110260493 A CN 201110260493A CN 201110260493 A CN201110260493 A CN 201110260493A CN 102314687 A CN102314687 A CN 102314687A
- Authority
- CN
- China
- Prior art keywords
- image
- pixels
- block
- field picture
- pixel
- 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.)
- Granted
Links
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a method for detecting small targets in infrared sequence images, which belongs to the field of image data processing. The method includes the following steps: (1) image preprocessing step: obtaining the differential image of each frame of image of an obtained infrared sequence image; (2) background modeling step: obtaining the characteristic image of each frame of image; (3) smallest non-uniform image segmentation step: working out an optimal segmentation threshold value, and utilizing the optimal segmentation threshold value to segment the obtained characteristic image, so that a small infrared target can be detected. For an image with a uniformly distributed background, the method can effectively rebuild the background; the smallest non-uniform image segmentation method converts the segmentation problem into the segmentation problem of images, the optimal segmentation threshold value is sought from the perspective of segmentation energy, and targets can be more accurately segmented out.
Description
Technical field
The invention belongs to image processing method, be specifically related to the detection method of infrared small target under a kind of complex background.
Background technology
Infrared small target can be described as a relative concept, and so-called " little " is meant that its physical dimension is little in image, it has been generally acknowledged that little target is meant in the target of size between 1*1 pixel to 10*10 pixel on the image.Because target is less, there is not the shape information that can be used for discerning, it is lower also to have signal to noise ratio (S/N ratio) in addition,, the characteristics that position and movement rate are all unknown make the detection of infrared small target become very difficult.The infrared small target detection algorithm that exists at present mainly comprises the detection algorithm based on wave filter, based on the detection algorithm of wavelet transformation, based on the detection algorithm of mathematical morphology and some are based on detection algorithm study or movable information.Detection algorithm based on wave filter leaches possible target area through wave filter, suppresses most of background, and these class methods are simply effective, but very little in target, and effect is bad under the lower situation of signal to noise ratio (S/N ratio), effectively filtering interfering; Detection algorithm based on wavelet transformation is that different characteristic detects between target area and the background through extracting, but under the less situation of target, small echo can not effectively extract the characteristic of target usually; Method based on mathematical morphology mainly is to use the top-hat conversion to suppress background, but it is very sensitive to choosing of structural element, and is in addition, also very sensitive to the extraction of little target under the low signal-to-noise ratio; Method based on study is only obtaining under the situation of training sample preferably good detection effect to be arranged, but usually preferably obtaining of training sample be difficulty very.In a word, all there is certain limitation in a series of detection algorithms that exist at present.
Summary of the invention:
The present invention proposes the small target detecting method in a kind of infrared sequence image, at first rebuild and remove background, adopt the method for minimum lack of balance figure cutting then, utilize image segmentation that little target is detected, can be partitioned into target accurately through background.。
The method of the little target detection of a kind of infrared sequence image of the present invention, step is:
(1) image pre-treatment step:
For better detection effect is arranged, at first to carry out pre-service, to reach the purpose that single frames strengthens target to image; At first each row of original image is removed this row average; Respectively image is carried out mean filter with two windows that differ in size then, calculate its difference then, obtain error image.
(2) background modeling step:
From neighborhood of pixels, at first to any adjacent two frame error image f
1And f
2Do piecemeal respectively and handle, with f
1In certain block of pixels be regarded as a vector, from f
2In k block of pixels of its arest neighbors of search, arest neighbors estimate the use Euclidean distance, remove first block of pixels nearest with it, then, under the condition that satisfies minimum reconstruction error, with k-1 remaining this block of pixels of block of pixels reconstruction, to f
1In each block of pixels do identical processing, obtain reconstructed image at last; By error image f
1Subtract each other with reconstructed image, obtain characteristic image at last;
The basis of doing like this is; Background is equally distributed comparatively speaking, and each background piece has many block of pixels in image, and target is then less; Background can well be rebuild; The error that target is then rebuild is bigger, and during as characteristic image, then target can highlight with the reconstruction error image.
(3) minimum lack of balance figure cutting step:
At first set up grid chart model G between pixel (V, E), wherein node is a pixel, the limit be between neighbor constraint w (u, v), (u v) is used to define the flatness of neighbor to this constraint w;
Grid model is regarded as three-dimensional plot, and then segmentation problem is converted into the cutting problem of figure, highly is pixel grey scale; Planimetric coordinates is a locations of pixels, and cut surface can be regarded as the threshold value t of image segmentation, and threshold value t is divided into A with image; B two parts calculate A, ablation energy between B and optimization function size; Down carry out searching loop from the maximal value of t, make optimization function get the t of minimum value, be optimal segmenting threshold; With this segmentation threshold the above-mentioned characteristic image that obtains is cut apart then, thereby detected infrared small target.
Wherein, said background modeling step process is:
(2.1) for any two adjacent two field picture f
1And f
2, respectively it is done piecemeal and handles;
(2.2) to f
1In each block of pixels, it is expressed with vector form, at frame f
2K block of pixels of middle search arest neighbors;
(2.3) for f
1In each block of pixels, except f
2In first block of pixels nearest with it, by it at f
2Middle corresponding other k-1 block of pixels is rebuild according to reconstruction formula, and satisfies minimum reconstruction error, and wherein said reconstruction formula is:
Wherein,
Expression f
1In i block of pixels,
Expression f
2In j nearest neighbor pixels piece, w
jIt is the weight coefficient of j nearest neighbor pixels piece;
(2.4) f
1In the reconstructed block value of i block of pixels be taken as
The average of the reconstructed value of two pieces, the f that asks are got in overlapping region between two pieces
1In the reconstructed block value of each block of pixels after, the background image f that can obtain rebuilding
r
(2.5) last, image f
1The background image f that obtains with reconstruction
rDo difference, promptly obtain characteristic image f
1-f
r, then removed most of background in the characteristic image of this moment, target can highlight.
Wherein, said minimum lack of balance figure cutting step process is:
(3.1) at first set up grid chart model G between pixel (V, E), wherein node is a pixel, the limit be between neighbor constraint w (u, v), (u v) is used to define the flatness of neighbor to this constraint w; The grid chart model is regarded as three-dimensional plot, and then segmentation problem is converted into the cutting problem of figure, wherein highly is pixel grey scale, and planimetric coordinates is a locations of pixels, and cut surface can be regarded as the threshold value t of image segmentation; The node that image segmentation is about among the figure is divided into A, and B two parts are higher than the A that is on the cut surface, are lower than the B that is of cut surface.
(3.2) ablation energy between calculating A and B defines as follows:
Desire accurately to cut apart little object boundary, reach the purpose of minimal cut, then require A and B to cut apart in the minimum position of constraint, (A B) measures then to use ablation energy Cut; Because mainly be to choose segmentation threshold here, so energy calculating is only relevant with threshold value t, promptly above-mentioned energy computing formula can be rewritten as:
Wherein, I (u) is the gray-scale value of pixel u, I (v) be the gray-scale value of pixel v, t is current threshold value, wherein w (u v) is the constraint between current pixel point u and its neighborhood territory pixel point v, and formula is following:
‖ u-v ‖<D remarked pixel point u in the formula and the distance between the pixel v are less than D; Generally v is the pixel of eight neighborhoods of u, can certainly get bigger scope, and the size of D depends on the size of selected neighborhood; Neighborhood varies in size, and distance B is also different.
(3.3) cut principle based on minimum lack of balance figure, can be constructed as follows optimization function:
Wherein | A|, | B| is respectively the sum of all pixels of A, B;
From maximum t, down search always, (A B) reaches minimum value and promptly stops L, and this moment, the value of t was optimal segmenting threshold.
The method of the background modeling that the present invention proposes is the angle from neighborhood of pixels, for certain block of pixels, considers to rebuild this block of pixels from the plurality of pixels piece of another frame; And satisfy minimum reconstruction error, and this method is for the relative uniform image of background distributions, and each background piece has many block of pixels in image; Target is then less; So background can well be rebuild, and the error that target is rebuild is bigger, thereby well reaches the purpose of removing background; Minimum lack of balance figure cutting method is converted into the cutting problem of figure with segmentation problem, from the angle of ablation energy, goes to seek best segmentation threshold, can be partitioned into target more accurately.
Description of drawings
Fig. 1 is a process flow diagram of the present invention;
Fig. 2 (a) is the former figure that comprises the ground infrared small target;
Fig. 2 (b) is pretreated result;
Fig. 2 (c) is result after the removal background;
Fig. 2 (d) is the result of minimum lack of balance figure cutting;
Fig. 3 (a) is the former figure that comprises sea day infrared small target;
Fig. 3 (b) is pretreated result;
Fig. 3 (c) is result after the removal background;
Fig. 3 (d) is the result of minimum lack of balance figure cutting.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is done further explain.
The method of the little target detection of a kind of infrared sequence image of the present invention, concrete steps are:
(1) image pre-service
In order to reach better detection effect, need earlier to image graph 2 (a) pre-service, to reach the purpose that single frames strengthens target.At first each row of original image is removed this row average; Adopt the window of 15*15 and the window of 3*3 respectively the image after the removal average to be carried out mean filter then; Calculate filtered image difference at last twice, the error image Fig. 2 (b) that obtains is pretreated image.
2, background modeling is removed background
(2.1) to the pretreated image f of adjacent two frames
1And f
2Carry out piecemeal, the size of the piece of choosing is 11*11 here, and the overlapping size of interblock is 2.
(2.2) to f
1In each block of pixels, it is expressed with vector form, at frame f
2K block of pixels of middle search arest neighbors, common Euclidean distance is used in estimating of arest neighbors.
(2.3) for fear of the piece that comprises target is directly rebuild by the object block of correspondence, for f
1In each block of pixels, except f
2In first block of pixels nearest with it, by it at f
2Middle corresponding other k-1 block of pixels is rebuild according to reconstruction formula, and satisfies minimum reconstruction error, and wherein said reconstruction formula is:
Wherein,
Expression f
1In i block of pixels,
Expression f
2In j nearest neighbor pixels piece, w
jBe the weight coefficient of j nearest neighbor pixels piece, this formulate calculates two norms, and satisfies the condition of least error.
(2.4) f
1In the reconstructed block value of i block of pixels be taken as
The average of the reconstructed value of two pieces, the f that asks are got in overlapping region between two pieces
1In the reconstructed block value of each block of pixels after, the background image f that can obtain rebuilding
r
(2.5) last, image f
1The background image f that obtains with reconstruction
rDo difference, promptly obtain characteristic image f
1-f
r, then removed most of background in the characteristic image of this moment, target can highlight, shown in Fig. 2 (c).
3, minimum lack of balance figure cutting
(3.1) at first set up grid chart model G between pixel (V, E), wherein node is a pixel, the limit be between neighbor constraint w (u, v), (u v) is used to define the flatness of neighbor to this constraint w; The grid chart model is regarded as three-dimensional plot, and then segmentation problem is converted into the cutting problem of figure, wherein highly is pixel grey scale, and planimetric coordinates is a locations of pixels, and cut surface can be regarded as the threshold value t of image segmentation; The node that image segmentation is about among the figure is divided into A, and B two parts are higher than the A that is on the cut surface, are lower than the B that is of cut surface.
(3.2) to current threshold value t, according to formula calculate current ablation energy Cut (A, B), pixel u wherein, the pixel value of v satisfy I (u) >=t and I (v)<t, u, v get eight neighborhoods,
W (u v) is the constraint between current pixel point u and its neighborhood territory pixel point v, and formula is following:
‖ u-v ‖<D remarked pixel point u in the formula and the distance between the pixel v are less than D, and v is the pixel of eight neighborhoods of u here, and the size of D depends on the size of selected neighborhood, and neighborhood varies in size, and distance B is also different.
(3.3) statistics is greater than the pixel summation of the A of threshold value t part, as | the value of A|; Statistics is less than the number summation of the pixel of the B of threshold value t part, as | the value of B|, same, u, v get 8 neighborhoods.
(3.4) the Cut that obtains (A, B), | A|, | the value substitution optimization function of B|, calculate L (the optimization function formula is for A, B) size:
(3.5) above step is carried out in circulation, and threshold value t down searches for from maximal value always; Make L (A; B) get the threshold value t of minimum value, be best segmentation threshold, resulting characteristic image in the 2nd step is cut apart with this threshold value; Can be partitioned into little target, last segmentation result such as Fig. 2 (d).
The infrared small target that method of the present invention can be applied under the multiple image background detects, and like infrared small target detection under day background of sea etc., its treatment step is same as the previously described embodiments.Fig. 3 (a) is the former figure that comprises sea day infrared small target; The pretreated result of Fig. 3 (b); Result after Fig. 3 (c) removal background; The result of the minimum lack of balance figure cutting of Fig. 3 (d).
Claims (5)
1. the method for the little target detection of infrared sequence image comprises following process:
(1) image pre-treatment step:
For each two field picture in the infrared sequence image; At first, remove the average of each row in the image, respectively image is carried out mean filter with two windows that differ in size then; The last difference of computed image behind twice mean filter obtains the error image of each two field picture;
(2) background modeling step is promptly set up the reconstructed image of the error image of each two field picture, and obtains the characteristic image of each two field picture, is specially:
At first, the error image of the consecutive frame image of the error image of each two field picture and this each two field picture being done piecemeal respectively handles;
Secondly, the arbitrary block of pixels with the error image of this each two field picture is regarded as vector, k block of pixels of its arest neighbors of search from another error image; Remove a block of pixels nearest with it; Then according to k-1 remaining this block of pixels of neighbour's block of pixels reconstruction,, can obtain the reconstructed image of this error image to the reconstruction of all block of pixels of error image of this each frame; Wherein, k is the positive integer greater than 1;
Then, error image and its reconstructed image of this each two field picture subtracted each other, obtain the characteristic image of each two field picture;
(3) minimum lack of balance figure cutting step:
For the characteristic image of each two field picture, at first set up grid chart model G between pixel (V, E), wherein node is a pixel, the limit be between neighbor constraint w (u, v), (u v) is used to define the flatness of neighbor to this constraint w;
Secondly, (V E) is regarded as three-dimensional plot with grid model G; Wherein highly be pixel grey scale, planimetric coordinates is a locations of pixels, with threshold value t as cut surface; Node in the three-dimensional plot is divided into A and B two parts, and ablation energy between computed image A and image B two parts and optimization function are big or small, and down carry out searching loop from the maximal value of threshold value t; Make optimization function get the threshold value of minimum value, as optimal segmenting threshold;
At last, utilize this optimal segmenting threshold that the characteristic image of above-mentioned each two field picture that obtains is cut apart, can be partitioned into infrared small target, accomplish and detect.
2. method according to claim 1 is characterized in that, in the background modeling of said step (2), the reconstruction formula of said this block of pixels of reconstruction is:
Wherein,
For waiting to rebuild the error image f at block of pixels place
1In i block of pixels,
The error image f of expression consecutive frame
2In j nearest neighbor pixels piece, w
jBe the weight coefficient of this j block of pixels, i, j are positive integer, ‖
2Two norms are calculated in expression, and satisfy the condition of least error.
3. method according to claim 2 is characterized in that, estimating of said arest neighbors is Euclidean distance.
4. according to the described method of one of claim 1-3, it is characterized in that in the described step (3), the ablation energy between image A and image B defines as follows:
Above-mentioned energy computing formula can be rewritten as:
Wherein, I (u) is the gray-scale value of pixel u, I (v) be the gray-scale value of pixel v, t is current threshold value, w (u v) is the constraint between current pixel point u and its neighborhood territory pixel point v, and its computing formula is following:
‖ u-v ‖<D remarked pixel point u in the formula and the distance between the pixel v are less than D, and D is a positive integer.
5. according to the described method of one of claim 1-4, it is characterized in that in the described step (3), said optimization function is:
Wherein | A|, | B| is respectively the sum of all pixels of image A and image B.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110260493 CN102314687B (en) | 2011-09-05 | 2011-09-05 | Method for detecting small targets in infrared sequence images |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110260493 CN102314687B (en) | 2011-09-05 | 2011-09-05 | Method for detecting small targets in infrared sequence images |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102314687A true CN102314687A (en) | 2012-01-11 |
CN102314687B CN102314687B (en) | 2013-01-23 |
Family
ID=45427825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110260493 Expired - Fee Related CN102314687B (en) | 2011-09-05 | 2011-09-05 | Method for detecting small targets in infrared sequence images |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102314687B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391419A (en) * | 2012-05-08 | 2013-11-13 | 西安秦码软件科技有限公司 | Processing method for identifying and tracking weak target |
CN104346601A (en) * | 2013-07-26 | 2015-02-11 | 佳能株式会社 | Object identification method and equipment |
CN106651689A (en) * | 2016-10-11 | 2017-05-10 | 深圳万发创新进出口贸易有限公司 | Intelligent examination system |
CN106954075A (en) * | 2016-01-06 | 2017-07-14 | 睿致科技股份有限公司 | Image processing apparatus and image compression method thereof |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1606033A (en) * | 2004-11-18 | 2005-04-13 | 上海交通大学 | Weak target detecting and tracking method in infrared image sequence |
-
2011
- 2011-09-05 CN CN 201110260493 patent/CN102314687B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1606033A (en) * | 2004-11-18 | 2005-04-13 | 上海交通大学 | Weak target detecting and tracking method in infrared image sequence |
Non-Patent Citations (3)
Title |
---|
张义顺 等: "自动阈值方法在焊缝图像处理中的应用", 《焊接技术》 * |
曹炬 等: "从移动背景红外序列图像中检测运动目标", 《电子与信息学报》 * |
高智: "红外图像中运动小目标检测技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391419A (en) * | 2012-05-08 | 2013-11-13 | 西安秦码软件科技有限公司 | Processing method for identifying and tracking weak target |
CN104346601A (en) * | 2013-07-26 | 2015-02-11 | 佳能株式会社 | Object identification method and equipment |
CN106954075A (en) * | 2016-01-06 | 2017-07-14 | 睿致科技股份有限公司 | Image processing apparatus and image compression method thereof |
CN106954075B (en) * | 2016-01-06 | 2019-10-18 | 睿致科技股份有限公司 | Image processing apparatus and image compression method thereof |
CN106651689A (en) * | 2016-10-11 | 2017-05-10 | 深圳万发创新进出口贸易有限公司 | Intelligent examination system |
Also Published As
Publication number | Publication date |
---|---|
CN102314687B (en) | 2013-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086773B (en) | Fault plane identification method based on full convolution neural network | |
CN103049906B (en) | A kind of image depth extracting method | |
Lu et al. | Removal of salt-and-pepper noise in corrupted image using three-values-weighted approach with variable-size window | |
US8472718B2 (en) | Superpixel segmentation methods and systems | |
CN107481274B (en) | Robust reconstruction method of three-dimensional crop point cloud | |
CN102254319A (en) | Method for carrying out change detection on multi-level segmented remote sensing image | |
CN103455991A (en) | Multi-focus image fusion method | |
CN103065299B (en) | Ultrasonoscopy edge extracting method and device | |
CN110070574B (en) | Binocular vision stereo matching method based on improved PSMAT net | |
CN107204001B (en) | Automatic midium segmentation method in carotid artery ultrasonic image | |
CN104103041B (en) | Ultrasonoscopy mixed noise Adaptive Suppression method | |
CN102819827A (en) | Self-adaption moment matching stripe noise removing method based on gray-level segmentation | |
CN102314687B (en) | Method for detecting small targets in infrared sequence images | |
CN103020959B (en) | Gravity model-based oceanic front information extraction method | |
CN104835127B (en) | A kind of self-adaptive smooth filtering method | |
CN102722879A (en) | SAR (synthetic aperture radar) image despeckle method based on target extraction and three-dimensional block matching denoising | |
CN104036461A (en) | Infrared complicated background inhibiting method based on combined filtering | |
CN102136134B (en) | Method for removing speckles from SAR (Synthetic Aperture Radar) image based on MRF (Markov Random Field) priority | |
Sayed et al. | Image object extraction based on curvelet transform | |
CN103955943A (en) | Non-supervision change detection method based on fuse change detection operators and dimension driving | |
Kerautret et al. | 3D geometric analysis of tubular objects based on surface normal accumulation | |
CN104199006B (en) | A kind of random set trackings based on more hypothesis Joint Distribution wave filters | |
Wu et al. | Research on crack detection algorithm of asphalt pavement | |
KR101154355B1 (en) | Automatic left ventricle segmentation method | |
CN111060887B (en) | Gm-APD laser radar low signal-to-noise ratio echo data signal extraction method based on concave-convex search |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130123 Termination date: 20130905 |