PGH Class Reference

Collaboration diagram for PGH:
Collaboration graph
[legend]

List of all members.

Classes

struct  Line
struct  ModelInfo

Public Member Functions

virtual ~PGH ()
 Destructor.
void addModel (const std::vector< Line > &lines, int id)
 Add a model to search for.
Image< float > getGeometricHistogram (const std::vector< Line > &lines)
 Create a geometric historgram.
int matchModel (const std::vector< Line > &lines)
 Find the best match model.
double cmpHist (const Image< float > &hist1, const Image< float > &hist2)
 Compage two histograms.

Detailed Description

Definition at line 51 of file PGH.H.


Constructor & Destructor Documentation

PGH::~PGH (  )  [virtual]

Destructor.

Definition at line 55 of file PGH.C.


Member Function Documentation

void PGH::addModel ( const std::vector< Line > &  lines,
int  id 
)

Add a model to search for.

Definition at line 60 of file PGH.C.

References getGeometricHistogram().

double PGH::cmpHist ( const Image< float > &  hist1,
const Image< float > &  hist2 
)

Compage two histograms.

Definition at line 91 of file PGH.C.

References sum().

Referenced by matchModel().

Image< float > PGH::getGeometricHistogram ( const std::vector< Line > &  lines  ) 

Create a geometric historgram.

Definition at line 96 of file PGH.C.

References Point2D< T >::i, and ZEROS.

Referenced by addModel(), and matchModel().

int PGH::matchModel ( const std::vector< Line > &  lines  ) 

Find the best match model.

Definition at line 74 of file PGH.C.

References cmpHist(), and getGeometricHistogram().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3