Isis Developer Reference
ApolloMetricDistortionMap.h
Go to the documentation of this file.
1 #ifndef ApolloMetricDistortionMap_h
2 #define ApolloMetricDistortionMap_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "CameraDistortionMap.h"
13 #include "Camera.h"
14 
15 namespace Isis {
29  public:
48  ApolloMetricDistortionMap(Camera *parent, double xp, double yp,
49  double k1, double k2, double k3, double j1,
50  double j2, double t0);
51 
52 
55 
56 
69  bool SetFocalPlane(const double dx, const double dy);
70 
71 
84  bool SetUndistortedFocalPlane(const double ux, const double uy);
85 
86  private:
87  // parameters below are from camera calibration report
88  double p_xp;
89  double p_yp;
90  double p_k1;
91  double p_k2;
92  double p_k3;
93  double p_j1;
94  double p_j2;
95  double p_t0;
98  };
99 };
100 #endif
Isis::CameraDistortionMap::p_focalPlaneX
double p_focalPlaneX
Distorted focal plane x.
Definition: CameraDistortionMap.h:65
Isis::CameraDistortionMap::p_undistortedFocalPlaneY
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Definition: CameraDistortionMap.h:68
Isis::CameraDistortionMap::p_undistortedFocalPlaneX
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Definition: CameraDistortionMap.h:67
Isis::Camera
Definition: Camera.h:236
Isis::ApolloMetricDistortionMap::ApolloMetricDistortionMap
ApolloMetricDistortionMap(Camera *parent, double xp, double yp, double k1, double k2, double k3, double j1, double j2, double t0)
Constructs a Distortion Map object for the Apollo Metric Camera.
Definition: ApolloMetricDistortionMap.cpp:32
Isis::ApolloMetricDistortionMap::SetFocalPlane
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition: ApolloMetricDistortionMap.cpp:60
CameraDistortionMap.h
CameraFocalPlaneMap.h
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
Camera.h
Isis::ApolloMetricDistortionMap::~ApolloMetricDistortionMap
~ApolloMetricDistortionMap()
Destroys ApolloMetricDistortionMap object.
Definition: ApolloMetricDistortionMap.h:54
std
Namespace for the standard library.
ApolloMetricDistortionMap.h
Isis::ApolloMetricDistortionMap
Apollo Metric Distortion Map.
Definition: ApolloMetricDistortionMap.h:28
Isis::ApolloMetricDistortionMap::SetUndistortedFocalPlane
bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
Definition: ApolloMetricDistortionMap.cpp:98
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