HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
tracking.ppt
1. Information Processing Lab
Electrical Engineering
1
Object Tracking, Trajectory Analysis
and Event Detection in Intelligent
Video Systems
Student: Hsu-Yung Cheng
Advisor: Jenq-Neng Hwang, Professor
Department of Electrical Engineering
University of Washington
2. Information Processing Lab
Electrical Engineering
2
Outlines
Motivation
Object Tracking
Trajectory Analysis
Event Detection
Conclusions and Future Work
3. Information Processing Lab
Electrical Engineering
3
Motivation
Advantage of Video-based systems
Being able to capture a large variety of information
Relatively inexpensive
Easier to install, operate, and maintain
Applications
Security surveillance
Home care surveillance
Intelligent transportation systems
There is an urgent need for intelligent video systems
to replace human operators to monitor the areas under
surveillance.
9. Information Processing Lab
Electrical Engineering
9
Proposed Tracking Mechanism
Image
Frames
Moving
Object
Segmentation
Tracking Result
for Previous Frame
Tracking
List
Construction
Data
Association
and Update
Prediction
Background
Estimation
and Updating
Background
Image
Tracking Result
for Current Frame
Measurement
Candidate List
Current
Frame
Constructing
measurement
candidate List
for Each Target
10. Information Processing Lab
Electrical Engineering
10
Background Estimation and Updating
Based on Gaussian mixture models [Stauffer 1999]
Model the recent history of each pixel by a mixture of K
Gaussian distributions.
Every pixel value is checked among the existing K Gaussian
distributions for a match.
Update the weights for the K distributions and the parameters
of the matched distribution
The kth Gaussian is ranked by ( )
The top-ranked Gaussians are selected as the background models.
Pixel values that belong to background models are accumulated
and averaged as the background image.
The background image is updated for every certain interval of
time.
k
k
w
/ I
k
k
2
11. Information Processing Lab
Electrical Engineering
11
Moving Object Segmentation
Based on background subtraction
Fourth order moment
[S. Colonnese et al. Proc. of SPIE 2003]
Thresholding
)
,
(
)
,
(
4
)
4
(
)
ˆ
)
,
(
_
(
1
)
,
(
y
x
t
s
d
d m
t
s
img
diff
N
y
x
)
,
(
,
0
)
,
(
,
1
)
,
( )
4
(
)
4
(
y
x
if
y
x
if
y
x
S
d
d
12. Information Processing Lab
Electrical Engineering
12
Kalman Filter
Kalman filters are modeled on a Markov chain
built on linear operators perturbed by Gaussian
noises.
k
k
k
k w
x
F
x
1
At time k, each target has state
k
k
k
k v
x
H
y
and observation (measurement)
k
x
k
y
)
,
0
(
~ k
k Q
w
, where
, where )
,
0
(
~ k
k R
v
Kalman, R. E. "A New Approach to Linear Filtering and Prediction Problems,“
Transactions of the ASME - Journal of Basic Engineering Vol. 82: pp. 35-45, 1960.
13. Information Processing Lab
Electrical Engineering
13
Kalman Filter Phases
Predict
Update
Predicted State
Observed
Measurements
1
ˆ
k
k
x
k
y
Updated
State
Estimate
k
k
x |
ˆ
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
k
H
1
0
0
0
0
1
0
0
1
0
1
0
0
1
0
1
k
F
T
k
k
k
k
k
k v
u
v
u
y
x ]
[
14. Information Processing Lab
Electrical Engineering
14
Kalman Filter Phases
Predict Phase
Update Phase
k
T
k
k
k
k
k
k
k
k
k
k
k
Q
F
P
F
P
x
F
x
1
1
1
1
1
1
ˆ
ˆ
• Predicted Estimate
Covariance
• Predicted State k
k
k
k
k
k y
K
x
x ~
ˆ
ˆ 1
|
|
• Updated State Estimate
• Updated Estimate Covariance
• Kalman Gain
• Innovation (Measurement) Residual
• Innovation Covariance
1
1
|
k
T
k
k
k
k S
H
P
K
1
|
| )
(
k
k
k
k
k
k P
H
K
I
P
k
T
k
k
k
k
k R
H
P
H
S
1
|
1
|
ˆ
~
k
k
k
k
k x
H
y
y
16. Information Processing Lab
Electrical Engineering
16
Searching for measurement
candidate representation points
• Search for q1 and q2 in the two nxn
windows centered around p1 and p2,
respectively.
)
)
(
(
max
arg
)
,
(
1
1
c
y
x
q
S
q
O
Area
q
)
)
(
(
max
arg
)
,
(
2
2
c
y
x
q
S
q
O
Area
q
• Compute the dissimilarities
between the target object and
the potential measurement
candidates.
17. Information Processing Lab
Electrical Engineering
17
Data Association
To associate measurements with targets when
performing updates
Nearest Neighbor Data Association
For all the measurement in the validation gate of a
target, select the nearest measurement.
Probabilistic Data Association (PDA)
Joint Probabilistic Data Association (JPDA)
2
1
]
[
]
[
k
k
k
k
T
k
k
k x
H
y
S
x
H
y
18. Information Processing Lab
Electrical Engineering
18
Probabilistic Data Association
x
y1
y2
y3
Y . Bar-Shalom and E. Tse, “Tracking in a cluttered environment
with probabilistic data association,” Automatica, vol. 11, pp. 451-460, Sept. 1975.
}
|
{ k
j
j Y
X
P
1
2
3
Consider a single target independently
of others
denotes the event that the j th
measurement belongs to that target.
j
m
j
k
k
k
kj
j
m
j
kj
j
k x
H
y
y
y
1
1
|
1
)
ˆ
(
~
~
Combined (Weighted) Innovation
19. Information Processing Lab
Electrical Engineering
19
1
0
Modified PDA for
Video Object Tracking
)
)
(
)(
)
(
(
)
)(
(
2
2
m n
mn
m n
mn
m n
mn
mn
R
B
B
A
A
B
B
A
A
C
m
i
i
j
m
i
i
j
a
OverlapAre
a
OverlapAre
Similarity
Similarity
1
1
)
1
(
• To handle video objects (regions), incorporate the
following factor when computing j
• Similarity measure: cross correlation function
27. Information Processing Lab
Electrical Engineering
27
Angle Feature Extraction
)
~
~
,
~
~
(
1 k
t
t
k
t
t y
y
x
x
v
)
~
~
,
~
~
(
2 t
k
t
t
k
t y
y
x
x
v
2
1
2
1
1
cos
v
v
v
v
p
2
2
1
cos
v
v
v
v
h
h
h
Relative Angle Absolute Angle
28. Information Processing Lab
Electrical Engineering
28
Hidden Markov Model
Sunny Cloudy Rainy
P(walk) = 0.5
P(bike) = 0.4
P(bus) = 0.1
P(walk) = 0.4
P(bike) = 0.3
P(bus) = 0.3
P(walk) = 0.2
P(bike) = 0.1
P(bus) = 0.7
N states Si , i=1,…, N
Transition probability aij
Initial probability pi
Observation symbol probability bj(k)
A complete model l=(A,B,P)
A={aij}
B={bjk}
P={pi}
30. Information Processing Lab
Electrical Engineering
30
Three Problems in HMM
Given l, compute the probability that O is
generated by this model
How likely did O happen at this place?
Given l, find the most likely sequence of
hidden states that could have generated O
How did the weather change day-by-day?
Given a set of O, learn the most likely l
Train the parameters of the HMM
forward-backward algorithm
Viterbi algorithm
Baum-Welch algorithm
33. Information Processing Lab
Electrical Engineering
33
Number of Training
and Test sequences
Trajectory
Class
Training
Trajectories
Testing
Objects
Testing
Trajectories
Class 1 12 64 307
Class 2 11 18 66
Class 3 13 27 27
Class 4 5 20 20
Class 5 8 26 32
Class 6 8 29 45
Video for both training and testing
Video for testing only
34. Information Processing Lab
Electrical Engineering
34
Trajectory Classification Statistics
C 1 C 2 C 3 C 4 C 5 C 6 Accuracy
Class 1 307 0 0 0 0 0 100%
Class 2 0 64 0 0 0 2 97.4%
Class 3 2 0 25 0 0 0 92.6%
Class 4 0 0 0 20 0 0 100%
Class 5 1 0 0 0 31 0 96.8%
Class 6 0 2 0 0 0 43 95.5%
36. Information Processing Lab
Electrical Engineering
36
Event Detection
Type I Events
Simple rule-based decision logic
Entering a dangerous region
Stopping in the scene
Driving on the road shoulder
Type II Events
Based on trajectory classification results via HMM using angle features
Illegal U-turns or left turns
Anomalous trajectories
Type III Events
Based on trajectory classification results via HMM using speed features
Speed change
37. Information Processing Lab
Electrical Engineering
37
Conclusions and Future Works
Tracking
Kalman filtering for prediction
Modified PDA for data association
Basic Events
Simple rule-based decision logic
HMM
Higher Level Events
Combining basic events
More flexible models
Trajectories
HMMs
Basic Events
DBNs
Angle Features,
Speeds,
Positions,
Other Features
Intermediate
Events
HMMs
Type II,
Type III
Events
Type I
Events
Rule-based
Detection Logic
High
Level
Events