Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Aaron Bobick School of Interactive Computing
CS 4495 Computer Vision Tracking 3: Follow the pixels Aaron Bobick - - PowerPoint PPT Presentation
Tracking 3: Real tracking CS 4495 Computer Vision A. Bobick CS 4495 Computer Vision Tracking 3: Follow the pixels Aaron Bobick School of Interactive Computing Tracking 3: Real tracking CS 4495 Computer Vision A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Aaron Bobick School of Interactive Computing
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
11:55pm.
question.
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
evidence: P(X0)
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
) (x p
t
x
set of n (weighted) particles Xt Density is represented by both where the particles are and their weight.
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
1 2 1 t t t t
−
1 2 1
t t t
−
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Prior before measurement
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
2.
4. Sample index j(i) from the discrete distribution given by wt-1 5. Sample from using and Control 6. Compute importance weight (or reweight) 7. Update normalization factor 8. Insert
10. Normalize weights
, = ∅ = η
t
S n i 1 = } , { > < ∪ =
i t i t t t
w x S S
i t
w + =η η
i t
x
1
( | , )
t t t
p x x u
− ) ( 1 i j t
x −
t
u ) | (
i t t i t
x z p w = n i 1 = η /
i t i t
w w =
1 1 1
{ } , , ,
j j t t t t t
S x w u z
− − −
< > =
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
25
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
26
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
27
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
28
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Dellaert, et al. 1997
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
P(z|x) h(x) z
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Measurement z: P(z|x):
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Measurement z: P(z|x):
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Measurement z: P(z|x):
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
weight particles.
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick w2 w3 w1 wn Wn-1
w2 w3 w1 wn Wn-1
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
2.
Generate cdf 4. 5. Initialize threshold
Draw samples … 7. While ( ) Skip until next threshold reached 8. 9. Insert
1 1
, ' w c S = ∅ = n i 2 =
i i i
w c c + =
−1 1 1 ~
[0, ], 1 u U n i
−
= n j 1 =
1 1 − +
+ = n u u
j j i j
c u >
> < ∪ =
−1
, ' ' n x S S
i
1 + = i i
(Also called stochastic universal sampling)
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
determine proposal
samples
representation measured by variance of weights)
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
representation of the object?
how does it relate to the state?
1
t t t
−
State State dynamics Sensor model
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
39
better?
[Isard 1998]
Picture of the states represented by the top weighted particles The mean state
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
each finger; 12 DOF
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
[Isard 1998]
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
models (Zhihong et al. 2002)
“dynamics”?
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
trajectories,
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
and optical flow (Tung et al. 2008)
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
more similar is more likely.
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
knowledge
image and compare. E.g. put down the contour and evaluate.
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
data
repeated detection (Kalman). If too peaked, only a few particles survive (PF).
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
which tracks?
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
measurement to be relevant to determining the state
uninformative measurements (clutter) or measurements may belong to different tracked objects
determining which measurements go with which tracks
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
that is “closest” to the prediction
Source: Lana Lazebnik
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
that is “closest” to the prediction
Source: Lana Lazebnik
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
that is “closest” to the prediction
state/observation hypotheses
easy solution
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick
data association tend to accumulate over time
Tracking 3: Real tracking CS 4495 Computer Vision – A. Bobick