MotionEnergyPyrBuilder< T > Class Template Reference

This class implements Spatiotemporal Energy motion detections. More...

#include <RCBot/Motion/MotionEnergy.H>

Inheritance diagram for MotionEnergyPyrBuilder< T >:
Inheritance graph
[legend]
Collaboration diagram for MotionEnergyPyrBuilder< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MotionEnergyPyrBuilder (const PyramidType typ, const float gabor_theta=0.0F, const float intens=10.0F, const int timeDomainSize=5, const float magThreshold=1500)
virtual MotionEnergyPyrBuilder
< 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 Motion Energy pyramid based on a image.
void updateMotion (const Image< T > &image, const int depth)
Image< float > buildHorizontalMotionLevel (int lev)
Image< float > buildVerticalMotionLevel (int lev)
ImageSet< float > buildHorizontalMotion ()
ImageSet< float > buildVerticalMotion ()
virtual void reset ()
 reset the stored queues - overrides PyrBuilder<T>::reset()
float DrawVectors (Image< T > &img, Image< float > &motion)

Detailed Description

template<class T>
class MotionEnergyPyrBuilder< T >

This class implements Spatiotemporal Energy motion detections.

The class uses the filter results of pyramids of other types to implement Spatiotemporal Energy motion detection. The motion is extracted by finding edge orientations in the time and space domain. The edge orientation are computed using sobel edge dectors.

Definition at line 59 of file MotionEnergy.H.


Member Function Documentation

template<class T >
ImageSet< T > MotionEnergyPyrBuilder< T >::build ( const Image< T > &  image,
const int  firstlevel,
const int  depth,
PyramidCache< T > *  cache = 0 
) [inline, virtual]

Builds a Motion Energy pyramid based on a image.

Implements PyrBuilder< T >.

Definition at line 69 of file MotionEnergy.C.

template<class T >
MotionEnergyPyrBuilder< T > * MotionEnergyPyrBuilder< T >::clone (  )  const [inline, virtual]

cloning constructor

default copy constructor and assignment are okay std::vector and std::deque handle the copying of the individual images

Implements PyrBuilder< T >.

Definition at line 399 of file MotionEnergy.C.

template<class T >
float MotionEnergyPyrBuilder< T >::DrawVectors ( Image< T > &  img,
Image< float > &  motion 
) [inline]

show the motion image as vectors (use for debuging) return the average motion

Definition at line 351 of file MotionEnergy.C.

References Image< T >::begin(), Image< T >::end(), Image< T >::getHeight(), and Image< T >::getWidth().

template<class T >
void MotionEnergyPyrBuilder< T >::reset (  )  [inline, virtual]

reset the stored queues - overrides PyrBuilder<T>::reset()

Reimplemented from PyrBuilder< T >.

Definition at line 404 of file MotionEnergy.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:23:19 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3