10#include "ThemisVisDistortionMap.h" 
   46  ThemisVisDistortionMap::~ThemisVisDistortionMap() {
 
  123    double vis_od_cx[] = { -4.02919e-5, 0.0, 0.0 }; 
 
  124    double vis_od_cy[] = { -0.0178649, -0.00727843, 5.65278e-5 };
 
  134    double deltaj = vis_od_cy[0] + ( vis_od_cy[1] * (-j)) + ( vis_od_cy[2] * (-j) * (-j));
 
 
  163    double vis_od_cx[] = { -4.02919e-5, 0.0, 0.0 };
 
  164    double vis_od_cy[] = { -0.0178649, -0.00727843, 5.65278e-5 };
 
  176    double dx_guess, dy_guess;
 
  177    double ux_guess, uy_guess;
 
  203      ux_guess = dx / (1.0 + xOffset);
 
  204      uy_guess = dy / (1.0 + yOffset);
 
  215      dx_guess = ux_guess * (1.0 + xOffset);
 
  216      dy_guess = uy_guess * (1.0 + yOffset);
 
  220      if ((abs(dy_guess - dy) < delta) && (abs(dx_guess - dx) < delta)) {
 
  226      if (numAttempts > 20) {
 
 
CameraDistortionMap(Camera *parent, double zDirection=1.0)
Camera distortion map constructor.
 
double p_focalPlaneX
Distorted focal plane x.
 
double p_undistortedFocalPlaneX
Undistorted focal plane x.
 
double p_undistortedFocalPlaneY
Undistorted focal plane y.
 
double p_focalPlaneY
Distorted focal plane y.
 
ThemisVisDistortionMap(Camera *parent)
Constructs a Distortion Map for the Themis Vis Camera.
 
double p_visPixelPitch
Pixel Pitch for Themis Vis Camera (in meters per pixel).
 
double p_irPixelPitch
Pixel Pitch for Themis Ir Camera (in meters per pixel).
 
double p_ir_b5_effectiveDetectorLine
Effective 1-based detector line number used for observing the Band 5, i.e., average of the 16 detecto...
 
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Sets the focal plane value for the distortion map.
 
double p_irBoreLine
The bore line for Themis IR instrument.
 
virtual bool SetFocalPlane(const double dx, const double dy)
Sets the focal plane value for the distortion map.
 
This is free and unencumbered software released into the public domain.
 
Namespace for the standard library.