课程链接:https://www.coursera.org/learn/robotics-perception/

Week 1

Pinhole Model

Assuming image plane is in front of the lens

y=fYZ

Vanishing Points

  • Any two parallel lines have the same vanishing point
  • The ray from C through v point is parallel to the lines
  • An image may have more than one vanishing point

Vanishing Lines

  • Any set of parallel lines on the plane define a vanishing point
  • The union of all of these vanishing points is the horizon line (also called vanishing line)
  • Note that different planes define different vanishing lines

Point and Line Duality

  • Line: l=x×x
  • Point: x=l×l
  • Points and lines are dual in projective space: given any formula, can switch the meanings of points and lines to get another formula

Point at Infinity

Line l=(a,b,c)T intersects at (b,a,0)T.

Perspective Projection

1. Camera Projection Matrix

Zc[xy1]=[f0000f000010][XcYcZc1]

2. Intrinsic Camera Parameters

[xyz]=[αxspx0αypy001][xyz]

  • from optical world ( x,y,z) to pixel world (x,y,z)
  • αx,αy: pixel scaling factor
  • px,py: principle point
  • s: slant factor

3. 3rd Person to 1st Person 3D Mapping (World to Camera)

Xc=[R3×3t3×101]X

World coordinates to camera coordinates

x=K3×3[I;0]3×4Xc

Camera coordinates to pixel coordinates

x=K[R,t]X

Combine 1, 2, 3 here, we have

Z[UimgVimg1]=[fxspxfypy1][r11r12r13t1r21r22r23t2r31r32r33t3][XYZ1]

or

[x1]=L(K[Rt][X1])

Camera Calibration

Calibration estimates intrinsic parameters

  • f focal length
  • (u0,v0) image center
  • k1,k2, radical distortion parameters

Week 3

RANSAC

Problem of Minimum Square Error: outliers will affect result significantly.