mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 17:29:31 +01:00
lightcraft-cli calibrate also pools tone samples (camera RGB -> camera JPEG luminance, dark pixels included) and fits one curve per camera by quantile matching; profiles store it as an optional `tone` field (older profiles and builds still load). A photo keeps its own curve as far as its JPEG showed it and follows the pooled curve past that, faded over 1 EV (extend_tone), instead of the bounded shoulder that rendered underexposed photos pushed back up 4-7 L* too dark; a photo no look fits takes the pooled curve whole. On NIKON D780 brackets, pushed frames now match the properly exposed frame within 0.5 L*; on 120 held-out D780/D750/D90 photos rendered as shot the curve changes mean dE against the camera JPEG by at most 0.03. LOOK_VERSION 11.