Isis 3 Programmer 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 
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...
RosettaOsirisCameraDistortionMap(Camera *parent)
Create a camera distortion map.
void setUnDistortedXMatrix(LinearAlgebra::Matrix xMat)
Set the matrix for converting from distorted to undistorted samples.
virtual ~RosettaOsirisCameraDistortionMap()
Destroys the RosettaOsirisCameraDistortionMap object.
boost::numeric::ublas::matrix< double > Matrix
Definition for an Isis::LinearAlgebra::Matrix of doubles.
void setPixelPitch(double pitch)
Set the pixel pitch for converting from focal plane coordinates to pixel coordinates.
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y given a distorted focal plane x/y.
void setBoresight(double sample, double line)
Set the boresight location for converting from focal plane coordinates to pixel coordinates.
LinearAlgebra::Matrix m_toUnDistortedX
Matrix for computing undistorted X coordinates.
double lineToFocalX(double line)
Convert pixel space line coordinate to a focal plane x coordinate.
double sampleToFocalY(double sample)
Convert pixel space sample coordinate to a focal plane y coordinate.
double focalXToLine(double x)
Convert a focal plane x coordinate to a pixel space line coordinate.
Distort/undistort focal plane coordinates.
double m_pixelPitch
Camera pixel pitch for converting focal plane coordinates to pixel coordinates.
void setUnDistortedYMatrix(LinearAlgebra::Matrix yMat)
Set the matrix for converting from distorted to undistorted lines.
double m_boresightSample
Camera boresight sample coordinate for converting focal plane coordinates to pixel coordinates...
LinearAlgebra::Matrix m_toUnDistortedY
Matrix for computing undistorted Y coordinates.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y given an undistorted focal plane x/y.
double focalYToSample(double y)
Convert a focal plane y coordinate to a pixel space sample coordinate.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double m_boresightLine
Camera boresight line coordinate for converting focal plane coordinates to pixel coordinates.