Isis 3 Programmer Reference
TaylorCameraDistortionMap.h
Go to the documentation of this file.
1 #ifndef TaylorCameraDistortionMap_h
2 #define TaylorCameraDistortionMap_h
3 
23 #ifndef CameraDistortionMap_h
24 #include "CameraDistortionMap.h"
25 #endif
26 #include "Camera.h"
27 
28 namespace Isis {
52  public:
53  TaylorCameraDistortionMap(Camera *parent, double zDirection = 1.0);
54 
55  void SetDistortion(const int naifIkCode);
56 
59 
60  bool SetFocalPlane(const double dx, const double dy);
61 
62  bool SetUndistortedFocalPlane(const double ux, const double uy);
63 
64  protected:
65  std::vector<double> p_odtx;
66  std::vector<double> p_odty;
67 
68  void DistortionFunction(double ux, double uy, double *dx, double *dy);
69  void DistortionFunctionJacobian(double x, double y, double *Jxx, double *Jxy, double *Jyx, double *Jyy);
70  };
71 };
76 #endif /*TaylorCameraDistortionMap_h*/
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Distort/undistort focal plane coordinates.
std::vector< double > p_odty
distortion y coefficients
TaylorCameraDistortionMap(Camera *parent, double zDirection=1.0)
Taylor series camera distortion map constructor.
bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
void DistortionFunctionJacobian(double x, double y, double *Jxx, double *Jxy, double *Jyx, double *Jyy)
Jacobian of the distortion function.
std::vector< double > p_odtx
distortion x coefficients
Distort/undistort focal plane coordinates.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void SetDistortion(const int naifIkCode)
Load distortion coefficients.
void DistortionFunction(double ux, double uy, double *dx, double *dy)
Compute distorted focal plane dx,dy given an undistorted focal plane ux,uy.