mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
Ported from storytold/lightcraft#3796. The Z 6 and Z 7 join the bodies whose NikonNEFInfo distortion becomes an OpcodeList3 warp. Three Z 6 and three Z 7 CC0 raw.pixls.us files (NIKKOR Z 24-70mm f/4 S) were matched against the camera's embedded JPEG: the corrected radial median error is 0.88-0.96 px on the Z 6 and 1.37-1.46 px on the Z 7, from 83-84 px and 124-125 px uncorrected. The method and results are in crates/raw/docs/nikon-lens-corrections.md. DistortionInfo's mode byte must now be 1 (On, optional) or 3 (On, required). Mode 2 (Off) and unknown modes give no warp, where before only 0 was skipped, so mode-2 files from the Z 6II, Z 8 and Z f no longer get a warp.