10.1. Cameras

The original optical cameras used a small hole (pin hole) on the side of a dark room. The inverted object was projected on the opposite wall (the image plane).

../_images/fig11_1a.png

Figure 11.1a from [RVC], Pin Hole camera.

10.1.1. Camera Lenses

Pin hole cameras are always in focus, but the amount of light that projects on the image plane is insufficient. Lenses increase the amount of light that projects on the image plane, but the geometry of the camera needs adjustments for the image to be focused on the image plane.

../_images/fig11_1b.png

Figure 11.1b from [RVC], lenses allow more light to project onto the image plane with the penalty that focusing is required to clearly see objects of interest.

A measure of how much light the lens projects on the image plane is the F-Number. The F-number is often printed on the camera lens. It is the ratio of focal length to the diameter of the lens. A smaller F-number lens results in a brighter image (more light) than produced from a lens with a larger F-number.

F = \frac{f}{\phi}

../_images/Fnumber.png

10.1.2. Thin Lens Camera Model

Although cameras are often more complex, the simplified thin lens camera model does a nice job of modeling the zoom and focus of a camera. In this model, Z represents the distance from the camera to the photographed object; Z' is the distance inside the camera from the lens to the image plane; f is the focal length of the lens.

../_images/ThinLens.png

Thin Lens Camera Model

Using similar triangles and some algebra, we get the thin lens equation.

\frac{1}{f} = \frac{1}{Z} + \frac{1}{Z'}

Optical zoom is achieved by changing the focal length, f, The longer the focal length, the narrower the angle of view and the higher the magnification. The shorter the focal length, the wider the angle of view and the lower the magnification. Objects are brought into focus by adjusting Z'. Objects in focus on the image plane when the thin lens equation is satisfied.

Example

What value of Z' will bring an object 2 meters from the camera into focus when f = 50 \:\text{mm}?

\begin{array}{rl}
   \frac{1}{Z'} &= \frac{1}{50} - \frac{1}{2000} \\

&= \frac{40}{2000} - \frac{1}{2000} \\

            Z'  &= \frac{2000}{39} \approx 51.28 \:\text{mm}
 \end{array}

10.1.3. Lens Distortions

Most camera lens are not perfect. Images from a camera may exhibit geometric distortions such as barrel distortion or pincushion distortion as pictured below. Chromatic aberrations cause extra red colors to appear especially at the edge or fringe of objects. Vignetting results in dark corners of an image.

../_images/lens-distortion.jpg

Geometric lens distortions

Lens distortions can sometimes be corrected with software. They can be mostly avoided by buying an expensive lens. The diagram below shows all of the lens in a Nikon 24-70 mm zoom lens that is designed to not have any distortions. The cost for such a lens is about $1,500 in 2023.

../_images/Nikon24-70mm-optics.gif