No jobs
Core 11 min 1 of 3

The epipolar constraint

A point in one image restricts its match in the other to a line — before anything is known about depth.

What this repairs

Memorising $x'^\top F x = 0$ without a picture of where the line comes from or why the epipole is special.

Assumes

Take a pixel in image AA . 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 BB . 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

  1. xB    RxA+1Zt\mathbf{x}_B \;\propto\; R\,\mathbf{x}_A + \tfrac{1}{Z}\mathbf{t}

    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.

  2. xB,  RxA,  t   are coplanar\mathbf{x}_B,\; R\,\mathbf{x}_A,\; \mathbf{t} \;\text{ are coplanar}

    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.

  3. xB(t×RxA)=0\mathbf{x}_B^{\top}\,(\mathbf{t} \times R\,\mathbf{x}_A) = 0

    Coplanarity of three vectors is exactly the vanishing of their scalar triple product.

  4. xB[t]×RExA=0\mathbf{x}_B^{\top}\,\underbrace{[\mathbf{t}]_\times R}_{E}\,\mathbf{x}_A = 0

    Write the cross product as a matrix. E is the essential matrix — it depends only on the relative pose, never on the scene.

  5. F=KBEKA1F = K_B^{-\top} E\, K_A^{-1}

    In pixels rather than normalised coordinates: the fundamental matrix. F needs no calibration, which is its whole reason to exist.

Check yourself

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 AA 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.

Euler View - ML Experiment Monitor