#include <iso_tracker_motion_pyramid.h>
Inherits iso::tracker::ImagePyramid.
Inheritance diagram for iso::tracker::MotionPyramid:
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 | |
| MotionPyramid::MotionPyramid | ( | ) |
default constructor
| MotionPyramid::MotionPyramid | ( | unsigned int | pLevelCount | ) |
create motion pyramid
| pLevelCount | number of pyramid levels |
| MotionPyramid::~MotionPyramid | ( | ) | [virtual] |
destructor
| double MotionPyramid::timeStamp | ( | ) | const |
return current time stamp
| IplImage * MotionPyramid::silhouette | ( | unsigned int | pLevel | ) | throw (base::Exception) |
return silhouette image
| pLevel | level index |
| TrackerException | level index out of scope |
| IplImage * MotionPyramid::motionHistory | ( | unsigned int | pLevel | ) | throw (base::Exception) |
return motion history image
| pLevel | level index |
| base::Exception | level index out of scope |
| IplImage * MotionPyramid::motionMask | ( | unsigned int | pLevel | ) | throw (base::Exception) |
return motion mask image
| pLevel | level index |
| base::Exception | level index out of scope |
| IplImage * MotionPyramid::motionOrientation | ( | unsigned int | pLevel | ) | throw (base::Exception) |
return orientation history image
| pLevel | level index |
| base::Exception | level index out of scope |
| void MotionPyramid::update | ( | IplImage * | pSrcImage | ) | throw (TrackerException) [virtual] |
update motion pyramid
| pSrcImage | single channel source image |
| TrackerException | source image is not single channel |
Reimplemented from iso::tracker::ImagePyramid.
| void MotionPyramid::init | ( | ) | [protected] |
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
1.5.1