Inherited by opentl::detector::BlobDetector, opentl::detector::HandDetector, and opentl::detector::ParticleDetector.
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::Likelihood * | mLikelihoodTemplate |
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 |
opentl::detector::Detector::Detector | ( | std::vector< models::ObjModel * > & | objectModels | ) |
constructor
virtual opentl::detector::Detector::~Detector | ( | ) | [virtual] |
destructor
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] |
std::vector<opentl::modalities::Likelihood*> opentl::detector::Detector::mLikelihoods [protected] |
Pointer to the measurement processing tree (implicit likelihoods).
std::vector<std::vector<double> > opentl::detector::Detector::mLikMeasImplicit [protected] |
Vector (target index) of likelihood values.
unsigned int opentl::detector::Detector::mMaxNoTargets [protected] |
std::vector<models::ObjModel*>& opentl::detector::Detector::mObjectModels [protected] |