Main Page
Class List
Function List
File List
Examples
Public Types | |
| enum | { NLEVELS_MAX = 10 } |
Public Methods | |
| CMotion2DPyramid () | |
| CMotion2DPyramid (const CMotion2DPyramid &pyramid) | |
| ~CMotion2DPyramid () | |
| TPyramidError | allocate (int nrows, int ncols, int nlevels) |
| TPyramidError | build (const unsigned char *image) |
| TPyramidError | build (const unsigned char *image, int nrows, int ncols, int nlevels) |
| TPyramidError | build (const short *image) |
| TPyramidError | build (const short *image, int nrows, int ncols, int nlevels) |
| void | destroy () |
| int | getNumberOfLevels () const |
| TPyramidError | getNumberOfRows (int &rows, int level=0) const |
| TPyramidError | getNumberOfCols (int &ncols, int level=0) const |
| float * | getRowsSpatialGradientDataAddress (TPyramidError &error, int level=0) |
| float * | getColsSpatialGradientDataAddress (TPyramidError &error, int level=0) |
| short * | getGaussianImageDataAddress (TPyramidError &error, int level=0) |
| CMotion2DPyramid & | exchange (CMotion2DPyramid &pyramid) |
The CMotion2DPyramid class provides the Gaussian pyramid
and spatial gradient pyramids
for an image
.
|
|
|
|
|
Constructor. |
|
|
Copy Constructor. |
|
|
Destructor. |
|
||||||||||||||||
|
Allocate memory to construct a low-pass Gaussian pyramid To construct the pyramids you have to use build(const unsigned char *) Return an error if the memory allocation can not be done.
|
|
||||||||||||||||||||
|
Allocate the memory by calling allocate() and build a low-pass Gaussian image pyramid Return an error if the pyramid construction can not be done.
|
|
|
Build a low-pass Gaussian image pyramid
|
|
||||||||||||||||||||
|
Allocate the memory by calling allocate() and build a low-pass Gaussian image pyramid Return an error if the pyramid construction can not be done.
|
|
|
Build a low-pass Gaussian image pyramid
|
|
|
Delete the space memory associate to the image pyramids.
|
|
|
Reaffect the pointer of the pyramids in order that the content of the pyramids are exchanged.
|
|
||||||||||||
|
Return the address of the table containing the spatial gradient under the column axes for the specified pyramid level Different error messages could be returned.
|
|
||||||||||||
|
Return the address of the table containing the low-pass Gaussian image for the specified pyramid level Different error messages could be returned.
|
|
||||||||||||
|
Get the number of columns for the specified level in the pyramid. The floor level is referenced by the number zero. Different error messages could be returned.
|
|
|
Return the number of levels |
|
||||||||||||
|
Get the number of rows for the specified level in the pyramid. The floor level is referenced by the number zero. Different error messages could be returned.
|
|
||||||||||||
|
Return the address of the table containing the spatial gradient under the row axes for the specified pyramid level Different error messages could be returned.
|