25 double r = std::sqrt(x2 + y2);
42 output.
x =
x + DXr + DXd;
43 output.
y =
y + DYr + DYd;
49 double k0 = -.2165e-3;
51 double k2 = -.1652e-11;
52 double k3 = .2860e-19;
53 double k4 = .5690e-26;
54 double p1 = -.1483e-6;
56 double p3 = -.1464e-18;
57 double p4 = .1233e-38;
64 std::cout <<
"Input: " <<
ossimDpt(62.142, -62.336) << std::endl;
65 std::cout <<
"Output should be close to x = 62.136 and y = -62.332 <====> " << output << std::endl;
67 std::cout <<
"Now test the inverse!" << std::endl;
70 std::cout <<
"Inverse should be close to " <<
ossimDpt(62.142, -62.336) <<
" <=====> " << output << std::endl;
double _decenteringDistortionCoefficients[4]
The coeeficients are arranged index 0..N-1 where 0 refers to P1 ...
double _symmetricRadialDistortionCoefficients[5]
The coeeficients are arranged index 0..N-1 where 0 refers to K'0 ...
virtual void undistort(const ossimDpt &input, ossimDpt &output) const
Proecedure for compensation of aerial camera lens distortion as computed by the Simultaneous Multif...
virtual void distort(const ossimDpt &input, ossimDpt &output) const