This class implements Reichardt motion detections. More...
#include <Image/PyrBuilder.H>
Public Member Functions | |
ReichardtPyrBuilder (const float dx, const float dy, const PyramidType typ, const float gabor_theta=0.0F, const float intens=10.0F) | |
build with depth, dx, dy and type, but no input image yet | |
virtual ReichardtPyrBuilder< T > * | clone () const |
cloning constructor | |
virtual ImageSet< T > | build (const Image< T > &image, const int firstlevel, const int depth, PyramidCache< T > *cache=0) |
Builds a Reichardt pyramid based on a image. | |
virtual void | reset () |
reset the stored queues - overrides PyrBuilder<T>::reset() |
This class implements Reichardt motion detections.
The class uses the filter results of pyramids of other types to implement Reichardt motion detection. The pyramids of the previous time step are stored and used with the pyramid of this time step and a version of the current pyramid, in which each level is shifted by the same amount dx and dy. The results are stored in the Reichardt pyramid and represent motion at different speeds and spatial resolutions.
Definition at line 312 of file PyrBuilder.H.
ReichardtPyrBuilder< T >::ReichardtPyrBuilder | ( | const float | dx, | |
const float | dy, | |||
const PyramidType | typ, | |||
const float | gabor_theta = 0.0F , |
|||
const float | intens = 10.0F | |||
) | [inline] |
build with depth, dx, dy and type, but no input image yet
dx | the number of pixels to shift into the x-direction (can be fractional value) | |
dy | the number of pixels to shift into the y-direction | |
typ | the type of pyramid to use for the filtering | |
gabor_theta | orientation of a gabor filter (if typ is GaborX) | |
intens | used for gabor filter ... |
Definition at line 361 of file PyrBuilder.C.
ImageSet< T > ReichardtPyrBuilder< T >::build | ( | const Image< T > & | image, | |
const int | firstlevel, | |||
const int | depth, | |||
PyramidCache< T > * | cache = 0 | |||
) | [inline, virtual] |
Builds a Reichardt pyramid based on a image.
Implements PyrBuilder< T >.
Definition at line 373 of file PyrBuilder.C.
References buildPyrGeneric(), Gaussian5, and shiftImage().
Referenced by main().
ReichardtPyrBuilder< T > * ReichardtPyrBuilder< T >::clone | ( | ) | const [inline, virtual] |
void ReichardtPyrBuilder< T >::reset | ( | ) | [inline, virtual] |
reset the stored queues - overrides PyrBuilder<T>::reset()
Reimplemented from PyrBuilder< T >.
Definition at line 439 of file PyrBuilder.C.