|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Parent Classes:
Methods:
- MultiLevelC()
-
Default constructor
This creates an invalid handle.
- MultiLevelC(istream & in)
-
Stream constructor
This creates a new instance of the class from an input stream.
- MultiLevelC(const IPGaussConvolveC<RealT> & filter,IntT top_level,IntT bottom_level = 0)
-
Constructor
| filter | the filter to be used to create the pyramid |
| top_level | the highest level number (exclusive) for the pyramid- see description above |
| bottom_level | the lowest level number (inclusive) |
|
- DListC<DoubleImageC> ConstructTower(const DoubleImageC & input)
-
Returns an array of images, where the first one is the most filtered, and the last one is the original input image. The size of the image is constant at all levels
Class for producing a pyramid of filtered images for an input image. The
images are progressively filtered more and more. The size of the image
remains constant for all levels of the pyramid.
The first filtered image corresponds to level 0, i.e. no filtering.
Each level (n)
is created by filtering the previous level (n-1) 2n times.
| Level number |
Number of times filter is applied |
| 0 |
20 = 1 |
| 1 |
21 = 2 |
| ... |
... |
| n |
2n |
- DListC<DoubleImageC> ConstructPyramid(const DoubleImageC & input,int n = 2)
-
Returns an list of images, where the first one is the coarsest and the last one is the original input image. The image is subsampled by a factor of 'n' at each level.
- DListC<ImageRectangleC> ConstructPyramid(const ImageRectangleC & input,int n = 2)
-
Returns an list of rectangles, where the first one is the coarsest and the last one is the original input image. The rectangle is subsampled by a factor of 'n' at each level.
- DListC<NumImageC<Vector2dC>> ConstructMotionFieldPyramid(const NumImageC<Vector2dC> & input,int n = 2)
-
Returns an list of images, where the first one is the coarsest and the last one is the original input image. The image is subsampled by a factor of 'n' at each level. However, no subsampling filter is used.
- IntImageC UpSampleLabelField(const IntImageC & input,int n)
-
- SArray2dC<DataT> UpSampleLabelField(const SArray2dC<DataT> & input,int n)
-
- ostream & operator<<(ostream & s,const MultiLevelC & out)
-
output stream operator
- istream & operator>>(istream & s,MultiLevelC & 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<MultiLevelBodyC> 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<MultiLevelBodyC> & operator=(const RCHandleC<MultiLevelBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<MultiLevelBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<MultiLevelBodyC> & 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.
- MultiLevelBodyC & Body()
-
Direct access to body.
- const MultiLevelBodyC & Body() const
-
Constant access to body.
|
Programmer:Ratna Rambaruth, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|