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

  PUBLIC
Moments01d2C::Moments01d2C(const BoundaryC &)
Moments01d2C::M00(void) const
Moments01d2C::M10(void) const
Moments01d2C::M01(void) const
Moments01d2C::Area(void) const
Moments01d2C::CentroidX(void) const
Moments01d2C::CentroidY(void) const
Moments01d2C::operator>>(istream &,Moments01d2C &)
Moments01d2C
 
The class Moments01d2C is the representation of the first 3 moments (00, 01, 10) of a 2-dimensional object.
 
include "amma/Mom01d2.hh"
User Level:Default
Library:iaps
Example:exImgSeq.cc
Section:Image.Image Processing.Region Model
In Scope:std

Typedefs:

typedef LongIntT AreaT;
Area of a 2D object.

Variables:
RealT m00;
the momemt 00 (xy)

RealT m01;
the moment 01 (xy)

RealT m10;
the moment 10 (xy)

Methods:
Moments01d2C(const BoundaryC & boundary)
get the center and the area of the region which is determined by the 'boundary'. Access to the object model --------------------------

RealT M00() const
Returns the moment m00.

RealT M10() const
Returns the moment m10.

RealT M01() const
Returns the moment m01. Derived characteristics of the object -------------------------------------

AreaT Area() const
Returns the moment m00, e.g. the area of the 2 dimensional object.

RealT CentroidX() const
Returns the x co-ordinate of the centroid. The M00 moment must be different 0.

RealT CentroidY() const
Returns the y co-ordinate of the centroid. The M00 moment must be different 0.

istream & operator>>(istream & is,Moments01d2C & mom)


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001