45 QString odkkey =
"INS" +
toString(naifIkCode) +
"_OD_K";
47 p_odk.push_back(p_camera->
getDouble(odkkey, 0));
65 double dk1 = p_odk[0];
67 double den = 1 + dk1 * dy * dy;
71 p_undistortedFocalPlaneX = dx;
72 p_undistortedFocalPlaneY = dy / den;
89 p_undistortedFocalPlaneX = ux;
90 p_undistortedFocalPlaneY = uy;
96 double yprevious = 1000000.0;
97 double tolerance = 1.0e-10;
99 bool bConverged =
false;
101 double dk1 = p_odk[0];
109 p_focalPlaneX = p_undistortedFocalPlaneX;
110 p_focalPlaneY = 100.0;
117 for(
int i = 0; i < 50; i++) {
133 if(fabs(yt - yprevious) <= tolerance) {
142 p_focalPlaneX = p_undistortedFocalPlaneX;
143 p_focalPlaneY = ydistorted;