63 const T&
l1 = camera[7];
64 const T&
l2 = camera[8];
65 T r2 = xp * xp + yp * yp;
66 T distortion =
T(1.0) + r2 * (l1 + l2 *
r2);
69 const T& focal = camera[6];
70 predicted[0] = focal * distortion * xp;
71 predicted[1] = focal * distortion * yp;
bool operator()(const T *const camera, const T *const point, T *predicted) const
void AngleAxisRotatePoint(const T angle_axis[3], const T pt[3], T result[3])
Eigen::Triplet< double > T
static const CalibratedCamera camera(kDefaultPose)