opentl::detector::Detector Class Reference

Abstract base class for all detectors to come. More...

Inherited by opentl::detector::BlobDetector, opentl::detector::HandDetector, and opentl::detector::ParticleDetector.

List of all members.

Public Member Functions

virtual void addImplicitLikelihoodInstances (unsigned int count=1)
 Add additional likelihood instances Instances ares cloned from the likelihood template and represent the whole pipeline.
 Detector (std::vector< models::ObjModel * > &objectModels)
 constructor
virtual void resizeImplicitMeasurements (int nOfStates)
 Detect new targets, eventually taking care of existing targets (to avoid detecting them again).
int sampleModelFeatures (const TargetPtrVector &targets)
int updateModelFeatures (const TargetPtrVector &targets)
virtual ~Detector ()
 destructor

Static Public Member Functions

static unsigned int acquireId ()
 destructor
static unsigned int getBusyIdCount ()
static unsigned int getFreeIdCount ()
static void releaseId (unsigned int id)

Protected Member Functions

virtual void setMaxNoTargets (unsigned int n)
 set maximum number of detected targets

Protected Attributes

std::vector
< opentl::modalities::Likelihood * > 
mLikelihoods
opentl::modalities::LikelihoodmLikelihoodTemplate
 Pointer to the measurement processing tree (implicit likelihoods).
std::vector< std::vector
< double > > 
mLikMeasImplicit
 Vector (target index) of likelihood values.
unsigned int mMaxNoTargets
std::vector< models::ObjModel * > & mObjectModels


Detailed Description

Abstract base class for all detectors to come.

Constructor & Destructor Documentation

opentl::detector::Detector::Detector ( std::vector< models::ObjModel * > &  objectModels  ) 

constructor

virtual opentl::detector::Detector::~Detector (  )  [virtual]

destructor


Member Function Documentation

static unsigned int opentl::detector::Detector::acquireId (  )  [static]

destructor

virtual void opentl::detector::Detector::addImplicitLikelihoodInstances ( unsigned int  count = 1  )  [virtual]

Add additional likelihood instances Instances ares cloned from the likelihood template and represent the whole pipeline.

static unsigned int opentl::detector::Detector::getBusyIdCount (  )  [static]

static unsigned int opentl::detector::Detector::getFreeIdCount (  )  [static]

static void opentl::detector::Detector::releaseId ( unsigned int  id  )  [static]

virtual void opentl::detector::Detector::resizeImplicitMeasurements ( int  nOfStates  )  [virtual]

Detect new targets, eventually taking care of existing targets (to avoid detecting them again).

delete the lost targets resize the likelihood vector according to the number of detected targets

int opentl::detector::Detector::sampleModelFeatures ( const TargetPtrVector targets  )  [inline]

virtual void opentl::detector::Detector::setMaxNoTargets ( unsigned int  n  )  [protected, virtual]

set maximum number of detected targets

int opentl::detector::Detector::updateModelFeatures ( const TargetPtrVector targets  )  [inline]


Member Data Documentation

Pointer to the measurement processing tree (implicit likelihoods).

std::vector<std::vector<double> > opentl::detector::Detector::mLikMeasImplicit [protected]

Vector (target index) of likelihood values.


Generated on Fri Jul 31 17:38:39 2009 for OpenTL by  doxygen 1.5.8