Stereograms and Magic Eye: depth from two eyes

Your eyes see two slightly different pictures, and your brain turns the difference into depth. Stereograms hijack that, from Victorian viewers to the Magic Eye posters of the 1990s.

Two eyes, two pictures

Hold a finger up in front of your face and look at it with your left eye, then your right. It jumps sideways against the background. Your eyes sit a few centimetres apart, so each sees the world from a slightly different place. Near things shift a lot between the two views, far things hardly at all. Your brain measures those shifts, called binocular disparity, and turns them into a vivid sense of depth. This is stereopsis, and it's what makes the world look solid when you have both eyes open.

A stereogram is a picture that exploits this. Give each eye its own flat image, drawn or photographed from slightly different positions, and your brain combines them into one scene with depth.

The stereoscope craze

Charles Wheatstone worked out how stereopsis works and published it in 1838. To prove his point, he built the first stereoscope, a device with two angled mirrors that show each eye its own drawing. People looking into it saw flat line drawings rise into solid shapes.

The idea became a craze once David Brewster suggested using lenses instead of mirrors in 1849, which made the viewer small enough to hold. Brewster stereoscopes were shown at the Great Exhibition in London in 1851, and an industry sprang up almost overnight: a quarter of a million viewers were made, and stereo photographers were sent around the world to supply cards of cities, landscapes and wonders. Oliver Wendell Holmes designed a cheap handheld viewer in 1861 and deliberately didn't patent it. The View-Master, patented in 1939, carried the idea into the 20th century, and today's virtual reality headsets are, at heart, the same invention.

Depth with no picture at all

For a long time scientists assumed that the brain first recognised shapes in each eye's picture, then matched them up to work out depth. In 1959 Béla Julesz, a vision scientist at Bell Laboratories, showed otherwise. He made pairs of images filled with random black and white dots. Each image on its own was just noise. But in one image, a square patch of dots was shifted slightly sideways. Viewed in a stereoscope, the square floated clearly above the background, even though neither eye could see any square at all.

These random-dot stereograms, published in 1960, proved that the brain can compute depth before it finds any shapes. The square exists only in the comparison between the two eyes.

Magic Eye

A stereogram normally needs two separate pictures. In 1844 Brewster noticed something odd about patterned wallpaper: if he let his eyes drift so that each was looking at a different repeat of the pattern, the wallpaper seemed to float in front of or behind the wall. That "wallpaper effect" is the basis of the autostereogram, a single image that contains both eyes' views.

In 1979 the vision scientist Christopher Tyler, a former student of Julesz, combined the wallpaper effect with random dots to make the first random-dot autostereogram, with the programmer Maureen Clarke. In 1991 Tom Baccei and the artist Cheri Smith made colour versions, which became the Magic Eye books. They were a best seller first in Japan and then, from 1993, in North America, and for a few years in the 1990s it seemed everyone was staring at posters trying to make the hidden picture appear.

To see one, you have to point your eyes as if at something farther away than the page, while keeping the page in focus. Your eyes normally aim and focus together, so separating the two takes practice, which is why some people see the hidden picture in seconds and others never do.

Not everyone sees in stereo

Some people can't use binocular disparity at all. In 1970 the vision scientist Whitman Richards estimated that a few percent of people are stereoblind. Often this is linked to a squint or a "lazy eye" in early childhood, when the two eyes didn't work together while the visual system was developing. Stereoblind people still see depth in the world, using all the cues that work with one eye, and they can enjoy every illusion on this site. Magic Eye pictures, though, will stay flat for them.

Stereo and our gallery

Your screen is flat, so stereopsis always tells your brain the same thing about our designs: everything is at the same distance. The motion of the shape says it's solid, the stereo signal says it's flat, and the stereo signal quietly weakens the depth you see. That's why closing one eye often makes our illusions look more three-dimensional. With one eye shut, there's no disparity to report that the screen is flat, and the motion has the field to itself.

The effect is especially clear with the Rotoreliefs, where flat rings on a turning disc rise into cones and spheres, and with the dust-filled scenes of Deep field.

Try it. Open the Cone in Rotoreliefs. Watch it with both eyes for a few seconds, then close one eye. For most people, the cone rises noticeably higher once the two eyes stop agreeing that the screen is flat.

Sources

  1. Wheatstone, C. (1838). Contributions to the physiology of vision. Part the first. On some remarkable, and hitherto unobserved, phenomena of binocular vision. Philosophical Transactions of the Royal Society of London, 128, 371–394. doi:10.1098/rstl.1838.0019
  2. Wikipedia, “Stereoscope.” en.wikipedia.org/wiki/Stereoscope
  3. Julesz, B. (1960). Binocular depth perception of computer-generated patterns. Bell System Technical Journal, 39(5), 1125–1162. doi:10.1002/j.1538-7305.1960.tb03954.x
  4. Wikipedia, “Autostereogram.” en.wikipedia.org/wiki/Autostereogram
  5. Tyler, C. W., & Clarke, M. B. (1990). The autostereogram. Proceedings of SPIE, 1256, 182. doi:10.1117/12.19904
  6. Wikipedia, “Magic Eye.” en.wikipedia.org/wiki/Magic_Eye
  7. Richards, W. (1970). Stereopsis and stereoblindness. Experimental Brain Research, 10(4), 380–388. doi:10.1007/BF02324765
Browse the gallery More from Learn