forward declare vgl_homg_point_2d<T> and vgl_vector_2d<T>. More...
#include <vpgl_lens_distortion.h>

Public Member Functions | |
| virtual | ~vpgl_lens_distortion ()=default |
| virtual vgl_homg_point_2d< T > | distort (const vgl_homg_point_2d< T > &point) const =0 |
| Distort a projected point on the image plane. More... | |
| 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). More... | |
| virtual void | set_translation (const vgl_vector_2d< T > &offset, bool after=true)=0 |
| Set a translation to apply before of after distortion. More... | |
forward declare vgl_homg_point_2d<T> and vgl_vector_2d<T>.
A base class for lens distortions.
Definition at line 23 of file vpgl_lens_distortion.h.
|
virtualdefault |
|
pure virtual |
Distort a projected point on the image plane.
Implemented in vpgl_radial_distortion< T >.
|
pure virtual |
Set a translation to apply before of after distortion.
This is needed when distorting an image to translate the resulting image such that all points have positive indices
Implemented in vpgl_radial_distortion< T >.
|
virtual |
Return the original point that was distorted to this location (inverse of distort).
| init | is an initial guess at the solution for the iterative solver if init is NULL then point is used as the initial guess |
Reimplemented in vpgl_radial_distortion< T >.
Definition at line 23 of file vpgl_lens_distortion.hxx.
1.8.15