Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CCLabeling Class Reference

#include <TreatCCLabeling.hpp>

Inheritance diagram for CCLabeling:

CCCGraph CCContouring CCFiltering CCNGraph CCSegmentation List of all members.

Public Member Functions

 CCLabeling (Image *)
 ~CCLabeling ()
void ImageLabeling (bool)

Public Attributes

Image * labelmap
vector< Cccci

Protected Member Functions

bool FindEntryPoint ()
void ComponentLabeling ()
int InitLabel ()
void WriteLabel (Cc &, int)

Protected Attributes

Pt pte

Detailed Description

CCLabeling class


Constructor & Destructor Documentation

CCLabeling::CCLabeling Image *  img  ) 
 

initialize class member and create the labelmap

CCLabeling::~CCLabeling  ) 
 

initialise the class member and erase the labelmap


Member Function Documentation

void CCLabeling::ComponentLabeling  )  [protected]
 

ComponentProcessing

bool CCLabeling::FindEntryPoint  )  [protected]
 

find an entry point

void CCLabeling::ImageLabeling bool  finit  ) 
 

main fuction to label all image's cc the first label is (-1) in order to process the black code with firstinit = true, we convert this label in (1)

int CCLabeling::InitLabel  )  [protected]
 

get label

void CCLabeling::WriteLabel Cc cp,
int  label
[protected]
 

write label


Member Data Documentation

vector<Cc> CCLabeling::cci
 

Image* CCLabeling::labelmap
 

Pt CCLabeling::pte [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon May 31 22:42:47 2004 for CCLib by doxygen1.3