From 95fa91445bf2a24287d477378d1e97ecc3385602 Mon Sep 17 00:00:00 2001 From: r3d42-git <279915996+r3d42-git@users.noreply.github.com> Date: Wed, 2 Dec 2026 09:44:31 +0100 Subject: [PATCH] Distinguish frame and calibration crop factors in CR3 lookup --- docs/cr3-profile-alignment.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/cr3-profile-alignment.md b/docs/cr3-profile-alignment.md index 44e5811309..23e72e81e9 100644 --- a/docs/cr3-profile-alignment.md +++ b/docs/cr3-profile-alignment.md @@ -42,7 +42,9 @@ lens model nor a lens specification, a CR3 can propose the only profile on its c lowercase-initial fixed mount. An ambiguous mount or an unmatched specification keeps the framing fallback. A fixed-mount match must pass the same JPEG edge checks as a named lens or an explicit specification alias. The lookup uses the downloaded database or `LIGHTCRAFT_LENSFUN_DIR` -override and supports reloading. Unknown crop factors remain unknown. +override and supports reloading. When the camera database has no crop factor, the lookup can +derive the frame crop factor by dividing the 35 mm-equivalent focal length by the actual focal +length. Applying a lens profile requires a known calibration crop factor from the database. Synthetic tests cover lens-only and lens-plus-framing acceptance, unrelated/flat/already aligned rejection, crop-relative profile orientation at multiple resolutions, clip-mask contributions,