Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

CMatch Class Reference

#include <TreatCMatching.hpp>

List of all members.

Public Member Functions

 CMatch ()
 ~CMatch ()
deque< OGraphic * > match (deque< OHL * > &ha, double)

Protected Member Functions

bool isLineLoop (OHL *)
void closeLoop (OHL *)
void match ()
void findMatching ()
bool toMatch (OLine &, OLine &)
void matching (int, int)
double gapStroke (OLine &, OLine &)
void dualMatchingFilter ()
void strokeFilter ()
void fuzzySort ()
void performMatching ()
void printTabMatching ()
void printMatching (int)

Protected Attributes

double th
deque< OLine * > la
deque< Matchingms
deque< OGraphic * > pa


Detailed Description

Contour Matching


Constructor & Destructor Documentation

CMatch::CMatch  ) 
 

Constructor

CMatch::~CMatch  ) 
 

Destructor


Member Function Documentation

void CMatch::closeLoop OHL *  o  )  [protected]
 

Close the loop, the begin and end point are equals

void CMatch::dualMatchingFilter  )  [protected]
 

Erase the dual matching objects

void CMatch::findMatching  )  [protected]
 

Find all possible matchings

void CMatch::fuzzySort  )  [protected]
 

Fuzzy sort of matching objects

double CMatch::gapStroke OLine &  l1,
OLine &  l2
[protected]
 

Compute a matching between lines mean and middles distances, so this criterion is a gap search of strocke pattern 'I'

bool CMatch::isLineLoop OHL *  o  )  [protected]
 

Test if OHL is a line loop, is it composed of OLine is it large (4 OLine min) is it closed (the begin point is near end point (so connected)

deque< OGraphic * > CMatch::match deque< OHL * > &  ha,
double  th
 

Match a OHL of OHL object be sure to use parse function before

void CMatch::match  )  [protected]
 

Match an OHL

void CMatch::matching int  i,
int  j
[protected]
 

Compute the range matching, and crealte a matching object

void CMatch::performMatching  )  [protected]
 

Perform matching

void CMatch::printMatching int  i  )  [protected]
 

Print tab matching

void CMatch::printTabMatching  )  [protected]
 

Print tab matching

void CMatch::strokeFilter  )  [protected]
 

Stroke filter

bool CMatch::toMatch OLine &  l1,
OLine &  l2
[protected]
 

Test if two lines can be match, they are no connected, opposite, and overlaped


Member Data Documentation

deque<OLine*> CMatch::la [protected]
 

deque<Matching> CMatch::ms [protected]
 

deque<OGraphic*> CMatch::pa [protected]
 

double CMatch::th [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Jul 30 16:56:28 2004 for LGALib by doxygen1.3