Image Motion
COMPSCI 527 — Computer Vision
COMPSCI 527 — Computer Vision Image Motion 1 / 13
Image Motion COMPSCI 527 Computer Vision COMPSCI 527 Computer - - PowerPoint PPT Presentation
Image Motion COMPSCI 527 Computer Vision COMPSCI 527 Computer Vision Image Motion 1 / 13 Outline 1 Image Motion 2 Occlusion, Correspondence, Motion Boundaries 3 Constancy of Appearance 4 Motion Field and Optical Flow 5 The Aperture
Image Motion
COMPSCI 527 — Computer Vision
COMPSCI 527 — Computer Vision Image Motion 1 / 13Outline
1 Image Motion 2 Occlusion, Correspondence, Motion Boundaries 3 Constancy of Appearance 4 Motion Field and Optical Flow 5 The Aperture Problem 6 Estimating the Motion Field
COMPSCI 527 — Computer Vision Image Motion 2 / 13Sensor Irradiance ! Pixel Values
sensor lens aperture t T Te P s P y xcompressed as an (r, g, b) triple e(x, t)
f(i, n) = Q ⇣´ nT+Te/2
nT−Te/2
h˜ iP+Ps/2
iP−Ps/2 e(x, t) dx
i dt + ν(i, n) ⌘
COMPSCI 527 — Computer Vision Image Motion 3 / 13Ps
e
EEE
E 0 pixel size
Pixel pitch
O
Motion Field and Displacement
time s time t y(x, s, s) = x y(x, s, t)
y(x, s, t)
y(x, s, s) = x
w(x, s, t)
def
=
∂y(x,s,t) ∂t
v(x, s)
def
= w(x, s, s)
def
= y(x, s, t) y(x, s, s) is the displacement at x between times s and t
COMPSCI 527 — Computer Vision Image Motion 4 / 13Euler and Lagrange Viewpoints
Lagrange: w(x, s, t)
Euler: v(x, s)
def
= w(x, s, s)
varies
COMPSCI 527 — Computer Vision Image Motion 5 / 13s
The Displacement Field is not a 1 1 Map
(with s < t) forms an occlusion
and are projections of the same point in the world, they correspond to each other
we cannot compute a 1 1 map between image pixels even if no occlusions or disocclusions exist
undefined at occlusions
Constancy of Appearance
not change with time or viewpoint
same
e(x, s) = e(y, t) (finite-displacement formulation)
de(x(t),t) dt
= 0 (differential formulation)
Motion Field and Optical Flow
The Optical Flow Constraint Equation
viewpoint:
de(x(t),t) dt
= 0
de(x(t), t) dt def
= lim∆t→0
e(x(t+∆t), t+∆t)−e(x(t), t) ∆t
de(x(t),t) dt
= 0 to obtain the Optical Flow Constraint Equation (OFCE) ∂e ∂xT dx dt + ∂e ∂t = 0
def
=
dx dt is the unknown motion field
(Euler viewpoint)
CIRS
ER
deaf
tEE
The Aperture Problem
OFCE: ∂e ∂xT v + ∂e ∂t = 0
shading or shadows, which affects r, g, b similarly
∂e ∂xT def
= 2 6 6 6 6 6 4
∂e1 ∂x1 ∂e1 ∂x2 ∂e2 ∂x1 ∂e2 ∂x2 ∂e3 ∂x1 ∂e3 ∂x2
3 7 7 7 7 7 5
has often rank close to 1
Idea
8
The Aperture Problem for Black-and-White Video
images, for which e 2 R: ∂e ∂xT v + ∂e ∂t = 0 (OFCE is one scalar equation in the two unknowns in v)
alone
re(x) =
∂e ∂xT (if the gradient is nonzero):
v(x)
def
= kre(x)k−1 [re(x)]T v(x)
in
a a
Smoothness and Motion Boundaries
piecewise smooth
regularization term is added to penalize deviations from smoothness
motion boundaries
COMPSCI 527 — Computer Vision Image Motion 12 / 13Estimating the Motion Field
several displacement vectors d or motion field vectors v simultaneously
x is assumed to be constant (extreme local smoothness)
in the window
equations as much as possible (in the LSE sense)
appearance at every pixel in the image
v(x) from smoothness