iso::tracker::ImagePyramid Class Reference

#include <iso_tracker_image_pyramid.h>

Inherited by iso::tracker::DistancePyramid, and iso::tracker::MotionPyramid.

Inheritance diagram for iso::tracker::ImagePyramid:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ImagePyramid ()
 default constructor
 ImagePyramid (unsigned int pLevelCount)
 create image pyramid
virtual void update (IplImage *pSrcImage) throw (TrackerException)
 update image pyramid
virtual ~ImagePyramid ()
 destructor
unsigned int levelCount () const
 return number of pyramid levels
unsigned int levelSize (unsigned int pLevel) const throw (base::Exception)
 return level size
IplImage * image (unsigned int pLevel) throw (base::Exception)
 return pyramid image
virtual base::String info () const
 obtain textual pyramid information

Protected Member Functions

void init ()
 initialize pyramid

Protected Attributes

unsigned int mLevelCount
 pyramid level count
IplImage ** mLevelImages
 pyramid level images

Static Protected Attributes

static unsigned int sLevelCount
 default pyramid level count

Friends

std::ostream & operator<< (std::ostream &pOstream, const ImagePyramid &pPyramid)
 print pyramid information

Constructor & Destructor Documentation

ImagePyramid::ImagePyramid (  ) 

default constructor

ImagePyramid::ImagePyramid ( unsigned int  pLevelCount  ) 

create image pyramid

Parameters:
pLevelCount number of pyramid levels

ImagePyramid::~ImagePyramid (  )  [virtual]

destructor


Member Function Documentation

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

update image pyramid

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

Reimplemented in iso::tracker::DistancePyramid, and iso::tracker::MotionPyramid.

unsigned int ImagePyramid::levelCount (  )  const

return number of pyramid levels

unsigned int ImagePyramid::levelSize ( unsigned int  pLevel  )  const throw (base::Exception)

return level size

Parameters:
pLevel level int
Returns:
level size
Exceptions:
base::Exception level index out of scope

IplImage * ImagePyramid::image ( unsigned int  pLevel  )  throw (base::Exception)

return pyramid image

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

base::String ImagePyramid::info (  )  const [virtual]

obtain textual pyramid information

Returns:
String containing pyramid information

void ImagePyramid::init (  )  [protected]

initialize pyramid

Reimplemented in iso::tracker::MotionPyramid.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOstream,
const ImagePyramid pPyramid 
) [friend]

print pyramid information


Member Data Documentation

unsigned int ImagePyramid::sLevelCount [static, protected]

default pyramid level count

unsigned int iso::tracker::ImagePyramid::mLevelCount [protected]

pyramid level count

IplImage** iso::tracker::ImagePyramid::mLevelImages [protected]

pyramid level images


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