Glossary
A quick-reference of OpenEnlarge's engine constants and the film-photography terms used throughout these docs. Values are taken directly from source; links point to the page where each concept is explained in full.
Engine constants & parameters
ENGINE_VERSION= 3- Monotonically increasing integer stamped on every baked thumbnail. When the app loads a catalog whose thumbnails carry an older version, a background sweep regenerates them so the grid always reflects the current rendering math. Version 3 introduced photographic Faithful exposure (
FAITHFUL_EXPO_K = 1.0). d_max- The highest optical density found in a negative — usually sampled from the unexposed film leader or the densest shadow. Used in the normalization t = D / d_max so that the densest point maps to 1.0 going into the tone curve. On the Faithful path
d_maxis used only for analysis; the tone scale is set by the fixedFAITHFUL_SCALEinstead. See Density & log space. FAITHFUL_SCALE= 1 / 0.700 ≈ 1.429- Fixed density pre-scale applied before the Faithful gamma-shoulder curve: t_eff = D · FAITHFUL_SCALE · expo_gain. Calibrated to the C400 digital-SDR reference so that a correctly exposed negative fills the tonal range without needing per-frame rescaling. This is what keeps every frame in a roll on the same tonal ruler. See The tone curve.
FAITHFUL_GAMMA≈ 1.590- Power-law exponent of the Faithful curve's toe-to-midtone region: out = tγ with γ = 1.590. Values greater than 1 produce midtone contrast (the "snap") while keeping the toe soft. See The tone curve.
FAITHFUL_KNEE≈ 0.892- The normalized input value at which the Faithful curve transitions from the power-law body into the soft asymptotic shoulder. Above this point the curve rolls over gently toward output = 1.0, protecting specular highlights from hard clipping. See The tone curve.
LOOK_K= 2.0- Strength of the normalized tanh look layer applied on top of the Faithful tone curve. The layer is anchored so that 0 → 0 and 1 → 1;
LOOK_K = 2.0adds a clean S-shaped contrast push without shifting the black or white points. Always active on the Faithful path. See The tone curve. CMY_STRENGTH= 1.6- Exponent used in the subtractive (Color head) white-balance mode — currently a dormant engine mode, not exposed in the UI: t_eff = t · gainCMY_STRENGTH. The value 1.6 gives the density-space tint a slightly non-linear coupling that matches the behavior of real dichroic enlarger filters more closely than a plain linear scale. See Color & white balance.
EXPO_K= 0.14 (legacy Filmic path, dormant)- Exposure sensitivity used on the legacy Filmic path. At 0.14 one EV step moved brightness by only ~10 %, making the slider feel unresponsive. Kept in source for historical reference; the active Faithful path uses
FAITHFUL_EXPO_Kinstead. FAITHFUL_EXPO_K= 1.0- Exposure sensitivity on the Faithful path. One EV step moves brightness by approximately one photographic stop — expo_gain = 2FAITHFUL_EXPO_K · EV — so auto-exposure can reach a sensible result and the slider responds naturally across its ±5 range.
- Auto-WB strength ≈ 0.7
- The gray-world white-balance estimate is blended with a no-op at strength 0.7, meaning 70 % of the full gray-world shift is applied. This avoids over-correcting on scenes that are genuinely dominated by a single color. See Color & white balance.
- Neutral CCT ≈ 5500 K
- The target correlated color temperature for the auto-WB estimator — consistent with overcast daylight, the most common shooting condition for outdoor color negative film. Displayed as the relative zero-point on the Temperature slider. See Color & white balance.
Film & photography terms
- Density (D)
- A logarithmic measure of how much a film layer blocks light. Computed from the scan as D = log₁₀(base / scan), where
baseis the pixel value at the clear film edge. D = 0 is fully transparent; D = 1 transmits one-tenth of incident light. See Density & log space. - Stop (photographic stop)
- A doubling or halving of light. On the density scale, one stop equals log₁₀(2) ≈ 0.301 density units, so 1 density unit spans approximately 3.32 stops. Working in density keeps equal slider steps perceptually equal regardless of tonal region. See Density & log space.
- Orange mask
- The warm orange dye that saturates the base layer of a color negative. It compensates for unwanted absorption in the cyan and magenta dye layers, improving color accuracy when printed. In digital inversion the orange mask is removed by dividing each pixel by the sampled film-base color: D = log₁₀(base / scan). See How color negatives work.
- H&D curve (Hurter–Driffield characteristic curve)
- The plot of optical density versus log-exposure for a photographic emulsion. It defines the emulsion's sensitivity, contrast (gamma), toe, and shoulder. The Faithful tone curve mirrors the H&D shape of photographic paper — toe protection, midtone snap, soft shoulder — when mapping negative density to a positive display output. See The tone curve.
- Toe
- The low-density end of the H&D curve where the slope is shallower than the main straight-line portion. In OpenEnlarge's Faithful curve the toe lifts near-black densities slightly so shadow detail is protected rather than crushed. See The tone curve.
- Shoulder
- The high-density end of the H&D curve where the slope rolls over and the curve asymptotes toward maximum density. The Faithful curve's shoulder — transitioning at
FAITHFUL_KNEE ≈ 0.892— compresses near-white densities smoothly into output = 1.0, avoiding hard highlight clipping. See The tone curve. - Rebate
- The clear or semi-clear edge of a film strip between frames — typically the thinnest area of the negative. OpenEnlarge samples the rebate to determine the film-base color and to establish the brightest possible density reference. Also called the film leader or film edge. See Film-base calibration.
- Contact sheet
- A proof print showing all frames of a roll at small scale, traditionally made by placing the negative strip in contact with paper under an enlarger. The Roll view in OpenEnlarge is a digital contact sheet: all frames are shown together, letting you compare exposure and composition before committing to individual develops. See the Roll tool.
- White point
- The density value that maps to output = 1.0 (paper white). On the Faithful path the white point is set by the fixed scale
FAITHFUL_SCALE = 1 / 0.700rather than per-framed_max, keeping tone consistent across a roll. Film-base calibration adjusts the base reference used to compute density, which indirectly sets where white lands. See Density & log space and Film-base calibration. - Film base
- The transparent acetate or polyester support layer of a film strip. For color negatives it carries the orange-mask dye. Sampling the film base (at the clear rebate) provides the
basereference value used to compute density: D = log₁₀(base / scan). See How color negatives work and Film-base calibration.