|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Base handle class for connected component labelling image processing
operations that give an image of NumLabelC as output. This class specifies
the interface for all derived filter classes. Normal operation will
involve specifying the filter parameters in the constructor and then
filtering an input image using the output stream operator. And example of
this approach is given here:
ByteImageC input ("filename");
ByteImageC result = input >> IPLabel8ConC (maxLabel);
Parent Classes:
Derived Classes:
Methods:
- IPLabelC()
-
Default constructor
- IPLabelC(const IPLabelC<TypeC> & oth)
-
Copy constructor
- IPLabelC(IPLabelBC<TypeC> & oth)
-
Constructs from base class
- IPLabelC<TypeC> Copy() const
-
Makes a deep copy
- ImageC<NumLabelC> Apply(const ImageC<TypeC> & oth) const
-
Applies filter to image and returns result
- IPLabelBC<TypeC> & CastHandleLabel()
-
Upcasts handle to this type's base class
- const IPLabelBC<TypeC> & CastHandleLabel() const
-
Upcasts handle to this type's base class
- IPTransformC<TypeC,NumLabelC> Copy() const
-
- ImageC<NumLabelC> Apply(const ImageC<TypeC> & oth) const
-
Applies filter to image and returns result
- const IPTransformBC<TypeC,NumLabelC> & Body() const
-
Constant access to body.
- IPTransformBC<TypeC,NumLabelC> & Body()
-
Access to body.
- DPProcessBodyC<ImageC<InT>,ImageC<OutT>> & Body()
-
Access body.
- const DPProcessBodyC<ImageC<InT>,ImageC<OutT>> & Body() const
-
Access body.
- ImageC<OutT> Apply(const ImageC<InT> & dat)
-
Apply operation.
NB. This may become constant in the future, but the situation isn't
clear at the moment.
- IntT ApplyArray(const SArray1dC<ImageC<InT>> & in,SArray1dC<ImageC<OutT>> & out)
-
Streaming version.
- const DPProcessC<ImageC<InT>,ImageC<OutT>> operator=(const DPProcessC<ImageC<InT>,ImageC<OutT>> & in)
-
Assignment operator
- const DPProcessC<ImageC<InT>,ImageC<OutT>> Copy() const
-
Make a copy of this process. Some type defs.
- DPProcessBaseBodyC & Body()
-
Access body.
- const DPProcessBaseBodyC & Body() const
-
Access body.
- const type_info & InputType() const
-
Get input type.
- const type_info & OutputType() const
-
Get input type.
- BooleanT IsStateless() const
-
Is operation stateless ?
- DPProcessBaseBodyC::ProcTypeT OpType() const
-
Operation type lossy/lossless.
- const DPProcessBaseC & operator=(const DPProcessBaseC & oth)
-
Assignment operator.
- const DPEntityC & operator=(const DPEntityC & dat)
-
Assignment.
- DPEntityBodyC & Body()
-
Access body.
- const DPEntityBodyC & Body() const
-
Access body.
- BooleanT Save(ostream & out) const
-
- 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<DPEntityBodyC> 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<DPEntityBodyC> & operator=(const RCHandleC<DPEntityBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<DPEntityBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<DPEntityBodyC> & 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.
- DPEntityBodyC & Body()
-
Direct access to body.
- const DPEntityBodyC & Body() const
-
Constant access to body.
|
Programmer:Robert Crida, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|