This section covers how light becomes an array of numbers and how a camera’s focal length and position decide what that array shows. It starts with the image as a sampled and quantized function, together with the array conventions used in code. It then treats focal length, field of view and the dolly zoom with similar triangles. The full projection model, with intrinsic and extrinsic matrices, is in 5.1. The Pinhole Camera.
Prerequisites
- 2.10a Sampling: sampling a continuous signal at discrete points.
- Similar triangles, and , and basic NumPy arrays. These have no notes in the vault.
Contents
- 1.1. Digital Images: the image as a function, sampling and quantization, reflectance and illumination, dynamic range, the acquisition pipeline, array layout, dtypes, channel order and grayscale conversion.
- 1.2. Focal Length and Dolly Zoom: projected size , field of view, zooming versus moving the camera, the dolly zoom, cropping versus zooming, and perspective compression.
Recommended Path
Read 1.1. Digital Images before any coding project, then 1.2. Focal Length and Dolly Zoom. Continue with 5.1. The Pinhole Camera for the full camera model.