#include <old_prediction_normalized.h>
|
void | calculateRecursiveUnfoundPoses (ISM::PosePtr &referencePose, std::string patternName, unsigned int weight, unsigned int level) |
|
void | createAttributedPointCloud (ISM::PosePtr reference_pose_ptr, double percentage_of_records_for_prediction) |
|
void | createAttributedPointCloudFromMap (double numberOfSpecifiers) |
|
void | nonReferenceObjectProcessing (IsmObject object, ISM::VoteSpecifierPtr specifier, ISM::PosePtr &referencePose, unsigned int weight) |
|
bool | referenceObjectProcessing (std::string objectType, ISM::VoteSpecifierPtr specifier, ISM::PosePtr &referencePose, unsigned int weight, unsigned int specifiersSize, unsigned int level) |
| referenceObjectProcessing Processes a reference object. Processes the following steps. More...
|
|
Definition at line 22 of file old_prediction_normalized.h.
pose_prediction_ism::PaperPredictionNormalized::PaperPredictionNormalized |
( |
std::string |
dbfileName | ) |
|
pose_prediction_ism::PaperPredictionNormalized::~PaperPredictionNormalized |
( |
| ) |
|
void pose_prediction_ism::PaperPredictionNormalized::calculateRecursiveUnfoundPoses |
( |
ISM::PosePtr & |
referencePose, |
|
|
std::string |
patternName, |
|
|
unsigned int |
weight, |
|
|
unsigned int |
level |
|
) |
| |
|
private |
void pose_prediction_ism::PaperPredictionNormalized::createAttributedPointCloud |
( |
ISM::PosePtr |
reference_pose_ptr, |
|
|
double |
percentage_of_records_for_prediction |
|
) |
| |
|
privatevirtual |
void pose_prediction_ism::PaperPredictionNormalized::createAttributedPointCloudFromMap |
( |
double |
numberOfSpecifiers | ) |
|
|
private |
void pose_prediction_ism::PaperPredictionNormalized::nonReferenceObjectProcessing |
( |
IsmObject |
object, |
|
|
ISM::VoteSpecifierPtr |
specifier, |
|
|
ISM::PosePtr & |
referencePose, |
|
|
unsigned int |
weight |
|
) |
| |
|
private |
AttributedPointCloud pose_prediction_ism::PaperPredictionNormalized::predictUnfoundPoses |
( |
ISM::PosePtr & |
referencePose, |
|
|
std::string |
patternName, |
|
|
double |
percentage_of_records_for_prediction |
|
) |
| |
|
virtual |
RecognizerPredictionISM::calcUnfoundPoses Processes the following steps for each object in the objectpattern set.
-
Look whether we have an unfound object (reference object can never be
found as they do not exist). Else ignore vote, as we already know itsattributedPoint.pose.
-
If the object was not found
-
Get all votes that fit to combination of this reference
(to reference and non-reference objects) and unfound object.
-
If we have a reference object
-
search under it for unknown object.
-
If we have a non-reference object
-
we have not found and save its position.
-
Save that we found this object as missing in our currently considered scene hypotheses.
- Parameters
-
referencePose | |
patternName | |
weight | |
depth | |
Implements pose_prediction_ism::PosePredictor.
Definition at line 44 of file old_prediction_normalized.cpp.
bool pose_prediction_ism::PaperPredictionNormalized::referenceObjectProcessing |
( |
std::string |
objectType, |
|
|
ISM::VoteSpecifierPtr |
specifier, |
|
|
ISM::PosePtr & |
referencePose, |
|
|
unsigned int |
weight, |
|
|
unsigned int |
specifiersSize, |
|
|
unsigned int |
level |
|
) |
| |
|
private |
referenceObjectProcessing Processes a reference object. Processes the following steps.
-
Calculate absolute pose of unknown object.
-
Calculate full pose for next call of this function.
-
Check whether this reference object is identical to
the reference of the ism in which it is object. If this reference object is equal to the reference of the ism in which it resides.
-
Every single vote for a hypotheses in specifier has to be repreated
for all redundancies in lower parts of the tree.
-
One level higher in the scene model hierarchy, object pose hypotheses
should be replicated for every vote in specifiers as well as every time
this function would have been called. Reference object in this ism gets
reference of next higher ism.
-
If position of this object in scene is equal to pose of reference, then
it has been chosen as reference and its pose will be equal to the reference
through all votes. So we do not need to process any other votes here.
If this reference object is not equal to the reference of the ism in which it resides.
-
One level higher in the scene model hierarchy, object pose hypotheses
should be replicated for every time this function would have been called.
- Parameters
-
objectType | The object type |
specifier | The vote specifier |
referencePose | The reference pose of this function call |
weight | The weight of this call |
specifiersSize | The size of the specifier container. |
- Returns
- Returns true, if we do not have to process further
Definition at line 57 of file old_prediction_normalized.cpp.
std::map<IsmObject , std::vector<ISM::PosePtr> > pose_prediction_ism::PaperPredictionNormalized::objectPoseMap |
|
private |
SizeMap pose_prediction_ism::PaperPredictionNormalized::objectSizeMap |
|
private |
The documentation for this class was generated from the following files: