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 () |
| virtual vgl_homg_point_2d< T > | distort (const vgl_homg_point_2d< T > &point) const =0 |
| Distort a projected point on the image plane. | |
| virtual vgl_homg_point_2d< T > | undistort (const vgl_homg_point_2d< T > &point, const vgl_homg_point_2d< T > *init=0) const |
| Return the original point that was distorted to this location (inverse of distort). | |
| virtual void | set_translation (const vgl_vector_2d< T > &offset, bool after=true)=0 |
| Set a translation to apply before of after distortion. | |
forward declare vgl_homg_point_2d<T> and vgl_vector_2d<T>.
A base class for lens distortions.
Definition at line 20 of file vpgl_lens_distortion.h.
| virtual vpgl_lens_distortion< T >::~vpgl_lens_distortion | ( | ) | [inline, virtual] |
Definition at line 24 of file vpgl_lens_distortion.h.
| virtual vgl_homg_point_2d<T> vpgl_lens_distortion< T >::distort | ( | const vgl_homg_point_2d< T > & | point | ) | const [pure virtual] |
Distort a projected point on the image plane.
Implemented in vpgl_radial_distortion< T >.
| virtual void vpgl_lens_distortion< T >::set_translation | ( | const vgl_vector_2d< T > & | offset, |
| bool | after = true |
||
| ) | [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 >.
| vgl_homg_point_2d< T > vpgl_lens_distortion< T >::undistort | ( | const vgl_homg_point_2d< T > & | point, |
| const vgl_homg_point_2d< T > * | init = 0 |
||
| ) | const [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 20 of file vpgl_lens_distortion.txx.
1.7.5.1