Lucas-Kanade Method For Optical Flow
Lucas-Kanade Method For Optical Flow
Coming back to the example of the moving can, this equation simply states that the point that we picked will have
the same intensity even after it moves in space (∆x and ∆y) and between frames (∆t). From this simple assumption,
we can derive what is known as the optical flow equation. For a given point for any frame, the optical flow
equation is given by:
Answer:
According to Taylor expansion, we have:
∂I ∂x ∂I ∂y ∂I
I(x + ∆x, y + ∆y, t + ∆t) = I(x, y, t) + + +
∂x ∂t ∂y ∂t ∂t
= I(x, y, t) + Ix (p)vx + Iy (p)vy + It (p)
so, we got:
1
Ix (p)vx + Iy (p)vy + It (p) = 0
We can now solve for the flow vectors (now represented as v) by solving the following least-squares problem:
AT Av = AT b.
• a. What is the condition for this equation to be solvable?
• b. Reason about why Harris corners might be good features to track using Lucas-Kanade method.