Two Photographs and the Space Between Them

Stereogram Viewing 🎮 Play: Depth in the Dots

The shopkeeper handed me a wooden stereoscope and a card showing a mountain railway. Through the viewer, the track curved away between a foreground bank and a distant slope. When I took the card out, it was two small photographs side by side. I bought the viewer and a handful of cards, then spent the afternoon working out what had just happened to the track.

The useful difference between the photographs is a sideways one. Each view shows the scene from a slightly different position, so nearby objects shift against the background. Give the left view to the left eye and the right view to the right eye, and those differences can become perceived depth.

Charles Wheatstone demonstrated this with paired geometric drawings in his 1838 paper on binocular vision. Photography makes it easy to collect detailed pairs, but a drawing of a box is enough to investigate the principle.

Keeping the useful differences

I wanted to see the shift outside the stereoscope before trying to view it inside. A stationary tabletop scene makes that straightforward: put a mug in front of a stack of books, with a distinct mark or corner visible on each. The objects need to stay still between exposures.

  1. Set a camera on a level surface and take the left photograph.
  2. Slide it sideways to the right without rotating or tilting it, then take the right photograph.
  3. Keep the images at the same scale. Compare a point on the mug with a point on a book in each frame.
  4. Align the pair vertically using corresponding details, and arrange the left photograph on the left and the right photograph on the right for a conventional stereo-card viewer.

A sliding camera support helps, but even a flat board gives the camera somewhere to rest. Avoid turning it towards the mug for the second shot. Rotating inward changes the geometry of the images and can introduce keystoning, including vertical differences that make alignment more troublesome. Research comparing stereo-camera arrangements describes this problem and the alternative of parallel camera axes.

Here is the important bit: vertical alignment does not mean making the two photographs identical. Line up corresponding details at the same height; leave the scene’s relative horizontal shifts in place.

Left photograph                 Right photograph
     mug     | book                  mug   | book
       ↑                                 ↑
  nearer object                    nearer object

The mug shifts relative to the book between views.

That diagram is schematic; the amount of shift depends on the camera positions and the distances to both objects. The technical term for a difference in horizontal position between corresponding image points is horizontal disparity. It is the difference between the mug’s disparity and the book’s disparity that gives their separation in depth. Sliding an entire photograph horizontally changes the alignment of the pair, but it does not erase that relative difference.

I checked my tabletop pair by switching rapidly between the two images on a screen. The mug appeared to hop sideways against the books. A slight vertical hop showed me I’d tilted the camera between exposures; I nudged one image vertically until the book corner stopped jumping up and down. The mug still moved sideways, as it should.

From two frames to one view

My wooden viewer holds a card on a sliding support. I placed the left and right pictures in their respective positions, centred them in front of the lenses, and moved the support until the detail looked clear. Then I picked an easy feature visible in both pictures and let the views come together.

There are several adjustments doing different jobs here. Moving the support changes the viewing distance and focus. Moving an image vertically corrects an unwanted height mismatch. Moving it horizontally affects where the scene appears in relation to the viewing plane. It is worth changing one thing at a time, or the whole exercise becomes a meeting in which nobody will admit who moved the mug.

If the picture remains doubled, check that each eye is seeing the intended image and that the pair is not too far out of vertical alignment. Don’t force the view. Wheatstone noted that a pair could coincide at more than one setting without all settings being equally comfortable; his later discussion of the stereoscope makes a useful distinction between merging a picture and viewing it without strain.

The wider I moved the camera for another pair, the more the mug shifted relative to the books. The resulting depth looked stronger, though the comparison was imperfect: my hand introduced another small tilt. A larger separation can increase disparity, but viewing scale and geometry matter too, so there is no reason to keep widening the gap until the room looks like a model railway.

Back in the shop’s mountain card, I could find the same sort of sideways difference between the near bank and the slope. Through the lenses, the track still held together better than my mug did. I left the card in the viewer and made one more adjustment to my photographs, moving the right image up by a barely visible amount.