Expand description
BT.2446 Method A tone mapper — the ITU’s reference for graded HDR↔SDR conversion with psychophysically verified round-trip fidelity.
ITU-R BT.2446-1 §4. TMO: 1000 cd/m² HDR → 100 cd/m² SDR.
Psychophysical evaluation (Annex 1): 12 participants, 115 images, 2AFC on Sony BVM-X300 — imperceptible degradation after full round-trip (p = 0.167 HDR, p = 0.196 SDR).
The method operates in a perceptually linearized log-luminance domain with a piecewise polynomial knee, Hunt-effect color correction in Y’Cb’Cr’, and BT.2020 luma weights.
Reference: ITU-R BT.2446-1 (03/2021) §4 + Annex 1.
§Provenance
Extracted from zentone::Bt2446A (zentone commit 2a7c86b1). The
algorithm is byte-identical; the only difference is that this
crate’s copy is the canonical home, and the ToneMap trait integration
is dropped (the trait lives in zentone and is not used here — the
HdrToSdr wrapper drives the curve directly through its inherent
methods).
The kernel is a magetypes-defined f32x16 strip that resolves to
AVX-512 on V4, 2× AVX2 on V3, NEON on aarch64, WASM-SIMD on wasm32, and
the polyfill scalar on everything else.
Bt2446A::map_rgb_bt2020_peak_normalized and the last 1–15 pixels of
a row run the same lanes, padded.
Structs§
- Bt2446A
- BT.2446 Method A tonemapper with explicit baked HDR/SDR peak luminances.
- Bt2446A
Pipeline Managed - Pipeline-managed BT.2446 Method A
ToneMapperdescriptor whose HDR/SDR peak luminances are supplied byImagePlanorRowPlanatToneMapper::preparetime.