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
17namespace 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*/
Distort/undistort focal plane coordinates.
Definition CameraDistortionMap.h:41
Definition Camera.h:236
Distort/undistort focal plane coordinates.
Definition TaylorCameraDistortionMap.h:40
bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
Definition TaylorCameraDistortionMap.cpp:177
std::vector< double > p_odty
distortion y coefficients
Definition TaylorCameraDistortionMap.h:55
TaylorCameraDistortionMap(Camera *parent, double zDirection=1.0)
Taylor series camera distortion map constructor.
Definition TaylorCameraDistortionMap.cpp:29
void DistortionFunctionJacobian(double x, double y, double *Jxx, double *Jxy, double *Jyx, double *Jyy)
Jacobian of the distortion function.
Definition TaylorCameraDistortionMap.cpp:239
std::vector< double > p_odtx
distortion x coefficients
Definition TaylorCameraDistortionMap.h:54
void SetDistortion(const int naifIkCode)
Load distortion coefficients.
Definition TaylorCameraDistortionMap.cpp:63
~TaylorCameraDistortionMap()
Destructor.
Definition TaylorCameraDistortionMap.h:47
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition TaylorCameraDistortionMap.cpp:92
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
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16