struct P1::ImageSdkC::GeometricCorrection

#include <C_P1ImageCaptureImage.h>

struct GeometricCorrection
{
    // fields

    double xp = 0.0;
    double yp = 0.0;
    double k0 = 1.0;
    double k1 = 0.0;
    double k2 = 0.0;
    double k3 = 0.0;
    double p1 = 0.0;
    double p2 = 0.0;
    double b1 = 0.0;
    double b2 = 0.0;
    double c = 0.0;
    double h = -1.0;
    int32_t orientation = 0;

    // methods

    bool toJSON(json& jsonStream) const;
    bool fromJSON(const json jsonStream);
    bool isValid() const;
    GeometricCorrection toLandscapeOrientation();
};