Isis Developer Reference
NewHorizonsMvicFrameCameraDistortionMap.h
Go to the documentation of this file.
1#ifndef NewHorizonsMvicFrameCameraDistortionMap_h
2#define NewHorizonsMvicFrameCameraDistortionMap_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:
36 NewHorizonsMvicFrameCameraDistortionMap(Camera *parent, vector<double> xDistortionCoeffs,
37 vector<double> yDistortionCoeffs);
38
40
41 virtual bool SetFocalPlane(const double dx, const double dy);
42
43 virtual bool SetUndistortedFocalPlane(const double ux, const double uy);
44
45 bool outputDeltas(); // for debugging
46
47 private:
48 bool computeDistortionCorrections(const double xscaled, const double yscaled, double &deltax,
49 double &deltay);
50
51 private:
52 std::vector<double> m_xDistortionCoeffs;
53 std::vector<double> m_yDistortionCoeffs;
55
56 double m_focalPlaneHalf_x;
57 double m_focalPlaneHalf_y;
58 };
59};
60#endif
Distort/undistort focal plane coordinates.
Definition CameraDistortionMap.h:41
Definition Camera.h:236
Distort/undistort focal plane coordinates for New Horizons/MVIC frame sensor.
Definition NewHorizonsMvicFrameCameraDistortionMap.h:34
NewHorizonsMvicFrameCameraDistortionMap(Camera *parent, vector< double > xDistortionCoeffs, vector< double > yDistortionCoeffs)
Camera distortion map constructor.
Definition NewHorizonsMvicFrameCameraDistortionMap.cpp:43
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
Definition NewHorizonsMvicFrameCameraDistortionMap.cpp:114
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
Definition NewHorizonsMvicFrameCameraDistortionMap.cpp:208
~NewHorizonsMvicFrameCameraDistortionMap()
Destructor.
Definition NewHorizonsMvicFrameCameraDistortionMap.cpp:60
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
Namespace for the standard library.