Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In order to make the imageProcessing exec self sufficient for vignetting and geometry correction, the capability to manage Adobe LCP files has been duplicated from the cameraInit exec. As a consequence a code factorization between these two execs has been done. In addition, support of chromatic aberration correction using LCP model has been enabled.
In relation with Meshroom PR alicevision/Meshroom#2042
Features list
Implementation remarks
The getSensorSize method return a non null error code if the sensor size cannot be computed of if it is computed with some uncertainty. This is needed for statistics generation on the read image set by the cameraInit exec. Because this method is used in a parallelized loop within cameraInit, verbosity can be disabled.
A pointer instead of a reference is used in the interface of getViewIntrinsic for the LensParam parameter to make it optional.