84 double r = (x * x) + (y * y);
131 bool converged =
false;
136 double r = (x * x) + (y * y);
142 double rPrevious = r;
144 while (!converged && qAbs(r - rPrevious) > tolMilliMeters) {
154 if (iteration > 50) {
double p_focalPlaneX
Distorted focal plane x.
virtual bool SetUndistortedFocalPlane(double ux, double uy)
Compute distorted focal plane x/y.
virtual ~Hyb2OncDistortionMap()
Destructor.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Camera * p_camera
The camera to distort/undistort.
virtual bool SetFocalPlane(double dx, double dy)
Compute undistorted focal plane x/y.
Hyb2OncDistortionMap(Camera *parent, double zDirection=1.0)
Hayabusa 2 ONC Camera distortion map constructor.
Distort/undistort focal plane coordinates.
double PixelPitch() const
Returns the pixel pitch.
const double E
Sets some basic constants for use in ISIS programming.
double p_focalPlaneY
Distorted focal plane y.
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Namespace for ISIS/Bullet specific routines.
std::vector< double > p_odk
Vector of distortion coefficients.