36 ThemisVisDistortionMap::ThemisVisDistortionMap(
Camera *parent) :
57 ThemisVisDistortionMap::~ThemisVisDistortionMap() {
134 double vis_od_cx[] = { -4.02919e-5, 0.0, 0.0 };
135 double vis_od_cy[] = { -0.0178649, -0.00727843, 5.65278e-5 };
145 double deltaj = vis_od_cy[0] + ( vis_od_cy[1] * (-j)) + ( vis_od_cy[2] * (-j) * (-j));
174 double vis_od_cx[] = { -4.02919e-5, 0.0, 0.0 };
175 double vis_od_cy[] = { -0.0178649, -0.00727843, 5.65278e-5 };
187 double dx_guess, dy_guess;
188 double ux_guess, uy_guess;
214 ux_guess = dx / (1.0 + xOffset);
215 uy_guess = dy / (1.0 + yOffset);
226 dx_guess = ux_guess * (1.0 + xOffset);
227 dy_guess = uy_guess * (1.0 + yOffset);
231 if ((abs(dy_guess - dy) < delta) && (abs(dx_guess - dx) < delta)) {
237 if (numAttempts > 20) {
double p_focalPlaneX
Distorted focal plane x.
double p_visPixelPitch
Pixel Pitch for Themis Vis Camera (in meters per pixel).
Namespace for the standard library.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
double p_irBoreLine
The bore line for Themis IR instrument.
Distort/undistort focal plane coordinates.
double p_ir_b5_effectiveDetectorLine
Effective 1-based detector line number used for observing the Band 5, i.e., average of the 16 detecto...
double p_focalPlaneY
Distorted focal plane y.
double p_irPixelPitch
Pixel Pitch for Themis Ir Camera (in meters per pixel).
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Namespace for ISIS/Bullet specific routines.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Sets the focal plane value for the distortion map.
virtual bool SetFocalPlane(const double dx, const double dy)
Sets the focal plane value for the distortion map.