Isis 3 Programmer Reference
TgoCassisDistortionMap.h
1#ifndef TgoCassisDistortionMap_h
2#define TgoCassisDistortionMap_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12
13#include <vector>
14#include "CameraDistortionMap.h"
15
16namespace Isis {
46 public:
47 TgoCassisDistortionMap(Camera *parent, int naifIkCode);
48
50
51 virtual bool SetFocalPlane(const double dx, const double dy);
52
53 virtual bool SetUndistortedFocalPlane(const double ux, const double uy);
54
55 private:
56 double chiDotA(double x, double y, QList<double> A);
57
58 QList<double> m_A1_corr;
60 QList<double> m_A2_corr;
62 QList<double> m_A3_corr;
64 QList<double> m_A1_dist;
66 QList<double> m_A2_dist;
68 QList<double> m_A3_dist;
70 double m_pixelPitch;
72 double m_width;
74 double m_height;
76 };
77};
78#endif
Distort/undistort focal plane coordinates.
Distort/undistort focal plane coordinates.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane (x,y) given an undistorted focal plane (x,y).
QList< double > m_A1_dist
Coefficients for rational distortion model used to compute distorted x from ideal x.
QList< double > m_A3_dist
Coefficients for rational distortion model used to find scaling factor used when computing distorted ...
double m_width
The width of the ccd in pixels.
QList< double > m_A3_corr
Coefficients for rational distortion model used to find scaling factor used when computing ideal coor...
TgoCassisDistortionMap(Camera *parent, int naifIkCode)
Exomars TGO CaSSIS distortion map constructor.
virtual ~TgoCassisDistortionMap()
Exomars TGO CaSSIS distortion map destructor.
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane (x,y) coordinate given the distorted (x,y).
double chiDotA(double x, double y, QList< double > A)
Evaluate the value for the multi-variate polynomial, given the list of 6 coefficients.
QList< double > m_A2_corr
Coefficients for rational distortion model used to compute ideal y from distorted y.
QList< double > m_A1_corr
Coefficients for rational distortion model used to compute ideal x from distorted x.
double m_height
The height of the ccd in pixels.
QList< double > m_A2_dist
Coefficients for rational distortion model used to compute distorted y from ideal y.
double m_pixelPitch
The pixel pitch of the camera.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16