SpatioTemporalEnergyPyrBuilder< T > Class Template Reference

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

#include <Robots/Beobot2/Navigation/FOE_Navigation/SpatioTemporalEnergy.H>

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

List of all members.

Public Member Functions

 SpatioTemporalEnergyPyrBuilder (const PyramidType typ, const float gabor_theta=0.0F, const float speed=1.0F, const uint depth=2, const int timeDomainSize=5)
virtual
SpatioTemporalEnergyPyrBuilder
< T > * 
clone () const
 cloning constructor
virtual ImageSet< T > build (const Image< T > &image, const int firstlevel=0, const int depth=0, PyramidCache< T > *cache=0)
 Builds a Motion Energy pyramid based on a image.
Image< float > buildMotion (int scale)
ImageSet< float > getOptimalShift ()
virtual void reset ()
 reset the stored queues - overrides PyrBuilder<T>::reset()
float DrawVectors (Image< T > &img, Image< float > &motion)
ImageSet< float > getSpatioTemporalEnergy ()
 get the spatiotemporal energy map

Detailed Description

template<class T>
class SpatioTemporalEnergyPyrBuilder< 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 60 of file SpatioTemporalEnergy.H.


Member Function Documentation

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

Builds a Motion Energy pyramid based on a image.

Implements PyrBuilder< T >.

Definition at line 411 of file SpatioTemporalEnergy.C.

References buildPyrGabor().

template<class T >
SpatioTemporalEnergyPyrBuilder< T > * SpatioTemporalEnergyPyrBuilder< 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 911 of file SpatioTemporalEnergy.C.

template<class T>
float SpatioTemporalEnergyPyrBuilder< 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 863 of file SpatioTemporalEnergy.C.

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

template<class T >
ImageSet< float > SpatioTemporalEnergyPyrBuilder< T >::getSpatioTemporalEnergy (  )  [inline]

get the spatiotemporal energy map

Definition at line 403 of file SpatioTemporalEnergy.C.

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

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

Reimplemented from PyrBuilder< T >.

Definition at line 916 of file SpatioTemporalEnergy.C.


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