User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
PProjection2dC::PProjection2dC(void)
PProjection2dC::PProjection2dC(RealT,RealT,RealT,RealT,RealT,RealT,RealT,RealT,RealT)
PProjection2dC::PProjection2dC(const PProjection2dC &)
PProjection2dC::PProjection2dC(const PPoint2dC &,const PPoint2dC &,const PPoint2dC &,const PPoint2dC &,const PPoint2dC &,const PPoint2dC &,const PPoint2dC &,const PPoint2dC &)
PProjection2dC::PProjection2dC(istream &)
PProjection2dC::operator=(const PProjection2dC &)
PProjection2dC::operator()(IndexT,IndexT) const
PProjection2dC::operator()(IndexT,IndexT)
PProjection2dC::PProjection2d(void) const
PProjection2dC::PProjection2d(void)
PProjection2dC::Plane(IndexT) const
PProjection2dC::Set(const PProjection2dC &)
PProjection2dC::SetLine(IndexT,const PLine2dC &)
PProjection2dC::I(void) const
PProjection2dC::operator*(const PPoint2dC &) const
PProjection2dC::operator()(const PPoint2dC &) const
PProjection2dC::operator*(const PProjection2dC &) const
PProjection2dC
 
Projective transformation in 2D space
 
include "amma/PProj2d.hh"
User Level:Default
Library:Mpg2
Example:exMat2d.cc
Section:Geometry.Projective.2-D
In Scope:std

Comments:
The class PProjection2dC represents a projective transformation of objects in projective plane. The projection is represented by a 3 x 3 matrix. The indexes start from 0.

Parent Classes: Derived Classes: Methods:
PProjection2dC()
Creates the zero projection. All points are projected into not-valid projective object.

PProjection2dC(RealT b00,RealT b01,RealT b02,RealT b10,RealT b11,RealT b12,RealT b20,RealT b21,RealT b22)
Creates a new projection and assign the values b[ij].

PProjection2dC(const PProjection2dC & p)
Copy constructor.

PProjection2dC(const PPoint2dC & ix0,const PPoint2dC & ix1,const PPoint2dC & iy0,const PPoint2dC & iy1,const PPoint2dC & o0,const PPoint2dC & o1,const PPoint2dC & u0,const PPoint2dC & u1)
Creates a projection transformation taking plane p0 to the plane p1. The plane p0, resp. p1 contains the ideal points ix0, iy0, resp. ix1, iy1, the origin point o0, resp. o1, and the unit point u0, resp. u1. No three points x0, resp. x1, can be collinear.

PProjection2dC(istream & inS)
Creates a projection from the input stream.

const PProjection2dC & operator=(const PProjection2dC & p)
Assigment. Access to the elements of the projection. --------------------------------------------

RealT operator()(IndexT i,IndexT j) const
Returns the value of the element with indexes (i,j).

RealT & operator()(IndexT i,IndexT j)
Access to the value of the element with indexes (i,j).

const PProjection2dC & PProjection2d() const
Access to the constant object.

PProjection2dC & PProjection2d()
Access to the object.

PLine2dC Plane(IndexT i) const
Returns the row 'i'. Setting of matrix elements. ---------------------------

void Set(const PProjection2dC & p)
Sets all elements of the projection according to the projection 'p'.

PProjection2dC & SetLine(IndexT i,const PLine2dC & p)
Sets the elements of the row 'i' according to the elements of the line 'p'. Projective operations. ----------------------

PProjection2dC I() const
Returns the inverse projective transformation.

PPoint2dC operator*(const PPoint2dC & p) const
Projects the point 'p' into the image point. The function is equivalent to the operator()(const PPoint2dC & p).

PPoint2dC operator()(const PPoint2dC & p) const
Projects the point 'p' into the image point. The function is equivalent to the operator*(const PPoint2dC & p).

PProjection2dC operator*(const PProjection2dC & p) const
Returns the composition of two projections. The result projects projective objects in the same way as they would be projected by projection 'p' at first and then by this projection.


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001