AliceVision
AliceVision copied to clipboard
Lcp management
Description
Add Adobe LCP file management.
Features list
- [X] Load a lcp file indicated by the user (cameraInit) and extract geometry and vignetting models corresponding to camera setting (focal length, focus distance and aperture).
- [X] Automatic search of an appropriate lcp file in a database based on camera maker and model (optional) and lens model (cameraInit).
- [X] Apply correction model for geometry and vignetting (imageProcessing).
Implementation remarks
- expat library has been used to read and load a lcp file.
- For geometry correction, only radial models with 3 parameters can be applied. All models made available in Adobe database are like that but using the Adobe LCP creator to generate a model, up to 5 parameters can be used.
- Geometry model parameters are stored using intrinsics.
- Vignetting model parameters are stored as image metadata.