CN105513092A - Template characteristic selection method for target tracking - Google Patents
Template characteristic selection method for target tracking Download PDFInfo
- Publication number
- CN105513092A CN105513092A CN201510845774.9A CN201510845774A CN105513092A CN 105513092 A CN105513092 A CN 105513092A CN 201510845774 A CN201510845774 A CN 201510845774A CN 105513092 A CN105513092 A CN 105513092A
- Authority
- CN
- China
- Prior art keywords
- template
- light stream
- unique
- interval
- stream vector
- 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
Classifications
-
- 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/20—Special algorithmic details
- G06T2207/20076—Probabilistic image processing
Abstract
The invention, which belongs to the technical field of visual tracking, discloses a template characteristic selection method for target tracking. With the method, a problem of template tracking drifting caused by a non target matching point in the template during the existing long-range target tracking process can be solved. The method comprises: an optical flow vector of an original matching feature point pair in a template is calculated; polar coordinate processing is carried out on the calculated optical flow vector; probability density statistics is carried out on the processed optical flow vector in polar coordinate space to generate an angular distribution histogram; and median filtering is carried out on the angular distribution histogram to obtain a target matching feature point, so that a non-target feature point in the target template is effectively removed.
Description
Technical field
The present invention relates to a kind of Visual Tracking, particularly relate to the optical flow field analysis of template characteristic point in target following, sports ground analysis and probability density distribution analysis, belong to image procossing and area of pattern recognition.
Background technology
It is the important ingredient of image procossing and area of pattern recognition that template is followed the tracks of, and is widely used in intelligent monitoring, in the vision tracking module of the various system such as man-machine interaction and unmanned platform navigation.Its basic process can be described as: when without any priori, with rectangular window selected certain object (i.e. template) in the first two field picture, then follows the tracks of this object in subsequent video sequence.
At present, researcher has carried out large quantifier elimination to template track algorithm, and the LK optical flow method wherein based on template characteristic coupling is one of most important technological means.Its techniqueflow is: first carry out feature extraction to To Template, obtains the unique point in template; Then utilize LK optical flow method to follow the tracks of each unique point in next frame image, obtain the matching characteristic point of each unique point, form matching characteristic point pair thus; Sports ground finally by matching characteristic point between two two field pictures (matching characteristic point to) tries to achieve the geometric transform relation between two two field pictures, and final position and the size obtaining target in this two field picture, complete a tracking cycle.Constantly repeat above-mentioned tracking cycle can follow the tracks of by the realize target in whole video sequence.The hypothesis of this technological means is: although each unique point is tracked separately coupling by LK optical flow method in template, as a part for tracked target, in template, all unique points follow Movement consistency.
But the shortcoming of the Moulding board method of existing feature based coupling is: along with constantly carrying out of tracking cycle, template is easily drifted about, and finally causes track rejection.Its main cause is, although most of region tracked target covered in template, but background pixel is inevitably introduced into, and then the intersection point of pixel in background image and background and objective contour is also often extracted as unique point, and is followed the tracks of by LK optical flow method.Therefore, there is non-targeted feature point pairs in the feature point pairs mated between two two field pictures obtained.But these non-targeted unique points do not belong to a part for target, do not meet Movement consistency hypothesis, therefore interference is caused to solving of geometric transformation, the estimation of template size in next frame and position is caused a deviation.Along with the continuous repetition of tracking cycle, the non-targeted unique point in template is constantly introduced into, and template deviation constantly accumulates, and finally causes the drift of template.
Summary of the invention
For solving the template drift problem caused because non-targeted unique point is introduced in object tracking process, the present invention proposes a kind of template characteristic system of selection for target following, by carrying out the probability density analysis based on directional spreding to the optical flow field of the matching characteristic point between two two field pictures to formation, reject the non-targeted unique point in template, thus the template drift in containment object tracking process.
The concrete steps of the method are:
The light stream vector of original match feature point pairs in step one, calculation template
If there is N number of original match feature point pairs in template, follow the tracks of original match unique point, for the unique point in the (n+1)th two field picture according to LK optical flow method
With characteristic of correspondence point in the n-th two field picture
the light stream vector d of each original match feature point pairs in (1) calculation template according to the following equation
i(n|n+1), 1≤i≤N:
Wherein, n is image frame number;
with
be respectively at the n-th two field picture I
nwith the (n+1)th two field picture I
n+1i-th unique point of middle correspondence,
with
be respectively unique point
and unique point
coordinate in image coordinate system;
The light stream vector that in step 2, employing polar coordinate representation template, original match point is right
According to following formula (2)
Obtain the polar coordinate representation (ρ of the light stream vector of each original match feature point pairs
i(n|n+1), θ
i(n|n+1)); Wherein ρ
i(n|n+1) be light stream vector d
i(n|n+1) length, θ
i(n|n+1) be light stream vector d
i(n|n+1) deflection;
Step 3, carry out probability density statistics in polar coordinate space interior focusing flow vector, obtain the probability density of light stream vector in each interval, and generate angular distribution histogram thus; The histogrammic unit width of described angular distribution is Δ θ, is highly F
b(j), wherein: Δ θ is after the polar coordinate space of light stream vector is divided into J interval, the width in each interval; F
b(j) light stream vector in the interval probability density of jth, j=1,2 ..., J;
Step 4, medium filtering is carried out to angle distribution histogram, meet the unique point of the light stream vector in the interval of medium filtering condition for followed the tracks of target signature point, retained; The unique point not meeting the light stream vector in the interval of value filtering condition is non-targeted unique point, deletes from template.
Beneficial effect:
Suppose according to target signature point Movement consistency, by analyzing the optical flow field travel direction distribution density of original match feature point pairs in template, to reject in template non-targeted point in original match feature point pairs (i.e. background characteristics point and background and target boundary unique point), thus effectively suppress the problem of template drift in object tracking process, greatly improve the accuracy of target tracking algorism.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the described template characteristic system of selection for target following;
Fig. 2 is original match feature-point optical flow polar plot;
Fig. 3 is the polar plot of feature-point optical flow vector;
Fig. 4 is the angular distribution histogram of feature-point optical flow vector;
Fig. 5 is target matching characteristics point and light stream vector figure thereof.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The present embodiment provides a kind of template characteristic system of selection for target following, for solving the problem of the template drift caused because non-targeted unique point is introduced in object tracking process.
The overall flow of the method is as shown in Figure 1:
The light stream vector of original match feature point pairs in step one, calculation template, obtains optical flow field D (n|n+1);
If the number of original match feature point pairs is N in template, according to the original match unique point that LK optical flow method traces into, to the (n+1)th two field picture I
n+1interior unique point
With the n-th two field picture I
nmiddle characteristic of correspondence point
the light stream vector d of each original match feature point pairs in (1) calculation template according to the following equation
i(n|n+1), 1≤i≤N:
Wherein, n is image frame number;
with
be respectively at the n-th two field picture I
nwith the (n+1)th two field picture I
n+1i-th unique point of middle correspondence,
with
be respectively unique point
and unique point
coordinate in image coordinate system; N is total logarithm of original match unique point in template.
Finally obtain optical flow field D (n|n+1)={ d of original match point in template
i(n|n+1) | 1≤i≤N}, as shown in Figure 2.
Step 2, by optical flow field D (n|n+1) Polar coordinates of original match point in template
According to the light stream vector d of original match feature point pairs each in template
i(n|n+1) following equation is solved:
Obtain the polar coordinate representation (ρ of the light stream vector of each original match feature point pairs
i(n|n+1), θ
i(n|n+1)), as shown in Figure 3.Wherein ρ
i(n|n+1) be light stream vector d
i(n|n+1) length, θ
i(n|n+1) be light stream vector d
i(n|n+1) deflection.
Step 3, carry out probability density statistics and generate angular distribution histogram in the polar coordinate space of light stream vector to it, concrete steps are:
(301) angular range of polar coordinates 0 ~ 360 ° is divided into J interval, wherein each interval width is Δ θ;
(302) statistics falls into the number S of the light stream vector in a jth interval
j, j=1,2 ..., J; Then light stream vector is obtained at a jth interval probability density F by following formula (2)
b(j):
(303) according to the jth interval probability density F that step (302) calculates
bj (), sets up angular distribution histogram in the distribution of the angular range interior focusing flow vector of 0 ~ 360 °, as shown in Figure 4; Wherein histogram constituent parts width is Δ θ, is highly F
b(j).
Step 4, carry out medium filtering to angle distribution histogram, obtain target matching characteristics point, concrete steps are:
(401) duplicate removal process is carried out to angle distribution histogram, obtain single angular histogram amplitude unique (F
b(j));
(402) single angular histogram amplitude is sorted by size, find its intermediate value median (unique (F
b(j)));
(403) with intermediate value median (unique (F
b(j))) be thresholding, if a jth interval histogram amplitude unique (F
b(j)) meet:
unique(F
b(j))≥median(unique(F
b(j))),j=1,2,…,J
Then think that the unique point of the light stream vector be in a jth interval is for followed the tracks of target signature point, is retained; On the contrary, not think that the unique point of the light stream vector met in the interval of this condition is non-targeted unique point, deleted; The unique point finally retained is the target signature point in template, as shown in Figure 5.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (3)
1. for a template characteristic system of selection for target following, it is characterized in that, concrete steps are:
The light stream vector of original match feature point pairs in step one, calculation template
If there is N number of original match feature point pairs in template, follow the tracks of original match unique point, for the unique point in the (n+1)th two field picture according to LK optical flow method
With characteristic of correspondence point in the n-th two field picture
The light stream vector d of each original match feature point pairs in (1) calculation template according to the following equation
i(n|n+1), 1≤i≤N:
Wherein, n is image frame number;
with
be respectively at the n-th two field picture I
nwith the (n+1)th two field picture I
n+1i-th unique point of middle correspondence,
With
Be respectively unique point
and unique point
coordinate in image coordinate system;
The light stream vector that in step 2, employing polar coordinate representation template, original match point is right
According to following formula (2)
Obtain the polar coordinate representation (ρ of the light stream vector of each original match feature point pairs
i(n|n+1), θ
i(n|n+1)); Wherein ρ
i(n|n+1) be light stream vector d
i(n|n+1) length, θ
i(n|n+1) be light stream vector d
i(n|n+1) deflection;
Step 3, carry out probability density statistics in polar coordinate space interior focusing flow vector, obtain the probability density of light stream vector in each interval, and generate angular distribution histogram thus; The histogrammic unit width of described angular distribution is Δ θ, is highly F
b(j), wherein: Δ θ is after the polar coordinate space of light stream vector is divided into J interval, the width in each interval; F
b(j) light stream vector in the interval probability density of jth, j=1,2 ..., J;
Step 4, medium filtering is carried out to angle distribution histogram, meet the unique point of the light stream vector in the interval of medium filtering condition for followed the tracks of target signature point, retained; The unique point not meeting the light stream vector in the interval of value filtering condition is non-targeted unique point, deletes from template.
2. as claimed in claim 1 for the template characteristic system of selection of target following, it is characterized in that, described step 3 generates the histogrammic concrete steps of angular distribution and is:
(301) angular range of polar coordinates 0 ~ 360 ° is divided into J interval, wherein each interval width is Δ θ;
(302) statistics falls into the number S of the light stream vector in a jth interval
j, j=1,2 ..., J, obtains light stream vector at a jth interval probability density F
b(j):
(303) according to the probability density F of light stream vector in a jth interval that step (302) calculates
bj (), sets up angular distribution histogram in the distribution of the angular range interior focusing flow vector of 0 ~ 360 °.
3. as claimed in claim 1 or 2 for the template characteristic system of selection of target following, it is characterized in that, in described step 4 to the concrete steps that angle distribution histogram carries out medium filtering be:
(401) duplicate removal process is carried out to angle distribution histogram, obtain single angular histogram amplitude unique (F
b(j));
(402) single angular histogram amplitude is sorted by size, obtain its intermediate value median (unique (F
b(j)));
(403) with intermediate value median (unique (F
b(j))) be thresholding, if a jth interval histogram amplitude unique (F
b(j)) meet:
unique(F
b(j))≥median(unique(F
b(j))),j=1,2,…,J
Then think that it meets medium filtering condition, otherwise, think that it does not meet medium filtering condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510845774.9A CN105513092B (en) | 2015-11-26 | 2015-11-26 | A kind of template characteristic selection method for target following |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510845774.9A CN105513092B (en) | 2015-11-26 | 2015-11-26 | A kind of template characteristic selection method for target following |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105513092A true CN105513092A (en) | 2016-04-20 |
CN105513092B CN105513092B (en) | 2018-05-22 |
Family
ID=55721049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510845774.9A Expired - Fee Related CN105513092B (en) | 2015-11-26 | 2015-11-26 | A kind of template characteristic selection method for target following |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105513092B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685830A (en) * | 2018-12-20 | 2019-04-26 | 浙江大华技术股份有限公司 | Method for tracking target, device and equipment and computer storage medium |
CN109993777A (en) * | 2019-04-04 | 2019-07-09 | 杭州电子科技大学 | A kind of method for tracking target and system based on double-template adaptive threshold |
CN113012216A (en) * | 2019-12-20 | 2021-06-22 | 舜宇光学(浙江)研究院有限公司 | Feature classification optimization method, SLAM positioning method, system thereof and electronic equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923717A (en) * | 2009-06-10 | 2010-12-22 | 新奥特(北京)视频技术有限公司 | Method for accurately tracking characteristic points of quick movement target |
-
2015
- 2015-11-26 CN CN201510845774.9A patent/CN105513092B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923717A (en) * | 2009-06-10 | 2010-12-22 | 新奥特(北京)视频技术有限公司 | Method for accurately tracking characteristic points of quick movement target |
Non-Patent Citations (4)
Title |
---|
BAOJIE FAN ET AL.: "A robust template tracking algorithm with weighted active drift correction", 《PATTERN RECOGNITION LETTERS》 * |
DAVID SCHREIBER: "Robust template tracking with drift correction", 《PATTERN RECOGNITION LETTERS》 * |
张忠义: "基于改进LK光流的目标跟踪算法研究", 《信息技术》 * |
蒋菱 等: "基于LK光流跟踪法的有效目标点增强追踪", 《微型机与应用》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685830A (en) * | 2018-12-20 | 2019-04-26 | 浙江大华技术股份有限公司 | Method for tracking target, device and equipment and computer storage medium |
CN109993777A (en) * | 2019-04-04 | 2019-07-09 | 杭州电子科技大学 | A kind of method for tracking target and system based on double-template adaptive threshold |
CN109993777B (en) * | 2019-04-04 | 2021-06-29 | 杭州电子科技大学 | Target tracking method and system based on dual-template adaptive threshold |
CN113012216A (en) * | 2019-12-20 | 2021-06-22 | 舜宇光学(浙江)研究院有限公司 | Feature classification optimization method, SLAM positioning method, system thereof and electronic equipment |
CN113012216B (en) * | 2019-12-20 | 2023-07-07 | 舜宇光学(浙江)研究院有限公司 | Feature classification optimization method, SLAM positioning method, system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105513092B (en) | 2018-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhu et al. | Overview of environment perception for intelligent vehicles | |
CN109102522B (en) | Target tracking method and device | |
Teoh et al. | Symmetry-based monocular vehicle detection system | |
Nieto et al. | Road environment modeling using robust perspective analysis and recursive Bayesian segmentation | |
CN110738690A (en) | unmanned aerial vehicle video middle vehicle speed correction method based on multi-target tracking framework | |
Teng et al. | Real-time lane detection by using multiple cues | |
CN104217427B (en) | Lane line localization method in a kind of Traffic Surveillance Video | |
Chougule et al. | Reliable multilane detection and classification by utilizing CNN as a regression network | |
CN104574439A (en) | Kalman filtering and TLD (tracking-learning-detection) algorithm integrated target tracking method | |
CN104282020A (en) | Vehicle speed detection method based on target motion track | |
Kuk et al. | Fast lane detection & tracking based on Hough transform with reduced memory requirement | |
CN104134209A (en) | Feature extraction and matching method and feature extraction and matching system in visual navigation | |
CN115049700A (en) | Target detection method and device | |
CN112862858A (en) | Multi-target tracking method based on scene motion information | |
CN106780560A (en) | A kind of feature based merges the bionic machine fish visual tracking method of particle filter | |
Li et al. | Road markings extraction based on threshold segmentation | |
Meshram et al. | Traffic surveillance by counting and classification of vehicles from video using image processing | |
CN105513092A (en) | Template characteristic selection method for target tracking | |
Ozgunalp | Robust lane‐detection algorithm based on improved symmetrical local threshold for feature extraction and inverse perspective mapping | |
Farag et al. | An advanced road-lanes finding scheme for self-driving cars | |
Wang et al. | Pedestrian abnormal event detection based on multi-feature fusion in traffic video | |
Qing et al. | A novel particle filter implementation for a multiple-vehicle detection and tracking system using tail light segmentation | |
CN103996207A (en) | Object tracking method | |
Zhou | Application and Analysis of Computer Vision Algorithms in Graphics and Image Processing | |
CN105574869A (en) | Line-structure light strip center line extraction method based on improved Laplacian edge detection |
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: 20180522 Termination date: 20181126 |
|
CF01 | Termination of patent right due to non-payment of annual fee |