#include <RefineAlgorithm.h>
Public Member Functions | |
double | CheckSignature (const Signature &object, const std::vector< Sensor * > &sensors)=0 |
evaluate shortly of the signature contains necessary model information to perform the algorithm | |
virtual std::string | GetName () |
virtual Descriptor * | Perform (std::vector< Sensor * > sensors, RelPose *pose, Signature &Object, int &numOfObjects, double &qualityMeasure)=0 |
Performs the main action of the algorithm (online) | |
RefineAlgorithm (void) | |
virtual XMLTag * | Save ()=0 |
saves the algorithms name and a parameter set | |
virtual void | SetData (XMLTag *tag) |
~RefineAlgorithm (void) | |
Static Public Member Functions | |
static RefineAlgorithm * | RefineAlgFactory (XMLTag *tag) |
Definition at line 29 of file RefineAlgorithm.h.
RefineAlgorithm::RefineAlgorithm | ( | void | ) |
Definition at line 27 of file RefineAlgorithm.cpp.
RefineAlgorithm::~RefineAlgorithm | ( | void | ) |
Definition at line 31 of file RefineAlgorithm.cpp.
double cop::RefineAlgorithm::CheckSignature | ( | const Signature & | object, |
const std::vector< Sensor * > & | sensors | ||
) | [pure virtual] |
evaluate shortly of the signature contains necessary model information to perform the algorithm
CheckSignature
object | the signature that has to be checked |
sensors | a list of available sensors seeing the target area |
Implements cop::Evaluable.
virtual std::string cop::RefineAlgorithm::GetName | ( | ) | [inline, virtual] |
Reimplemented from cop::Evaluable.
Definition at line 51 of file RefineAlgorithm.h.
virtual Descriptor* cop::RefineAlgorithm::Perform | ( | std::vector< Sensor * > | sensors, |
RelPose * | pose, | ||
Signature & | object, | ||
int & | numOfObjects, | ||
double & | qualityMeasure | ||
) | [pure virtual] |
Performs the main action of the algorithm (online)
Perform
sensors | a list of sensors that look at the specified position |
pose | Estimated position of the scene, mostly the center of the image (if the camera can be moved) |
object | in/out A signature class that contains all model information about a certain object or a class of objects. This object will retrieve the results of the algorithm |
numOfObjects | in/out The number of instances that should be detected of this signature atmost, it will be filled with 0 .. numOfObjects on exit and should contain the information how many objects were found |
qualityMeasure | out this param will should a score that can be used to evaluate the algorithm in this situation |
Implements cop::Algorithm< Descriptor * >.
RefineAlgorithm * RefineAlgorithm::RefineAlgFactory | ( | XMLTag * | tag | ) | [static] |
Definition at line 37 of file RefineAlgorithm.cpp.
virtual XMLTag* cop::RefineAlgorithm::Save | ( | ) | [pure virtual] |
virtual void cop::RefineAlgorithm::SetData | ( | XMLTag * | tag | ) | [inline, virtual] |
Definition at line 53 of file RefineAlgorithm.h.