Introduction Tracking
Tracking
H˚ akan Ard¨
- February 22, 2012
H˚ akan Ard¨
- Tracking
February 22, 2012 1 / 51
Tracking H akan Ard o February 22, 2012 H akan Ard o Tracking - - PowerPoint PPT Presentation
Introduction Tracking Tracking H akan Ard o February 22, 2012 H akan Ard o Tracking February 22, 2012 1 / 51 Introduction Tracking Sliding Window Detection Outline Introduction 1 Sliding Window Detection Tracking 2
Introduction Tracking
H˚ akan Ard¨
H˚ akan Ard¨
February 22, 2012 1 / 51
Introduction Tracking Sliding Window Detection
1
Introduction Sliding Window Detection
2
Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 2 / 51
Introduction Tracking Sliding Window Detection
H˚ akan Ard¨
February 22, 2012 3 / 51
Introduction Tracking Sliding Window Detection
H˚ akan Ard¨
February 22, 2012 4 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 5 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 1
University of North Carolina at Chapel Hill Department of Computer Science
http://www.cs.unc.edu/~welch/kalmanLinks.html
H˚ akan Ard¨
February 22, 2012 6 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Sanjay Patil1 and Ryan Irwin2 Graduate research assistant1, REU undergrad2 Human and Systems Engineering
URL: www.isip.msstate.edu/publications/seminars/msstate/2005/particle/
Gentle Introduction to Particle Filtering
H˚ akan Ard¨
February 22, 2012 7 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 5
H˚ akan Ard¨
February 22, 2012 8 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 6
1 = z1
2 1 = σ 2 z1
Conditional Density Function
14 12 10 8 6 4 2
N(z1,σz1
2 )
z1
,
H˚ akan Ard¨
February 22, 2012 9 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 7
Conditional Density Function
z2
,
2 =...?
2 2 = ...?
14 12 10 8 6 4 2
N(z2,σz2
2 )
H˚ akan Ard¨
February 22, 2012 10 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 8
2
2 + σ z2 2
2
2 + σ z2 2
2
1 + K2 z2 − ˆ
1
2
2 + σ z2 2
H˚ akan Ard¨
February 22, 2012 11 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 9
2
2
2
H˚ akan Ard¨
February 22, 2012 12 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 10
2 = σ 2
2
2
14 12 10 8 6 4 2
Conditional Density Function N( σ 2)
x,ˆ
H˚ akan Ard¨
February 22, 2012 13 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 11
H˚ akan Ard¨
February 22, 2012 14 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Page 7 of 20 Particle Filtering – Gentle Introduction and Implementation Demo
Particle filtering algorithm step-by-step (1)
H˚ akan Ard¨
February 22, 2012 15 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Page 8 of 20 Particle Filtering – Gentle Introduction and Implementation Demo
Particle filtering step-by-step (2)
H˚ akan Ard¨
February 22, 2012 16 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Page 9 of 20 Particle Filtering – Gentle Introduction and Implementation Demo
Particle filtering step-by-step (3)
H˚ akan Ard¨
February 22, 2012 17 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Page 10 of 20 Particle Filtering – Gentle Introduction and Implementation Demo
Particle filtering step-by-step (4)
H˚ akan Ard¨
February 22, 2012 18 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Page 11 of 20 Particle Filtering – Gentle Introduction and Implementation Demo
Particle filtering step-by-step (5)
H˚ akan Ard¨
February 22, 2012 19 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Page 12 of 20 Particle Filtering – Gentle Introduction and Implementation Demo
Particle filtering step-by-step (6)
H˚ akan Ard¨
February 22, 2012 20 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 13
x x A A x x w w z z H H x x . . . . . . . . = + =
H˚ akan Ard¨
February 22, 2012 21 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 14
process state (mean) error covariance z y x
H˚ akan Ard¨
February 22, 2012 22 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 16
measurement model dynamic model
previous state next state state measurement
image plane
( u , v )
H˚ akan Ard¨
February 22, 2012 23 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 17
H˚ akan Ard¨
February 22, 2012 24 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 18
H˚ akan Ard¨
February 22, 2012 25 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 19
H˚ akan Ard¨
February 22, 2012 26 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 20
H˚ akan Ard¨
February 22, 2012 27 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 21
H˚ akan Ard¨
February 22, 2012 28 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 22
H˚ akan Ard¨
February 22, 2012 29 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 23
H˚ akan Ard¨
February 22, 2012 30 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 24
H˚ akan Ard¨
February 22, 2012 31 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 25
k
H˚ akan Ard¨
February 22, 2012 32 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 26
– = E[(xk- xk –)(xk - xk –)T]
H˚ akan Ard¨
February 22, 2012 33 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 27
H˚ akan Ard¨
February 22, 2012 34 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 28
state error covariance
H˚ akan Ard¨
February 22, 2012 35 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 29
H˚ akan Ard¨
February 22, 2012 36 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 30
–
–
H˚ akan Ard¨
February 22, 2012 37 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 31
– –
–
– –
H˚ akan Ard¨
February 22, 2012 38 / 51
Introduction Tracking Greedy Kalman filter Particle filter
UNC Chapel Hill Computer Science Slide 32
Time Update (Predict) Measurement (Correct) Update
H˚ akan Ard¨
February 22, 2012 39 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 40 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 41 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 42 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 43 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 44 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Current state
k , x(2) k , x(3) k , · · · , x(n) k
k+1 , x−(2) k+1 , x−(3) k+1 , · · · , x−(n) k+1
k+1, x(2) k+1, x(3) k+1, · · · , x(n) k+1
akan Ard¨
February 22, 2012 45 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Current state
k , x(2) k , x(3) k , · · · , x(n) k
k+1 , x−(2) k+1 , x−(3) k+1 , · · · , x−(n) k+1
k+1, x(2) k+1, x(3) k+1, · · · , x(n) k+1
akan Ard¨
February 22, 2012 45 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Current state
k , x(2) k , x(3) k , · · · , x(n) k
k+1 , x−(2) k+1 , x−(3) k+1 , · · · , x−(n) k+1
k+1, x(2) k+1, x(3) k+1, · · · , x(n) k+1
akan Ard¨
February 22, 2012 45 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Any sthocastic model from which we can sample f (xk+1 |xk ) Example: The dynamic model from the kalman filter xk+1 = Axk + wk f (xk+1 |xk ) = N(Axk, Q)
H˚ akan Ard¨
February 22, 2012 46 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Any sthocastic model from which we can sample f (xk+1 |xk ) Example: The dynamic model from the kalman filter xk+1 = Axk + wk f (xk+1 |xk ) = N(Axk, Q)
H˚ akan Ard¨
February 22, 2012 46 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Propagate each particle i, separately The prediction x−(i)
k+1 is choosen as a sample from
f
k
akan Ard¨
February 22, 2012 47 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Any sthocastic model from which we can calculate likelihoods f (zk |xk ) Example: The measurement model from the kalman filter zk = Hxk + vk f (zk |xk ) = N(Hxk, R)
H˚ akan Ard¨
February 22, 2012 48 / 51
Introduction Tracking Greedy Kalman filter Particle filter
Any sthocastic model from which we can calculate likelihoods f (zk |xk ) Example: The measurement model from the kalman filter zk = Hxk + vk f (zk |xk ) = N(Hxk, R)
H˚ akan Ard¨
February 22, 2012 48 / 51
Introduction Tracking Greedy Kalman filter Particle filter
The measurement model gives a weight for each particle, i w(i)
k
= f
k
Each corrected particle, x(i)
k , is choosen randomly
x(i)
k
= x−(j)
k
for some random j The probability of choosing sample j is w(j)
k
k
The same particle may be choosen several times
H˚ akan Ard¨
February 22, 2012 49 / 51
Introduction Tracking Greedy Kalman filter Particle filter
The measurement model gives a weight for each particle, i w(i)
k
= f
k
Each corrected particle, x(i)
k , is choosen randomly
x(i)
k
= x−(j)
k
for some random j The probability of choosing sample j is w(j)
k
k
The same particle may be choosen several times
H˚ akan Ard¨
February 22, 2012 49 / 51
Introduction Tracking Greedy Kalman filter Particle filter
The measurement model gives a weight for each particle, i w(i)
k
= f
k
Each corrected particle, x(i)
k , is choosen randomly
x(i)
k
= x−(j)
k
for some random j The probability of choosing sample j is w(j)
k
k
The same particle may be choosen several times
H˚ akan Ard¨
February 22, 2012 49 / 51
Introduction Tracking Greedy Kalman filter Particle filter
The measurement model gives a weight for each particle, i w(i)
k
= f
k
Each corrected particle, x(i)
k , is choosen randomly
x(i)
k
= x−(j)
k
for some random j The probability of choosing sample j is w(j)
k
k
The same particle may be choosen several times
H˚ akan Ard¨
February 22, 2012 49 / 51
Introduction Tracking Greedy Kalman filter Particle filter
The measurement model gives a weight for each particle, i w(i)
k
= f
k
Each corrected particle, x(i)
k , is choosen randomly
x(i)
k
= x−(j)
k
for some random j The probability of choosing sample j is w(j)
k
k
The same particle may be choosen several times
H˚ akan Ard¨
February 22, 2012 49 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 50 / 51
Introduction Tracking Greedy Kalman filter Particle filter
H˚ akan Ard¨
February 22, 2012 51 / 51