LCP (Lens Correction Profile) support

see issue 1343
This commit is contained in:
Oliver Duis
2012-05-17 21:41:48 +02:00
parent f38752bd00
commit 2d59057d57
28 changed files with 665 additions and 74 deletions

View File

@@ -326,10 +326,16 @@ class RotateParams {
class DistortionParams {
public:
bool uselensfun;
double amount;
};
// Lens profile correction parameters
class LensProfParams {
public:
Glib::ustring lcpFile;
};
/**
* Parameters of the perspective correction
*/
@@ -527,6 +533,7 @@ class ProcParams {
CommonTransformParams commonTrans; ///< Common transformation parameters (autofill)
RotateParams rotate; ///< Rotation parameters
DistortionParams distortion; ///< Lens distortion correction parameters
LensProfParams lensProf; ///< Lens correction profile parameters
PerspectiveParams perspective; ///< Perspective correction parameters
CACorrParams cacorrection; ///< Lens c/a correction parameters
VignettingParams vignetting; ///< Lens vignetting correction parameters