14#include "TgoCassisDistortionMap.h" 
   33    QString od = 
"INS" + 
toString(naifIkCode) + 
"_OD_";
 
   35    for(
int i = 0; i < 6; i++) {
 
 
Distort/undistort focal plane coordinates.
 
double p_focalPlaneX
Distorted focal plane x.
 
double p_undistortedFocalPlaneX
Undistorted focal plane x.
 
double p_undistortedFocalPlaneY
Undistorted focal plane y.
 
Camera * p_camera
The camera to distort/undistort.
 
double p_focalPlaneY
Distorted focal plane y.
 
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
 
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane (x,y) given an undistorted focal plane (x,y).
 
QList< double > m_A1_dist
Coefficients for rational distortion model used to compute distorted x from ideal x.
 
QList< double > m_A3_dist
Coefficients for rational distortion model used to find scaling factor used when computing distorted ...
 
double m_width
The width of the ccd in pixels.
 
QList< double > m_A3_corr
Coefficients for rational distortion model used to find scaling factor used when computing ideal coor...
 
TgoCassisDistortionMap(Camera *parent, int naifIkCode)
Exomars TGO CaSSIS distortion map constructor.
 
virtual ~TgoCassisDistortionMap()
Exomars TGO CaSSIS distortion map destructor.
 
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane (x,y) coordinate given the distorted (x,y).
 
double chiDotA(double x, double y, QList< double > A)
Evaluate the value for the multi-variate polynomial, given the list of 6 coefficients.
 
QList< double > m_A2_corr
Coefficients for rational distortion model used to compute ideal y from distorted y.
 
QList< double > m_A1_corr
Coefficients for rational distortion model used to compute ideal x from distorted x.
 
double m_height
The height of the ccd in pixels.
 
QList< double > m_A2_dist
Coefficients for rational distortion model used to compute distorted y from ideal y.
 
double m_pixelPitch
The pixel pitch of the camera.
 
This is free and unencumbered software released into the public domain.
 
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.