From photon to file

Bayer mosaic, grain versus noise, bit depth, dynamic range, white balance, and lossy compression.

Capture study
Capture Gallery

The capture lab bench

Once light has crossed the shutter, the file is still a construction. A colour filter array samples one channel per photosite. Bit depth decides how finely levels are stored. Dynamic range is the usable span from saturation to the noise that eats shadows. White balance is an illuminant estimate applied as channel gains. Compression decides what high-frequency detail and chroma the encoder is allowed to throw away.

Film grain and sensor noise both scatter signal, but their statistics and cures differ. Treating “grain” as a romantic synonym for digital noise hides that difference. The table below is a static lab index—interactive in look, fixed in content—so you can jump to the note that matches the medium question you actually have.

Lab index

TopicWhat it measuresOpen note
Bayer mosaic One colour filter per site; demosaic invents the rest Open Bayer note
Grain / noise Scatter in film silver vs electronic readout Open grain note
Bit depth Tonal steps available in the encoding Open bit-depth note
Dynamic range Highlight ceiling versus noise floor Open range note
White balance Illuminant estimate as RGB multipliers Open balance note
Compression What lossy codecs discard for size Open compression note

Static index. Selecting a row does not run a converter; it opens a frame note.

Why the file is not the scene

A raw mosaic still needs demosaicing before it looks like a colour photograph. An 8-bit JPEG can look smooth while hiding posterisation that a 14-bit linear capture would have revealed in a stretch. A white-balance multiplier triad can neutralise a scene white under one lamp and fail under mixed light. Lossy compression prefers to spend bits on low-frequency luminance and discards chroma detail the eye is less likely to notice—until you push the file.

A misreading

The misreading is to treat bit depth as a promise of more light. Extra bits store finer levels among the photons you already collected. They do not invent missing photons in a dark shadow.

Desk limit. Capture notes explain encoding. They are not a forensic workflow, a DRM bypass, or a product comparison chart.