Repository navigation
Glossary
Terms used across the wiki, in plain language.
6-bit lens code - the bit pattern machined into a Leica lens bayonet, read by
the camera to identify the lens (black = 1, white = 0, read from behind).
000000 is un-coded. The M8 records a code only when the frame-line lever matches
the mounted lens. Force one with -l <6bitcode>. See Databases.
APEX - the Additive System of Photographic Exposure: exposure quantities (aperture Av, time Tv, brightness Bv, sensitivity Sv) expressed as logarithmic values that add. The aperture recovery works in APEX units. See The Math.
AsShotNeutral - a DNG tag recording the scene neutral (white balance) as captured. Derived here in part from the black point.
Bias frame (.BIA) - a per-exposure dark reference the M8 writes
automatically on long exposures. Subtracted from the CFA when present, forcing
BlackLevel to 0. See The Math.
BlackLevel - the DNG tag telling a developer where black sits. Written only
with -b (default 92); a tag only, pixels untouched.
CFA (Colour Filter Array) - the Bayer mosaic of red/green/blue filters over
the sensor. The RAW decode yields the raw CFA mosaic, one value per photosite, no
demosaic. Phase set with --cfa (default RGGB).
Clean-room reimplementation - software rewritten from observed behaviour, not from the original's source code. See Fidelity.
Darkfield - a per-column correction (LevelCorrection) capturing the sensor's
fixed-pattern column structure, measured by -sd and subtracted by -s.
DefaultCrop (Origin / Size) - DNG tags marking the recommended crop. Default
(2,2) / 3964x2642 (matches the original); --no-crop marks the full 3968x2646.
Pixels are identical either way. See File Formats.
DN (Digital Number) - one count of raw sensor value. Fidelity of -s is
quoted as +/-1 DN.
DNG - Adobe's Digital Negative raw format, the output. Here a hand-built little-endian TIFF with an uncompressed 16-bit linear CFA strip.
ExternalSensorBrightnessValue (ExtBV) - one of the M8's two light-meter readings, used as the anchor for aperture recovery.
IFD (Image File Directory) - a TIFF/DNG tag block. The output has IFD0 (47
tags) and an EXIF sub-IFD (21 tags); --legacy-preview adds a SubIFD.
ImageCalib - a stored meter-free image constant used to cross-check the meter-based aperture against a corrupt light-meter reading.
ISO gain - the M8's analog gain relative to base ISO 160, quantised to whole
stops (1/2/4/8/16). Scales the darkfield and BlackLevel at high ISO. See
The Math.
LevelCorrection - the per-column darkfield value stored in sensdb.ini.
Line - a sensdb.ini entry marking a defect-column run, repaired by
neighbour interpolation on every -s.
MakerNote - the camera-specific EXIF block (Leica's), copied verbatim from the
.JPG into the DNG.
MeasuredLV - the second M8 light-meter reading, used with ExtBV to recover aperture.
MeterOffset - the per-(body, lens) aperture-meter offset derived by
--calibrate-fnumber and stored in sensdb.ini.
Service mode - the M8's undocumented mode that exposes the uncompressed JPG+RAW recording option (and camera diagnostics). See Camera Setup.
Stride-row - a padding row in the RAW layout that is read but discarded.
WhiteLevel - the DNG tag for the sensor's saturation ceiling; 16383 (14-bit).