Collinearity equation

From HandWiki
Short description: Two equations relating 2D sensor plane coordinates to 3D object coordinates
Light beams passing through the pinhole of a pinhole camera

The collinearity equations are a set of two equations, used in photogrammetry and computer stereo vision, to relate coordinates in a sensor plane (in two dimensions) to object coordinates (in three dimensions). The equations originate from the central projection of a point of the object through the optical centre of the camera to the image on the sensor plane.[1]

The three points P, Q and R are projected on the plane S through the projection centre C
Error creating thumbnail: Unable to save thumbnail to destination
x- and z-axis of the projection of P through the projection centre C

Definition

Let x,y, and z refer to a coordinate system with the x- and y-axis in the sensor plane. Denote the coordinates of the point P on the object by xP,yP,zP, the coordinates of the image point of P on the sensor plane by x and y and the coordinates of the projection (optical) centre by x0,y0,z0. As a consequence of the projection method there is the same fixed ratio λ between xx0 and x0xP, yy0 and y0yP, and the distance of the projection centre to the sensor plane z0=c and zPz0. Hence:

xx0=λ(xPx0)
yy0=λ(yPy0)
c=λ(zPz0),

Solving for λ in the last equation and entering it in the others yields:

xx0=c xPx0zPz0
yy0=c yPy0zPz0

The point P is normally given in some coordinate system "outside" the camera by the coordinates X, Y and Z, and the projection centre by X0,Y0,Z0. These coordinates may be transformed through a rotation and a translation to the system on the camera. The translation doesn't influence the differences of the coordinates, and the rotation, often called camera transform, is given by a 3×3-matrix R, transforming (XX0,YY0,ZZ0) into:

xPx0=R11(XX0)+R21(YY0)+R31(ZZ0)
yPy0=R12(XX0)+R22(YY0)+R32(ZZ0)

and

zPz0=R13(XX0)+R23(YY0)+R33(ZZ0)

Substitution of these expressions, leads to a set of two equations, known as the collinearity equations:

xx0=c R11(XX0)+R21(YY0)+R31(ZZ0)R13(XX0)+R23(YY0)+R33(ZZ0)
yy0=c R12(XX0)+R22(YY0)+R32(ZZ0)R13(XX0)+R23(YY0)+R33(ZZ0)


The most obvious use of these equations is for images recorded by a camera. In this case the equation describes transformations from object space (X, Y, Z) to image coordinates (x, y). It forms the basis for the equations used in bundle adjustment. They indicate that the image point (on the sensor plate of the camera), the observed point (on the object) and the projection center of the camera were aligned when the picture was taken.

See also

References