Isis 3 Developer 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.
Definition: TaylorCameraDistortionMap.cpp:104
Distort/undistort focal plane coordinates.
Definition: TaylorCameraDistortionMap.h:51
std::vector< double > p_odty
distortion y coefficients
Definition: TaylorCameraDistortionMap.h:66
TaylorCameraDistortionMap(Camera *parent, double zDirection=1.0)
Taylor series camera distortion map constructor.
Definition: TaylorCameraDistortionMap.cpp:41
bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
Definition: TaylorCameraDistortionMap.cpp:189
void DistortionFunctionJacobian(double x, double y, double *Jxx, double *Jxy, double *Jyx, double *Jyy)
Jacobian of the distortion function.
Definition: TaylorCameraDistortionMap.cpp:251
Definition: Camera.h:249
std::vector< double > p_odtx
distortion x coefficients
Definition: TaylorCameraDistortionMap.h:65
~TaylorCameraDistortionMap()
Destructor.
Definition: TaylorCameraDistortionMap.h:58
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:57
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void SetDistortion(const int naifIkCode)
Load distortion coefficients.
Definition: TaylorCameraDistortionMap.cpp:75
void DistortionFunction(double ux, double uy, double *dx, double *dy)
Compute distorted focal plane dx,dy given an undistorted focal plane ux,uy.
Definition: TaylorCameraDistortionMap.cpp:215