Isis Developer Reference
ReseauDistortionMap.h
Go to the documentation of this file.
1 #ifndef ReseauDistortionMap_h
2 #define ReseauDistortionMap_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include <vector>
10 #include "CameraDistortionMap.h"
11 
12 namespace Isis {
28  public:
29  ReseauDistortionMap(Camera *parent, Pvl &labels, const QString &fname);
30 
31  virtual bool SetFocalPlane(const double dx, const double dy);
32 
33  virtual bool SetUndistortedFocalPlane(const double ux, const double uy);
34 
35  private:
36  std::vector<double> p_rlines, p_rsamps;
37  std::vector<double> p_mlines, p_msamps;
38  double p_distortedLines, p_distortedSamps;
40  double p_undistortedLines, p_undistortedSamps;
42  int p_numRes;
43  double p_pixelPitch;
45  };
46 };
47 #endif
48 
Isis::Statistics
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Isis::Statistics::AddData
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
Definition: Statistics.cpp:141
Isis::LeastSquares::Solve
int Solve(Isis::LeastSquares::SolveMethod method=SVD)
After all the data has been registered through AddKnown, invoke this method to solve the system of eq...
Definition: LeastSquares.cpp:205
Isis::CameraDistortionMap::p_focalPlaneX
double p_focalPlaneX
Distorted focal plane x.
Definition: CameraDistortionMap.h:65
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::ReseauDistortionMap::SetUndistortedFocalPlane
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Finds the distorted x/y position of the given undistorted point.
Definition: ReseauDistortionMap.cpp:192
ReseauDistortionMap.h
Isis::BasisFunction
Generic linear equation class.
Definition: BasisFunction.h:48
Isis::CameraDistortionMap::p_undistortedFocalPlaneY
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Definition: CameraDistortionMap.h:68
Isis::CameraDistortionMap::p_undistortedFocalPlaneX
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Definition: CameraDistortionMap.h:67
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::LeastSquares::Evaluate
double Evaluate(const std::vector< double > &input)
Invokes the BasisFunction Evaluate method.
Definition: LeastSquares.cpp:553
Isis::Camera
Definition: Camera.h:236
Isis::CameraFocalPlaneMap::DetectorSampleOrigin
double DetectorSampleOrigin() const
Definition: CameraFocalPlaneMap.cpp:310
Isis::ReseauDistortionMap
Distort/undistort focal plane coordinates.
Definition: ReseauDistortionMap.h:27
Isis::PvlObject::Traverse
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Isis::ReseauDistortionMap::SetFocalPlane
virtual bool SetFocalPlane(const double dx, const double dy)
Finds the undistorted x/y position of the given distorted point.
Definition: ReseauDistortionMap.cpp:80
Isis::ReseauDistortionMap::ReseauDistortionMap
ReseauDistortionMap(Camera *parent, Pvl &labels, const QString &fname)
Creates a ReseauDistortionMap object.
Definition: ReseauDistortionMap.cpp:28
Isis::CameraFocalPlaneMap::DetectorLineOrigin
double DetectorLineOrigin() const
Definition: CameraFocalPlaneMap.cpp:302
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::LeastSquares
Generic least square fitting class.
Definition: LeastSquares.h:99
Pvl.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::Statistics::StandardDeviation
double StandardDeviation() const
Computes and returns the standard deviation.
Definition: Statistics.cpp:312
Isis::CameraDistortionMap::p_camera
Camera * p_camera
The camera to distort/undistort.
Definition: CameraDistortionMap.h:63
CameraDistortionMap.h
LeastSquares.h
CameraFocalPlaneMap.h
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
Isis::IException
Isis exception class.
Definition: IException.h:91
BasisFunction.h
Statistics.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Isis::Camera::FocalPlaneMap
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
Definition: Camera.cpp:2836
std
Namespace for the standard library.
Isis::Camera::PixelPitch
double PixelPitch() const
Returns the pixel pitch.
Definition: Camera.cpp:2742
Isis::PvlKeyword::size
int size() const
Returns the number of values stored in this keyword.
Definition: PvlKeyword.h:125
Isis::PvlContainer::findKeyword
PvlKeyword & findKeyword(const QString &name)
Find a keyword with a specified name.
Definition: PvlContainer.cpp:62
Isis::LeastSquares::AddKnown
void AddKnown(const std::vector< double > &input, double expected, double weight=1.0)
Invoke this method for each set of knowns.
Definition: LeastSquares.cpp:96
Isis::CameraDistortionMap::p_focalPlaneY
double p_focalPlaneY
Distorted focal plane y.
Definition: CameraDistortionMap.h:66
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126