|
last update 20 Sep 2009 |
|
#include <cvrMatrixTransform.h>


Public Member Functions | |
| helper3x3 (interpolator_type &interp, const parameters &par) | |
| virtual | ~helper3x3 () |
| virtual bool | analyzeMatrix () |
| virtual bool | apply (const matrix< value_type > &src, matrix< value_type > &dest, fpoint &offset) const |
| virtual bool | evalDims (const ipoint &orig, ipoint &res, fpoint &offset) const |
| virtual void | forwards (const fpoint &orig, fpoint &dest, const fpoint &offset) const |
| virtual void | backwards (const fpoint &dest, fpoint &orig, const fpoint &offset) const |
| cvr::matrixTransform< I >::matrixTransform::helper3x3::helper3x3 | ( | interpolator_type & | interp, | |
| const parameters & | par | |||
| ) |
The only available constructor.
| virtual cvr::matrixTransform< I >::matrixTransform::helper3x3::~helper3x3 | ( | ) | [virtual] |
Virtual destructor.
| virtual bool cvr::matrixTransform< I >::matrixTransform::helper3x3::analyzeMatrix | ( | ) | [virtual] |
Analyze the matrix in the parameters and compute its inverse.
If the matrix is not invertible, then return false.
Implements cvr::matrixTransform< I >::matrixTransform::helperBase.
| virtual bool cvr::matrixTransform< I >::matrixTransform::helper3x3::apply | ( | const matrix< value_type > & | src, | |
| matrix< value_type > & | dest, | |||
| fpoint & | offset | |||
| ) | const [virtual] |
Transform an image according to the matrix provided in the parameters.
Implements cvr::matrixTransform< I >::matrixTransform::helperBase.
| virtual void cvr::matrixTransform< I >::matrixTransform::helper3x3::backwards | ( | const fpoint & | dest, | |
| fpoint & | orig, | |||
| const fpoint & | offset | |||
| ) | const [virtual] |
Inverse transform the given point coordinates.
dest in the transformed system, it computes the coordinates of that point in the original coordinate system.
| dest | Position of a point in the transformed space. | |
| orig | Position of the point in the original space. | |
| offset | Position of the origin of the result with respect to the coordinate system of the original image. |
Implements cvr::matrixTransform< I >::matrixTransform::helperBase.
| virtual bool cvr::matrixTransform< I >::matrixTransform::helper3x3::evalDims | ( | const ipoint & | orig, | |
| ipoint & | res, | |||
| fpoint & | offset | |||
| ) | const [virtual] |
After the matrix has been analyzed, this method can be used to compute the dimensions of the resulting image and the offset.
Implements cvr::matrixTransform< I >::matrixTransform::helperBase.
| virtual void cvr::matrixTransform< I >::matrixTransform::helper3x3::forwards | ( | const fpoint & | orig, | |
| fpoint & | dest, | |||
| const fpoint & | offset | |||
| ) | const [virtual] |
Transform the given point coordinates.
Implements cvr::matrixTransform< I >::matrixTransform::helperBase.