Take a pixel in image . It back-projects to a ray in space. You do not know where along that ray the world point is — that is exactly what one view cannot tell you — but you know the point is somewhere on it.
Now project the whole ray into image . A line in space projects to a line in an image. So the match, wherever it is, lies on that line. That line is the epipolar line, and this is the entire content of the epipolar constraint. It is a statement about the ray, made before the depth is known, which is why it can be used to search for the match rather than to verify one.
From coplanarity to the essential matrix
-
The normalised direction in B, for a point at depth Z along the ray x_A in A. R and t are the relative pose ᴮT_A.
-
All three lie in the plane through the two camera centres and the world point — the epipolar plane. This is the geometric fact; everything below is algebra.
-
Coplanarity of three vectors is exactly the vanishing of their scalar triple product.
-
Write the cross product as a matrix. E is the essential matrix — it depends only on the relative pose, never on the scene.
-
In pixels rather than normalised coordinates: the fundamental matrix. F needs no calibration, which is its whole reason to exist.
Why does the epipolar line have a finite start and end in practice, even though it is mathematically infinite?
Show answer
Because only part of the ray corresponds to physically possible depths. Points behind camera are excluded, and points beyond the scene's extent are not plausible. The visible segment is bounded by the projections of the minimum and maximum depth along the ray — which is exactly what a stereo matcher's disparity range is, expressed in the other language.