Title: Measuring image motion
1Measuring image motion
aperture problem
local motion detectors only measure component
of motion perpendicular to moving edge
velocity field
2D velocity field not determined uniquely from
the changing image
need additional constraint to compute a unique
velocity field
2Assume pure translation or constant velocity
Vy
Vx
- Error in initial motion measurements
- Velocities not constant locally
- Image features with small range of orientations
In practice
3Measuring motion in one dimension
I(x)
Vx
x
- Vx velocity in x direction
- ? rightward movement Vx gt 0
- ? leftward movement Vx lt 0
- ? speed Vx
- pixels/time step
?I/?x
-
-
?I/?t
?I/?t ?I/?x
Vx -
4Measurement of motion components in 2-D
(1) gradient of image intensity ?I (?I/?x,
?I/?y) (2) time derivative ?I/?t (3)
velocity along gradient
v? ? movement in direction of gradient v? gt
0 ? movement opposite direction of gradient v?
lt 0
x
y
true motion
motion component
?I/?t (?I/?x)2 (?I/?y)21/2
?I/?t ?I
v? -
-
52-D velocities (Vx,Vy) consistent with v?
(Vx, Vy)
(Vx, Vy)
Vy
v?
Vx
All (Vx, Vy) such that the component of (Vx, Vy)
in the direction of the gradient is v? (ux, uy)
unit vector in direction of gradient Use the dot
product (Vx, Vy) ? (ux, uy) v?
Vxux Vy uy v?
6In practice
Previously
Vy
Vxux Vy uy v?
New strategy
Find (Vx, Vy) that best fits all motion
components together
Vx
Find (Vx, Vy) that minimizes S(Vxux Vy uy -
v?)2
7Smoothness assumption
- Compute a velocity field that
- is consistent with local measurements of image
motion (perpendicular components) - has the least amount of variation possible
8Computing the smoothest velocity field
(Vxi-1, Vyi-1)
motion components Vxiuxi Vyi uyi v?i
(Vxi, Vyi)
(Vxi1, Vyi1)
i-1
i
i1
change in velocity (Vxi1-Vxi, Vyi1-Vyi)
Find (Vxi, Vyi) that minimize S(Vxiuxi Vyiuyi
- v?i)2 ?(Vxi1-Vxi)2 (Vyi1-Vyi)2
9Ambiguity of 3D recovery
birds eye views
We need additional constraint to recover 3D
structure uniquely
rigidity constraint
10Image projections
perspective projection
Z
orthographic projection
Z
X
image plane
X
image plane
(X, Y, Z) ? (X/Z, Y/Z)
(X, Y, Z) ? (X, Y)
? only scaled depth ? requires translation of
observer relative to scene
? only relative depth ? requires object rotation
11Incremental Rigidity Scheme
x
depth Z initially, Z0 at all points
(x1 y1 z1)
(x3 y3 z3)
y
(x1' y1' ??)
(x3' y3' ??)
Find new 3D model that maximizes rigidity
(x2 y2 z2)
(x2' y2' ??)
Compute new Z values that minimize change in 3D
structure
image
12Birds eye view
Z
lij
depth
Lij
x
image
current model
Find new Zi that minimize S (Lij lij)2/Lij3
new image
13Observer motion problem, revisited
From image motion, compute ? Observer
translation (Tx Ty Tz) ? Observer rotation (Rx
Ry Rz) ? Depth at every location Z(x,y)
Observer undergoes both translation rotation
14Equations of observer motion
15Longuet-Higgins Prazdny
- Along a depth discontinuity, velocity
differences depend only on observer translation - Velocity differences point to the focus of
expansion