Public Member Functions | Private Attributes
CBlobGetMoment Class Reference

#include <BlobOperators.h>

Inheritance diagram for CBlobGetMoment:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CBlobGetMoment ()
 CBlobGetMoment (int p, int q)
const char * GetNom ()
 Get operator name.
double operator() (CBlob &blob)

Private Attributes

int m_p
 moment que volem calcular
int m_q

Detailed Description

Classe per calcular el moment PQ del blob Class to calculate the P,Q moment of a blob

Definition at line 253 of file BlobOperators.h.


Constructor & Destructor Documentation

Constructor estāndard Standard constructor (gets the 00 moment)

Definition at line 258 of file BlobOperators.h.

CBlobGetMoment::CBlobGetMoment ( int  p,
int  q 
) [inline]

Constructor: indiquem el moment p,q a calcular Constructor: gets the PQ moment

Definition at line 264 of file BlobOperators.h.


Member Function Documentation

const char* CBlobGetMoment::GetNom ( ) [inline, virtual]

Get operator name.

Implements COperadorBlob.

Definition at line 270 of file BlobOperators.h.

double CBlobGetMoment::operator() ( CBlob blob) [virtual]
  • FUNCTION: Moment
  • FUNCTIONALITY: Calculates the pq moment of the blob
  • PARAMETERS:
  • RESULT:
    • returns the pq moment or 0 if the moment it is not implemented
  • RESTRICTIONS:
    • Currently, implemented moments up to 3
  • AUTHOR: Ricard Borrās
  • CREATION DATE: 20-07-2004.
  • MODIFICATION: Date. Author. Description.

Implements COperadorBlob.

Definition at line 22 of file BlobOperators.cpp.


Member Data Documentation

int CBlobGetMoment::m_p [private]

moment que volem calcular

Definition at line 277 of file BlobOperators.h.

int CBlobGetMoment::m_q [private]

Definition at line 277 of file BlobOperators.h.


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


hrl_cvblobslib
Author(s): kelsey
autogenerated on Wed Nov 27 2013 11:32:58