Isis Developer Reference
RosettaOsirisCameraDistortionMap.h
Go to the documentation of this file.
1#ifndef RosettaOsirisCameraDistortionMap_h
2#define RosettaOsirisCameraDistortionMap_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12
13#include "CameraDistortionMap.h"
14
15#include "LinearAlgebra.h"
16
17namespace Isis {
55 public:
57
60
61 virtual bool SetFocalPlane(const double dx, const double dy);
62
63 virtual bool SetUndistortedFocalPlane(const double ux, const double uy);
64
67 void setBoresight(double sample, double line);
68 void setPixelPitch(double pitch);
69
70 private:
71 double focalXToLine(double x);
72 double focalYToSample(double y);
73 double lineToFocalX(double line);
74 double sampleToFocalY(double sample);
75
76 LinearAlgebra::Matrix m_toUnDistortedX;
78 LinearAlgebra::Matrix m_toUnDistortedY;
81 double m_boresightSample;
84 double m_boresightLine;
87 double m_pixelPitch;
90 };
91};
92#endif
Distort/undistort focal plane coordinates.
Definition CameraDistortionMap.h:41
Definition Camera.h:236
boost::numeric::ublas::matrix< double > Matrix
Definition for an Isis::LinearAlgebra::Matrix of doubles.
Definition LinearAlgebra.h:102
Distortion map for converting between undistorted focal plane and distorted focal plane coordinates f...
Definition RosettaOsirisCameraDistortionMap.h:54
void setPixelPitch(double pitch)
Set the pixel pitch for converting from focal plane coordinates to pixel coordinates.
Definition RosettaOsirisCameraDistortionMap.cpp:309
void setUnDistortedYMatrix(LinearAlgebra::Matrix yMat)
Set the matrix for converting from distorted to undistorted lines.
Definition RosettaOsirisCameraDistortionMap.cpp:285
virtual ~RosettaOsirisCameraDistortionMap()
Destroys the RosettaOsirisCameraDistortionMap object.
Definition RosettaOsirisCameraDistortionMap.h:59
void setUnDistortedXMatrix(LinearAlgebra::Matrix xMat)
Set the matrix for converting from distorted to undistorted samples.
Definition RosettaOsirisCameraDistortionMap.cpp:275
void setBoresight(double sample, double line)
Set the boresight location for converting from focal plane coordinates to pixel coordinates.
Definition RosettaOsirisCameraDistortionMap.cpp:297
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y given an undistorted focal plane x/y.
Definition RosettaOsirisCameraDistortionMap.cpp:136
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y given a distorted focal plane x/y.
Definition RosettaOsirisCameraDistortionMap.cpp:69
RosettaOsirisCameraDistortionMap(Camera *parent)
Create a camera distortion map.
Definition RosettaOsirisCameraDistortionMap.cpp:24
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16