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