Isis 3 Programmer Reference
TaylorCameraDistortionMap.h
1 #ifndef TaylorCameraDistortionMap_h
2 #define TaylorCameraDistortionMap_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #ifndef CameraDistortionMap_h
13 #include "CameraDistortionMap.h"
14 #endif
15 #include "Camera.h"
16 
17 namespace Isis {
41  public:
42  TaylorCameraDistortionMap(Camera *parent, double zDirection = 1.0);
43 
44  void SetDistortion(const int naifIkCode);
45 
48 
49  bool SetFocalPlane(const double dx, const double dy);
50 
51  bool SetUndistortedFocalPlane(const double ux, const double uy);
52 
53  protected:
54  std::vector<double> p_odtx;
55  std::vector<double> p_odty;
56 
57  void DistortionFunction(double ux, double uy, double *dx, double *dy);
58  void DistortionFunctionJacobian(double x, double y, double *Jxx, double *Jxy, double *Jyx, double *Jyy);
59  };
60 };
65 #endif /*TaylorCameraDistortionMap_h*/
Isis::TaylorCameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: TaylorCameraDistortionMap.h:40
Isis::TaylorCameraDistortionMap::SetDistortion
void SetDistortion(const int naifIkCode)
Load distortion coefficients.
Definition: TaylorCameraDistortionMap.cpp:63
Isis::TaylorCameraDistortionMap::SetFocalPlane
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition: TaylorCameraDistortionMap.cpp:92
Isis::TaylorCameraDistortionMap::DistortionFunctionJacobian
void DistortionFunctionJacobian(double x, double y, double *Jxx, double *Jxy, double *Jyx, double *Jyy)
Jacobian of the distortion function.
Definition: TaylorCameraDistortionMap.cpp:239
Isis::TaylorCameraDistortionMap::DistortionFunction
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:203
Isis::TaylorCameraDistortionMap::SetUndistortedFocalPlane
bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
Definition: TaylorCameraDistortionMap.cpp:177
Isis::Camera
Definition: Camera.h:236
Isis::TaylorCameraDistortionMap::p_odtx
std::vector< double > p_odtx
distortion x coefficients
Definition: TaylorCameraDistortionMap.h:54
Isis::TaylorCameraDistortionMap::~TaylorCameraDistortionMap
~TaylorCameraDistortionMap()
Destructor.
Definition: TaylorCameraDistortionMap.h:47
Isis::TaylorCameraDistortionMap::TaylorCameraDistortionMap
TaylorCameraDistortionMap(Camera *parent, double zDirection=1.0)
Taylor series camera distortion map constructor.
Definition: TaylorCameraDistortionMap.cpp:29
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
Isis::TaylorCameraDistortionMap::p_odty
std::vector< double > p_odty
distortion y coefficients
Definition: TaylorCameraDistortionMap.h:55
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16