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
15namespace 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
double p_k2
Second coefficient of radial distortion.
double p_xp
Principal point x-coordinate.
~ApolloMetricDistortionMap()
Destroys ApolloMetricDistortionMap object.
bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
double p_t0
Angle between positive x-axis of image and vector to imaged point.
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.
double p_j2
Second coefficient of decentering distortion.
double p_j1
First coefficient of decentering distortion.
double p_k1
First coefficient of radial distortion.
double p_k3
Third coefficient of radial distortion.
double p_yp
Principal point y-coordinate.
Distort/undistort focal plane coordinates.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16