2 #ifndef vpgl_poly_radial_distortion_hxx_ 3 #define vpgl_poly_radial_distortion_hxx_ 14 template <
class T,
int n>
16 static inline T
val(
const T& radius,
const T* k)
24 static inline T
val(
const T& radius,
const T* k)
32 template <
class T,
int n>
43 template <
class T,
int n>
45 static inline T
val(
const T& radius,
const T* k,
unsigned int p)
54 static inline T
val(
const T& ,
const T* k,
unsigned int p)
61 template <
class T,
int n>
70 #undef vpgl_POLY_RADIAL_DISTORTION_INSTANTIATE 71 #define vpgl_POLY_RADIAL_DISTORTION_INSTANTIATE(T,n) \ 72 template class vpgl_poly_radial_distortion<T,n> 74 #endif // vpgl_poly_radial_distortion_hxx_ T distort_radius(T radius) const override
Distort a radial length.
static T val(const T &radius, const T *k)
A class for polynomial radial lens distortions.
static T val(const T &, const T *k, unsigned int p)
T distort_radius_deriv(T radius) const override
Compute the derivative of the distort_radius function.
static T val(const T &radius, const T *k)
static T val(const T &radius, const T *k, unsigned int p)