Isis 3 Programmer Reference
ApolloMetricDistortionMap.h
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::ApolloMetricDistortionMap::p_t0
double p_t0
Angle between positive x-axis of image and vector to imaged point.
Definition: ApolloMetricDistortionMap.h:95
Isis::Camera
Definition: Camera.h:236
Isis::ApolloMetricDistortionMap::p_k3
double p_k3
Third coefficient of radial distortion.
Definition: ApolloMetricDistortionMap.h:92
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::p_k2
double p_k2
Second coefficient of radial distortion.
Definition: ApolloMetricDistortionMap.h:91
Isis::ApolloMetricDistortionMap::SetFocalPlane
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition: ApolloMetricDistortionMap.cpp:60
Isis::ApolloMetricDistortionMap::p_xp
double p_xp
Principal point x-coordinate.
Definition: ApolloMetricDistortionMap.h:88
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
Isis::ApolloMetricDistortionMap::p_j2
double p_j2
Second coefficient of decentering distortion.
Definition: ApolloMetricDistortionMap.h:94
Isis::ApolloMetricDistortionMap::~ApolloMetricDistortionMap
~ApolloMetricDistortionMap()
Destroys ApolloMetricDistortionMap object.
Definition: ApolloMetricDistortionMap.h:54
Isis::ApolloMetricDistortionMap::p_k1
double p_k1
First coefficient of radial distortion.
Definition: ApolloMetricDistortionMap.h:90
Isis::ApolloMetricDistortionMap::p_yp
double p_yp
Principal point y-coordinate.
Definition: ApolloMetricDistortionMap.h:89
Isis::ApolloMetricDistortionMap::p_j1
double p_j1
First coefficient of decentering distortion.
Definition: ApolloMetricDistortionMap.h:93
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
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16