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

  PUBLIC
PointContourC::PointContourC(void)
PointContourC::PointContourC(istream &)
PointContourC::PointContourC(const DListC &)
PointContourC::CreateMask(ByteGreyValueT,ByteGreyValueT)
PointContourC::getpoints(void) const
PointContourC::operator<<(ostream &,const PointContourC &)
PointContourC::operator>>(istream &,PointContourC &)
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
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
PointContourC
 
Class to fill a contour represented by a list of points (floating points)
 
include "amma/Region/PointContour.hh"
User Level:Default
Library:IP
Example:exSeg.cc
Section:Image.Image Processing.Region.Contour
In Scope:std

Comments:
All the pixels enclosed by the contour are labelled 'in_label'; the other pixels in the bounding box are labelled 'out_label'

Parent Classes: Methods:
PointContourC()
Default constructor
This creates an invalid handle.

PointContourC(istream & in)
Stream constructor
This creates a new instance of the class from an input stream.

PointContourC(const DListC<Point2dC> & points)
Constructor
Construct from the contour points

ByteImageC CreateMask(ByteGreyValueT in_label,ByteGreyValueT out_label)
create a binary mask for the contour. All pixels enclosed by the contour are set to 'in_label', and the others to 'out_label'.

DListC<Point2dC> getpoints() const
return the list of points in the contour

ostream & operator<<(ostream & s,const PointContourC & out)
output stream operator

istream & operator>>(istream & s,PointContourC & in)
input stream operator

#include "amma/RCHandleA.hh"
RCAbstractC Abstract()
Create an abstract handle to this object.

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

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

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<PointContourBodyC> Copy() const
Creat a deep copy of this object.
protected:

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

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

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

PointContourBodyC & Body()
Direct access to body.

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


Programmer:Ratna Rambaruth, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001