One point, one line in the other view

Every 3-D point along one pixel's ray lands on a single line in the second image. Depth markers sit on that line, which makes the core idea tactile: matching along the epipolar line is choosing a depth.

Try this

Shrink the baseline toward zero. The line degenerates and depth stops being observable — the same failure a stereo rig has when its cameras are too close together.

Try it: one pixel becomes a line

Where this lab comes from

Structure from Motion, from Scratch: 47 Photos to a 3-D Temple in ~800 Lines of Python

How overlapping 2-D photos become 3-D points and camera poses: SIFT matching, the essential matrix, triangulation, PnP growth, and sparse bundle adjustment, built from scratch with OpenCV + SciPy. The pipeline registers all 47 Middlebury temple views at 0.25 px mean reprojection error, next to COLMAP's 0.30 px on the same images. Worked examples, three interactive labs, and the reconstruction growing image by image.

More in cameras and geometry