22 double r2 = du*du+dv*dv;
23 un = u + K1_*du*r2 + K2_*du*r2*r2 + P1_*(2*du*du+r2) + 2*P2_*du*dv;
24 vn = v + K1_*dv*r2 + K2_*dv*r2*r2 + P2_*(2*dv*dv+r2) + 2*P1_*du*dv;
37 o << l.u0_ <<
" " << l.v0_ << std::endl;
38 o << l.K1_ <<
" " << l.K2_ << std::endl;
39 o << l.P1_ <<
" " << l.P2_ << std::endl;
std::istream & operator>>(std::istream &i, a_unwarp &l)
std::ostream & operator<<(std::ostream &o, const a_unwarp &l)
void unwarp(double u, double v, double &un, double &vn)