9#include "LoHighDistortionMap.h"
87 QString perskey =
"INS" +
toString(naifIkCode) +
"_PERSPECTIVE_FACTORS";
88 QString centkey =
"INS" +
toString(naifIkCode) +
"_POINT_OF_SYMMETRY";
120 double pcx = dx * perspectiveFactor;
121 double pcy = dy * perspectiveFactor;
125 double distx = pcx -
p_x0;
126 double disty = pcy -
p_y0;
130 double r2 = distx * distx + disty * disty;
176 double rp2 = distux * distux + distuy * distuy;
Distort/undistort focal plane coordinates.
double p_focalPlaneX
Distorted focal plane x.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
std::vector< double > p_odk
Vector of distortion coefficients.
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Camera * p_camera
The camera to distort/undistort.
double p_focalPlaneY
Distorted focal plane y.
void SetDistortion(const int naifIkCode)
Load LO High Resolution Camera perspective & distortion coefficients.
double p_yPerspective
Perspective correction factor in y.
double p_xPerspective
Perspective correction factor in x.
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y for Lo High Resolution Camera.
double p_y0
Center of distortion on y axis.
LoHighDistortionMap(Camera *parent)
Constructor for LunarOrbiterHighDistortionMap class.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y for Lo High Resolution Camera.
double p_x0
Center of distortion on x axis.
This is free and unencumbered software released into the public domain.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Namespace for the standard library.