The three-view analogue of the fundamental matrix. Tensor notation, point-line incidence, point transfer, and the relationship to fundamental matrices and camera matrices.
The fundamental matrix captures the geometry of two views. But many reconstruction problems involve three or more views. Is there a geometric object that encodes the relationship between three views, just as F encodes two views?
Yes: the trifocal tensor T. It is a 3 × 3 × 3 array (27 entries) that encodes all the geometric relationships between three views. A point in one image and lines in the other two satisfy a trilinear relation through T.
Consider three cameras with centres C, C', C'' and a 3D point X. The point X, together with the three camera centres, defines three epipolar planes (one for each pair of cameras). The trifocal tensor arises from the constraint that these three planes share the point X.
More concretely: a line l' in the second image back-projects to a plane π'. A line l'' in the third image back-projects to a plane π''. These two planes intersect in a 3D line L. The image of L in the first camera is a line l. The trifocal tensor computes l from l' and l'':
For three camera matrices A, B, C (each 3×4), the trifocal tensor entry Tqri is:
where al, am are the two rows of A obtained by deleting row i (for l < m), and bq, cr are individual rows of B and C.
| Correspondence type | # independent equations |
|---|---|
| Three points | 4 |
| Two points, one line | 2 |
| One point, two lines | 1 |
| Three lines | 2 |
Given a point x in image 1 and its correspondence x' in image 2, the trifocal tensor predicts the point x'' in image 3:
This is point transfer: no triangulation needed. The tensor directly maps (x, x') to x''.
The transfer is exact: if x, x' correspond to the same 3D point, the predicted x'' is the exact projection. This is more powerful than the epipolar constraint (which only constrains x'' to a line).
The most fundamental relation involving T is the point-line-line incidence: if a point x in image 1 corresponds to points on lines l' and l'' in images 2 and 3:
All other relations (three points, two points + line, three lines) are derivable from this basic one by substituting points for lines.
The trifocal tensor uses index notation from tensor algebra. Key conventions:
| Symbol | Type | Meaning |
|---|---|---|
| xi | Contravariant | Point (column vector) |
| li | Covariant | Line (row vector) |
| Tqri | Mixed | Tensor: one covariant, two contravariant indices |
| εijk | Levi-Civita | Alternating tensor (cross product) |
The trifocal tensor contains the fundamental matrices for all three pairs of views. They can be extracted as:
| Pair | Extraction |
|---|---|
| F21 (views 1,2) | [e'']× [T1, T2, T3] e'' |
| F31 (views 1,3) | [e'']× [T1T, T2T, T3T] e' |
| F32 (views 2,3) | Derived from F21 and F31 |
where Ti are the 3×3 "slices" of the tensor, and e', e'' are the epipoles.
The trifocal tensor can be computed from point and/or line correspondences across three views using methods analogous to the 8-point algorithm for F.
| Method | Min correspondences | Notes |
|---|---|---|
| Linear (normalized) | 7 points (or 13 lines) | Analogous to 8-point algorithm; normalize first |
| Algebraic minimization | 7+ | Enforce internal constraints |
| Geometric (Gold Standard) | 7+ | Minimize reprojection error via LM |
| RANSAC | 7 samples | For outlier-contaminated data |
| Property | Detail |
|---|---|
| Size | 3 × 3 × 3 = 27 entries |
| DOF | 18 (= 3×11 − 15) |
| Internal constraints | 8 (algebraic constraints on the entries) |
| Camera recovery | Camera matrices can be recovered from T up to projective ambiguity |
| Uniqueness | T is unique for a given set of three cameras (up to the projective ambiguity) |
| Direction | Connection |
|---|---|
| F → T | T generalizes F to three views; it encodes all three pairwise F's |
| T → Q | The quadrifocal tensor (4 views, 3×3×3×3) further generalizes T; it has 29 DOF |
| T → Ch 18 | T provides initialization for N-view bundle adjustment |
| T → Ch 19 | T can be used for auto-calibration from three views |