Classes | |
struct | Param |
Parameters for detection. More... | |
Public Member Functions | |
virtual void | detect (const opentl::core::cvdata::Image &segImage, const TargetPtrVector &oldTargets, TargetPtrVector &newTargets) |
Find new targets, by using the SIR particle filter (with the given likelihood tree), and unsupervised mean-shift clustering. | |
double | getMaxWeight () |
int | initialize (TargetPtrVector &targets) |
Initialize the particle filter. | |
ParticleDetector (opentl::modalities::Likelihood *likelihood, opentl::modelprojection::Warp *warp, int camIdx, std::vector< models::ObjModel * > &objectModels, ParticleDetector::Param *param) | |
constructor | |
virtual | ~ParticleDetector () |
destructor |
opentl::detector::ParticleDetector::ParticleDetector | ( | opentl::modalities::Likelihood * | likelihood, | |
opentl::modelprojection::Warp * | warp, | |||
int | camIdx, | |||
std::vector< models::ObjModel * > & | objectModels, | |||
ParticleDetector::Param * | param | |||
) |
constructor
virtual opentl::detector::ParticleDetector::~ParticleDetector | ( | ) | [virtual] |
destructor
virtual void opentl::detector::ParticleDetector::detect | ( | const opentl::core::cvdata::Image & | segImage, | |
const TargetPtrVector & | oldTargets, | |||
TargetPtrVector & | newTargets | |||
) | [virtual] |
Find new targets, by using the SIR particle filter (with the given likelihood tree), and unsupervised mean-shift clustering.
double opentl::detector::ParticleDetector::getMaxWeight | ( | ) | [inline] |
int opentl::detector::ParticleDetector::initialize | ( | TargetPtrVector & | targets | ) |
Initialize the particle filter.