This class implements Reichardt motion detections. More...
#include <CUDA/CudaPyrBuilder.H>
Public Member Functions | |
CudaReichardtPyrBuilder (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 CudaReichardtPyrBuilder< T > * | clone () const |
cloning constructor | |
virtual CudaImageSet< T > | build (const CudaImage< T > &image, const int firstlevel, const int depth, CudaPyramidCache< 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 81 of file CudaPyrBuilder.H.
CudaReichardtPyrBuilder< T >::CudaReichardtPyrBuilder | ( | 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 83 of file CudaPyrBuilder.C.
CudaImageSet< T > CudaReichardtPyrBuilder< T >::build | ( | const CudaImage< T > & | image, | |
const int | firstlevel, | |||
const int | depth, | |||
CudaPyramidCache< T > * | cache = 0 | |||
) | [inline, virtual] |
Builds a Reichardt pyramid based on a image.
Implements CudaPyrBuilder< T >.
Definition at line 94 of file CudaPyrBuilder.C.
References cudaShiftImage(), and Gaussian5.
Referenced by CudaSaliency::calcMotion().
CudaReichardtPyrBuilder< T > * CudaReichardtPyrBuilder< T >::clone | ( | ) | const [inline, virtual] |
cloning constructor
Implements CudaPyrBuilder< T >.
Definition at line 150 of file CudaPyrBuilder.C.
void CudaReichardtPyrBuilder< T >::reset | ( | ) | [inline, virtual] |
reset the stored queues - overrides PyrBuilder<T>::reset()
Reimplemented from CudaPyrBuilder< T >.
Definition at line 156 of file CudaPyrBuilder.C.