Distinguish frame and calibration crop factors in CR3 lookup

This commit is contained in:
r3d42-git committed 2026-12-02 09:44:31 +01:00
1 parent a5c5311dd2
commit 95fa91445b
1 file changed
+3 -1
+3 -1
View File
@@ -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,