13-Tracking L13
13-Tracking L13
Jayanta Mukhopadhyay
Dept. of Computer Science and Engg.
Object tracking
◼ Estimating an object trajectory in the image
plane as it moves.
◼ Temporal sequence of images or A video
◼ Different contexts
◼ Single / multi-object tracking
◼ 2D / 3D trajectory
◼ Point / Mass tracking
◼ Rigid / deformable body tracking
◼ Offline / Online tracking
A few examples
Optical flow
◼ The distribution of apparent velocities of movement
of brightness pattern in an image
◼ Computed by assuming the brightness remains
constant due to apparent motion of image point for
a moving object.
I(x+Δx,y+Δy,t+Δt)=I(x,y,t)+(dI/dx) Δx+(dI/dy) Δy+(dI/dt) Δt+ higher orders
Ixvx+Iyvy+It=0
Assuming the velocity profile smooth,
minimize also
∇I. v=-It |∇2vx|+|∇2vy| or ||∇vx||2+||∇vy||2
Optical flow: Optimization
problem (Horn and Shunk, AI,1980)
To minimize:
E1=∑( (It+Ixvx+Iyvy)2+k.(|∇2vx|+|∇2vy|))
∇2v=d2v/dx2+ d2v/dy2
Another function:
E2=∑((It+Ixvx+Iyvy)2+ k.(||∇vx|| 2+||∇vy||2))
||∇v||2=(dv/dx)2+ (dv/dy)2
A constant
dE/dvx=0 and dE/dvy=0
From E2: Ix2vx+IxIyvy=k∇2vx-IxIt
IxIyvx + Iy2vy=k∇2vy-IyIt
Ix2vx+IxIyvy=k∇2vx-IxIt
IxIyvx + Iy2vy=k∇2vy-IyIt
2x2 matrix
KLT Tracker: Selection of
feature points
◼ Corners: Changes perceptible in any
direction in the neighborhood
◼ Similar principle of Harris Operator.
◼ Eigen values of ∑w’∇I∇IT at x should be
high.
◼ Minimum Eigen value to be greater than a
threshold
◼ Compute d at those points and
aggregate them appropriately
Object Tracking: Pipeline
of Processing
Video Tracker Meta
data