CN102324030B - Target tracking method and system based on image block characteristics - Google Patents

Target tracking method and system based on image block characteristics Download PDF

Info

Publication number
CN102324030B
CN102324030B CN 201110267278 CN201110267278A CN102324030B CN 102324030 B CN102324030 B CN 102324030B CN 201110267278 CN201110267278 CN 201110267278 CN 201110267278 A CN201110267278 A CN 201110267278A CN 102324030 B CN102324030 B CN 102324030B
Authority
CN
China
Prior art keywords
feature
image block
datum target
target
undetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201110267278
Other languages
Chinese (zh)
Other versions
CN102324030A (en
Inventor
林倞
周宏斐
胡赟
江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Gao Ling information Polytron Technologies Inc
Original Assignee
Guangzhou Smartvision Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Smartvision Information Technology Co Ltd filed Critical Guangzhou Smartvision Information Technology Co Ltd
Priority to CN 201110267278 priority Critical patent/CN102324030B/en
Publication of CN102324030A publication Critical patent/CN102324030A/en
Application granted granted Critical
Publication of CN102324030B publication Critical patent/CN102324030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of image processing and particularly relates to a target tracking method and system based on image block characteristics, and the method and the system can be used for increasing the accuracy in tracking a moving target. The tracking method comprises the steps of: establishing a reference target template based on the characteristics of a reference target image block and a background image block; performing similarity comparison on the characteristics of an undetermined target and the characteristics of the reference target image block in the reference target template; and determining the position of the undetermined target according to a similarity comparison result. The tracking system comprises a module for establishing the reference target template according to the characteristics of the reference target image block and the background image block; a module for performing similarity comparison on the characteristics of the undetermined target and the characteristics of the reference target image block in the reference target template; and a module for determining the position of the undetermined target according to the similarity comparison result.

Description

A kind of method for tracking target and tracker based on image block characteristics
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of method for tracking target based on image block characteristics and tracker.
Background technology
Moving Target Tracking Algorithm is comparison basis during video intelligent is analyzed, and is also relative part and parcel, mainly refer to by definition corresponding mathematics model and detection algorithm, to the moving target in sequence of frames of video automatically follow the tracks of, a kind of technology of position probing.
When carrying out motion target tracking, need to carry out the modeling expression to moving target, main path uses model and the model that uses based on DENSITY KERNEL based on profile for using the model based on point.These methods are at first all that the moving target according to required tracking builds model, then carry out online Model Matching, obtain the effect of motion target tracking.Use is mainly first to use the mode such as wave filter to extract the key point (being mainly flex point) of moving target based on the model of point, then with a some feature, these key points is described, then must comes the pursuit movement target with detecting and put characteristic matching online.
Use is mainly to use the profile of mathematical way establishing target (generally to train in off-line based on the method for the model of profile, because just there is great amount of samples can be used for training in the time of off-line) approach moving target by adaptive method when detecting online, and then obtain moving target position, reach the purpose of pursuit movement target.
The model that uses DENSITY KERNEL is that moving target is extracted global characteristics, as color histogram, then gradient orientation histogram uses the method such as meanshift to carry out the density-based drift according to histogram in target frame, finally find moving target, thereby reach the tracking purpose.
An existing type games target tracking algorism is: carry out feature extraction by the overall region to moving target, then the method for use characteristic coupling is carried out motion target tracking, as use the tracking of gradient orientation histogram, various tracking based on the on-line study method.
But still there are the following problems for prior art: owing to being blocked at moving target, moving target is turned round, and when moving target altered one's posture, the global feature of target changed more, therefore merely the moving target overall region is carried out feature extraction, can't resist these interference.Next is that these class methods are generally only used a kind of feature, makes its situation of having no idea to tackle relative complex, and is as staggered in two people, if only use single features to be easy to be interfered.
Summary of the invention
The invention provides a kind of method for tracking target based on image block characteristics and tracker, can solve the not high problem of target following accuracy in prior art.
The invention provides a kind of method for tracking target based on image block characteristics, comprise the steps:
Set up the datum target template according to the feature of datum target image block and background image piece;
The feature of the datum target image block in clarification of objective undetermined and described datum target template is carried out similarity relatively;
Determine target location undetermined according to the similarity comparative result.
The described datum target template of setting up is preferably following steps:
Extract described datum target image block and described background image piece;
Extract the feature of described datum target image block and the feature of described background image piece;
The feature of described datum target image block and the feature of described background image piece are carried out identification relatively;
Set up the datum target template of the feature that comprises the datum target image block according to the identification comparative result.
Extract described datum target image block and be preferably following steps: determine the datum target initial position datum target to be divided into one or more subbase standard target image blocks, the position of recording each subbase standard target image block by background modeling or manual the demarcation;
Extract described background image piece and be preferably following steps: choose one or more rectangular areas from the datum target surrounding, choose the background image piece from the rectangular area.
The feature of the feature of described datum target image block or background image piece is preferably: contour feature and/or architectural feature and/or textural characteristics and/or color characteristic and/or motion state feature;
The feature of extracting the feature of datum target image block or background image piece is preferably the centrosymmetric local binary patterns CSLBP that comprises by adding up each pixel in described datum target image block or described background image piece and the histogram of described local binary patterns, extracts the architectural feature of described datum target image block and the architectural feature of described background image piece;
The feature of extraction datum target image block or the feature of background image piece are preferably and comprise by adding up the gradient orientation histogram HOG of described datum target image block or described background image piece, extract the textural characteristics of described datum target image block or the textural characteristics of described background image piece;
The feature of extraction datum target image block or the feature of background image piece are preferably and comprise by adding up the color histogram HOC of described datum target image block or described background image piece, extract the color characteristic of described datum target image block or the color characteristic of described background image piece.
The step of described identification comparison is preferably: based on each feature of datum target image block similarity S with respect to the background image block feature identical with its type, according to formula Calculate identification d;
If described identification is greater than the identification threshold value preferably the feature of this datum target image block is listed in described datum target template.
Described feature in clarification of objective undetermined and described datum target template is carried out the similarity comparative optimization is following steps: extract current location image block to be set the goal; Extract the feature of current location target image piece undetermined; Each feature of current location target image piece undetermined and the feature of all same types in the datum target template are carried out similarity relatively; If the maximal value of similarity more than or equal to matching threshold the feature of current location target image piece undetermined corresponding to the maximal value of described similarity be considered as waiting to set the goal successful matching characteristic.
Describedly determine that target location undetermined is preferably following steps: the feature off-set value of calculating the relatively described successful matching characteristic of waiting to set the goal of feature in datum target template corresponding to the maximal value of similarity; Feature off-set value according to all calculated datum target template off-set value; Determine target location undetermined according to described datum target template off-set value and a upper position to be set the goal, described target location undetermined is considered as current location to be set the goal.
Feature in described datum target template can comprise matching characteristic formation and the formation of reserve feature, can comprise in described matching characteristic formation for carrying out similarity matching characteristic relatively with clarification of objective undetermined, can comprise the standby matching characteristic that is used for carrying out with clarification of objective undetermined the similarity comparison in the formation of described reserve feature;
Described similarity comparative optimization is following steps: extract current location image block to be set the goal; Extract the feature of current location target image piece undetermined; Each feature of current location target image piece undetermined and the feature of all same types in the datum target template are carried out similarity relatively; If the maximal value of similarity more than or equal to matching threshold the feature of current location target image piece undetermined corresponding to the maximal value of described similarity be considered as waiting to set the goal successful matching characteristic; Otherwise the signature in datum target template corresponding to the maximal value of similarity is unsuccessfully; If the frequency of failure greater than setting value, is deleted this feature, and select the feature identical with deleted feature same type to fill up in the matching characteristic formation from the formation of reserve feature.
The present invention also provides a kind of Target Tracking System based on image block characteristics, comprises the module of setting up the datum target template according to the feature of datum target image block and background image piece; The feature of datum target image block in clarification of objective undetermined and datum target template is carried out similarity module relatively; Determine the module of target location undetermined according to the similarity comparative result.
The described module of setting up the datum target template preferably includes: extract datum target image block submodule and extract background image piece submodule, extract the datum target image block feature submodule and extract the feature of background image piece submodule, the feature of described datum target image block and the feature of described background image piece are carried out identification submodule relatively; Set up the submodule of the datum target template that comprises the datum target feature according to the identification comparative result;
The module that feature in described clarification of objective undetermined and datum target template is carried out the similarity comparison preferably includes: extract current location target image piece undetermined submodule, extract current location target image block feature undetermined submodule, with the feature of each feature of current location target image piece undetermined and all same types in the datum target template carry out the submodule of similarity comparison, according to similarity comparative result determine to wait the to set the goal submodule of successful matching characteristic;
Describedly determine that according to the similarity comparative result module of target location undetermined preferably includes: calculate the submodule of the feature off-set value of feature in datum target template corresponding to the maximal value of similarity and the described successful matching characteristic of waiting to set the goal, submodule that feature off-set value according to all calculated datum target template off-set value, determine the submodule of target location undetermined according to datum target template off-set value and a upper position to be set the goal.
By the invention provides, can reach following effect:
One, the target following accuracy improves.The present invention proposes the method for using based on image block, namely use the moving target various piece is extracted the method that feature generates templates of moving objects, and the scheme of carrying out motion target tracking with multiple characteristics of image, can evade moving target is blocked, the institutes such as moving target posture conversion cause the global feature problem that great changes have taken place on single-frame images of moving target, thus the accuracy that can improve motion target tracking.
Two, antijamming capability strengthens.The present invention uses the manifold mode of image block to implement comprehensive the tracking to moving target, and adopts architectural feature, textural characteristics, color characteristic that it is expressed, and effectively raises antijamming capability.
Three, online updating saves time.The present invention adopts production to obtain templates of moving objects, it is also the method for small-sample learning, saved the plenty of time of off-line learning templates of moving objects, also make template more press close to moving target, again in conjunction with the method for online updating, make template more complete to the expression of moving target, and consuming time shorter.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in below describing is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawing illustrated embodiments other embodiment and accompanying drawing thereof.
Fig. 1 is the motion target tracking method process flow diagram according to the embodiment of the present invention;
Fig. 2 is image block method of sampling schematic diagram in the embodiment of the present invention;
Fig. 3 is background image piece sample area schematic diagram in the embodiment of the present invention.
Fig. 4 is element marking schematic diagram in architectural feature computation process in the embodiment of the present invention.
Embodiment
Technical scheme below with reference to accompanying drawing 1,2,3 or 4 pairs of various embodiments of the present invention is carried out clear, complete description, and obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on a kind of method for tracking target of the present invention and tracker, can solve the not high problem of target following accuracy in prior art.
The invention provides a kind of method for tracking target based on image block characteristics, comprise the steps:
Set up the datum target template according to the feature of datum target image block and background image piece;
The feature of the datum target image block in clarification of objective undetermined and described datum target template is carried out similarity relatively;
Determine target location undetermined according to the similarity comparative result.
The described datum target template of setting up generally includes following steps:
Extract described datum target image block and described background image piece;
Extract the feature of described datum target image block and the feature of described background image piece;
The feature of described datum target image block and the feature of described background image piece are carried out identification relatively;
Set up the datum target template of the feature that comprises the datum target image block according to the identification comparative result.
Fig. 1 step 101: extract datum target image block and background image piece;
Extracting described datum target image block can comprise: determine the datum target initial position by background modeling or manual the demarcation, datum target is divided into one or more subimage blocks, record the coordinate of each subimage block;
Be specially: obtain the first frame from video, reach datum target initial position in the first frame, this initial position can obtain by modules such as background modelings, perhaps uses manually and demarcates.The datum target initial position is defined as<x, y, w, h 〉, wherein x is the horizontal ordinate of datum target initial position, and y is the ordinate of datum target initial position, and w is the width of datum target, and h is the height of datum target.
Then according to predefined sampling step frequency r, the image block number that datum target is divided into is: N=[(w-s)/r+1] * [(h-s)/r+1], the datum target image block is expressed as Wherein i is the image block index, and s is the height and width of image block, and its size is s*s.With reference to Fig. 2, for each image block P i, also need to record its coordinate
Figure GDA00003562603300062
So just obtained required formation datum target image block.
Extracting described background image piece can comprise: choose one or more rectangular areas from the datum target surrounding, choose image block from the rectangular area;
Be specially: when choosing the datum target image block, the datum target surrounding is got the background image piece under motion state, the scope of getting is four rectangles, four rectangles can be covered with the zone of datum target surrounding, also can not be covered with the zone of target surrounding, four rectangles can be big or small homogeneous, identical, also can big or small heterogeneity, not identical; When the position of datum target is<x, y, w, h〉time, evenly get image block in this zone, obtain
Figure GDA00003562603300063
Individual image block, wherein s is width and the height of background image piece, consistent with the datum target tile size, the background image piece is expressed as { P bj} j=1 N, with reference to Fig. 3.
A kind of implementation that the extracting method of above datum target image block and background image piece only extracts for image block, in specific implementation, sampling step size frequently can be set according to the situation of arithmetic capability, step, the less image block that obtains was more much more intensive frequently, and capability requirement is also larger.For common computer (3G hertz CPU), the step frequently arranges and is generally 4, and the step of double-core frequently can be made as 1.If arithmetic capability allows, also can be with the image block zone of extracting as a setting, the zone of all non-moving targets.In the video edge, if the distance at moving target and video edge directly abandons using this respective regions less than the size s of image block, do not use it to carry out the extraction of background image piece for moving target.
Fig. 1 step 102, extract datum target image block characteristics and background image block feature:
The feature of the feature of described datum target image block or background image piece is preferably: contour feature and/or architectural feature and/or textural characteristics and/or color characteristic and/or motion state feature;
The feature of extraction datum target image block or the feature of background image piece are preferably and comprise: by adding up the gradient orientation histogram HOG of described datum target image block or described background image piece, extract the textural characteristics of described datum target image block or the textural characteristics of described background image piece;
Specific algorithm is: be at first that gray scale represents with all pixel transitions in datum target image block or background image piece, then calculate the centrosymmetric local binary patterns of all pixels in datum target image block or background image piece.Account form is as follows, as reference Fig. 4, datum target or background pixel gray-scale value is designated as g0, and around it, gray-scale value of 8 pixels is designated as g 1~g 8, the centrosymmetric local binary patterns of this pixel is calculated as follows:
CSLBP(p 0)=S(|g 1-g 5|)*2 0+S(|g 2-g 6|)*2 1+S(|g 3-g 7|)*2 2+S(|g 4-g 8|)*2 3
Wherein S (x) is a two-valued function, and is as follows:
Its
Figure GDA00003562603300071
Wherein t is default two-valued function threshold value
After processing like this, we have just obtained the centrosymmetric local binary patterns of each pixel in datum target image block or background image piece, and the scope of its value is 0-15.
Then datum target image block or background image piece zone are divided into four block (upper lefts, the upper right, the lower-left, the bottom right, decile), the pixel of each block is corresponded in 16 passages (value) of this block, and the value that counts all passages of each block links the architectural feature that has just obtained this image block again.
The feature of extraction datum target image block or the feature of background image piece are preferably and comprise: by adding up the color histogram HOC of described datum target image block or described background image piece, extract the color characteristic of described datum target image block or the color characteristic of described background image piece.
Specific algorithm is: at first all pixel transitions with datum target image block or described background image piece zone are that gray scale represents, then use two filtering cores [1,0,1] and [1,0,1] TTo image block areas filtering, obtain two filtered image blocks respectively, be designated as
Figure GDA00003562603300072
Wherein i and j represent respectively horizontal ordinate and the ordinate of pixel.
Then use following formula to calculate gradient:
Its corresponding weights are w i , j = ( p i , j x ) 2 + ( p i , j y ) 2
Re-use θ=arctan[grad (p i,j)] try to achieve gradient angle corresponding to each pixel.
Here again 0 to 360 degree is divided into 8 passages, each passage takies 45 degree.Each pixel corresponds to the gradient of oneself in passage, here the isostructure feature equally is divided into each image block four blocks again, each block calculates respectively the value (each pixel is used its weights addition after corresponding to passage) of 8 passages, again all values of four blocks is linked the proper vector of one 32 dimension of generation, this has just consisted of gradient orientation histogram, obtains the textural characteristics of image block.
The feature of extraction datum target image block or the feature of background image piece are preferably and comprise: by adding up the color histogram HOC of described datum target image block or described background image piece, extract the color characteristic of described datum target image block or the color characteristic of described background image piece.
Specific algorithm is: each space with three color spaces of RGB is divided into 4 passages here, and passage 0 respective value is the point of 0-63; Passage 1 respective value is the point of 64-127; Passage 2 respective value are the point of 128-191; Passage 3 respective value are the point of 192-255.Three spaces are combined just 4*4*4=64 Color Channel, and the color value of pixels all in image block is corresponded in corresponding passage, has just obtained the color histogram of this image block.
After having extracted architectural feature, textural characteristics or the color characteristic of all datum target image blocks or background image piece, we have just obtained may have the local feature set based on image block of differentiating performance
Figure GDA00003562603300083
Wherein N represents to consist of the number of the image block of moving target.And the local feature set of background image piece
Figure GDA00003562603300084
N wherein BThe number of expression background area image piece, y represents the local feature type.
Fig. 1 step 103: the feature of described datum target image block and the feature of described background image piece are carried out identification relatively; Set up the datum target template of the feature that comprises the datum target image block according to the identification comparative result.
The feature of described datum target image block and the feature of described background image piece are carried out identification relatively; The step of setting up the datum target template of the feature that comprises the datum target image block according to the identification comparative result preferably includes: each feature of datum target image block and the feature of all same types of background image piece are carried out similarity S relatively; According to formula
Figure GDA00003562603300085
Calculate identification d; When identification is preferably listed the feature of this datum target image block in described datum target template in greater than the identification threshold value.
Specific algorithm is:
First to the proper vector of datum target image block or background image piece coupling
Figure GDA00003562603300091
Add up all dimensions and D 1, D 2, respectively with each dimension of datum target image block and background image block eigenvector respectively divided by own all dimensions and, just calculate the probability distribution of corresponding discrete type, P 1={ p 1,1..., p 1, nAnd P 2={ p 2,1..., p 2, n;
Then calculate the KL distance that can obtain two vectors by following formula:
KL ( P 1 , P 2 ) = Σ i = 1 n p 1 , i log 2 p 1 , i p 2 , i
After the KL distance of each feature of the datum target that each feature of having calculated all formation datum targets is obtained the feature of all same types of background image piece, can obtain the maximal value of KL distance in all couplings, be designated as M.
By following formula: calculate each feature of datum target image block and corresponding KL apart from the similarity S of each feature of the background image piece of maximum:
S(x,y)=1-KL(x,y)/M;
Use following formula that the identification that all occupy the relative background image block feature of datum target image block characteristics is calculated, both can draw the identification d of the feature of this expression datum target image block:
d ( f i ) = Π 1 N B [ 1 - s ( f i , f y i , j B ) ]
Wherein, the identification of each feature x of d (x) expression datum target, f iRepresent i single features that consists of datum target, y iRepresent i characteristic type that consists of the single features of datum target,
Figure GDA00003562603300094
Represent j feature that is extracted by the background image piece, its characteristic type is y i, the similarity of two single features of s (x, y) expression.
Described template is generally the datum target image block characteristics and the set of background image block feature generates.
After having calculated identification, identification and predefined identification threshold value k are compared, if its identification joins in the feature formation of datum target template greater than threshold value k, the characteristic quantity that holds in template can be limited or unlimited, if limited, can set saturation, such as, hold 30, expression has had enough features to carry out the tracking of moving target, gives up the remaining local feature based on image block.
Fig. 1 step 104 is carried out similarity relatively with the feature in clarification of objective undetermined and described datum target template;
Described feature in clarification of objective undetermined and described datum target template is carried out the similarity comparative optimization is following steps: extract current location image block to be set the goal; Extract the feature of current location target image piece undetermined; Each feature of current location target image piece undetermined and the feature of all same types in the datum target template are carried out similarity relatively; If the maximal value of similarity more than or equal to matching threshold the feature of current location target image piece undetermined corresponding to the maximal value of described similarity be considered as waiting to set the goal successful matching characteristic.
Specific algorithm is:
As new image frame I to be set the goal of input nWhen (n=1,2...), carry out following coupling for all features in the datum target template:
At first, according to current location<x to be set the goal i, y i, calculate the region of search that this target signature undetermined is mated, use<x i-3/2*s, y i-3/2*s, 3*s, 3*s〉quadruple notation this rectangular area, wherein s is the height and width of image block, then in this rectangular area according to the sampling step frequently r carry out image sampling, obtain N s=[(3*s-s)/r+1] 2Individual image block (wherein r is designed to the approximate number of s, therefore image block can be paved with match search zone), target image piece undetermined is expressed as
Figure GDA00003562603300101
Then according to the type μ of this clarification of objective undetermined iCarry out feature extraction:
Architectural feature: carry out centrosymmetric local binary patterns and extract;
Textural characteristics: carry out the extraction of gradient orientation histogram;
Color characteristic: carry out the extraction of color histogram;
Characteristic extraction procedure is with Fig. 1 step 102,
After completing, feature extraction just obtained the feature set of our target image piece undetermined
Figure GDA00003562603300102
Then with the feature set of target image piece undetermined
Figure GDA00003562603300103
In each feature the feature of the datum target image block of same type in the datum target template is carried out the calculating of KL distance one by one, computing method are with Fig. 1 step 103, and obtain maximum matching result (least coupling) M, then can obtain the similarity of the feature in each feature set, account form is as follows:
S ( f i , f i , j c ) = 1 - KL ( f i , f i , j c ) / M
Use at last formula f fit = arg max f ji c [ S ( f i , f i , j c ) ]
Obtain the best target signature undetermined of single features matching effect in the datum target template, record simultaneously similarity
Figure GDA00003562603300106
On predefined matching threshold, match hit is described as this similarity R, the single features of current datum target template of mating unsuccessfully mated frame number t continuously iBe set to 0, and matching result is designated as
Figure GDA00003562603300111
Wherein
Figure GDA00003562603300112
The center of image block corresponding to best datum target template single features is mated in expression, uses two tuples to be expressed as<x i, y i; The index of the feature in the datum target template that p represents to match.If this opposite best matching result R illustrate that it fails to match under predefined matching threshold, this time with regard to direct in current datum target template of mating the datum target image block individual features unsuccessfully mate continuously frame number t iOn add 1, record it it fails to match number of times.
Fig. 1 step 105 is determined target location undetermined according to the similarity comparative result;
Describedly determine that target location undetermined is preferably following steps: the feature off-set value of calculating the relatively described successful matching characteristic of waiting to set the goal of feature in datum target template corresponding to the maximal value of similarity; Feature off-set value according to all calculated datum target template off-set value; Determine target location undetermined according to datum target template off-set value and a upper position to be set the goal, described target location undetermined is considered as current location to be set the goal.
Specific algorithm is:
To relatively wait the to set the goal calculations of offset of successful matching characteristic matching result of each feature that the match is successful in the datum target template, suppose being characterized as in the datum target template
Figure GDA00003562603300113
Its correspondence successful matching characteristic of waiting to set the goal is
Figure GDA00003562603300114
The following formula of computing method:
Figure GDA00003562603300115
Wherein
Figure GDA00003562603300116
Be expressed as<Δ x i, Δ y i
Obtaining the skew of each feature that the match is successful uses following formula to calculate the skew of whole datum target template afterwards:
Wherein
Figure GDA00003562603300118
Can be expressed as<Δ x Δ y 〉
The last position that just can obtain current goal to be set the goal<x+ Δ x, y+ Δ y 〉, wherein x and y are respectively horizontal ordinate and the ordinate of the upper position of waiting to set the goal.
Fig. 1 step 106 is upgraded the template that consists of datum target according to matching result
Feature in described datum target template can comprise matching characteristic formation and the formation of reserve feature, can comprise in described matching characteristic formation for carrying out similarity matching characteristic relatively with clarification of objective undetermined, can comprise standby matching characteristic in the formation of described reserve feature;
Feature capacity in the matching characteristic formation is limited, represents that these features have enough determined coupling to be set the goal and determined target location undetermined, such as: 30 features; The feature capacity of reserve feature formation also can be for limited, and namely ensure enough features and add and the matching characteristic formation reduce again system's computational burden, such as: 30; After the feature quantity of reserve feature formation reaches some, complete the datum target template and generate step, give up the feature of remaining datum target image block.
Described similarity comparative optimization is following steps: extract current location image block to be set the goal; Extract the feature of current location target image piece undetermined; Each feature of current location target image piece undetermined and the feature of all same types in the datum target template are carried out similarity relatively; If the maximal value of similarity more than or equal to matching threshold the feature of current location target image piece undetermined corresponding to the maximal value of described similarity be considered as waiting to set the goal successful matching characteristic; Otherwise the signature in datum target template corresponding to the maximal value of similarity is unsuccessfully; If the frequency of failure greater than setting value, is deleted this feature, and select to fill up in the matching characteristic formation with the feature of deleted feature same type from the formation of reserve feature.
Specific algorithm is: all features in the matching characteristic formation in the datum target template and the formation of reserve feature are checked, as the continuous failed matching times t of certain feature iGreater than predefined maximum it fails to match number of times t maxThe time, directly this feature is deleted from formation;
Then judge whether deleted feature in the matching characteristic formation, if there is deletion directly to select feature to add in the matching characteristic formation from the formation of reserve feature;
Judge whether that again the formation of reserve feature is free, as long as pool queue is free, just again obtain the image block of the formation datum target of datum target current location (position of having upgraded), and the background image piece, obtain during the current feature that identification arranged most joins the formation of reserve feature at applied probability model.Concrete computation process and step 101,102,103 is identical.
Return step 105 when ought obtain new position at last and carry out, the method for taking to detect in real time real-time update is carried out motion target tracking.
The present invention also provides a kind of Target Tracking System based on image block characteristics, comprises the module of setting up the datum target template according to the feature of datum target image block and background image piece; The feature of datum target image block in clarification of objective undetermined and datum target template is carried out similarity module relatively; Determine the module of target location undetermined according to the similarity comparative result.
The described module of setting up the datum target template preferably includes: extract datum target image block submodule and extract background image piece submodule, extract the datum target image block feature submodule and extract the feature of background image piece submodule, the feature of described datum target image block and the feature of described background image piece are carried out identification submodule relatively; Set up the submodule of the datum target template that comprises the datum target feature according to the identification comparative result;
The module that feature in described clarification of objective undetermined and datum target template is carried out the similarity comparison preferably includes: extract current location target image piece undetermined submodule, extract current location target image block feature undetermined submodule, with the feature of each feature of current location target image piece undetermined and all same types in the datum target template carry out the submodule of similarity comparison, according to similarity comparative result determine to wait the to set the goal submodule of successful matching characteristic;
Describedly determine that according to the similarity comparative result module of target location undetermined preferably includes: calculate the submodule of the feature off-set value of feature in datum target template corresponding to the maximal value of similarity and the described successful matching characteristic of waiting to set the goal, submodule that feature off-set value according to all calculated datum target template off-set value, determine the submodule of target location undetermined according to datum target template off-set value and a upper position to be set the goal.
In the present invention, because target is kept in motion, therefore, described datum target is all relatively to wait to set the goal (conversion position), that is to say, datum target also is kept in motion, the feature of datum target image block also is in variable condition, background characteristics also is in variable condition, and still, datum target is relative with waiting to set the goal.
By the invention provides, can reach following effect:
One, the target following accuracy improves, the present invention proposes the method for using based on image block, namely use the moving target various piece is extracted the method that feature generates templates of moving objects, and the scheme of carrying out motion target tracking with multiple characteristics of image, can evade moving target is blocked, the institutes such as moving target posture conversion cause the global feature problem that great changes have taken place on single-frame images of moving target, thus the accuracy that can improve motion target tracking.
Two, antijamming capability strengthens.The present invention uses the manifold mode of image block to implement comprehensive the tracking to moving target, and adopts architectural feature, textural characteristics, color characteristic that it is expressed, and effectively raises antijamming capability.
Three, online updating saves time.The present invention adopts production to obtain templates of moving objects, it is also the method for small-sample learning, saved the plenty of time of off-line learning templates of moving objects, also make template more press close to moving target, again in conjunction with the method for online updating, make template more complete to the expression of moving target, and consuming time shorter.
Several embodiment that mention in the present invention, those of ordinary skills are resulting all other embodiment under the prerequisite of not making creative work, all belong to the scope that the present invention protects.
Various embodiment provided by the invention can be as required combination mutually in any way, the technical scheme that obtains by this combination, also within the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if of the present invention these are revised and within modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also comprises these changes and modification interior.

Claims (6)

1. the method for tracking target based on image block characteristics, is characterized in that, comprises the steps:
Set up the datum target template according to the feature of datum target image block and background image piece;
The feature of datum target image block in clarification of objective undetermined and described datum target template is carried out similarity relatively;
Determine target location undetermined according to the similarity comparative result;
Wherein, the described datum target template of setting up comprises the steps:
Extract described datum target image block and described background image piece;
Extract the feature of described datum target image block and the feature of described background image piece;
The feature of described datum target image block and the feature of described background image piece are carried out identification relatively;
Set up the datum target template of the feature that comprises the datum target image block according to the identification comparative result;
Describedly feature in clarification of objective undetermined and described datum target template is carried out similarity relatively comprise: extract current location image block to be set the goal; Extract the feature of current location target image piece undetermined; Each feature of current location target image piece undetermined and the feature of all same types in the datum target template are carried out similarity relatively; If the maximal value of similarity is more than or equal to matching threshold, the feature of current location target image piece undetermined that will be corresponding with the maximal value of described similarity is considered as waiting to set the goal successful matching characteristic;
Describedly determine that target location undetermined comprises: the feature off-set value of calculating the relatively described successful matching characteristic of waiting to set the goal of feature in datum target template corresponding to the maximal value of similarity; Feature off-set value according to all calculated datum target template off-set value; Determine target location undetermined according to described datum target template off-set value and a upper position to be set the goal, described target location undetermined is considered as current location to be set the goal.
2. method for tracking target as claimed in claim 1, is characterized in that,
Extracting described datum target image block comprises: determine the datum target initial position datum target to be divided into one or more subbase standard target image blocks, the position of recording each subbase standard target image block by background modeling or manual the demarcation;
And/or
Extracting described background image piece comprises: choose one or more rectangular areas from the datum target surrounding, choose the background image piece from the rectangular area.
3. method for tracking target as described in any one in claim 1 to 2, is characterized in that,
The feature of the feature of described datum target image block or background image piece comprises: contour feature and/or architectural feature and/or textural characteristics and/or color characteristic and/or motion state feature;
Extracting the feature of datum target image block or the feature of background image piece comprises: the centrosymmetric local binary patterns CSLBP by adding up each pixel in described datum target image block or described background image piece and the histogram of described local binary patterns, extract the architectural feature of described datum target image block and the architectural feature of described background image piece;
Extracting the feature of datum target image block or the feature of background image piece comprises: by adding up the gradient orientation histogram HOG of described datum target image block or described background image piece, extract the textural characteristics of described datum target image block or the textural characteristics of described background image piece;
Extracting the feature of datum target image block or the feature of background image piece comprises: by adding up the color histogram HOC of described datum target image block or described background image piece, extract the color characteristic of described datum target image block or the color characteristic of described background image piece.
4. method for tracking target as claimed in claim 3, is characterized in that, the step of described identification comparison comprises: based on each feature of datum target image block similarity S with respect to the background image block feature identical with its type, according to formula
Figure FDA00003268173900021
Calculate identification d;
If described identification greater than the identification threshold value, is listed the feature of this datum target image block in described datum target template in.
5. method for tracking target as claimed in claim 4, it is characterized in that, feature in described datum target template comprises matching characteristic formation and the formation of reserve feature, comprise in described matching characteristic formation for carrying out similarity matching characteristic relatively with clarification of objective undetermined, comprise the standby matching characteristic that is used for carrying out with clarification of objective undetermined the similarity comparison in the formation of described reserve feature;
Described similarity relatively comprises: extract current location image block to be set the goal; Extract the feature of current location target image piece undetermined; Each feature of current location target image piece undetermined and the feature of all same types in the datum target template are carried out similarity relatively; If the maximal value of similarity more than or equal to matching threshold the feature of current location target image piece undetermined corresponding to the maximal value of described similarity be considered as waiting to set the goal successful matching characteristic; Otherwise the signature in datum target template corresponding to the maximal value of similarity is unsuccessfully; If the frequency of failure greater than setting value, is deleted this feature, and select the feature identical with deleted characteristic type to fill up in the matching characteristic formation from the formation of reserve feature.
6. the tracker based on image block characteristics, is characterized in that, comprises the module of setting up the datum target template according to the feature of datum target image block and background image piece; The feature of datum target image block in clarification of objective undetermined and datum target template is carried out similarity module relatively; Determine the module of target location undetermined according to the similarity comparative result;
Wherein, the described module of setting up the datum target template comprises: extract datum target image block submodule and extract background image piece submodule, extract the datum target image block feature submodule and extract the feature of background image piece submodule, the feature of described datum target image block and the feature of described background image piece are carried out identification submodule relatively; Set up the submodule of the datum target template that comprises the datum target feature according to the identification comparative result;
The described module that feature in clarification of objective undetermined and datum target template is carried out the similarity comparison comprises: extract current location target image piece undetermined submodule, extract current location target image block feature undetermined submodule, with the feature of each feature of current location target image piece undetermined and all same types in the datum target template carry out the submodule of similarity comparison, according to similarity comparative result determine to wait the to set the goal submodule of successful matching characteristic;
Describedly determine that according to the similarity comparative result module of target location undetermined comprises: calculate the submodule of the feature off-set value of feature in datum target template corresponding to the maximal value of similarity and the described successful matching characteristic of waiting to set the goal, submodule that feature off-set value according to all calculated datum target template off-set value, determine the submodule of target location undetermined according to datum target template off-set value and a upper position to be set the goal.
CN 201110267278 2011-09-09 2011-09-09 Target tracking method and system based on image block characteristics Active CN102324030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110267278 CN102324030B (en) 2011-09-09 2011-09-09 Target tracking method and system based on image block characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110267278 CN102324030B (en) 2011-09-09 2011-09-09 Target tracking method and system based on image block characteristics

Publications (2)

Publication Number Publication Date
CN102324030A CN102324030A (en) 2012-01-18
CN102324030B true CN102324030B (en) 2013-11-06

Family

ID=45451769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110267278 Active CN102324030B (en) 2011-09-09 2011-09-09 Target tracking method and system based on image block characteristics

Country Status (1)

Country Link
CN (1) CN102324030B (en)

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426178B (en) * 2012-05-17 2017-02-15 深圳中兴力维技术有限公司 Target tracking method and system based on mean shift in complex scene
CN103426179B (en) * 2012-05-17 2016-12-14 深圳中兴力维技术有限公司 A kind of method for tracking target based on mean shift multiple features fusion and device
CN103632362B (en) * 2012-08-28 2017-03-01 中国电信股份有限公司 Images match processing method, apparatus and system
CN103049737B (en) * 2012-12-04 2015-10-21 中国核电工程有限公司 Based on access lock visual identity control method and the system of FPGA
CN103903250A (en) * 2012-12-28 2014-07-02 重庆凯泽科技有限公司 Target tracking algorithm based on multiple vision in motion capture system
CN103903277A (en) * 2012-12-28 2014-07-02 重庆凯泽科技有限公司 Multi-ocular vision based data fusion algorithm
CN103077403B (en) * 2012-12-30 2016-12-28 信帧电子技术(北京)有限公司 pedestrian counting method and device
CN103353939B (en) * 2013-06-19 2016-05-25 电子科技大学 Dynamic background hypograph feature object masterplate extracts and recognition methods
CN103530894B (en) * 2013-10-25 2016-04-20 合肥工业大学 A kind of video object method for tracing based on multiple dimensioned piece of rarefaction representation and system thereof
CN105469379B (en) * 2014-09-04 2020-07-28 广东中星微电子有限公司 Video target area shielding method and device
CN104580825B (en) * 2015-01-28 2018-05-08 苏州科达科技股份有限公司 The method for identifying in video and tracking object
CN106033613B (en) * 2015-03-16 2019-04-30 北京大学 Method for tracking target and device
US10699156B2 (en) * 2016-01-13 2020-06-30 Peking University Shenzhen Graduate School Method and a device for image matching
CN105718899A (en) * 2016-01-22 2016-06-29 张健敏 Solar water heater based on visual characteristics
CN105760854B (en) * 2016-03-11 2019-07-26 联想(北京)有限公司 Information processing method and electronic equipment
CN106021092A (en) * 2016-05-04 2016-10-12 北京小米移动软件有限公司 Method and device for determining starting duration of application program
US10422639B2 (en) * 2016-12-30 2019-09-24 DeepMap Inc. Enrichment of point cloud data for high-definition maps for autonomous vehicles
CN106874881B (en) * 2017-02-23 2019-09-24 电子科技大学 A kind of anti-joint sparse expression method for tracking target in the part of multi-template space time correlation
CN107704814B (en) * 2017-09-26 2021-08-24 中国船舶重工集团公司第七一九研究所 Vibration target monitoring method based on video
CN108229307B (en) * 2017-11-22 2022-01-04 北京市商汤科技开发有限公司 Method, device and equipment for object detection
CN110163029B (en) * 2018-02-11 2021-03-30 中兴飞流信息科技有限公司 Image recognition method, electronic equipment and computer readable storage medium
CN109064490B (en) * 2018-04-12 2021-09-28 江苏省基础地理信息中心 Moving target tracking method based on MeanShift
CN108898615B (en) * 2018-06-15 2021-09-24 阿依瓦(北京)技术有限公司 Block matching method for high frequency information image
CN109101525A (en) * 2018-06-19 2018-12-28 黑龙江拓盟科技有限公司 A kind of medical image comparison method based on image comparison identification
CN110876602B (en) * 2018-09-06 2021-06-04 珠海格力电器股份有限公司 Control method and device of dish washing machine and dish washing machine
CN109489663B (en) * 2018-10-19 2020-01-03 北京三快在线科技有限公司 Positioning method and device, mobile equipment and computer readable storage medium
CN109658434B (en) * 2018-12-26 2023-06-16 成都纵横自动化技术股份有限公司 Target tracking method and device
WO2020140223A1 (en) * 2019-01-03 2020-07-09 Intel Corporation Continuous learning for object tracking
CN109934107B (en) * 2019-01-31 2022-03-01 北京市商汤科技开发有限公司 Image processing method and device, electronic device and storage medium
CN111539987B (en) * 2020-04-01 2022-12-09 上海交通大学 Occlusion detection system and method based on discrimination model
CN111738232B (en) * 2020-08-06 2020-12-15 深圳须弥云图空间科技有限公司 Method and device for marking pile foundation
CN113256594B (en) * 2021-06-07 2021-12-07 之江实验室 Small sample model generation and weld joint detection method based on regional characteristic metric learning
CN114119577B (en) * 2021-11-30 2023-06-23 石家庄铁道大学 High-speed rail tunnel leakage cable buckle detection method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2430735A (en) * 2005-09-30 2007-04-04 Sony Uk Ltd Object detection
CN101339664B (en) * 2008-08-27 2012-04-18 北京中星微电子有限公司 Object tracking method and system
CN101577005A (en) * 2009-06-12 2009-11-11 北京中星微电子有限公司 Target tracking method and device
CN101673403B (en) * 2009-10-10 2012-05-23 安防制造(中国)有限公司 Target following method in complex interference scene

Also Published As

Publication number Publication date
CN102324030A (en) 2012-01-18

Similar Documents

Publication Publication Date Title
CN102324030B (en) Target tracking method and system based on image block characteristics
CN103218605B (en) A kind of fast human-eye positioning method based on integral projection and rim detection
WO2015010451A1 (en) Method for road detection from one image
CN103226834B (en) A kind of image motion target signature point method for fast searching
CN105117720B (en) Target scale adaptive tracking method based on space-time model
CN106952294B (en) A kind of video tracing method based on RGB-D data
CN104408724A (en) Depth information method and system for monitoring liquid level and recognizing working condition of foam flotation
CN102289948A (en) Multi-characteristic fusion multi-vehicle video tracking method under highway scene
CN104616318A (en) Moving object tracking method in video sequence image
CN103268616A (en) Multi-feature multi-sensor method for mobile robot to track moving body
CN102592112A (en) Method for determining gesture moving direction based on hidden Markov model
CN104200485A (en) Video-monitoring-oriented human body tracking method
CN104574439A (en) Kalman filtering and TLD (tracking-learning-detection) algorithm integrated target tracking method
CN107301657B (en) A kind of video target tracking method considering target movable information
CN105869178A (en) Method for unsupervised segmentation of complex targets from dynamic scene based on multi-scale combination feature convex optimization
CN101770581A (en) Semi-automatic detecting method for road centerline in high-resolution city remote sensing image
CN101916446A (en) Gray level target tracking algorithm based on marginal information and mean shift
CN103793922B (en) A kind of particular pose real-time detection method
CN103544488B (en) A kind of face identification method and device
CN104063711A (en) Corridor vanishing point rapid detection algorithm based on K-means method
CN104318559A (en) Quick feature point detecting method for video image matching
CN103440667A (en) Automatic device for stably tracing moving targets under shielding states
CN104038799A (en) Three-dimensional television-oriented gesture manipulation method
CN106023171A (en) Image corner detection method based on turning radius
CN111582410B (en) Image recognition model training method, device, computer equipment and storage medium

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
ASS Succession or assignment of patent right

Owner name: GAOLING INFORMATION SCIENCE AND TECHNOLOGY CO., LT

Free format text: FORMER OWNER: GUANGZHOU SMARTVISION INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20131223

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 510665 GUANGZHOU, GUANGDONG PROVINCE TO: 519060 ZHUHAI, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131223

Address after: Pingtung 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No.

Patentee after: Zhuhai Comleader Information Science & Technology Co., Ltd.

Address before: Tianhe District Guangyuan East Road, Guangzhou city Guangdong province 510665 No. 2193 room 902

Patentee before: Guangzhou SmartVision Information Technology Co., Ltd.

ASS Succession or assignment of patent right

Owner name: GUANGZHOU SMARTVISION INFORMATION TECHNOLOGY CO.,

Free format text: FORMER OWNER: GAOLING INFORMATION SCIENCE AND TECHNOLOGY CO., LTD., ZHUHAI

Effective date: 20140321

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 519060 ZHUHAI, GUANGDONG PROVINCE TO: 510665 GUANGZHOU, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20140321

Address after: Tianhe District Guangyuan East Road, Guangzhou city Guangdong province 510665 No. 2193 room 902

Patentee after: Guangzhou SmartVision Information Technology Co., Ltd.

Address before: Pingtung 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No.

Patentee before: Zhuhai Comleader Information Science & Technology Co., Ltd.

ASS Succession or assignment of patent right

Owner name: GAOLING INFORMATION SCIENCE AND TECHNOLOGY CO., LT

Free format text: FORMER OWNER: GUANGZHOU SMARTVISION INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20150601

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 510665 GUANGZHOU, GUANGDONG PROVINCE TO: 519060 ZHUHAI, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20150601

Address after: Pingtung 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No.

Patentee after: Zhuhai Comleader Information Science & Technology Co., Ltd.

Address before: Tianhe District Guangyuan East Road, Guangzhou city Guangdong province 510665 No. 2193 room 902

Patentee before: Guangzhou SmartVision Information Technology Co., Ltd.

C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Pingtung 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No.

Patentee after: Zhuhai Gao Ling information Polytron Technologies Inc

Address before: Pingtung 519060 Guangdong province Zhuhai Nanping Science and Technology Industrial Park Road No.

Patentee before: Zhuhai Comleader Information Science & Technology Co., Ltd.