CVR-Lib last update 20 Sep 2009

cvr::matrixTransform< I >::matrixTransform::helper4x3 Class Reference

Helper for 4x3 matrix transformations. More...

#include <cvrMatrixTransform.h>

Inheritance diagram for cvr::matrixTransform< I >::matrixTransform::helper4x3:

Inheritance graph
[legend]
Collaboration diagram for cvr::matrixTransform< I >::matrixTransform::helper4x3:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

template<class I>
class cvr::matrixTransform< I >::helper4x3

Helper for 4x3 matrix transformations.

Constructor & Destructor Documentation

template<class I>
cvr::matrixTransform< I >::matrixTransform::helper4x3::helper4x3 ( interpolator_type &  interp,
const parameters par 
)

The only available constructor.

template<class I>
virtual cvr::matrixTransform< I >::matrixTransform::helper4x3::~helper4x3 (  )  [virtual]

Virtual destructor.


Member Function Documentation

template<class I>
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.

template<class I>
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.

template<class I>
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.


The documentation for this class was generated from the following file:

Generated on Sun Sep 20 22:08:49 2009 for CVR-Lib by Doxygen 1.5.8