struct P1::ImageSdk::GeometricCorrection

Overview

The collection of geometric correction parameters, as they are stated in Australis Format in the Calibration Result form received with calibrated cameras. More…

#include <P1ImageLensDistortion.hpp>

struct GeometricCorrection
{
    // fields

    double pixelSize = -1.0;
    double focalLength = -1.0;
    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;
    int32_t orientation = 0;

    // methods

    std::string ToString() const;
};

Detailed Documentation

The collection of geometric correction parameters, as they are stated in Australis Format in the Calibration Result form received with calibrated cameras.

Fields

double pixelSize = -1.0

Pixel size in mm.

double focalLength = -1.0

Lens focal lenght in mm.

double xp = 0.0

Principal point offset x coordinate.

double yp = 0.0

Principal point offset y coordinate.

double k0 = 1.0

Zeroth radial distortion coefficient.

double k1 = 0.0

First radial distortion coefficient.

double k2 = 0.0

Second radial distortion coefficient.

double k3 = 0.0

Third radial distortion coefficient.

double p1 = 0.0

First radial-assymetric and tangential coefficient.

double p2 = 0.0

Second radial-assymetric and tangential coefficient.

double b1 = 0.0

Affinity and non-orthogonality coefficient for x coordinate.

double b2 = 0.0

Affinity and non-orthogonality coefficient for y coordinate.

int32_t orientation = 0

The orientation of the calibration data in 90 degrees (valid values are [0, 90. 180, 270, -90].