Skip to main content

Module wb

Module wb 

Source
Expand description

Standard illuminant reference data.

CIE standard illuminants used for white balance and color matrix interpolation. Values are from CIE publications and the DNG specification.

Structs§

Illuminant
Standard illuminant specification.

Constants§

COOL_WHITE_FLUORESCENT
Cool White Fluorescent (~4150K).
D50
CIE Illuminant D50 — ICC profile connection space (~5003K).
D55
CIE Illuminant D55 (~5503K).
D65
CIE Illuminant D65 — daylight reference (~6504K).
D75
CIE Illuminant D75 (~7504K).
ILLUMINANT_A
Standard Illuminant A — incandescent/tungsten (~2856K).

Functions§

all_illuminants
Returns all standard illuminants.
from_exif_code
Look up an illuminant by its EXIF LightSource code.
from_name
Look up an illuminant by name (case-insensitive).
nearest_by_cct
Find the closest standard illuminant to a given CCT.