User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
SegmentationC::SegmentationC(void)
SegmentationC::SegmentationC(ImageC,UIntT)
SegmentationC::SegmentationC(const Tuple2C,UIntT> &)
SegmentationC::Adjacency(bool)
SegmentationC::BoundryLength(void)
SegmentationC::RemoveSmallComponents(IntT)
SegmentationC::Areas(void)
SegmentationC::MergeComponents(ImageC &,UIntT,RealT,CmpT &,IntT)
SegmentationC::ComputeMoments(bool)
SegmentationC::SegMap(void)
SegmentationC::Labels(void)
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
SegmentationC
 
Segmentation map.
 
include "amma/Image/Segmentation.hh"
User Level:Default
Library:Image
Example:exIter.cc
Section:Image.Indexing.Iterators
In Scope:std

Parent Classes:

Methods:
SegmentationC()
Default constructor.
Creates an invalid handle.

SegmentationC(ImageC<UIntT> nsegmap,UIntT nlabels)
Constructor.

SegmentationC(const Tuple2C<ImageC<UIntT>,UIntT> & tup)
Constructor.

SArray1dC<HSetC<UIntT>> Adjacency(bool biDir = true)
Generate a table of region adjacencies.
For each region, a set of adjacent regions is generated. If biDir is false, only adjacenies in one direction are generated, otherwise both directions are registered.

SArray1dC<HashARC<UIntT,UIntC>> BoundryLength()
Generate a table of region adjacencies boundry lengths.
only adjacenies from regions with a smaller id to those with a larger ID are generated

UIntT RemoveSmallComponents(IntT thrSize)
Remove small components from map, label them as 0.

SArray1dC<UIntT> Areas()
Compute the areas of all the segmented regions.

UIntT MergeComponents(ImageC<PixelT> & dat,UIntT thrSize,RealT maxDist,CmpT & cmp,IntT iter = 1)
Merge simlar components smaller than 'thrSize'.

SArray1dC<Moments012d2C> ComputeMoments(bool ignoreZero = false)
Compute moments for each of the segmented regions.
if ignoreZero is true, region labeled 0 is ignored.

ImageC<UIntT> & SegMap()
Access segmentation map.

UIntT Labels()
Access number of labels.

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<SegmentationBodyC> & operator=(const RCHandleC<SegmentationBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<SegmentationBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<SegmentationBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

SegmentationBodyC & Body()
Direct access to body.

const SegmentationBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001