gives a verification of an earlier measurement More...
#include <ProveAlgorithm.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 ImprovedPose | Perform (std::vector< Sensor * > sensors, RelPose *pose, Signature &Object, int &numOfObjects, double &qualityMeasure)=0 |
Performs the main action of the algorithm (online) | |
ProveAlgorithm (void) | |
virtual XMLTag * | Save ()=0 |
saves the algorithms name and a parameter set | |
virtual void | SetData (XMLTag *)=0 |
~ProveAlgorithm (void) | |
Static Public Member Functions | |
static ProveAlgorithm * | ProveAlgFactory (XMLTag *tag) |
gives a verification of an earlier measurement
class ProveAlgorithm
Definition at line 38 of file ProveAlgorithm.h.
ProveAlgorithm::ProveAlgorithm | ( | void | ) |
Definition at line 28 of file ProveAlgorithm.cpp.
ProveAlgorithm::~ProveAlgorithm | ( | void | ) |
Definition at line 32 of file ProveAlgorithm.cpp.
double cop::ProveAlgorithm::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::ProveAlgorithm::GetName | ( | ) | [inline, virtual] |
Reimplemented from cop::Evaluable.
Definition at line 54 of file ProveAlgorithm.h.
virtual ImprovedPose cop::ProveAlgorithm::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< ImprovedPose >.
ProveAlgorithm * ProveAlgorithm::ProveAlgFactory | ( | XMLTag * | tag | ) | [static] |
Definition at line 39 of file ProveAlgorithm.cpp.
virtual XMLTag* cop::ProveAlgorithm::Save | ( | ) | [pure virtual] |
virtual void cop::ProveAlgorithm::SetData | ( | XMLTag * | ) | [pure virtual] |