mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 10:37:11 -06:00
Profiles are interpolated in focal length (vignetting also in aperture and focus distance), scaled by crop factor, and converted by least squares to the DNG WarpRectilinear / FixVignetteRadial polynomials the pipeline already applies. The lensfun database (CC-BY-SA) is only read from a directory the user supplies; nothing is bundled. Sources: lensfun's published database format and lens calibration documentation (no lensfun code read), PanoTools wiki (a, b, c distortion model), DNG specification 1.6 (WarpRectilinear, FixVignetteRadial); interpolation and fitting: own design. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
15 lines
385 B
TOML
15 lines
385 B
TOML
[package]
|
|
name = "lightcraft-lensdb"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Lens correction profiles: distortion, TCA and vignetting models, lensfun-format database loader (L2)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
lightcraft-develop = { workspace = true }
|
|
lightcraft-geom = { workspace = true }
|
|
quick-xml = { workspace = true }
|