CV Chapter Chapter 8 Motion and Optical Flow
Questions about the lecture 'Computer Vision' of the RWTH Aachen Chapter 8 Motion and Optical Flow
Questions about the lecture 'Computer Vision' of the RWTH Aachen Chapter 8 Motion and Optical Flow
-
- 1 / 33
-
Lernkarten
What are the characteristics?
[video.motion and opt flow, 2]
1. Sequence of frames captured over time
2. Image data is function of space (x,y) and time (t)
What are the characteristics?
[motion and perceptual organization.motion and opt flow, 2]
1. Sometimes motion is foremost cure
2. Even “impoverished” motion can evoke percept
What is the use?
[motion and opt flow, 5]
1. Estimate 3D structure
2. Segmenting based on motion cues
3. Learning dynamical models
4. Recognizing events and activities
5. Motion stabilization for better video quality
How to estimate 3D sturcture?
[use.motion and opt flow, 2]
1. Directly from optic flow
2. Indirectly to create correspondence for SfM
What is the definition?
[motion field.motion and opt flow]
Projection of 3D scene motion into image
What are the values of the 3D point?
[motion field.motion and opt flow, 2]
1. Position P(t)
2. Velocity V = dP/dt = [Vx,Vy,Vz]
What are the values of the projection point?
[motion field.motion and opt flow, 2]
1. Position p(t) = (x(t),y(t)) = f * P/Z
2. Velocity v=f*(ZV-VzP)/Z²=(fV-Vzp)/Z with respect to vx=dx/dt and vy=dy/dt
What are the values of the pure translation?
[motion field.motion and opt flow, 2]
1. V is constant
2. Velocity v=1/Z*(v0-Vzp) with v0=(fVx,fVy) with respect to vx=fVx-Vzx/Z and vy=fVy-Vzy/Z
What holds for Vz is nonzero?
[motion field.motion and opt flow, 2]
Every motion vector points toward or away from v0
What is the definition?
[optical flow.motion and opt flow]
Apparent motion of brightness patterns in the image
What are the differences to the motion field?
[optical flow.motion and opt flow, 3]
1. Ideally the same
2. Can be caused by lighting changes without any actual motion
3. Imagine rotating sphere under fixed lighting vs fixed sphere under moving illumination
What are the assumptions made?
[optical flow.motion and opt flow, 3]
1. Brightness constancy
2. Small motion of points
3. Spatial coherence with neighbors of point have similar (u,v)
What are the characteristics?
[brightness constancy.assumptions.optical flow.motion and opt flow, 5]
1. One point at different positions has same brightness
2. I(x,y,t-1)=I(x+u(x,y),y+v(x,y),t)
3. I(x,y,t-1)~I(x,y,t)+Ix*u(x,y)+Iy*v(x,y)
4. Ix*u+Iy*v+It~ or =0 with Ix,Iy spatial and It temporal derivative
5. GradI*(u,v)+It=0
How does estimation works?
[optical flow.motion and opt flow]
Given I(x,y,t-1) and I(x,y,t) estimate apparent motion field u(x,y) and v(x,y) between the two subsequent frames
What is the definition?
[aperture problem.optical flow.motion and opt flow]
Perceived is different to actual motion due to small view
How to solve?
[aperture problem.optical flow.motion and opt flow]
Use 5² window yielding 25 equations with least squares problem (LSP) [Ix(p1),Iy(p1);…;Ix(p25),Iy(p25)]*[u;v]=-[It(p1);…;It(p25)]
What is the solution of the minimum LSP?
[aperture problem.optical flow.motion and opt flow]
Solution of (ATA)*d=AT*b the so-called Lucas-Kanade equation (LKE)
What is the further definition of ATA?
[aperture problem.optical flow.motion and opt flow]
ATA=[SumIx2,SumIxIy;SumIxIy,SumIy2]=Sum[Ix;Iy][Ix,Iy]=Sum GrdI*GrdIT
What is the further definition of AT*b?
[aperture problem.optical flow.motion and opt flow]
AT*b=[SumIxIt;SumIyIt]
When is solution optimal?
[aperture problem.optical flow.motion and opt flow]
If (u,v) satisfies LKE
What are the characteristics?
[ATA.aperture problem.optical flow.motion and opt flow, 3]
1. Should be invertible
2. Entries not to small (due to noise)
3. Well conditioned
What is the eigen* interpretation?
[ATA.aperture problem.optical flow.motion and opt flow, 4]
1. Similar to Harris corner detector second moment matrix
2. Eigenvectors relate to edge direction and magnitude
3. Similar eigenvalues indicate low or high texture region
4. Different eigenvalues indicate edge
What is the barber pole illusion?
[optical flow.motion and opt flow]
Indicate moving up with rotating
Which estimation methods exist?
[optical flow.motion and opt flow, 2]
1. Iterative refinement (IR)
2. Coarse-to-fine optical flow estimation (CTFE)
What are the steps?
[IR.optical flow.motion and opt flow, 3]
1. Estimate velocity at each pixel using iterative LKE
2. Warp image using estimated flow field // Error propagation
3. Refine estimate by repeating process
What are the steps?
[CTFE.optical flow.motion and opt flow, 3]
1. Run iterative LKE
2. Warp and upsample
3. Repeat process
What is the idea?
[CTFE.optical flow.motion and opt flow, 2]
1. Reduce resolution
2. Compute gaussian pyramid of images
What are the problem cases for LKE?
[optical flow.motion and opt flow, 4]
1. For large motion (>1*pixel) use IR, CTFE
2. For violated spatial coherence use motion segmentation
3. For violated brightness constancy use exhaustive neighborhood search with normalized correlation
4. For temporal aliasing estimating wrong match use CTFE
What are the characteristics?
[KLT feature track.motion and opt flow, 3]
1. Basic feature tracking framework
2. Track features by “following the arrows”
3. Real-time GPU implementations exists
What are the challenges?
[KLT feature track.motion and opt flow, 5]
1. Ambiguity of optical flow requires good features to track
2. Large motions requires discrete search
3. Changes in shape orientation and color requires matching flexibility
4. Due to dis- and occlusions, features have to be added and deleted
5. Drift yields errors maybe accumulating over time
What has to be done for large displacements?
[KLT feature track.motion and opt flow, 4]
1. Template is defined by small area around pixel
2. Match template against each pixel within search area
3. Match measure as SSD or correlation
4. After finding best discrete location use LKE for sub-pixel
What has to be done for tracking over many frames?
[KLT feature track.motion and opt flow, 2]
1. Select features in first frame
2. For each frame
2.2 Update positions of tracked features
2.3 Terminate inconsistent tracks
2.4 Start new tracks if needed // ~10 frames
How does Shi-Tomasi feature tracker works?
[KLT feature track.motion and opt flow, 3]
1. Find good features using eigenvalues
2. Use LKE and pure translation model
3. Check consistency of tracks by affine registration