When a stereo camera captures an object, there is a spatial disparity between corresponding points in the left and right image. The disparity is inversely proportional to the range of the point been viewed. This enables depth information of a scene to be calculated from a stereo image. The result of the calculation is a value per pixel, and can be visualized as a depth map.