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

  PUBLIC
RegionSetC::RegionSetC(void)
RegionSetC::RegionSetC(const ImageC &,const NumDataSetC &)
RegionSetC::Image(void) const
RegionSetC::Stats(void) const
RegionSetC::Stats(void)
RegionSetC::ByteImage(void) const
RegionSetC::IntImage(void) const
RegionSetC::RandomImage(void) const
RegionSetC::RandomTaintImage(ByteGreyValueT) const
RegionSetC::SetMap(const IntImageC &)
RegionSetC::UpdateStats(const ImageC &)
RegionSetC::MakeConnectedComponents(void)
RegionSetC::MakeConnectedComponents(const ByteImageC &)
RegionSetC::RegionSetC(RegionSetBodyC &)
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
RegionSetC<class StatT>
 
Class for representing the segmentation
 
include "amma/Region/RegionSet.hh"
User Level:Default
Library:IPRegion
Example:exSeg.cc
Section:Image.Image Processing.Region.Data Structures
In Scope:std

Parent Classes:

Methods:
RegionSetC()
Default constructor

RegionSetC(const ImageC<NumLabelC> & map,const NumDataSetC<NumLabelC,StatT> & stats)
Constructor from the segmentation map and the associated statistics for each region

ImageC<NumLabelC> Image() const
Returns the segmentation map

NumDataSetC<NumLabelC,StatT> Stats() const
Returns the statistics associated to each region in the segmentation map

NumDataSetC<NumLabelC,StatT> & Stats()
Returns the statistics associated to each region in the segmentation map

ByteImageC ByteImage() const
Returns the segmentation map in the form of a ByteImageC

IntImageC IntImage() const
Returns the segmentation map in the form of a IntImageC

RGBImageC RandomImage() const
Returns the segmentation map in the form of a colour random image

YUVImageC RandomTaintImage(ByteGreyValueT max = 100) const
Returns the segmentation map in the form of a colour random image. The Y channel is left blank (e.g., for displaying the original data). The labels in the U and V channels are in the range 0 to 'max'.

void SetMap(const IntImageC & map)
The segmentation map for this is changed to map; UpdateStats should be performed after this operation

void UpdateStats(const ImageC<PValueT> & img)
Calculates the statistics of the regions in the segmentation map from scratch

void MakeConnectedComponents()
Connected component labelling is performed on the segmentation map; Each new component is given the same statistic as the coreesponding previous region

void MakeConnectedComponents(const ByteImageC & roi)
Connected component labelling is performed on the segmentation map; Each new component is given the same statistic as the coreesponding previous region. The whole operation is performed on the region of interest "roi". The region of interest should be labelled 0 and all other pixels in the image should be labelled 1. In the output segmentation map, the pixels outside the region of interest are undefined.

RegionSetC(RegionSetBodyC<StatT> & bod)
Constructor from the body class

#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<RegionSetBodyC<StatT>> & operator=(const RCHandleC<RegionSetBodyC<StatT>> & oth)
Assignment.

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

BooleanT operator!=(const RCHandleC<RegionSetBodyC<StatT>> & 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.

RegionSetBodyC<StatT> & Body()
Direct access to body.

const RegionSetBodyC<StatT> & Body() const
Constant access to body.


Programmer:Roshano Roberts, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001