User Documentation
RAVL, Recognition And Vision Library
Ravl - Images - Segmentation - ConnectedComponentsC<class DataTypeT,typename CompairT>

ConnectedComponentsC::ConnectedComponentsC(bool,const CompairT &)
ConnectedComponentsC::ConnectedComponentsC(const CompairT &,const DataTypeT &)
ConnectedComponentsC::Apply(const ImageC &)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   ConnectedComponentsC<class DataTypeT,typename CompairT>   
Connected component labelling.
include "Ravl/Image/ConnectedComponents.hh"
User Level:Normal
In Scope:RavlImageN

Parent Classes: Methods:
ConnectedComponentsC(bool ignoreZero = false,const CompairT & compMethod = CompairT ())
Constructor. Set ignoreZero if you want to ignore the zeros on the input image

ConnectedComponentsC(const CompairT & compMethod,const DataTypeT & zeroValue)
Ignore any 'zeroValue' pixels in the input image.

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

#include "Ravl/RefCounter.hh"
const RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> & operator =(const RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> & oth)
Assign handle.

RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> & obj)

istream & operator >>(istream & strm,RCHandleC<ConnectedComponentsBodyC<DataTypeT,CompairT>> & obj)

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