|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef RosettaOsirisCameraDistortionMap_h
2 #define RosettaOsirisCameraDistortionMap_h
71 double focalXToLine(
double x);
72 double focalYToSample(
double y);
73 double lineToFocalX(
double line);
74 double sampleToFocalY(
double sample);
81 double m_boresightSample;
84 double m_boresightLine;
void setUnDistortedXMatrix(LinearAlgebra::Matrix xMat)
Set the matrix for converting from distorted to undistorted samples.
Definition: RosettaOsirisCameraDistortionMap.cpp:275
RosettaOsirisCameraDistortionMap(Camera *parent)
Create a camera distortion map.
Definition: RosettaOsirisCameraDistortionMap.cpp:24
static Matrix multiply(const Matrix &matrix1, const Matrix &matrix2)
Returns the product of two matrices.
Definition: LinearAlgebra.cpp:549
double p_focalPlaneX
Distorted focal plane x.
Definition: CameraDistortionMap.h:65
void setBoresight(double sample, double line)
Set the boresight location for converting from focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.cpp:297
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Definition: CameraDistortionMap.h:68
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Definition: CameraDistortionMap.h:67
virtual ~RosettaOsirisCameraDistortionMap()
Destroys the RosettaOsirisCameraDistortionMap object.
Definition: RosettaOsirisCameraDistortionMap.h:59
static Matrix zeroMatrix(int rows, int columns)
Returns a matrix with given dimensions that is filled with zeroes.
Definition: LinearAlgebra.cpp:408
static double magnitude(const Vector &vector)
Computes the magnitude (i.e., the length) of the given vector using the Euclidean norm (L2 norm).
Definition: LinearAlgebra.cpp:504
void setPixelPitch(double pitch)
Set the pixel pitch for converting from focal plane coordinates to pixel coordinates.
Definition: RosettaOsirisCameraDistortionMap.cpp:309
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
boost::numeric::ublas::matrix< double > Matrix
Definition for an Isis::LinearAlgebra::Matrix of doubles.
Definition: LinearAlgebra.h:100
static double dotProduct(const Vector &vector1, const Vector &vector2)
Computes the dot product of the given vectors.
Definition: LinearAlgebra.cpp:781
boost::numeric::ublas::vector< double > Vector
Definition for an Isis::LinearAlgebra::Vector of doubles.
Definition: LinearAlgebra.h:120
static Vector zeroVector(int size)
Returns a vector of given length that is filled with zeroes.
Definition: LinearAlgebra.cpp:421
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
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
Namespace for the standard library.
void setUnDistortedYMatrix(LinearAlgebra::Matrix yMat)
Set the matrix for converting from distorted to undistorted lines.
Definition: RosettaOsirisCameraDistortionMap.cpp:285
double p_focalPlaneY
Distorted focal plane y.
Definition: CameraDistortionMap.h:66
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Distortion map for converting between undistorted focal plane and distorted focal plane coordinates f...
Definition: RosettaOsirisCameraDistortionMap.h:54