Presentation is loading. Please wait.

Presentation is loading. Please wait.

Measuring image motion

Similar presentations


Presentation on theme: "Measuring image motion"— Presentation transcript:

1 Measuring image motion
Analysis of Motion Measuring image motion

2 Analysis of visual motion

3 Representations of image motion
(2) correspondence Frame 1 Frame 2 Frame 3 Human visual system: (1) short-range motion process (2) long-range motion process (1) velocity field

4 Measuring image motion
“aperture problem” velocity field “local” motion detectors only measure component of motion perpendicular to moving edge 2D velocity field not determined uniquely from the changing image need additional constraint to compute a unique velocity field

5 Option 1: Assume pure translation
Vy Vx “velocity space”

6 motion measurement strategy!
mystery Sohie! motion measurement strategy!

7 Practical considerations for methods based on pure translation:
Error in initial motion measurements Velocities not constant locally Local image features may have small range of orientations But… such strategies are good for detecting sudden movements tracking detecting boundaries

8 Option 2: Smoothness assumption:
Compute a velocity field that: is consistent with local measurements of image motion (perpendicular components) has the least amount of variation possible

9 When is the smoothest velocity field correct?
When is it wrong? motion illusions

10 Measuring motion in one dimension
I(x) Vx x Vx = velocity in x direction  rightward movement: Vx > 0  leftward movement: Vx < 0  speed: | Vx | pixels/time step I/x + - I/t I/t I/x Vx = - 1-10

11 Measuring 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 > 0  movement opposite direction of gradient: v < 0 +x +y true motion motion component I/t |I| I/t [(I/x)2 + (I/y)2]1/2 v = - = -

12 2-D velocities (Vx,Vy) consistent with v
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

13 Time-out exercise Vy Vx 1-13

14 Details… (Vx, Vy) ?? For each component: ux uy v Vxux + Vyuy = v
I/x = 10 I/y = -10 I/t = -30 (Vx, Vy) ?? I/x = 10 I/y = 10 I/t = -30 For each component: ux uy v Vxux + Vyuy = v solve for Vx, Vy

15 Find (Vx, Vy) that minimizes:
In 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: Σ(Vxux + Vy uy - v)2

16 Computing the smoothest velocity field
(Vxi-1, Vyi-1) motion components: Vxiuxi + Vyi uyi= vi (Vxi, Vyi) (Vxi+1, Vyi+1) i-1 i change in velocity: (Vxi+1-Vxi, Vyi+1-Vyi) i+1 Find (Vxi, Vyi) that minimize: Σ(Vxiuxi + Vyiuyi - vi)2 + [(Vxi+1-Vxi)2 + (Vyi+1-Vyi)2]


Download ppt "Measuring image motion"

Similar presentations


Ads by Google