|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class BoundaryC represents the 4-connected oriented boundary of a image
region.
Parent Classes:
Derived Classes:
Typedefs:
- typedef LongIntT AreaT;
-
Variables:
Methods:
- BoundaryC(BooleanT orient = TRUE)
-
Empty boundary with orientation 'orient'.
- BoundaryC(const BoundaryC & list)
-
Another access to the same boundary (constructor for a big object).
- BoundaryC(const EdgeListC & edgeList,BooleanT orient)
-
Create the boundary from the list of edges with a appropriate
orientation. The 'edgelist' will be a part of boundary.
- BoundaryC(const DListC<EdgePtrC> & edgeList,BooleanT orient = TRUE)
-
Creates the boundary from the list of pointers to the elementary
edges. The orientation of the boundary is set according to 'orient'.
- BoundaryC(const IndexRectangleC & rect)
-
The boundary of the rectangle as a hole
- AreaT Area() const
-
Get the area of the region which is determined by the 'boundary'.
- DListC<BoundaryC> Order(const EdgeC & firstEdge,BooleanT orient = TRUE)
-
Order the edgels of this boundary such that it can be traced
continuously along the direction of the first edge. The orientation
of the boundary is set according to 'orient'. If the boundary is open,
'firstEdge' and 'orient' are ignored.
- BooleanT Orient() const
-
Return the orientation of the boundary.
- BoundaryC & BReverse()
-
Revert the order of the edges.
- BoundaryC Copy() const
-
Create a physical copy of the boundary.
- EdgeCPtrListC ConvexHull() const
-
The convex hull is created from the original Jordan boundary using
Melkman's method.
Ref.: A V Melkman. On-line construction of the convex hull of a
simple polyline. Information Processing Letters,
25(1):11-12, 1987.
Ref.: M Sonka, V Hlavac: Image Processing.
- EdgeCPtrListC ConvexHullMM() const
-
The convex hull is created from the original Jordan boundary using
Marik&Matas's method.
- IndexRectangleC BoundingBox() const
-
Get the bounding box of the boundary in "boundary's" coordinates.
- void WriteCompressed(ostream & s) const
-
Save as ASCII characters in compressed format.
- void ReadCompressed(istream & s)
-
Read a boundary stored in compressed format. The current object
is deleted.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|