$25
Smallest Optical Flow (4 pts): What velocity ๐โ ๐๐ผ๐ that satisfies the Optical Flow
Constraint Equation ๐ผ๐ฅ๐ข+๐ผ๐ฆ๐ฃ+๐ผ๐ก = 0 has the smallest magnitude |๐โ |? Hint: This can be solved geometrically as was outlined in class by considering the OFCE in ๐ข,๐ฃ space.
๐ผ๐ฅ๐ข +๐ผ๐ฆ๐ฃ+๐ผ๐ก = 0
Moving Gaussian Blob (6 pts): A Gaussian blob is observed over time to have brightness
2 ๐ฅ ๐ฆ ๐ฅ ๐ฆ 2 ๐ผ(๐ฅ,๐ฆ,๐ก) = ๐−(๐ก −2(๐1+๐2)๐ก+(๐1+๐2) )
What are ๐ผ๐ฅ, ๐ผ๐ฆ, and ๐ผ๐ก? Hint: You should find that these derivatives have a simple form.
The Optical Flow Constraint Equation is ๐ผ๐ฅ๐ข +๐ผ๐ฆ๐ฃ+๐ผ๐ก = 0. Write this out using the results of Part a. and simplify it as much as possible. For example, you should be able to cancel terms that occur in each of ๐ผ๐ฅ, ๐ผ๐ฆ, and ๐ผ๐ก.
Quadratic Optical Flow (8 pts): Suppose the image brightness is given by
๐ผ(๐ฅ,๐ฆ,๐ก) = ๐ผ0 +[(๐ฅ−๐1๐ก)2 +(๐ฆ−๐2๐ก)2]
What are Ix, Iy, and It? Hint: You should find that these derivatives have a simple form.
Express the Optical Flow Constraint Equation ๐ผ๐ฅ๐ข +๐ผ๐ฆ๐ฃ+๐ผ๐ก = 0 in the simplest terms possible for this image sequence.
The equation from b. must hold for all x, y, and t. Find a constant solution for u and v that makes this true, that is, such that u and v do not depend on x, y, and t.
Iterative Optical Flow(8 pts): We saw in class an iterative method for computing optical flow, where at each iteration, the optical flow ๐ข is updated according to
[ ]new = [๐๐ผ๐ฅ2 +4 ๐๐ผ๐ฅ๐ผ๐ฆ ]neighbors(๐ฅ,๐ฆ)๐ขold(๐)−๐๐ผ๐ฅ๐ผ๐ก
๐ข(๐ฅ,๐ฆ)
๐ฃ(๐ฅ,๐ฆ) ๐๐ผ๐ฅ๐ผ๐ฆ ๐๐ผ ๐ฃold(๐)−๐๐ผ๐ฆ๐ผ๐ก
[ ๐neighbors(๐ฅ,๐ฆ) ]
Show that this is equivalent to
[๐ข new ๐๐ผ๐ฅ๐ผ๐ฆ neighbors(๐ฅ,๐ฆ)๐ขold(๐)−๐๐ผ๐ฅ๐ผ๐ก
]
๐ฃ ๐๐ผ๐ฅ๐ผ๐ฆ ๐๐ผ ๐ฃold(๐)−๐๐ผ๐ฆ๐ผ๐ก
[ ๐neighbors(๐ฅ,๐ฆ) ]
Show that this is equivalent to update equations
new(๐ฅ,๐ฆ) = ๐ขฬ
old − ๐ผ๐ฅ 4(๐ผ๐ฅ๐ขฬ
old +๐ผ๐ฆ๐ฃฬ
old +๐ผ๐ก)
๐ข
๐ผ๐ฅ2 +๐ผ๐ฆ2 +๐
๐ผ
๐ฃnew(๐ฅ,๐ฆ) = ๐ฃฬ
old − ๐ฆ 4(๐ผ๐ฅ๐ขฬ
old +๐ผ๐ฆ๐ฃฬ
old +๐ผ๐ก)
๐ผ๐ฅ2 +๐ผ๐ฆ2 +๐
where ๐ขฬ
old,๐ฃฬ
old are the averages of the 4 neighbors of ๐ข(๐ฅ,๐ฆ),๐ฃ(๐ฅ,๐ฆ). Hint: You only need to show this for ๐ขnew because ๐ฃnew follows an identical derivation.
In the case that ๐ = 0, what do the update equations reduce to?