SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
Tracking
Definition of Tracking
• Tracking:
– Generate some conclusions about the motion of
the scene, objects, or the camera, given a
sequence of images.
– Knowing this motion, predict where things are
going to project in the next image, so that we
don’t have so much work looking for them.
Why Track?
• Detection and
recognition are expensive
• If we get an idea of
where an object is in
the image because we
have an idea of the
motion from previous
images, we need less
work detecting or
recognizing the object.
Scene
Image Sequence
Detection
+ recognition
Tracking
(less detection,
no recognition) New
person
A B
C
A B
C
Tracking a Silhouette by
Measuring Edge Positions
• Observations are positions of edges along normals to tracked contour
Why not Wait and Process the
Set of Images as a Batch?
• In a car system, detecting and tracking
pedestrians in real time is important.
• Recursive methods require less computing
Implicit Assumptions of
Tracking
• Physical cameras do not move instantly
from a viewpoint to another
• Object do not teleport between places
around the scene
• Relative position between camera and scene
changes incrementally
• We can model motion
Related Fields
• Signal Detection and Estimation
• Radar technology
The Problem: Signal Estimation
• We have a system with parameters
– Scene structure, camera motion, automatic zoom
– System state is unknown (“hidden”)
• We have measurements
– Components of stable “feature points” in the
images.
– “Observations”, projections of the state.
• We want to recover the state components from
the observations
Necessary Models
System Dynamics
Model
Measurement
Model (projection)
(u, v)
Previous State
Next State
State
Measurement
• We use models to describe a priori knowledge about
• the world (including external parameters of camera)
• the imaging projection process
State variable
a
A Simple Example of Estimation
by Least Square Method
• Goal: Find estimate of state
such that the least square
error between measurements
and the state is minimum
aˆ
∑=
−=
n
i
i axC
1
2
)(
2
1
∑∑ ==
−=−==
∂
∂ n
i
i
n
i
i anxax
a
C
11
ˆ)ˆ(0
∑=
=
n
i
ix
n
a
1
1
ˆ
a
Measurement
x
x
t
xi
a xi-a
ti
Recursive Least Square Estimation
• We don’t want to wait until
all data have been collected
to get an estimate of the
depth
• We don’t want to reprocess
old data when we make a
new measurement
• Recursive method: data at
step i are obtained from
data at step i-1
aˆ
State variable
a
Measurement
x
x
t
a
xi
1
ˆ −ia iaˆ
Recursive Least Square Estimation 2
• Recursive method: data at
step i are obtained from
data at step i-1
x
t
a
xi
)ˆ(
1
ˆˆ 11 −− −+= iiii ax
i
aa
i
i
k
k
i
k
ki x
i
x
i
x
i
a
111
ˆ
1
11
∑∑
−
==
+==
∑
−
=
−
−
=
1
1
1
1
1
ˆ
i
k
ki x
i
a
iii x
i
a
i
i
a
1
ˆ
1
ˆ 1 +
−
= −
Recursive Least Square Estimation 3
)ˆ(
1
ˆˆ 11 −− −+= iiii ax
i
aa
Estimate at step i
Predicted
measure
Innovation
Gain
Actual
measure
Gain specifies how much
do we pay attention
to the difference
between what we expected
and what we actually get
Least Square Estimation of the
State Vector of a Static System
1. Batch method
a
H1 Hi
H2
x1
xi
x2
aH ⋅= iix a
H
H
H












=












⇒
nnx
x
x
......
2
1
2
1
aHx =⇒
measurement equation
XHH)(Ha T1T −
=ˆ
Find estimate that minimizesaˆ
a)H(Xa)H(X T
−−=
2
1
C
We find
Least Square Estimation
of the State Vector
of a Static System 2
2. Recursive method
a
H1 Hi
H2
x1
xi
x2
)ˆˆˆ -1iiii-1ii aH(XKaa −+=
with
Calculation is similar to calculation of running average
Now we find:
We had: )ˆ(
1
ˆˆ 11 −− −+= iiii ax
i
aa
1
)( −
=
=
T
iii
T
iii
HHP
HPK
Gain matrix
Innovation
Predicted measure
Dynamic System
i
i
i
i
A
V
X
a
ixwAA
tAVV
tVXX
ii
iii
iii
+=
∆+=
∆+=
−
−−
−−
1
11
11










+




















∆
∆
=










−
−
−
wA
V
X
t
t
A
V
X
i
i
i
i
i
i
0
0
100
10
01
1
1
1
State of rocket
Measurement
waa -1ii +Φ=⇒
[ ] V
A
V
X
x
i
i
i
i +










= 001 Vxi +=⇒ iaH
State equation for rocket
Measurement equation
Noise
Tweak factor
)ˆˆˆ -1iiiii-1iii aH(xKaa Φ−+Φ=
Recursive Least Square
Estimation for a Dynamic System
(Kalman Filter)
-1i-1iii waa +Φ=
iiii vaHx +=
),0(~ ii Qw N
),0(~ ii Rv N
-1i-1i-1i-1i
-1i
T
i-1iii
-1
i
T
iii
T
iii
)P'HK(IP
QPP'
RHP'HHP'K
−=
+ΦΦ=
+= )(
State equation
Measurement equation
Tweak factor for model
Measurement noise
Prediction for xi
Prediction for ai
Gain
Covariance matrix for
prediction error
Covariance for estimation error
-1i-1i-1i-1i
-1i
T
i
-1i
i
i
-1
i
T
iii
T
iii
)P'HKIP
Q
a
f
P
a
f
P'
RHP'HHP'K
−=
+
∂
∂
∂
∂
=
+=
(
)(
))ˆ)ˆ(ˆ -1iiii-1ii af(H(xKafa −+=
Estimation when System Model
is Nonlinear
(Extended Kalman Filter)
-1i-1ii wafa += )( iiii vaHx +=
State equation Measurement equation
Jacobian Matrix
Differences compared to
regular Kalman filter are
circled in red
• Predict next state as using
previous step and dynamic model
• Predict regions
of next measurements using
measurement model and
uncertainties
• Make new measurements xi in
predicted regions
• Compute best estimate of next state
Tracking Steps
(u, v)Measurement
Prediction
region
-1iiaˆΦ
),ˆ( i-1iii P'aH ΦN
)ˆˆˆ -1iiiii-1iii aH(xKaa Φ−+Φ=
“Correction” of predicted state
Recursive Least Square Estimation for
a Dynamic System (Kalman Filter)
x
t
Measurement xi
State vector ai
Estimation iaˆ
Tracking as a Probabilistic
Inference Problem
• Find distributions for state vector ai and for
measurement vector xi. Then we are able to
compute the expectations and
• Simplifying assumptions (same as for HMM)
ixˆ
)|(),,,|( -1ii-1i21i aaaaaa PP =L
)|()|()|()|,,,( ikijiiiji axaxaxaxx PPPP KK =
(Conditional independence of
measurements given a state)
(Only immediate past matters)
iaˆ
Tracking as Inference
• Prediction
• Correction
• Produces same results as least square approach if
distributions are Gaussians: Kalman filter
• See Forsyth and Ponce, Ch. 19
∫= -1i-1i1-1i-1ii-1i1i axxaaaxxa dPPP ),,|()|(),,|( LL
∫
=
i-1i1iii
-1i1iii
i1i
axxaax
xxaax
xxa
dPP
PP
P
),,|()|(
),,|()|(
),,|(
L
L
L
)ˆ(ˆˆ 11 i-iii-i afhxKafa −+=
Kalman Filter for 1D Signals
11 i-i-i wafa +=
iii vahx +=
)0(~ ,qNwi
)0(~ ,rNvi
111
1
2
12
')1(
)(
i-ii-
ii
-
iii
phKp
qpfp'
rp'hhp'K
−
−
−=
+=
+=
State equation
Measurement equation
Tweak factor for model
Measurement noise
Prediction for xi
Prediction for ai (a priori estimate)
Gain
Standard deviation for
prediction error
St.d. for estimation error
Applications: Structure from Motion
• Measurement vector components:
– Coordinates of corners, “salient
points”
• State vector components:
– Camera motion parameters
– Scene structure
• Is there enough equations?
– N corners, 2N measurements
– N unknown state components from structure
(distances from first center of projection to
3D points)
– 6 unknown state components from motion
(translation and rotation)
– More measurements than unknowns for every
frame if N>6 (2N > N + 6)
xi
• Batch methods
• Recursive methods
(Kalman filter)
Problems with Tracking
• Initial detection
– If it is too slow we will never catch up
– If it is fast, why not do detection at every frame?
• Even if raw detection can be done in real time, tracking
saves processing cycles compared to raw detection.
The CPU has other things to do.
• Detection is needed again if you lose tracking
• Most vision tracking prototypes use initial
detection done by hand
(see Forsyth and Ponce for discussion)
References
• Kalman, R.E., “A New Approach to Linear Prediction
Problems”, Transactions of the ASME--Journal of Basic
Engineering, pp. 35-45, March 1960.
• Sorenson, H.W., “Least Squares Estimation: from Gauss to
Kalman”, IEEE Spectrum, vol. 7, pp. 63-68, July 1970.
• http://www.cs.unc.edu/~welch/kalmanLinks.html
• D. Forsyth and J. Ponce. Computer Vision: A Modern
Approach, Chapter 19.
http://www.cs.berkeley.edu/~daf/book3chaps.html
• O. Faugeras.. Three-Dimensional Computer Vision. MIT
Press. Ch. 8, “Tracking Tokens over Time”.

Más contenido relacionado

La actualidad más candente

Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]AI Robotics KR
 
Real time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target trackingReal time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target trackingIAEME Publication
 
Nyquist and polar plot 118 & 117
Nyquist and polar plot 118 & 117Nyquist and polar plot 118 & 117
Nyquist and polar plot 118 & 117RishabhKashyap2
 
Notes nyquist plot and stability criteria
Notes nyquist plot and stability criteriaNotes nyquist plot and stability criteria
Notes nyquist plot and stability criteriaAleksandar Micic
 
Kalman filters
Kalman filtersKalman filters
Kalman filtersAJAL A J
 
Nyquist Stability Criterion
Nyquist  Stability CriterionNyquist  Stability Criterion
Nyquist Stability CriterionHussain K
 
Dynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space ModelsDynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space Modelsmultimediaeval
 
Basics of Robotics
Basics of RoboticsBasics of Robotics
Basics of Robotics홍배 김
 
Nyquist stability criterion
Nyquist stability criterionNyquist stability criterion
Nyquist stability criterionjawaharramaya
 
Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...
Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...
Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...Austin Benson
 
REDUCING TIMED AUTOMATA: A NEW APPROACH
REDUCING TIMED AUTOMATA: A NEW APPROACHREDUCING TIMED AUTOMATA: A NEW APPROACH
REDUCING TIMED AUTOMATA: A NEW APPROACHijistjournal
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processingRavi Teja
 
Maneuverable Target Tracking using Linear Kalman Filter
Maneuverable Target Tracking  using Linear Kalman FilterManeuverable Target Tracking  using Linear Kalman Filter
Maneuverable Target Tracking using Linear Kalman FilterAnnwesh Barik
 

La actualidad más candente (20)

Data fusion with kalman filtering
Data fusion with kalman filteringData fusion with kalman filtering
Data fusion with kalman filtering
 
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
 
Real time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target trackingReal time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target tracking
 
Nyquist and polar plot 118 & 117
Nyquist and polar plot 118 & 117Nyquist and polar plot 118 & 117
Nyquist and polar plot 118 & 117
 
Lecture 09: SLAM
Lecture 09: SLAMLecture 09: SLAM
Lecture 09: SLAM
 
Notes nyquist plot and stability criteria
Notes nyquist plot and stability criteriaNotes nyquist plot and stability criteria
Notes nyquist plot and stability criteria
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
Nyquist Stability Criterion
Nyquist  Stability CriterionNyquist  Stability Criterion
Nyquist Stability Criterion
 
Dynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space ModelsDynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space Models
 
Av 738- Adaptive Filtering - Wiener Filters[wk 3]
Av 738- Adaptive Filtering - Wiener Filters[wk 3]Av 738- Adaptive Filtering - Wiener Filters[wk 3]
Av 738- Adaptive Filtering - Wiener Filters[wk 3]
 
Basics of Robotics
Basics of RoboticsBasics of Robotics
Basics of Robotics
 
Nyquist stability criterion
Nyquist stability criterionNyquist stability criterion
Nyquist stability criterion
 
Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...
Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...
Direct QR factorizations for tall-and-skinny matrices in MapReduce architectu...
 
REDUCING TIMED AUTOMATA: A NEW APPROACH
REDUCING TIMED AUTOMATA: A NEW APPROACHREDUCING TIMED AUTOMATA: A NEW APPROACH
REDUCING TIMED AUTOMATA: A NEW APPROACH
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processing
 
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
 
Av 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman FilterAv 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman Filter
 
Maneuverable Target Tracking using Linear Kalman Filter
Maneuverable Target Tracking  using Linear Kalman FilterManeuverable Target Tracking  using Linear Kalman Filter
Maneuverable Target Tracking using Linear Kalman Filter
 
Polar Plot
Polar PlotPolar Plot
Polar Plot
 
Graph-based SLAM
Graph-based SLAMGraph-based SLAM
Graph-based SLAM
 

Similar a Tracking[1]

Depth-Based Real Time Head Motion Tracking Using 3D Template Matching
Depth-Based Real Time Head Motion Tracking Using 3D Template MatchingDepth-Based Real Time Head Motion Tracking Using 3D Template Matching
Depth-Based Real Time Head Motion Tracking Using 3D Template Matching愚 屠
 
iv10_linear_pose.pptx
iv10_linear_pose.pptxiv10_linear_pose.pptx
iv10_linear_pose.pptxdarmadi ir,mm
 
Objects as points (CenterNet) review [CDM]
Objects as points (CenterNet) review [CDM]Objects as points (CenterNet) review [CDM]
Objects as points (CenterNet) review [CDM]Dongmin Choi
 
Talk 2009-monash-seminar-perception
Talk 2009-monash-seminar-perceptionTalk 2009-monash-seminar-perception
Talk 2009-monash-seminar-perceptionMahfuzul Haque
 
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision GroupDTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision GroupLihang Li
 
Stixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalStixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalTaeKang Woo
 
Detection&Tracking - Thermal imaging object detection and tracking
Detection&Tracking - Thermal imaging object detection and trackingDetection&Tracking - Thermal imaging object detection and tracking
Detection&Tracking - Thermal imaging object detection and trackinghadarpinhas1
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsPierre de Lacaze
 
Particle Learning in Online Tool Wear Diagnosis and Prognosis
Particle Learning in Online Tool Wear Diagnosis and PrognosisParticle Learning in Online Tool Wear Diagnosis and Prognosis
Particle Learning in Online Tool Wear Diagnosis and PrognosisJianlei Zhang, PhD
 
Alternative architecture and control strategy july 2010 - joe beno
Alternative architecture and control strategy   july 2010 - joe benoAlternative architecture and control strategy   july 2010 - joe beno
Alternative architecture and control strategy july 2010 - joe benocahouser
 
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...knowdiff
 
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)knowdiff
 
Object detection at night
Object detection at nightObject detection at night
Object detection at nightSanjay Crúzé
 
Various object detection and tracking methods
Various object detection and tracking methodsVarious object detection and tracking methods
Various object detection and tracking methodssujeeshkumarj
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentationasodariyabhavesh
 
DimensionalityReduction.pptx
DimensionalityReduction.pptxDimensionalityReduction.pptx
DimensionalityReduction.pptx36rajneekant
 
Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)
Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)
Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)Tatsunori Taniai
 

Similar a Tracking[1] (20)

Depth-Based Real Time Head Motion Tracking Using 3D Template Matching
Depth-Based Real Time Head Motion Tracking Using 3D Template MatchingDepth-Based Real Time Head Motion Tracking Using 3D Template Matching
Depth-Based Real Time Head Motion Tracking Using 3D Template Matching
 
Mk slides.ppt
Mk slides.pptMk slides.ppt
Mk slides.ppt
 
iv10_linear_pose.pptx
iv10_linear_pose.pptxiv10_linear_pose.pptx
iv10_linear_pose.pptx
 
Objects as points (CenterNet) review [CDM]
Objects as points (CenterNet) review [CDM]Objects as points (CenterNet) review [CDM]
Objects as points (CenterNet) review [CDM]
 
Talk 2009-monash-seminar-perception
Talk 2009-monash-seminar-perceptionTalk 2009-monash-seminar-perception
Talk 2009-monash-seminar-perception
 
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision GroupDTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
 
Stixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalStixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normal
 
Detection&Tracking - Thermal imaging object detection and tracking
Detection&Tracking - Thermal imaging object detection and trackingDetection&Tracking - Thermal imaging object detection and tracking
Detection&Tracking - Thermal imaging object detection and tracking
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural Nets
 
Motion Human Detection & Tracking Based On Background Subtraction
Motion Human Detection & Tracking Based On Background SubtractionMotion Human Detection & Tracking Based On Background Subtraction
Motion Human Detection & Tracking Based On Background Subtraction
 
Particle Learning in Online Tool Wear Diagnosis and Prognosis
Particle Learning in Online Tool Wear Diagnosis and PrognosisParticle Learning in Online Tool Wear Diagnosis and Prognosis
Particle Learning in Online Tool Wear Diagnosis and Prognosis
 
Alternative architecture and control strategy july 2010 - joe beno
Alternative architecture and control strategy   july 2010 - joe benoAlternative architecture and control strategy   july 2010 - joe beno
Alternative architecture and control strategy july 2010 - joe beno
 
presentation.ppt
presentation.pptpresentation.ppt
presentation.ppt
 
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
 
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
 
Object detection at night
Object detection at nightObject detection at night
Object detection at night
 
Various object detection and tracking methods
Various object detection and tracking methodsVarious object detection and tracking methods
Various object detection and tracking methods
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
DimensionalityReduction.pptx
DimensionalityReduction.pptxDimensionalityReduction.pptx
DimensionalityReduction.pptx
 
Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)
Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)
Fast Multi-frame Stereo Scene Flow with Motion Segmentation (CVPR 2017)
 

Último

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 

Último (20)

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 

Tracking[1]

  • 2. Definition of Tracking • Tracking: – Generate some conclusions about the motion of the scene, objects, or the camera, given a sequence of images. – Knowing this motion, predict where things are going to project in the next image, so that we don’t have so much work looking for them.
  • 3. Why Track? • Detection and recognition are expensive • If we get an idea of where an object is in the image because we have an idea of the motion from previous images, we need less work detecting or recognizing the object. Scene Image Sequence Detection + recognition Tracking (less detection, no recognition) New person A B C A B C
  • 4. Tracking a Silhouette by Measuring Edge Positions • Observations are positions of edges along normals to tracked contour
  • 5. Why not Wait and Process the Set of Images as a Batch? • In a car system, detecting and tracking pedestrians in real time is important. • Recursive methods require less computing
  • 6. Implicit Assumptions of Tracking • Physical cameras do not move instantly from a viewpoint to another • Object do not teleport between places around the scene • Relative position between camera and scene changes incrementally • We can model motion
  • 7. Related Fields • Signal Detection and Estimation • Radar technology
  • 8. The Problem: Signal Estimation • We have a system with parameters – Scene structure, camera motion, automatic zoom – System state is unknown (“hidden”) • We have measurements – Components of stable “feature points” in the images. – “Observations”, projections of the state. • We want to recover the state components from the observations
  • 9. Necessary Models System Dynamics Model Measurement Model (projection) (u, v) Previous State Next State State Measurement • We use models to describe a priori knowledge about • the world (including external parameters of camera) • the imaging projection process
  • 10. State variable a A Simple Example of Estimation by Least Square Method • Goal: Find estimate of state such that the least square error between measurements and the state is minimum aˆ ∑= −= n i i axC 1 2 )( 2 1 ∑∑ == −=−== ∂ ∂ n i i n i i anxax a C 11 ˆ)ˆ(0 ∑= = n i ix n a 1 1 ˆ a Measurement x x t xi a xi-a ti
  • 11. Recursive Least Square Estimation • We don’t want to wait until all data have been collected to get an estimate of the depth • We don’t want to reprocess old data when we make a new measurement • Recursive method: data at step i are obtained from data at step i-1 aˆ State variable a Measurement x x t a xi 1 ˆ −ia iaˆ
  • 12. Recursive Least Square Estimation 2 • Recursive method: data at step i are obtained from data at step i-1 x t a xi )ˆ( 1 ˆˆ 11 −− −+= iiii ax i aa i i k k i k ki x i x i x i a 111 ˆ 1 11 ∑∑ − == +== ∑ − = − − = 1 1 1 1 1 ˆ i k ki x i a iii x i a i i a 1 ˆ 1 ˆ 1 + − = −
  • 13. Recursive Least Square Estimation 3 )ˆ( 1 ˆˆ 11 −− −+= iiii ax i aa Estimate at step i Predicted measure Innovation Gain Actual measure Gain specifies how much do we pay attention to the difference between what we expected and what we actually get
  • 14. Least Square Estimation of the State Vector of a Static System 1. Batch method a H1 Hi H2 x1 xi x2 aH ⋅= iix a H H H             =             ⇒ nnx x x ...... 2 1 2 1 aHx =⇒ measurement equation XHH)(Ha T1T − =ˆ Find estimate that minimizesaˆ a)H(Xa)H(X T −−= 2 1 C We find
  • 15. Least Square Estimation of the State Vector of a Static System 2 2. Recursive method a H1 Hi H2 x1 xi x2 )ˆˆˆ -1iiii-1ii aH(XKaa −+= with Calculation is similar to calculation of running average Now we find: We had: )ˆ( 1 ˆˆ 11 −− −+= iiii ax i aa 1 )( − = = T iii T iii HHP HPK Gain matrix Innovation Predicted measure
  • 17. )ˆˆˆ -1iiiii-1iii aH(xKaa Φ−+Φ= Recursive Least Square Estimation for a Dynamic System (Kalman Filter) -1i-1iii waa +Φ= iiii vaHx += ),0(~ ii Qw N ),0(~ ii Rv N -1i-1i-1i-1i -1i T i-1iii -1 i T iii T iii )P'HK(IP QPP' RHP'HHP'K −= +ΦΦ= += )( State equation Measurement equation Tweak factor for model Measurement noise Prediction for xi Prediction for ai Gain Covariance matrix for prediction error Covariance for estimation error
  • 18. -1i-1i-1i-1i -1i T i -1i i i -1 i T iii T iii )P'HKIP Q a f P a f P' RHP'HHP'K −= + ∂ ∂ ∂ ∂ = += ( )( ))ˆ)ˆ(ˆ -1iiii-1ii af(H(xKafa −+= Estimation when System Model is Nonlinear (Extended Kalman Filter) -1i-1ii wafa += )( iiii vaHx += State equation Measurement equation Jacobian Matrix Differences compared to regular Kalman filter are circled in red
  • 19. • Predict next state as using previous step and dynamic model • Predict regions of next measurements using measurement model and uncertainties • Make new measurements xi in predicted regions • Compute best estimate of next state Tracking Steps (u, v)Measurement Prediction region -1iiaˆΦ ),ˆ( i-1iii P'aH ΦN )ˆˆˆ -1iiiii-1iii aH(xKaa Φ−+Φ= “Correction” of predicted state
  • 20. Recursive Least Square Estimation for a Dynamic System (Kalman Filter) x t Measurement xi State vector ai Estimation iaˆ
  • 21. Tracking as a Probabilistic Inference Problem • Find distributions for state vector ai and for measurement vector xi. Then we are able to compute the expectations and • Simplifying assumptions (same as for HMM) ixˆ )|(),,,|( -1ii-1i21i aaaaaa PP =L )|()|()|()|,,,( ikijiiiji axaxaxaxx PPPP KK = (Conditional independence of measurements given a state) (Only immediate past matters) iaˆ
  • 22. Tracking as Inference • Prediction • Correction • Produces same results as least square approach if distributions are Gaussians: Kalman filter • See Forsyth and Ponce, Ch. 19 ∫= -1i-1i1-1i-1ii-1i1i axxaaaxxa dPPP ),,|()|(),,|( LL ∫ = i-1i1iii -1i1iii i1i axxaax xxaax xxa dPP PP P ),,|()|( ),,|()|( ),,|( L L L
  • 23. )ˆ(ˆˆ 11 i-iii-i afhxKafa −+= Kalman Filter for 1D Signals 11 i-i-i wafa += iii vahx += )0(~ ,qNwi )0(~ ,rNvi 111 1 2 12 ')1( )( i-ii- ii - iii phKp qpfp' rp'hhp'K − − −= += += State equation Measurement equation Tweak factor for model Measurement noise Prediction for xi Prediction for ai (a priori estimate) Gain Standard deviation for prediction error St.d. for estimation error
  • 24. Applications: Structure from Motion • Measurement vector components: – Coordinates of corners, “salient points” • State vector components: – Camera motion parameters – Scene structure • Is there enough equations? – N corners, 2N measurements – N unknown state components from structure (distances from first center of projection to 3D points) – 6 unknown state components from motion (translation and rotation) – More measurements than unknowns for every frame if N>6 (2N > N + 6) xi • Batch methods • Recursive methods (Kalman filter)
  • 25. Problems with Tracking • Initial detection – If it is too slow we will never catch up – If it is fast, why not do detection at every frame? • Even if raw detection can be done in real time, tracking saves processing cycles compared to raw detection. The CPU has other things to do. • Detection is needed again if you lose tracking • Most vision tracking prototypes use initial detection done by hand (see Forsyth and Ponce for discussion)
  • 26. References • Kalman, R.E., “A New Approach to Linear Prediction Problems”, Transactions of the ASME--Journal of Basic Engineering, pp. 35-45, March 1960. • Sorenson, H.W., “Least Squares Estimation: from Gauss to Kalman”, IEEE Spectrum, vol. 7, pp. 63-68, July 1970. • http://www.cs.unc.edu/~welch/kalmanLinks.html • D. Forsyth and J. Ponce. Computer Vision: A Modern Approach, Chapter 19. http://www.cs.berkeley.edu/~daf/book3chaps.html • O. Faugeras.. Three-Dimensional Computer Vision. MIT Press. Ch. 8, “Tracking Tokens over Time”.