USGS

Isis 3.0 Object Programmers' Reference

Home

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*/