Skip to content
Tactiverge

Perception and intelligence · also Robotics, Mathematics

Camera geometry and depth

The pinhole camera model describes how a point in 3D space becomes a pixel: its position in the image is its sideways offset multiplied by the focal length and divided by its distance from the camera. This means an object of known size appears smaller the further away it is, so its distance can be estimated from its size in pixels. Real lenses need calibrating to find their focal length and distortion. Depth cameras measure distance directly using stereo pairs, projected patterns or the time light takes to return, and each method fails in particular conditions.

Why it mattersA mobile robot can estimate how far away a doorway is by combining its camera's calibration with the doorway's known width.

Learn it

  1. 1Camera geometry and the pinhole modelComputational Engineering · Introduction to computer vision
  2. 2Cameras and depth sensingRobotics Foundations · Sensors and actuators