probabilistic_grasp_planner::CompositeProbabilityComputer Class Reference

Computes the probability of each model by comparing its raw fit score to the score of the best model in the list. More...

#include <recognition_probability_computer.h>

Inheritance diagram for probabilistic_grasp_planner::CompositeProbabilityComputer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CompositeProbabilityComputer (bool db_only)
virtual void computeRepresentationProbabilities (std::vector< ObjectRepresentation > &objects)

Protected Member Functions

virtual double getProbabilityForRecognitionScore (const double &score)

Protected Attributes

bool db_only_
 Whether we should give cluster planner any weight.
double recognition_threshold_
 Raw fit results worse than this threshold get 0.0 probability.

Detailed Description

Computes the probability of each model by comparing its raw fit score to the score of the best model in the list.

Definition at line 75 of file recognition_probability_computer.h.


Constructor & Destructor Documentation

probabilistic_grasp_planner::CompositeProbabilityComputer::CompositeProbabilityComputer ( bool  db_only  )  [inline]

Definition at line 88 of file recognition_probability_computer.h.


Member Function Documentation

void probabilistic_grasp_planner::CompositeProbabilityComputer::computeRepresentationProbabilities ( std::vector< ObjectRepresentation > &  representations  )  [virtual]

Given a list of representations which describe the underlying real world object, assigns probabilities for each representation that the representation is the best description of the real object.

The probability that the object represented by the cluster is even in the database is (hopefully) the probability that the object matches the best model fit. Therefore, all of the model probabilities each get some share of the probability that the object is in the DB. The rest of the probability goes to model id -1, which is the probability that it is NOT in the DB (and therefore we should use the cluster grasp planner).

Assign the rest of the probability to the hypothesis "not in DB" for use by cluster planner

Implements probabilistic_grasp_planner::RecognitionProbabilityComputer.

Definition at line 90 of file recognition_probability_computer.cpp.

double probabilistic_grasp_planner::CompositeProbabilityComputer::getProbabilityForRecognitionScore ( const double &  score  )  [protected, virtual]

Underlying algorithm to convert a recognition score (in meters, representing average distance between a correspondence pair between the model and the cloud) to a [0,1] probability.

do gaussian stuff

Reimplemented in probabilistic_grasp_planner::InverseCurveRecognitionProbabilityComputer.

Definition at line 69 of file recognition_probability_computer.cpp.


Member Data Documentation

Whether we should give cluster planner any weight.

Definition at line 82 of file recognition_probability_computer.h.

Raw fit results worse than this threshold get 0.0 probability.

Definition at line 79 of file recognition_probability_computer.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


probabilistic_grasp_planner
Author(s): Peter Brook
autogenerated on Fri Jan 11 09:52:09 2013