2.0 FUNDAMENTALS of Photography⧉
Every photograph is the end of a journey. Light leaves a source — the sun, a lamp, a phone screen — travels until it strikes the objects in a scene, scatters according to what those objects are made of, and a sliver of it finally passes through a lens onto a sensor (or, in the eye, onto the retina). The sensor counts photons; the camera turns those counts into a grid of numbers; a visual system, silicon or biological, interprets the result (Figure 2.0.1). Photography means, almost literally, writing with light — from the Greek phōs ("light") and graphē ("drawing").
This part follows that journey, because every later trick in the book depends on it. We begin with light itself — what it is (wave, ray, or photon), how it carries color, how it behaves when it meets a surface, and how we measure it (the first chapter). We then ask how a camera turns the light filling a room into a flat picture: the geometry of image formation, from the pinhole to the lens and the limits geometry imposes — perspective, focus, depth of field — and the sensor and the noise that floors what we can see. From there we cross into the observer: the eye and visual system, why three cones make us trichromatic, and color as the projection of a whole spectrum onto three numbers. The engineering payoff is color technology — measuring color (CIE), encoding it (linear, gamma, log), and reproducing it. Only then do we sit behind a real camera as an instrument — the exposure controls and modes, autofocus, stabilization, and the hardware of how a photograph is actually taken (from a mirrorless body to a phone). The part closes with human factors and the art of photography — composition, light, and the ethics of the medium.
None of this is computational yet. It is the physical and perceptual stage on which computation will later act — and it is where most of a photographer's craft lives, and where the rest of the book gets its vocabulary. A reader who only wants to code can skip ahead to BASIC IMAGE PROCESSING, but the part's big lessons recur on every later page: that much of imaging is multiplicative (illumination × albedo) while some is additive, so the right encoding follows from which one you are doing; that perception is roughly logarithmic, so ratios matter more than absolute values; that noise is read plus shot, worst in the shadows; that perspective is a matrix and a divide-by-depth; and that color is non-orthogonal and non-negative, which is what makes it genuinely hard. By the end of the part you can trace a photon from a lamp to a perceived color, and you carry the small set of principles the book keeps reusing.
Contents of this part
- 2.1 Light and physics
- Light: rays, waves, and the spectrum
- Reflection, refraction, and what happens at a surface
- Polarization
- The color of objects: illumination times reflectance
- The BRDF and the look of materials
- Illuminants
- Radiometry: radiance, irradiance, exposure, and falloff
- Wave effects, diffraction, and the diffraction limit
- 2.2 Pinhole image formation and linear perspective
- Pinhole imaging and the perspective projection
- Homogeneous coordinates
- Intrinsics, extrinsics, and what cropping really does
- What perspective preserves, and what it destroys
- Wide-angle distortion: spheres bulge and faces stretch at the edges
- Photography with focal length: framing, magnification, and compression
- Depth, ray length, and unprojection
- 2.3 Lens image formation
- 2.4 Image measurements as integrals
- 2.5 Sensors: photosites, CCD vs CMOS
- 2.6 Noise, signal-to-noise ratio and dynamic range
- 2.7 Multiple view geometry
- 2.8 Human (and animal) vision and color
- 2.9 Color technology
- analysis vs synthesis and non-orthogonality
- Measuring color
- Linear vs Gamma vs. log encoding
- linear (kind of) color spaces
- Non-linear space: CIELAB
- Reproducing color
- Color management, ICC, and industry standards
- Sensing color: multiplexing strategies
- Processing color: saturation and beyond
- Converting to black and white
- Color appearance models
- Skin tones
- 2.10 Photography and camera 101
- Basic photography: exposure settings — shutter, aperture, and ISO
- Exposure modes, UI, and auto-ISO
- Focus, autofocus, and depth of field
- Lenses and focal length
- Lens filters: polarizers, ND, and graduated ND
- Keeping the lens clean
- Image stabilization
- UI and display
- Video modes
- Programmability, or the lack thereof
- Anatomy of a modern full-frame interchangeable-lens camera
- Anatomy of cell-phone cameras
- Types of cameras
- Cameras beyond photography
- A camera's other sensors
- Flash and lighting
- The traditional darkroom
- The digital darkroom: editing software