CN104021564A - Adaptive mean shift algorithm based on local invariant feature detection - Google Patents
Adaptive mean shift algorithm based on local invariant feature detection Download PDFInfo
- Publication number
- CN104021564A CN104021564A CN201410289886.6A CN201410289886A CN104021564A CN 104021564 A CN104021564 A CN 104021564A CN 201410289886 A CN201410289886 A CN 201410289886A CN 104021564 A CN104021564 A CN 104021564A
- Authority
- CN
- China
- Prior art keywords
- point
- invariant feature
- local invariant
- calculate
- search
- 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.)
- Pending
Links
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses an adaptive mean shift algorithm based on local invariant feature detection. According to the adaptive mean shift algorithm based on local invariant feature detection, local invariant feature detection and the adaptive mean shift algorithm are combined, the detection and matching of local invariant feature points of an object are introduced during searching, and the region of search is recalculated through obtained matched feature points, so that the region of search can be excellently constrained around a target range, and finally, the accuracy of a tracking process is ensured. The adaptive mean shift algorithm based on local invariant feature detection has the advantage that the accuracy and stability of searching are greatly improved relative to those of adaptive mean shift algorithms.
Description
Technical field
The present invention relates to the real-time tracing of moving object, specifically a kind of method for tracking target self-adaptation mean shift algorithm used.
Background technology
Average drifting refers to selects certain point as starting point in image, calculate the mean difference that this puts current side-play amount, and this point is moved to the reposition that its side-play amount is pointed to, the position of usining after movement is as new starting point, continue to calculate and move, until arrive the position that meets constraint condition.Therefore this algorithm obtains optimum solution by iteration constantly.Mean shift algorithm is mainly for object, to carry out a kind of method for tracking target of non-rigid motion.This method is described target area with a kind of non-parametric histogram Density Estimator function, using Bhattacharyya coefficient as similarity criteria, constantly its mean shift vector is carried out to iteration, find the candidate region the highest with target area similarity, thereby realize the tracking to moving target.
Self-adaptation mean shift algorithm is the color probability distribution based on continuous dynamic change in image mainly, has good stability and real-time.It determines current location and the size of target in video image by color of object feature, the position getting and size are applied in the image of next frame, and the search window of initialization next frame, repeats this search procedure and can realize the tracking to target.Cardinal principle is exactly the variation along with the time, and when target moves, color probability distribution also can change along with the variation of time, by the change calculations to color of image probability distribution, realizes the real-time follow-up to target.
Self-adaptation mean shift algorithm is a kind of nonparametric technique of rising based on density gradient, by interative computation, finds target location, and realize target is followed the tracks of.Its significant advantage is that algorithm calculated amount is little, is simple and easy to realize, and is well suited for real-time follow-up occasion; But usually failure while following the tracks of little target and Fast Moving Object, and all under circumstance of occlusion, can not self-recovery follow the tracks of.When color and the target of background close, or target proximity has relatively object of the algorithm close with the tone of target, and search window can be included automatically, causes tracking window to expand, even sometimes tracking window is expanded to whole video frame, finally cause following the tracks of unsuccessfully.
Summary of the invention
The object of the invention is to be the deficiency for above-mentioned prior art, a kind of self-adaptation mean shift algorithm detecting based on local invariant feature is proposed, with local invariant feature, detect to retrain the search window of self-adaptation mean shift algorithm, reach accurate target following.
The self-adaptation mean shift algorithm detecting based on local invariant feature, is characterized in that, comprises the following steps:
Step 1: at the start frame of video
the target area that selection will be followed the trail of
;
Step 2: by image
from RGB color space, be mapped to hsv color space, and calculate target area
color probability distribution;
Step 3: calculate and extract target area
local invariant feature point;
Step 4: calculate respectively according to probability distribution
zeroth order square
with
first moment
,
first moment
, calculate the barycenter of search window
,
;
Step 5: at next frame
in with
as the starting point of search window, with
for search window, search window
size meet
,
get the odd number of approximation;
Step 6: calculate the local invariant feature point in region of search
;
Step 7: relatively
with
obtain the unique point of coupling
, and rebuild according to the unique point of coupling
target area in frame
;
Step 8: return to step 4, carry out repeat search, meet search stop condition until follow the tracks of end person.
Further, described step 3 comprises the following steps:
First build metric space
wherein
for scale factor, * is convolution algorithm symbol,
for Gaussian function, calculate difference of Gaussian space,
;
Secondly differentiate between difference empty is drawn to extreme point
, wherein
it is the skew with respect to sampled point; Passing threshold
,
with Hessian matrix
,
remove low contrast point and marginal point; According to the gradient magnitude of pixel in neighborhood
and deflection
determine the direction of unique point;
Finally choose
neighborhood window in
subregion, the vector information of 8 directions in every sub regions is sorted successively, form one
the proper vector of dimension, i.e. SIFT feature descriptor;
.
Beneficial effect of the present invention: self-adaptation mean algorithm is in search procedure, because constantly expanding or block, search window can cause error, so the present invention introduces local invariant feature and detects in self-adaptation mean shift algorithm, thereby improve search precision, reach accurate target following.
Accompanying drawing explanation
The self-adaptation mean shift algorithm search routine figure that Fig. 1 detects based on local invariant feature.
Specific implementation method
As shown in Figure 1, the invention provides a kind of self-adaptation average drifting method detecting based on local invariant feature, the concrete implementation step of the method is as follows:
Step 1: at the start frame of video
the target area that selection will be followed the trail of
.
Step 2: by image
from RGB color space, be mapped to hsv color space, and calculate target area
color probability distribution.
Step 3: calculate and extract target area
local invariant feature point.
First build metric space
wherein
for scale factor, * is convolution algorithm symbol.
for Gaussian function.Calculate difference of Gaussian space
;
Secondly differentiate between difference empty is drawn to extreme point
, wherein
it is the skew with respect to sampled point; Passing threshold
,
with Hessian matrix
,
remove low contrast point and marginal point; According to the gradient magnitude of pixel in neighborhood
and deflection
determine the direction of unique point;
Finally choose
neighborhood window in
subregion, the vector information of 8 directions in every sub regions is sorted successively, form one
the proper vector of dimension, i.e. SIFT feature descriptor;
.
Step 4: calculate respectively according to probability distribution
zeroth order square
with
first moment
,
first moment
.Calculate the barycenter of search window
,
.
Step 5: at next frame
in with
as the starting point of search window, with
for search window.Search window
size meet
,
get the odd number of approximation.
Step 6: the local invariant feature of region of search point in calculating
.
Step 7: relatively
with
obtain the unique point of coupling
, and rebuild according to the unique point of coupling
target area in frame
.
Step 8: return to step 4, carry out repeat search, finish or meet to search for stop condition until follow the tracks of.
Claims (2)
1. the self-adaptation mean shift algorithm detecting based on local invariant feature, is characterized in that, comprises the following steps:
Step 1: at the start frame of video
the target area that selection will be followed the trail of
;
Step 2: by image
from RGB color space, be mapped to hsv color space, and calculate target area
color probability distribution;
Step 3: calculate and extract target area
local invariant feature point;
Step 4: calculate respectively according to probability distribution
zeroth order square
with
first moment
,
first moment
, calculate the barycenter of search window
,
;
Step 5: at next frame
in with
as the starting point of search window, with
for search window, search window
size meet
,
get the odd number of approximation;
Step 6: calculate the local invariant feature point in region of search
;
Step 7: relatively
with
obtain the unique point of coupling
, and rebuild according to the unique point of coupling
target area in frame
;
Step 8: return to step 4, carry out repeat search, meet search stop condition until follow the tracks of end person.
2. a kind of self-adaptation mean shift algorithm detecting based on local invariant feature according to claim 1, is characterized in that: described step 3 comprises the following steps:
First build metric space
wherein
for scale factor, * is convolution algorithm symbol,
for Gaussian function, calculate difference of Gaussian space
;
Secondly differentiate between difference empty is drawn to extreme point
, wherein
it is the skew with respect to sampled point; Passing threshold
,
with Hessian matrix
,
remove low contrast point and marginal point; According to the gradient magnitude of pixel in neighborhood
and deflection
determine the direction of unique point;
Finally choose
neighborhood window in
subregion, the vector information of 8 directions in every sub regions is sorted successively, form one
the proper vector of dimension, i.e. SIFT feature descriptor;
.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289886.6A CN104021564A (en) | 2014-06-26 | 2014-06-26 | Adaptive mean shift algorithm based on local invariant feature detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289886.6A CN104021564A (en) | 2014-06-26 | 2014-06-26 | Adaptive mean shift algorithm based on local invariant feature detection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104021564A true CN104021564A (en) | 2014-09-03 |
Family
ID=51438302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410289886.6A Pending CN104021564A (en) | 2014-06-26 | 2014-06-26 | Adaptive mean shift algorithm based on local invariant feature detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104021564A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335986A (en) * | 2015-09-10 | 2016-02-17 | 西安电子科技大学 | Characteristic matching and MeanShift algorithm-based target tracking method |
CN106296742A (en) * | 2016-08-19 | 2017-01-04 | 华侨大学 | A kind of online method for tracking target of combination Feature Points Matching |
CN106289364A (en) * | 2016-08-09 | 2017-01-04 | 重庆大学 | A kind of adaptive regulation method of sensor drift |
CN107609571A (en) * | 2017-08-02 | 2018-01-19 | 南京理工大学 | A kind of adaptive target tracking method based on LARK features |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924871A (en) * | 2010-02-04 | 2010-12-22 | 苏州大学 | Mean shift-based video target tracking method |
CN101950426A (en) * | 2010-09-29 | 2011-01-19 | 北京航空航天大学 | Vehicle relay tracking method in multi-camera scene |
CN102117487A (en) * | 2011-02-25 | 2011-07-06 | 南京大学 | Scale-direction self-adaptive Mean-shift tracking method aiming at video moving object |
-
2014
- 2014-06-26 CN CN201410289886.6A patent/CN104021564A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924871A (en) * | 2010-02-04 | 2010-12-22 | 苏州大学 | Mean shift-based video target tracking method |
CN101950426A (en) * | 2010-09-29 | 2011-01-19 | 北京航空航天大学 | Vehicle relay tracking method in multi-camera scene |
CN102117487A (en) * | 2011-02-25 | 2011-07-06 | 南京大学 | Scale-direction self-adaptive Mean-shift tracking method aiming at video moving object |
Non-Patent Citations (4)
Title |
---|
翟海涛 等: "基于SIFT特征度量的Mean Shift目标跟踪算法", 《计算机应用与软件》 * |
谭锦辉: "一种融合CAMShift和SIFT的视频对象跟踪算法", 《仪器仪表学报》 * |
赵昆: "基于传感器信息融合的室内运动物体分类与跟踪研究", 《万方学位论文》 * |
龙忠杰 等: "基于CamShift算法的目标跟踪研究", 《北京信息科技大学学报》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105335986A (en) * | 2015-09-10 | 2016-02-17 | 西安电子科技大学 | Characteristic matching and MeanShift algorithm-based target tracking method |
CN105335986B (en) * | 2015-09-10 | 2018-11-30 | 西安电子科技大学 | Method for tracking target based on characteristic matching and MeanShift algorithm |
CN106289364A (en) * | 2016-08-09 | 2017-01-04 | 重庆大学 | A kind of adaptive regulation method of sensor drift |
CN106289364B (en) * | 2016-08-09 | 2018-08-03 | 重庆大学 | A kind of adaptive regulation method of sensor drift |
CN106296742A (en) * | 2016-08-19 | 2017-01-04 | 华侨大学 | A kind of online method for tracking target of combination Feature Points Matching |
CN106296742B (en) * | 2016-08-19 | 2019-01-29 | 华侨大学 | A kind of matched online method for tracking target of binding characteristic point |
CN107609571A (en) * | 2017-08-02 | 2018-01-19 | 南京理工大学 | A kind of adaptive target tracking method based on LARK features |
CN107609571B (en) * | 2017-08-02 | 2023-09-05 | 南京理工大学 | Adaptive target tracking method based on LARK features |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106780557B (en) | Moving object tracking method based on optical flow method and key point features | |
CN105844669B (en) | A kind of video object method for real time tracking based on local Hash feature | |
Vojir et al. | Robust scale-adaptive mean-shift for tracking | |
CN108022254B (en) | Feature point assistance-based space-time context target tracking method | |
CN105335986A (en) | Characteristic matching and MeanShift algorithm-based target tracking method | |
CN103942536B (en) | Multi-target tracking method of iteration updating track model | |
CN111667506A (en) | Motion estimation method based on ORB feature points | |
CN104021564A (en) | Adaptive mean shift algorithm based on local invariant feature detection | |
CN108537832B (en) | Image registration method and image processing system based on local invariant gray feature | |
Zhou et al. | A robust object tracking algorithm based on SURF | |
CN104240231A (en) | Multi-source image registration based on local structure binary pattern | |
Huang et al. | Adaptive assignment for geometry aware local feature matching | |
CN106651909A (en) | Background weighting-based scale and orientation adaptive mean shift method | |
Zhang et al. | Mean-shift algorithm integrating with SURF for tracking | |
Wei et al. | A SIFT-based mean shift algorithm for moving vehicle tracking | |
Tang et al. | Place recognition using line-junction-lines in urban environments | |
Tian et al. | A fast and accurate algorithm for matching images using Hilbert scanning distance with threshold elimination function | |
Kim et al. | Edge-segment-based background modeling: Non-parametric online background update | |
Chen et al. | A mean shift algorithm based on modified Parzen window for small target tracking | |
Kheng | Mean shift tracking | |
Rafique et al. | Deformable object tracking using clustering and particle filter | |
CN109035277A (en) | Target identification method based on conspicuousness contour feature segment | |
Firouznia et al. | Three-step-ahead prediction for object tracking | |
Yao et al. | Kernel based articulated object tracking with scale adaptation and model update | |
Ardeshir et al. | Using a novel concept of potential pixel energy for object tracking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140903 |