Isis 3 Developer Reference
RosettaOsirisCameraDistortionMap.h
Go to the documentation of this file.
1 #ifndef RosettaOsirisCameraDistortionMap_h
2 #define RosettaOsirisCameraDistortionMap_h
3 
23 #include "CameraDistortionMap.h"
24 
25 #include "LinearAlgebra.h"
26 
27 namespace Isis {
65  public:
67 
70 
71  virtual bool SetFocalPlane(const double dx, const double dy);
72 
73  virtual bool SetUndistortedFocalPlane(const double ux, const double uy);
74 
77  void setBoresight(double sample, double line);
78  void setPixelPitch(double pitch);
79 
80  private:
81  double focalXToLine(double x);
82  double focalYToSample(double y);
83  double lineToFocalX(double line);
84  double sampleToFocalY(double sample);
85 
86  LinearAlgebra::Matrix m_toUnDistortedX;
88  LinearAlgebra::Matrix m_toUnDistortedY;
91  double m_boresightSample;
94  double m_boresightLine;
97  double m_pixelPitch;
100  };
101 };
102 #endif
103 
Distortion map for converting between undistorted focal plane and distorted focal plane coordinates f...
Definition: RosettaOsirisCameraDistortionMap.h:64
RosettaOsirisCameraDistortionMap(Camera *parent)
Create a camera distortion map.
Definition: RosettaOsirisCameraDistortionMap.cpp:38
void setUnDistortedXMatrix(LinearAlgebra::Matrix xMat)
Set the matrix for converting from distorted to undistorted samples.
Definition: RosettaOsirisCameraDistortionMap.cpp:289
virtual ~RosettaOsirisCameraDistortionMap()
Destroys the RosettaOsirisCameraDistortionMap object.
Definition: RosettaOsirisCameraDistortionMap.h:69
boost::numeric::ublas::matrix< double > Matrix
Definition for an Isis::LinearAlgebra::Matrix of doubles.
Definition: LinearAlgebra.h:115
void setPixelPitch(double pitch)
Set the pixel pitch for converting from focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.cpp:323
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:83
Definition: Camera.h:249
void setBoresight(double sample, double line)
Set the boresight location for converting from focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.cpp:311
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:57
void setUnDistortedYMatrix(LinearAlgebra::Matrix yMat)
Set the matrix for converting from distorted to undistorted lines.
Definition: RosettaOsirisCameraDistortionMap.cpp:299
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:150
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31