Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - Segmentation - ConnectedComponentsBodyC<class DataTypeT,class CompairT>
 

  PUBLIC
ConnectedComponentsBodyC::ConnectedComponentsBodyC(UIntT,bool,const CompairT &)
ConnectedComponentsBodyC::ConnectedComponentsBodyC(UIntT,const CompairT &,const DataTypeT &)
ConnectedComponentsBodyC::Apply(const ImageC &)
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)
ConnectedComponentsBaseBodyC::RelabelTable(SArray1dC &,UIntT)

   ConnectedComponentsBodyC<class DataTypeT,class CompairT>   
 
Connected component labelling.
 
include "Ravl/Image/ConnectedComponents.hh"
Created:17/10/2000 
Source file:Ravl/Image/Processing/Segmentation/ConnectedComponents.hh
User Level:Develop
Library:RavlImageProc
In Scope:RavlImageN

Parent Classes: Variables:
CompairT compair;

DataTypeT zero;
Zero value to use.

Methods:
ConnectedComponentsBodyC(UIntT nmaxLabel = 10000,bool ignoreZero = false,const CompairT & compMethod = CompairT ())
Constructor
(See handle class ConnectedComponentsC)

ConnectedComponentsBodyC(UIntT nmaxLabel,const CompairT & compMethod,const DataTypeT & zeroValue)
Constructor
(See handle class ConnectedComponentsC)

Tuple2C<ImageC<UIntT>,UIntT> Apply(const ImageC<DataTypeT> & im)
Performs the connected component labelling

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.

#include "Ravl/Image/ConnectedComponents.hh"
static UIntT RelabelTable(SArray1dC<UIntT> & labelTable,UIntT currentMaxLabel)


Maintainer:Radek Marik, modified by Charles Galambos, Created: 17/10/2000, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002