|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
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
- 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:
- 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
|