Isis Developer Reference
NewHorizonsMvicTdiCameraDistortionMap.h
Go to the documentation of this file.
1#ifndef NewHorizonsMvicTdiCameraDistortionMap_h
2#define NewHorizonsMvicTdiCameraDistortionMap_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <vector>
13#include "CameraDistortionMap.h"
14
15using namespace std;
16
17namespace Isis {
18
35 public:
37 vector<double> xDistortionCoeffs,
38 vector<double> yDistortionCoeffs,
39 vector<double> residualColDistCoeffs,
40 vector<double> residualRowDistCoeffs);
41
43
44 virtual bool SetFocalPlane(const double dx, const double dy);
45
46 virtual bool SetUndistortedFocalPlane(const double ux, const double uy);
47
48// bool outputResidualDeltas(); // for debugging
49
50 private:
51 bool computeDistortionCorrections(const double xscaled, const double yscaled, double &deltax);
52 void computeResidualDistortionCorrections(const double dx, double &residualDeltax,
53 double &residualDeltay);
54
55 private:
56 std::vector<double> m_xDistortionCoeffs;
57 std::vector<double> m_yDistortionCoeffs;
59
60 vector<double> m_residualColDistCoeffs;
61 vector<double> m_residualRowDistCoeffs;
62
63 double m_focalPlaneHalf_x;
64 };
65};
66#endif
Distort/undistort focal plane coordinates.
Definition CameraDistortionMap.h:41
Definition Camera.h:236
Distort/undistort focal plane coordinates for New Horizons/MVIC.
Definition NewHorizonsMvicTdiCameraDistortionMap.h:34
NewHorizonsMvicTdiCameraDistortionMap(Camera *parent, vector< double > xDistortionCoeffs, vector< double > yDistortionCoeffs, vector< double > residualColDistCoeffs, vector< double > residualRowDistCoeffs)
Camera distortion map constructor.
Definition NewHorizonsMvicTdiCameraDistortionMap.cpp:47
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition NewHorizonsMvicTdiCameraDistortionMap.cpp:89
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
Definition NewHorizonsMvicTdiCameraDistortionMap.cpp:148
~NewHorizonsMvicTdiCameraDistortionMap()
Destructor.
Definition NewHorizonsMvicTdiCameraDistortionMap.cpp:68
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
Namespace for the standard library.