2 #ifndef vpgl_lens_distortion_h_ 3 #define vpgl_lens_distortion_h_ 19 #include "vcl_compiler_detection.h" 45 #endif // vpgl_lens_distortion_h_
virtual vgl_homg_point_2d< T > undistort(const vgl_homg_point_2d< T > &point, const vgl_homg_point_2d< T > *init=nullptr) const
Return the original point that was distorted to this location (inverse of distort).
virtual vgl_homg_point_2d< T > distort(const vgl_homg_point_2d< T > &point) const =0
Distort a projected point on the image plane.
forward declare vgl_homg_point_2d<T> and vgl_vector_2d<T>.
virtual void set_translation(const vgl_vector_2d< T > &offset, bool after=true)=0
Set a translation to apply before of after distortion.
virtual ~vpgl_lens_distortion()=default