CN103914853A - Method for processing target adhesion and splitting conditions in multi-vehicle tracking process - Google Patents

Method for processing target adhesion and splitting conditions in multi-vehicle tracking process Download PDF

Info

Publication number
CN103914853A
CN103914853A CN201410103929.7A CN201410103929A CN103914853A CN 103914853 A CN103914853 A CN 103914853A CN 201410103929 A CN201410103929 A CN 201410103929A CN 103914853 A CN103914853 A CN 103914853A
Authority
CN
China
Prior art keywords
target
frame
vehicle
adhesion
situation
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
Application number
CN201410103929.7A
Other languages
Chinese (zh)
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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201410103929.7A priority Critical patent/CN103914853A/en
Publication of CN103914853A publication Critical patent/CN103914853A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for processing target adhesion and splitting in the multi-vehicle tracking process. The method includes the first step of carrying out processing in a vehicle tracking algorithm based on a maximum overlapping area and in a vehicle tracking algorithm based on Mean shift, and the second step of processing the target adhesion and splitting conditions in the vehicle tracking process, wherein the first step includes the steps of carrying out normal vehicle tracking according to the vehicle tracking algorithm based on the maximum overlapping area and tracking adhering and split vehicles according to the vehicle tracking algorithm based on the Mean shift, and the second step includes the steps of analyzing matching conditions of a moving object in previous frames and the moving object in latter frames to judge the conditions of the moving object and carrying out tracking through different algorithms according to the feedback conditions of the moving object. According to the method, on the basis that the detection sequence of the vehicles is given, the non-hundred-percent reliability of the detection sequence is considered, the previous frames where the object appears are analyzed, the adhesing vehicles and the normal vehicles are distinguished through marking, and consequently the vehicles are tracked in two ways. The method is simple, easy to realize and less in time consumption.

Description

The disposal route of target adhesion and division situation when many vehicle trackings
Technical field
The present invention relates to the technical field of vehicle tracking, particularly the disposal route of target adhesion and division situation when a kind of many vehicle trackings of reality.
Background technology
Along with more and more robotization of traffic control system, intellectuality, Intelligent traffic management systems also becomes hot research object.Vehicle tracking is vital module in Intelligent traffic management systems, and it has merged the knowledge of numerous ambits such as computer vision, Computer Image Processing, machine learning.
Desirable, traffic is simple, and in the perfect situation of testing result, current track algorithm, as Mean shift, Camshift, template tracking, particle filter and feature point tracking etc. all can solve tracking problem, but reality is really not so, under complicated traffic conditions, vehicle there will be adhesion, and in the faulty situation of testing result, vehicle there will be division.
Though front people have proposed a lot of solutions to these problems, major part has all only been considered the solution to adhesion problems, does not consider due to the incorrect fragmentation problem causing due to testing result in tracing process; And do not consider the situation that many cars stick together, and disposal route while only just considering the situation that two cars stick together; Finally, do not emphasize the importance that is judged as correct target or false target when vehicle appears at guarded region, because if just there is adhesion when vehicle has just appeared at guarded region, and be all generally to give tacit consent on the first appearance for normal vehicle according to front people's method, so, if no longer adhesion between vehicle in follow-up tracing process, front people's method will think that vehicle divides, thereby process, so just occurred wrong tracking.In like manner, if testing result division when vehicle has just appeared at guarded region, the tracking that also can lead to errors according to front people's method.
Summary of the invention
The object of the invention is to overcome the shortcoming and deficiency of prior art, the disposal route of target adhesion and division situation when a kind of many vehicle trackings of reality are provided.
Object of the present invention is achieved through the following technical solutions:
When many vehicle trackings, a disposal route for target adhesion and division situation, comprises the steps:
S1, vehicle tracking algorithm based on Maximum overlap area and Mean shift;
S11, the vehicle tracking algorithm of utilization based on Maximum overlap area carry out normal vehicle tracking;
S12, the tracking that utilizes the vehicle tracking algorithm based on Mean shift to carry out adhesion and divide vehicle;
Processing to target adhesion and division situation in S2, vehicle tracking process;
The match condition of S21, moving target to front and back frame is analyzed, and judges the state of moving target;
S22, utilize different algorithms to follow the tracks of according to the situation of the feedback of status of moving target.
Preferably, in step S11, the vehicle tracking algorithm of Maximum overlap area is:
Upper left corner coordinate (the x of vehicle in known k frame 1, y 1) and lower right corner coordinate (x 2, y 2), the upper left corner coordinate (x of vehicle in k+1 frame 3, y 3) and lower right corner coordinate (x 4, y 4), upper left corner coordinate and the left side, the lower right corner of establishing overlapping region are respectively: (x 5, y 5), (x 6, y 6):
x 5 = max ( x 1 , x 3 ) x 6 = min ( x 2 , x 4 ) y 5 = max ( y 1 , y 3 ) y 6 = min ( y 2 , y 4 ) - - - ( 1 )
Can be tried to achieve respectively the upper left corner and the lower right corner of overlapping region by formula (1);
x 5 < x 6 y 5 < y 6 - - - ( 2 )
If (2) formula is set up, illustrate that there is lap two rectangular areas, otherwise two rectangular areas are not overlapping, if (2) formula is set up, two rectangular area overlapping area S are
S=(x 6-x 5)*(y 6-y 5) (3)
Adjacent two frames detect in sequences, and the overlapping the maximum of area is the correct person of coupling, give target that this coupling is correct to number accordingly.
Preferably, step S12 is specially:
S121, manual search target window, set up object module
q u ( y ^ ) = C ^ &Sigma; i = 1 n k ( | | y ^ - x ^ i h ^ | | 2 ) &delta; [ b ( x ^ i ) - u ] - - - ( 4 )
In formula, C ^ = 1 &Sigma; i = 1 n k ( | | y ^ - x ^ i h ^ | | 2 )
&delta; [ b ( x ^ i ) - u ] = 1 b ( x ^ i ) = u 0 b ( x ^ i ) &NotEqual; u
for the centre coordinate of object module, be the coordinate of i pixel, for the pixel value of point, the radius that h is To Template;
refer to the distance of i pixel to object module center;
for kernel function, when the larger k of x value (x) value less, otherwise when the less k of x value (x) is worth greatlyr, the weight of giving the closer to central point is larger;
for discrete impulse function, when time, equal 1; When time, equal 0, in the time that the pixel value traversing equals given pixel value, just numeration is once;
S122, set up candidate family at next frame
C = 1 &Sigma; i = 1 n k ( | | y - x i h | | 2 )
&delta; [ b ( x i ) - u ] = 1 b ( x i ) = u 0 b ( x i ) &NotEqual; u
In above formula, y 0it is the centre coordinate of the To Template of previous frame;
S123, using Bhattacharyya coefficient as similarity function, obtain the iterative Bhattacharyya Coefficient Definition of Mean shift and be:
In the time that ρ (y) is maximum, illustrate that p (y) and q have maximum similarity;
Its first order Taylor is:
In formula,
(4), in formula, Section 1 and y are irrelevant, only need Section 2 to obtain maximal value so will try to achieve the value of ρ (y); Can obtain maximal value to Section 2 differentiate in (4)
Make f ' (y)=0, have:
So just, obtain Mean shift iterative:
Wherein, g (X)=-k ' is (X)
Because kernel function is given large weights for the pixel value of target's center, and give little weights for the pixel at wide center, thereby adopt kernel function histogram model modeling to guarantee that Mean shift algorithm itself has good robustness to blocking with the variation of background.
Preferably, in step S21, the state of moving target is normal condition, splitting status and adhesion state, and step S21 is specially:
S211, front and back two frame vehicles are to illustrate that one to one the state of this moving target is normal condition;
S212, before determining, in the frame target situation that is normal target, in lower frame, there is area rapid drawdown, and non-enter monitoring cable place judge that dividing appears in target while for no reason there is fresh target;
S213, before determining, frame target be normal target in the situation that, occurs that in lower frame area increases suddenly, and non-go out monitoring cable place judge that adhesion appears in target while having target to suddenly disappear.
Preferably, step S22 is specially:
S221, one of drafting enter the line of guarded region, think that when target enters this line this is fresh target, judge whether this target meets vehicle feature;
S222, the target detecting in sequence in adjacent two frames is mated with Maximum overlap area algorithm, in the time there is following three kinds of situations, think that the match is successful: for without counting and tagger is mated one by one; As long as just think that for what have tagger to have to match the match is successful; As long as just think it the match is successful for what have numeration person to have to match;
S223, draw a line that rolls guarded region away from, roll this line away from when target and think that target rolls away from, delete the storage organization of this car.
Preferably, step S221 further comprises the steps:
In the time that this target meets vehicle feature, give this fresh target with numbering; If be less than the scope of minimum vehicle, judge that it is not a complete car, now do not award numbering, but count 0, wait for several frames after more clear testing result accurately numbering; If this target is greater than the scope of minimum vehicle, so think that this target is that several cars have occurred that adhesion phenomenon has caused wrong testing result, now gives this target with numbering, and give this target with mark, to represent that this target is as undesired target.
Preferably, step S222 further comprises the steps:
If in coupling time, is found not numbered by matcher, but there is numeration number, it is described vehicle in as fresh target is imperfect to stay, now, if having, it is matched, for its numeration adds 1 operation;
In the time of coupling, find there is mark by matcher, whether the total area that contrasts target in its two frame varies widely, if had, mark is removed, the target matching is with numbering, toply give original numbering, remaining give successively new numbering, if area does not have that great changes will take place, award corresponding numbering and mark;
In the time of coupling, target is one to one, directly give its corresponding numbering, in the time that coupling is unsuccessful, if there is the multiple object matchings that detect sequence in k frame to the same target that detects sequence in k+1 frame, now show in k frame it is correct result, but during to k+1 frame, there is the situation that several cars merge, now with Mean shift algorithm, those the several targets in k frame have been departed from the tracking of k+1 frame detection sequence;
If there is an object matching of sequence in k frame to the multiple targets that detect sequence in k+1 frame, correct result while now showing in k frame, but to k+1 frame there is the situation of a car division, now with Mean shift algorithm, that target in k frame is departed from the tracking of k+1 frame detection sequence.
The present invention has following advantage and effect with respect to prior art:
1, be very simply easy to realize based on Maximum overlap area algorithm, greatly improved the speed of algorithm,
Can reach the requirement of real-time follow-up.
2, considered that vehicle feature that whether feature that vehicle has just entered guarded region meets vehicle judges the correctness of testing result when target occurs first, this is just for the tracking to adhesion vehicle afterwards lays the foundation.
3, be mainly to follow not reach threshold value that continuous n frame all occurs not to the principle of numbering when target for the processing of division.
4, for adhesion, and the Mean shift algorithm that vehicle fragmentation problem utilization in tracing process departs from testing result is followed the tracks of.
Accompanying drawing explanation
Fig. 1 is target following and to division adhesion situation Processing Algorithm process flow diagram;
Fig. 2 is that Maximum overlap area is asked method schematic diagram.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited to this.
Embodiment
The disposal route of target adhesion and division situation while the invention discloses a kind of many vehicle trackings, as shown in Figure 1, step is:
(1), the vehicle tracking algorithm based on Maximum overlap area and Mean shift;
1., utilize the vehicle tracking algorithm based on Maximum overlap area to carry out normal vehicle tracking;
2., utilize the vehicle tracking algorithm based on Mean shift to carry out the tracking of adhesion and division vehicle;
(2), the processing to target adhesion and division situation in vehicle tracking process;
The match condition of the moving target 3., to front and back frame is analyzed, and judges the state of moving target;
4., utilize different algorithms to follow the tracks of according to the situation of the feedback of status of moving target;
In concrete enforcement, video camera is fixed the monitor video under scene, obtained the testing result sequence of each frame by moving object detection module, according to testing result sequence, utilize the combinational algorithm of Maximum overlap area algorithm and Mean Shift algorithm to follow the tracks of, and the state that may occur in tracing process moving target is analyzed, thereby correct solution division and adhesion situation reach and follow the tracks of correct object.The running environment of the disposal route of target adhesion and division situation when many vehicle trackings of the present invention: Intel (R) Core (TM) i7-3770K CPU@3.5GHz8GB RAM, developing instrument is VS2010, development language is C++ & OpenCV, video resolution is: 448 × 336, processing speed to video has reached 38fps, met the requirement of real-time processing, accuracy has reached 97.30%.
To describe concrete methods of realizing in detail according to step below:
1, the vehicle tracking algorithm based on Maximum overlap area and Mean shift;
Maximum overlap area algorithm is a kind of New Algorithm that the present invention proposes, this algorithm is mainly the speed in order to improve tracking, to reach the requirement of real-time follow-up, Maximum overlap area track algorithm is mainly to carry out the matching relationship between corresponding target in consecutive frame according to the sequence of vehicle detection result, this algorithm is simply easy to realize, consuming time little, but it too relies on testing result, if mistake appears in testing result, can affect tracking results, so Maximum overlap area algorithm and Mean shift algorithm are carried out to combination, because Mean shift algorithm is self-existent a kind of track algorithm, it does not rely on detection sequence, thereby thereby can assist Maximum overlap area track algorithm to improve correctness and the robustness of following the tracks of.
In the time two frames detection sequences being mated with Maximum overlap area algorithm, according to the rule of coupling and the threshold value of setting, when occurring that a car in present frame matches many cars in former frame, now illustrate that merging and blocking has appearred in vehicle; When many cars in present frame all match same car in former frame, the situation that has occurred division in testing result is now described.In the time running into above two kinds of situations, return to previous frame, the vehicle Mean shift algorithm that occurs this situation is followed the tracks of.
Above algorithm is described as follows:
1.1 based on Maximum overlap area algorithm, as shown in Figure 2:
1) ask the area of overlapping region
illustrate:
This step is mainly to provide method how to ask overlapping area.
algorithm:
Upper left corner coordinate (the x of vehicle in known k frame 1, y 1) and lower right corner coordinate (x 2, y 2), the upper left corner coordinate (x of vehicle in k+1 frame 3, y 3) and lower right corner coordinate (x 4, y 4).If the top-left coordinates of overlapping region and bottom right coordinate are respectively (x 5, y 5), (x 6, y 6):
x 5 = max ( x 1 , x 3 ) x 6 = min ( x 2 , x 4 ) y 5 = max ( y 1 , y 3 ) y 6 = min ( y 2 , y 4 ) - - - ( 1 )
Can be tried to achieve respectively the upper left corner and the lower right corner of overlapping region by formula (1).
x 5 < x 6 y 5 < y 6 - - - ( 2 )
If (2) formula is set up, illustrate that there is lap two rectangular areas, otherwise two rectangular areas are not overlapping.If (2) formula is set up, two rectangular area overlapping area S are:
S=(x 6-x 5)*(y 6-y 5) (3)
2) matching principle
illustrate:
A given target, finds out the target that overlaps area maximum in next frame by the method for exhaustion.
algorithm:
Adjacent two frames detect in sequences, and the overlapping the maximum of area is the correct person of coupling, give target that this coupling is correct to number accordingly.
M=max{s 1,s 2,s 3,…,s n}
1.2 based on Mean shift algorithm
1) manual search target window, sets up object module
illustrate:
Given target window, utilizes COLOR COMPOSITION THROUGH DISTRIBUTION probability to set up object module.
algorithm:
q u ( y ^ ) = C ^ &Sigma; i = 1 n k ( | | y ^ - x ^ i h ^ | | 2 ) &delta; [ b ( x ^ i ) - u ] - - - ( 4 )
In formula, C ^ = 1 &Sigma; i = 1 n k ( | | y ^ - x ^ i h ^ | | 2 )
&delta; [ b ( x ^ i ) - u ] = 1 b ( x ^ i ) = u 0 b ( x ^ i ) &NotEqual; u
for the centre coordinate of object module, be the coordinate of i pixel, for the pixel value of point, the radius that h is To Template.
refer to the distance of i pixel to object module center.
for kernel function, when the larger k of x value (x) value less, otherwise when the less k of x value (x) is worth greatlyr, the weight of giving the closer to central point is larger.
for discrete impulse function, when time, equal 1; When time, equal 0.In the time that the pixel value traversing equals given pixel value, just numeration is once.
2) set up candidate family at next frame
illustrate:
Same 1), set up the color probability Distribution Model of next frame.
algorithm:
C = 1 &Sigma; i = 1 n k ( | | y - x i h | | 2 )
&delta; [ b ( x i ) - u ] = 1 b ( x i ) = u 0 b ( x i ) &NotEqual; u
In above formula, y 0it is the centre coordinate of the To Template of previous frame.
3), using Bhattacharyya coefficient as similarity function, obtain Mean shift iterative
illustrate:
Using Bhattacharyya coefficient as similarity function, make candidate family approach step by step object module, obtain Mean shift iterative.
algorithm:
Bhattacharyya Coefficient Definition is:
In the time that ρ (y) is maximum, illustrate that p (y) and q have maximum similarity;
Its first order Taylor is:
In formula,
(4), in formula, Section 1 and y are irrelevant, only need Section 2 to obtain maximal value so will try to achieve the value of ρ (y); Can obtain maximal value to Section 2 differentiate in (4)
Make f ' (y)=0, have:
So just, obtain Mean shift iterative:
Wherein, g (X)=-k ' is (X)
Because kernel function is given large weights for the pixel value of target's center, and give little weights for the pixel at wide center, thereby adopt kernel function histogram model modeling to guarantee that Mean shift algorithm itself has good robustness to blocking with the variation of background.
2, the processing to target adhesion and division situation in vehicle tracking process;
Due to illumination, the impact of the factors such as weather, present detection technique does not reach perfect effect, and there is division in the vehicle occasional that detects, and what sometimes many cars leaned on too closely may detect them to become a car.So, but in tracing process, there will be some unreasonable situations that really can exist, must process and just can make tracking results rationally with correct these situations.
2.1 fresh targets occur
illustrate:
Judge which kind of situation is that fresh target occurs.
algorithm:
Manually draw a line that enters guarded region, think that when target enters this line this is fresh target, judge whether this target meets vehicle feature (can provide in advance enter the length of line part different automobile types and the scope of width).In the time that this target meets vehicle feature, give this fresh target with numbering; If be less than the scope of minimum vehicle, judge that it is not a complete car, now do not award numbering, but count 0, wait for several frames after more clear testing result accurately numbering; If this target is greater than the scope of minimum vehicle, so think that this target is that several cars have occurred that adhesion phenomenon has caused wrong testing result, now gives this target with numbering, and give this target with mark, to represent that this target is as undesired target.
In 2.2 monitoring ranges, follow the tracks of situation analysis
illustrate:
According to the situation of coupling, as one to one, one-to-many, many-one, provides disposal route.
algorithm:
The target detecting in sequence in adjacent two frames is mated with Maximum overlap area algorithm, in the time there is following three kinds of situations, think that the match is successful: for without counting and tagger is mated one by one; As long as just think that for what have tagger to have to match the match is successful; As long as just think it the match is successful for what have numeration person to have to match.
If in coupling time, is found not numbered by matcher, but there is numeration number, it is described vehicle in as fresh target is imperfect to stay, now, if having, it is matched, for its numeration adds 1 operation.In the time that reaching 5, its numeration gives its numbering.
Find there is mark by matcher when when coupling, whether the total area that contrasts target in its two frame varies widely, if had, mark is removed, and the target matching is with numbering, toply gives original numbering, remaining gives successively new numbering.If area does not have that great changes will take place, award corresponding numbering and mark.
In the time of coupling, target is one to one, directly gives its corresponding numbering.
In the time that coupling is unsuccessful, if there is the multiple object matchings that detect sequence in k frame to the same target that detects sequence in k+1 frame, now show in k frame it is correct result, but during to k+1 frame, there is the situation that several cars merge, now with Mean shift algorithm, those the several targets in k frame have been departed from the tracking of k+1 frame detection sequence.
If there is an object matching of sequence in k frame to the multiple targets that detect sequence in k+1 frame, correct result while now showing in k frame, but to k+1 frame there is the situation of a car division, now with Mean shift algorithm, that target in k frame is departed from the tracking of k+1 frame detection sequence.
2.3 targets are rolled away from
illustrate:
Judge which kind of situation is that target is rolled away from.
algorithm:
Manually draw a line that rolls guarded region away from, roll this line away from when target and think that target rolls away from, delete the storage organization of this car.
Above-described embodiment is preferably embodiment of the present invention; but embodiments of the present invention are not restricted to the described embodiments; other any do not deviate from change, the modification done under Spirit Essence of the present invention and principle, substitutes, combination, simplify; all should be equivalent substitute mode, within being included in protection scope of the present invention.

Claims (7)

1. when vehicle tracking more than, a disposal route for target adhesion and division situation, is characterized in that, comprises the steps:
S1, vehicle tracking algorithm based on Maximum overlap area and Mean shift;
S11, the vehicle tracking algorithm of utilization based on Maximum overlap area carry out normal vehicle tracking;
S12, the tracking that utilizes the vehicle tracking algorithm based on Mean shift to carry out adhesion and divide vehicle;
Processing to target adhesion and division situation in S2, vehicle tracking process;
The match condition of S21, moving target to front and back frame is analyzed, and judges the state of moving target;
S22, utilize different algorithms to follow the tracks of according to the situation of the feedback of status of moving target.
2. when many vehicle trackings according to claim 1, the disposal route of target adhesion and division situation, is characterized in that, in step S11, the vehicle tracking algorithm of Maximum overlap area is:
Upper left corner coordinate (the x of vehicle in known k frame 1, y 1) and lower right corner coordinate (x 2, y 2), the upper left corner coordinate (x of vehicle in k+1 frame 3, y 3) and lower right corner coordinate (x 4, y 4), upper left corner coordinate and the left side, the lower right corner of establishing overlapping region are respectively: (x 5, y 5), (x 6, y 6):
x 5 = max ( x 1 , x 3 ) x 6 = min ( x 2 , x 4 ) y 5 = max ( y 1 , y 3 ) y 6 = min ( y 2 , y 4 ) - - - ( 1 )
Can be tried to achieve respectively the upper left corner and the lower right corner of overlapping region by formula (1);
x 5 < x 6 y 5 < y 6 - - - ( 2 )
If (2) formula is set up, illustrate that there is lap two rectangular areas, otherwise two rectangular areas are not overlapping, if (2) formula is set up, two rectangular area overlapping area S are
S=(x 6-x 5)*(y 6-y 5) (3)
Adjacent two frames detect in sequences, and the overlapping the maximum of area is the correct person of coupling, give target that this coupling is correct to number accordingly.
3. when many vehicle trackings according to claim 1, the disposal route of target adhesion and division situation, is characterized in that, step S12 is specially:
S121, manual search target window, set up object module
q u ( y ^ ) = C ^ &Sigma; i = 1 n k ( | | y ^ - x ^ i h ^ | | 2 ) &delta; [ b ( x ^ i ) - u ] - - - ( 4 )
In formula, C ^ = 1 &Sigma; i = 1 n k ( | | y ^ - x ^ i h ^ | | 2 )
&delta; [ b ( x ^ i ) - u ] = 1 b ( x ^ i ) = u 0 b ( x ^ i ) &NotEqual; u
for the centre coordinate of object module, be the coordinate of i pixel, for the pixel value of point, the radius that h is To Template;
refer to the distance of i pixel to object module center;
for kernel function, when the larger k of x value (x) value less, otherwise when the less k of x value (x) is worth greatlyr, the weight of giving the closer to central point is larger;
for discrete impulse function, when time, equal 1; When time, equal 0, in the time that the pixel value traversing equals given pixel value, just numeration is once;
S122, set up candidate family at next frame
C = 1 &Sigma; i = 1 n k ( | | y - x i h | | 2 )
&delta; [ b ( x i ) - u ] = 1 b ( x i ) = u 0 b ( x i ) &NotEqual; u
In above formula, y 0it is the centre coordinate of the To Template of previous frame;
S123, using Bhattacharyya coefficient as similarity function, obtain the iterative Bhattacharyya Coefficient Definition of Mean shift and be:
In the time that ρ (y) is maximum, illustrate that p (y) and q have maximum similarity;
Its first order Taylor is:
In formula,
(4), in formula, Section 1 and y are irrelevant, only need Section 2 to obtain maximal value so will try to achieve the value of ρ (y); Can obtain maximal value to Section 2 differentiate in (4)
Make f ' (y)=0, have:
So just, obtain Mean shift iterative:
Wherein, g (X)=-k ' is (X)
Because kernel function is given large weights for the pixel value of target's center, and give little weights for the pixel at wide center, thereby adopt kernel function histogram model modeling to guarantee that Mean shift algorithm itself has good robustness to blocking with the variation of background.
4. when many vehicle trackings according to claim 1, the disposal route of target adhesion and division situation, is characterized in that, in step S21, the state of moving target is normal condition, splitting status and adhesion state, it is characterized in that, step S21 is specially:
S211, front and back two frame vehicles are to illustrate that one to one the state of this moving target is normal condition;
S212, before determining, in the frame target situation that is normal target, in lower frame, there is area rapid drawdown, and non-enter monitoring cable place judge that dividing appears in target while for no reason there is fresh target;
S213, before determining, frame target be normal target in the situation that, occurs that in lower frame area increases suddenly, and non-go out monitoring cable place judge that adhesion appears in target while having target to suddenly disappear.
5. when many vehicle trackings according to claim 1, the disposal route of target adhesion and division situation, is characterized in that, step S22 is specially:
S221, one of drafting enter the line of guarded region, think that when target enters this line this is fresh target, judge whether this target meets vehicle feature;
S222, the target detecting in sequence in adjacent two frames is mated with Maximum overlap area algorithm, in the time there is following three kinds of situations, think that the match is successful: for without counting and tagger is mated one by one; As long as just think that for what have tagger to have to match the match is successful; As long as just think it the match is successful for what have numeration person to have to match;
S223, draw a line that rolls guarded region away from, roll this line away from when target and think that target rolls away from, delete the storage organization of this car.
6. when many vehicle trackings according to claim 5, the disposal route of target adhesion and division situation, is characterized in that, step S221 further comprises the steps:
In the time that this target meets vehicle feature, give this fresh target with numbering; If be less than the scope of minimum vehicle, judge that it is not a complete car, now do not award numbering, but count 0, wait for several frames after more clear testing result accurately numbering; If this target is greater than the scope of minimum vehicle, so think that this target is that several cars have occurred that adhesion phenomenon has caused wrong testing result, now gives this target with numbering, and give this target with mark, to represent that this target is as undesired target.
7. when many vehicle trackings according to claim 5, the disposal route of target adhesion and division situation, is characterized in that, step S222 further comprises the steps:
If in coupling time, is found not numbered by matcher, but there is numeration number, it is described vehicle in as fresh target is imperfect to stay, now, if having, it is matched, for its numeration adds 1 operation;
In the time of coupling, find there is mark by matcher, whether the total area that contrasts target in its two frame varies widely, if had, mark is removed, the target matching is with numbering, toply give original numbering, remaining give successively new numbering, if area does not have that great changes will take place, award corresponding numbering and mark;
In the time of coupling, target is one to one, directly give its corresponding numbering, in the time that coupling is unsuccessful, if there is the multiple object matchings that detect sequence in k frame to the same target that detects sequence in k+1 frame, now show in k frame it is correct result, but during to k+1 frame, there is the situation that several cars merge, now with Mean shift algorithm, those the several targets in k frame have been departed from the tracking of k+1 frame detection sequence;
If there is an object matching of sequence in k frame to the multiple targets that detect sequence in k+1 frame, correct result while now showing in k frame, but to k+1 frame there is the situation of a car division, now with Mean shift algorithm, that target in k frame is departed from the tracking of k+1 frame detection sequence.
CN201410103929.7A 2014-03-19 2014-03-19 Method for processing target adhesion and splitting conditions in multi-vehicle tracking process Pending CN103914853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410103929.7A CN103914853A (en) 2014-03-19 2014-03-19 Method for processing target adhesion and splitting conditions in multi-vehicle tracking process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410103929.7A CN103914853A (en) 2014-03-19 2014-03-19 Method for processing target adhesion and splitting conditions in multi-vehicle tracking process

Publications (1)

Publication Number Publication Date
CN103914853A true CN103914853A (en) 2014-07-09

Family

ID=51040508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410103929.7A Pending CN103914853A (en) 2014-03-19 2014-03-19 Method for processing target adhesion and splitting conditions in multi-vehicle tracking process

Country Status (1)

Country Link
CN (1) CN103914853A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104658015A (en) * 2015-01-21 2015-05-27 沈阳理工大学 Visual locating method for automatic laser slicing in corn breeding
CN104867146A (en) * 2015-05-19 2015-08-26 沈阳理工大学 Slice positioning method for corn breeding slice characteristic zone
CN106384359A (en) * 2016-09-23 2017-02-08 青岛海信电器股份有限公司 Moving target tracking method and television set
CN107886048A (en) * 2017-10-13 2018-04-06 西安天和防务技术股份有限公司 Method for tracking target and system, storage medium and electric terminal
CN109101646A (en) * 2018-08-21 2018-12-28 北京深瞐科技有限公司 Data processing method, device, system and computer-readable medium
CN112534473A (en) * 2018-08-22 2021-03-19 日立汽车系统株式会社 Image processing apparatus and image processing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142147A (en) * 2010-01-29 2011-08-03 索尼公司 Device and method for analyzing site content as well as device and method for detecting and tracking target
JP2013107571A (en) * 2011-11-24 2013-06-06 Toyota Motor Corp Following control device
CN103426179A (en) * 2012-05-17 2013-12-04 深圳中兴力维技术有限公司 Target tracking method and system based on mean shift multi-feature fusion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142147A (en) * 2010-01-29 2011-08-03 索尼公司 Device and method for analyzing site content as well as device and method for detecting and tracking target
JP2013107571A (en) * 2011-11-24 2013-06-06 Toyota Motor Corp Following control device
CN103426179A (en) * 2012-05-17 2013-12-04 深圳中兴力维技术有限公司 Target tracking method and system based on mean shift multi-feature fusion

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭博学: "运动车辆视频分割与跟踪技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104658015A (en) * 2015-01-21 2015-05-27 沈阳理工大学 Visual locating method for automatic laser slicing in corn breeding
CN104658015B (en) * 2015-01-21 2017-05-10 沈阳理工大学 Visual locating method for automatic laser slicing in corn breeding
CN104867146A (en) * 2015-05-19 2015-08-26 沈阳理工大学 Slice positioning method for corn breeding slice characteristic zone
CN104867146B (en) * 2015-05-19 2017-05-10 沈阳理工大学 Slice positioning method for corn breeding slice characteristic zone
CN106384359A (en) * 2016-09-23 2017-02-08 青岛海信电器股份有限公司 Moving target tracking method and television set
CN106384359B (en) * 2016-09-23 2019-06-25 青岛海信电器股份有限公司 Motion target tracking method and TV
CN107886048A (en) * 2017-10-13 2018-04-06 西安天和防务技术股份有限公司 Method for tracking target and system, storage medium and electric terminal
CN109101646A (en) * 2018-08-21 2018-12-28 北京深瞐科技有限公司 Data processing method, device, system and computer-readable medium
CN112534473A (en) * 2018-08-22 2021-03-19 日立汽车系统株式会社 Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
CN103914853A (en) Method for processing target adhesion and splitting conditions in multi-vehicle tracking process
CN102765365B (en) Pedestrian detection method based on machine vision and pedestrian anti-collision warning system based on machine vision
KR100969995B1 (en) System of traffic conflict decision for signalized intersections using image processing technique
CN102542797B (en) Image-based traffic parameter detection system and method
US9633267B2 (en) Robust windshield detection via landmark localization
CN100454355C (en) Video method for collecting information of vehicle flowrate on road in real time
CN105744232A (en) Method for preventing power transmission line from being externally broken through video based on behaviour analysis technology
CN106778593A (en) A kind of track level localization method based on the fusion of many surface marks
CN102663356A (en) Method for extraction and deviation warning of lane line
CN105574537A (en) Multi-sensor-based dangerous driving behavior detection and evaluation method
CN105488453A (en) Detection identification method of no-seat-belt-fastening behavior of driver based on image processing
CN111292432A (en) Vehicle charging type distinguishing method and device based on vehicle type recognition and wheel axle detection
CN102509089A (en) Method for recognizing zebra crossing and measuring zebra crossing distance based on line-by-line scanning
CN102254428A (en) Traffic jam detection method based on video processing
CN107563310A (en) A kind of lane change detection method violating the regulations
CN103593981A (en) Vehicle model identification method based on video
CN102768726A (en) Pedestrian detection method for preventing pedestrian collision
CN114648748A (en) Motor vehicle illegal parking intelligent identification method and system based on deep learning
CN103473925B (en) A kind of verification method of road vehicle detection system
CN116128360A (en) Road traffic congestion level evaluation method and device, electronic equipment and storage medium
CN114495520A (en) Vehicle counting method, device, terminal and storage medium
CN103295003A (en) Vehicle detection method based on multi-feature fusion
CN106203273A (en) The lane detection system of multiple features fusion, method and senior drive assist system
CN105574470A (en) Posterolateral vehicle identification method and device
CN103942541A (en) Electric vehicle automatic detection method based on vehicle-mounted vision within blind zone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140709