iso::tracker::MotionPyramid Class Reference

#include <iso_tracker_motion_pyramid.h>

Inherits iso::tracker::ImagePyramid.

Inheritance diagram for iso::tracker::MotionPyramid:

Inheritance graph
[legend]
Collaboration diagram for iso::tracker::MotionPyramid:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MotionPyramid ()
 default constructor
 MotionPyramid (unsigned int pLevelCount)
 create motion pyramid
virtual ~MotionPyramid ()
 destructor
double timeStamp () const
 return current time stamp
IplImage * silhouette (unsigned int pLevel) throw (base::Exception)
 return silhouette image
IplImage * motionHistory (unsigned int pLevel) throw (base::Exception)
 return motion history image
IplImage * motionMask (unsigned int pLevel) throw (base::Exception)
 return motion mask image
IplImage * motionOrientation (unsigned int pLevel) throw (base::Exception)
 return orientation history image
virtual void update (IplImage *pSrcImage) throw (TrackerException)
 update motion pyramid

Protected Member Functions

void init ()
 initialize motion pyramid

Protected Attributes

IplImage ** mSilhouettes
 motion masks
IplImage ** mMotionHistoryImages
 motion history images
IplImage ** mMaskImages
 motion mask images
IplImage ** mOrientationImages
 motion orientation images
double mMaxTDelta
 maximum motion history gradient threshold
double mMinTDelta
 minimum motion history gradient threshold
int mApertureSize
 gradient aperture
double mTimeStamp
 time stamp

Static Protected Attributes

static double sMaxTDelta
 default maximum motion history gradient threshold
static double sMinTDelta
 default minimum motion history gradient threshold
static int sApertureSize
 default gradient aperture

Constructor & Destructor Documentation

MotionPyramid::MotionPyramid (  ) 

default constructor

MotionPyramid::MotionPyramid ( unsigned int  pLevelCount  ) 

create motion pyramid

Parameters:
pLevelCount number of pyramid levels

MotionPyramid::~MotionPyramid (  )  [virtual]

destructor


Member Function Documentation

double MotionPyramid::timeStamp (  )  const

return current time stamp

IplImage * MotionPyramid::silhouette ( unsigned int  pLevel  )  throw (base::Exception)

return silhouette image

Parameters:
pLevel level index
Returns:
silhouette image
Exceptions:
TrackerException level index out of scope

IplImage * MotionPyramid::motionHistory ( unsigned int  pLevel  )  throw (base::Exception)

return motion history image

Parameters:
pLevel level index
Returns:
motion history image
Exceptions:
base::Exception level index out of scope

IplImage * MotionPyramid::motionMask ( unsigned int  pLevel  )  throw (base::Exception)

return motion mask image

Parameters:
pLevel level index
Returns:
motion mask image
Exceptions:
base::Exception level index out of scope

IplImage * MotionPyramid::motionOrientation ( unsigned int  pLevel  )  throw (base::Exception)

return orientation history image

Parameters:
pLevel level index
Returns:
motion orientation image
Exceptions:
base::Exception level index out of scope

void MotionPyramid::update ( IplImage *  pSrcImage  )  throw (TrackerException) [virtual]

update motion pyramid

Parameters:
pSrcImage single channel source image
Exceptions:
TrackerException source image is not single channel

Reimplemented from iso::tracker::ImagePyramid.

void MotionPyramid::init (  )  [protected]

initialize motion pyramid

Reimplemented from iso::tracker::ImagePyramid.


Member Data Documentation

double MotionPyramid::sMaxTDelta [static, protected]

default maximum motion history gradient threshold

gradient orientation is considered valid if the difference between the maximum and minimum mhi values within a pixel neighborhood is lower than this threshold.

double MotionPyramid::sMinTDelta [static, protected]

default minimum motion history gradient threshold

gradient orientation is considered valid if the difference between the maximum and minimum mhi values within a pixel neighborhood is greater than this threshold.

int MotionPyramid::sApertureSize [static, protected]

default gradient aperture

size of aperture used to calculate derivatives. Value should be odd, e.g., 3, 5, etc.

IplImage** iso::tracker::MotionPyramid::mSilhouettes [protected]

motion masks

IplImage** iso::tracker::MotionPyramid::mMotionHistoryImages [protected]

motion history images

IplImage** iso::tracker::MotionPyramid::mMaskImages [protected]

motion mask images

mask image - marks pixels where motion gradient data is correct

IplImage** iso::tracker::MotionPyramid::mOrientationImages [protected]

motion orientation images

motion gradient orientation image; contains angles from 0 to ~360 degrees

double iso::tracker::MotionPyramid::mMaxTDelta [protected]

maximum motion history gradient threshold

gradient orientation is considered valid if the difference between the maximum and minimum mhi values within a pixel neighborhood is lower than this threshold.

double iso::tracker::MotionPyramid::mMinTDelta [protected]

minimum motion history gradient threshold

gradient orientation is considered valid if the difference between the maximum and minimum mhi values within a pixel neighborhood is greater than this threshold.

int iso::tracker::MotionPyramid::mApertureSize [protected]

gradient aperture

size of aperture used to calculate derivatives. Value should be odd, e.g., 3, 5, etc.

double iso::tracker::MotionPyramid::mTimeStamp [protected]

time stamp

timestamp for motion history


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:20:29 2011 for iso_tracker by  doxygen 1.5.1