Isis Developer Reference
TaylorCameraDistortionMap.h
Go to the documentation of this file.
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::CameraDistortionMap::p_focalPlaneX
double p_focalPlaneX
Distorted focal plane x.
Definition: CameraDistortionMap.h:65
Isis::TaylorCameraDistortionMap::SetDistortion
void SetDistortion(const int naifIkCode)
Load distortion coefficients.
Definition: TaylorCameraDistortionMap.cpp:63
Isis::CameraDistortionMap::p_undistortedFocalPlaneY
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Definition: CameraDistortionMap.h:68
Isis::TaylorCameraDistortionMap::SetFocalPlane
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition: TaylorCameraDistortionMap.cpp:92
Isis::CameraDistortionMap::p_undistortedFocalPlaneX
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Definition: CameraDistortionMap.h:67
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::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
IString.h
Isis::TaylorCameraDistortionMap::p_odtx
std::vector< double > p_odtx
distortion x coefficients
Definition: TaylorCameraDistortionMap.h:54
TaylorCameraDistortionMap.h
Isis::CameraDistortionMap::p_camera
Camera * p_camera
The camera to distort/undistort.
Definition: CameraDistortionMap.h:63
Isis::TaylorCameraDistortionMap::~TaylorCameraDistortionMap
~TaylorCameraDistortionMap()
Destructor.
Definition: TaylorCameraDistortionMap.h:47
CameraDistortionMap.h
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
Camera.h
std
Namespace for the standard library.
Isis::TaylorCameraDistortionMap::p_odty
std::vector< double > p_odty
distortion y coefficients
Definition: TaylorCameraDistortionMap.h:55
Isis::E
const double E
Sets some basic constants for use in ISIS programming.
Definition: Constants.h:39
Isis::Spice::getDouble
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1039
Isis::CameraDistortionMap::p_focalPlaneY
double p_focalPlaneY
Distorted focal plane y.
Definition: CameraDistortionMap.h:66
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16