Definitionadvanced
Trifocal tensor
Also called trifocal constraint.
A 3 by 3 by 3 tensor that relates points and lines in three views, playing for three views the role that the fundamental matrix plays for two.
The trifocal tensor is a array built from three camera matrices. It holds all the projective geometry of three views that image matches can reveal, just as the fundamental matrix does for two views. It gives linear relations, called trilinearities, between the images of one point or one line in the three views. It transfers a point or a line seen in two views into the third. Unlike the fundamental matrix, it also works for lines, which give no constraint in two views, and it does not fail when the three camera centers lie on one line. It has 27 entries but only 18 degrees of freedom.
Definition
Let , and be three cameras, where any three cameras with distinct centers can be brought to this form by a projective change of frame. Let and be the -th columns of and . The trifocal tensor is the triple of matrices
so that . It is defined up to one common scale. For a point in view 1, write .
Incidence relations. Let a 3D line have images , , , and let a 3D point have images , , . Then:
- Line, line, line. .
- Point, line, line. for any lines through and through .
- Point, point, point. , which gives 4 independent equations.
Transfer. Given and , choose a line through that is not its epipolar line; then .
Degrees of freedom. Three cameras have parameters, less 15 for the projective frame, which leaves 18. The 27 entries less one scale leave 26, so the entries of a trifocal tensor satisfy 8 independent algebraic constraints. Each has rank at most 2.
Epipoles and fundamental matrices. The epipoles of the first center in views 2 and 3 are and . The left null vectors of the all lie in a plane whose normal is , and the right null vectors in a plane whose normal is . The fundamental matrix from view 1 to view 2 is , where is the matrix with columns .
Examples and non-examples
A worked tensor. Take , and , so . Then
Each has rank 1 or 2. The formula for gives , the fundamental matrix of a sideways step along .
Point transfer. The point has images , and . Here
The vertical line passes through , and , which is . The relation also holds.
Line transfer. The lines in view 2 and in view 3 are the images of the 3D line . The line, line, line relation gives , the line in view 1, which is indeed the image of that 3D line.
Non-example: the epipolar line. In the same example the horizontal line also passes through , but it is the epipolar line of . Then , and the transfer gives no point. The line through perpendicular to the epipolar line is the usual safe choice.
Non-example: an arbitrary array. A array with a slice of rank 3 is not a trifocal tensor, and neither is a general array of rank 2 slices: it must also satisfy the remaining internal constraints. A tensor estimated linearly from noisy data is usually not exactly trifocal and must be corrected.
Non-example: three fundamental matrices. The three pairwise fundamental matrices of three views do not replace the tensor. If the three centers lie on one line, the two epipolar lines of and in view 3 coincide, so point transfer by epipolar lines fails, while transfer by the trifocal tensor still works.
Related definitions
- Fundamental matrix. The fundamental matrix is the two-view analog. The trifocal tensor determines the fundamental matrices of all three pairs, and through them the epipolar geometry.
- Induced homographies. For a fixed line in view 2, the matrix with columns is the homography from view 1 to view 3 induced by the plane that back-projects .
- Calibrated trifocal tensor. With normalized image coordinates, the cameras are rigid motions, and the tensor plays the role that the essential matrix plays for two views.
- Quadrifocal tensor. A tensor relates four views. There are no independent constraints of this kind for five or more views.
- Reconstruction. The tensor fixes the three cameras up to a projective transformation, the three-view form of the projective reconstruction theorem. Its computation from at least 7 point triples or 13 line triples uses Hartley normalization and a linear method followed by a correction that enforces the internal constraints.
References
- Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, second edition, Cambridge University Press, 2004, Chapter 15, The trifocal tensor, and Chapter 16, Computation of the trifocal tensor
- Amnon Shashua, Algebraic functions for recognition, IEEE Transactions on Pattern Analysis and Machine Intelligence 17(8), 1995, the trilinear relations between the images of a point in three views
- Richard I. Hartley, Lines and points in three views and the trifocal tensor, International Journal of Computer Vision 22(2), 1997, the tensor as a relation among lines and points in three views and its linear computation
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag MD7SMD Edit this page History Report an error Markdown