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


Public Member Functions | |
| helper4x3 (interpolator_type &interp, const parameters &par) | |
| virtual | ~helper4x3 () |
| virtual bool | analyzeMatrix () |
| virtual bool | evalDims (const ipoint &orig, ipoint &res, fpoint &offset) const |
| bool | trans (const fmatrix &m, const ipoint &p, fpoint &res) const |
| cvr::matrixTransform< I >::matrixTransform::helper4x3::helper4x3 | ( | interpolator_type & | interp, | |
| const parameters & | par | |||
| ) |
The only available constructor.
| virtual cvr::matrixTransform< I >::matrixTransform::helper4x3::~helper4x3 | ( | ) | [virtual] |
Virtual destructor.
| virtual bool cvr::matrixTransform< I >::matrixTransform::helper4x3::analyzeMatrix | ( | ) | [virtual] |
Analyze the matrix in the parameters and compute its inverse.
If the matrix is not invertible, then return false.
Reimplemented from cvr::matrixTransform< I >::matrixTransform::helper4x4.
| virtual bool cvr::matrixTransform< I >::matrixTransform::helper4x3::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.
Reimplemented from cvr::matrixTransform< I >::matrixTransform::helper4x4.
| bool cvr::matrixTransform< I >::matrixTransform::helper4x3::trans | ( | const fmatrix & | m, | |
| const ipoint & | p, | |||
| fpoint & | res | |||
| ) | const |
Get the transformation of the given point (x,y) extending it to homogeneous coordinates (x,y,0,1), and normalizing the result.
Reimplemented from cvr::matrixTransform< I >::matrixTransform::helper4x4.