Lably
Skip to content

Eight-point algorithm

Computer vision algorithm

  • 7 min read
  • 4 chapters

Related on Lably

Through Computer vision, System of linear equations and Scalar multiplication

The algorithm's name derives from the fact that it estimates the essential matrix or the fundamental matrix from a set of eight (or more) corresponding image points. However, variations of the algorithm can be used for fewer than eight points.

Coplanarity constraint

One may express the epipolar geometry of two cameras and a point in space with an algebraic equation. Observe that, no matter where the point P is in space, the vectors OLP¯, ORP¯ and OROL¯ belong to the same plane. Call XL the coordinates of point P in the left eye's reference frame and call XR the coordinates of P in the right eye's reference frame and call R,T the rotation and translation between the two reference frames s.t. XR=R(XL−T) is the relationship between the coordinates of P in the two reference frames. The following equation always holds because the vector generated from T∧XL is orthogonal to both T and XL :

XLTT∧XL−TTT∧XL=(XL−T)TT∧XL=0

Because I=RTR, we get

(XL−T)TRTRT∧XL=0.

Replacing (XL−T)TRT with XRT, we get

XRTRT∧XL=XRTRSXL=XRTEXL=0

Observe that T∧ may be thought of as a matrix; Longuet-Higgins used the symbol S to denote it. The product RT∧=RS is often called essential matrix and denoted with E.

The vectors OLpL¯,ORpR¯ are parallel to the vectors OLP¯,ORP¯ and therefore the coplanarity constraint holds if we substitute these vectors. If we call y,y′ the coordinates of the projections of P onto the left and right image planes, then the coplanarity constraint may be written as

y′TEy=0

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Robotics