Home | History | Annotate | Download | only in examples

Lines Matching defs:distortion

51 // focal length and 2 for radial distortion. The principal point is not modeled
70 // Compute the center of distortion. The sign change comes from
77 // Apply second and fourth order radial distortion.
81 T distortion = T(1.0) + r2 * (l1 + l2 * r2);
84 T predicted_x = focal * distortion * xp;
85 T predicted_y = focal * distortion * yp;
100 // translation, 1 for focal length and 2 for radial distortion. The
128 // Compute the center of distortion. The sign change comes from
134 // Apply second and fourth order radial distortion.
136 T distortion = T(1.0) + r2 * (l1 + l2 * r2);
139 T predicted_x = focal * distortion * xp;
140 T predicted_y = focal * distortion * yp;