The distance relationship between any pixel and its counterpart in the equivalent pattern to the left can be expressed in a depth map.
Using this convention, a grayscale depth map for the example autostereogram can be created with black, gray and white representing shifts of 0 pixels, 10 pixels and 20 pixels, respectively as shown in the greyscale example autostereogram.