|
Isis 3 Programmer Reference
|
9 #include "LoHighDistortionMap.h"
27 LoHighDistortionMap::LoHighDistortionMap(
Camera *parent) :
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;
virtual void SetDistortion(int naifIkCode)
Load distortion coefficients.
double p_focalPlaneX
Distorted focal plane x.
double p_undistortedFocalPlaneY
Undistorted focal plane y.
double p_yPerspective
Perspective correction factor in y.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y for Lo High Resolution Camera.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
double p_y0
Center of distortion on y axis.
Camera * p_camera
The camera to distort/undistort.
Distort/undistort focal plane coordinates.
double p_x0
Center of distortion on x axis.
Namespace for the standard library.
const double E
Sets some basic constants for use in ISIS programming.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y for Lo High Resolution Camera.
double p_xPerspective
Perspective correction factor in x.
void SetDistortion(const int naifIkCode)
Load LO High Resolution Camera perspective & distortion coefficients.
std::vector< double > p_odk
Vector of distortion coefficients.
double p_focalPlaneY
Distorted focal plane y.
This is free and unencumbered software released into the public domain.