Isis 3 Programmer Reference
RosettaOsirisCameraDistortionMap.h
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 
17 namespace 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 
84  double m_boresightLine;
87  double m_pixelPitch;
90  };
91 };
92 #endif
Isis::RosettaOsirisCameraDistortionMap::focalYToSample
double focalYToSample(double y)
Convert a focal plane y coordinate to a pixel space sample coordinate.
Definition: RosettaOsirisCameraDistortionMap.cpp:333
Isis::RosettaOsirisCameraDistortionMap::setUnDistortedXMatrix
void setUnDistortedXMatrix(LinearAlgebra::Matrix xMat)
Set the matrix for converting from distorted to undistorted samples.
Definition: RosettaOsirisCameraDistortionMap.cpp:275
Isis::RosettaOsirisCameraDistortionMap::m_boresightLine
double m_boresightLine
Camera boresight line coordinate for converting focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.h:84
Isis::RosettaOsirisCameraDistortionMap::RosettaOsirisCameraDistortionMap
RosettaOsirisCameraDistortionMap(Camera *parent)
Create a camera distortion map.
Definition: RosettaOsirisCameraDistortionMap.cpp:24
Isis::RosettaOsirisCameraDistortionMap::setBoresight
void setBoresight(double sample, double line)
Set the boresight location for converting from focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.cpp:297
Isis::RosettaOsirisCameraDistortionMap::~RosettaOsirisCameraDistortionMap
virtual ~RosettaOsirisCameraDistortionMap()
Destroys the RosettaOsirisCameraDistortionMap object.
Definition: RosettaOsirisCameraDistortionMap.h:59
Isis::RosettaOsirisCameraDistortionMap::setPixelPitch
void setPixelPitch(double pitch)
Set the pixel pitch for converting from focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.cpp:309
Isis::RosettaOsirisCameraDistortionMap::SetFocalPlane
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
Isis::Camera
Definition: Camera.h:236
Isis::RosettaOsirisCameraDistortionMap::lineToFocalX
double lineToFocalX(double line)
Convert pixel space line coordinate to a focal plane x coordinate.
Definition: RosettaOsirisCameraDistortionMap.cpp:345
Isis::LinearAlgebra::Matrix
boost::numeric::ublas::matrix< double > Matrix
Definition for an Isis::LinearAlgebra::Matrix of doubles.
Definition: LinearAlgebra.h:100
Isis::RosettaOsirisCameraDistortionMap::m_toUnDistortedX
LinearAlgebra::Matrix m_toUnDistortedX
Matrix for computing undistorted X coordinates.
Definition: RosettaOsirisCameraDistortionMap.h:76
Isis::RosettaOsirisCameraDistortionMap::focalXToLine
double focalXToLine(double x)
Convert a focal plane x coordinate to a pixel space line coordinate.
Definition: RosettaOsirisCameraDistortionMap.cpp:321
Isis::RosettaOsirisCameraDistortionMap::sampleToFocalY
double sampleToFocalY(double sample)
Convert pixel space sample coordinate to a focal plane y coordinate.
Definition: RosettaOsirisCameraDistortionMap.cpp:357
Isis::RosettaOsirisCameraDistortionMap::m_toUnDistortedY
LinearAlgebra::Matrix m_toUnDistortedY
Matrix for computing undistorted Y coordinates.
Definition: RosettaOsirisCameraDistortionMap.h:78
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
Isis::RosettaOsirisCameraDistortionMap::SetUndistortedFocalPlane
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
Isis::RosettaOsirisCameraDistortionMap::m_boresightSample
double m_boresightSample
Camera boresight sample coordinate for converting focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.h:81
Isis::RosettaOsirisCameraDistortionMap::m_pixelPitch
double m_pixelPitch
Camera pixel pitch for converting focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.h:87
Isis::RosettaOsirisCameraDistortionMap::setUnDistortedYMatrix
void setUnDistortedYMatrix(LinearAlgebra::Matrix yMat)
Set the matrix for converting from distorted to undistorted lines.
Definition: RosettaOsirisCameraDistortionMap.cpp:285
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::RosettaOsirisCameraDistortionMap
Distortion map for converting between undistorted focal plane and distorted focal plane coordinates f...
Definition: RosettaOsirisCameraDistortionMap.h:54