Public Member Functions | Private Member Functions | Private Attributes | List of all members
SceneModel::DirectionRelationHeuristic Class Reference

#include <DirectionRelationHeuristic.h>

Inheritance diagram for SceneModel::DirectionRelationHeuristic:
Inheritance graph
[legend]

Public Member Functions

void apply (std::vector< boost::shared_ptr< TreeNode > > pNodes)
 
void apply (std::vector< boost::shared_ptr< TreeNode > > pNodes, boost::shared_ptr< TreeNode > pChild)
 
 DirectionRelationHeuristic (const double pStaticBreakRatio, const double pTogetherRatio, const double pMaxAngleDeviation)
 
boost::shared_ptr< TreeNodegetBestCluster ()
 
boost::shared_ptr< TreeNodegetBestParentNode ()
 
 ~DirectionRelationHeuristic ()
 
- Public Member Functions inherited from SceneModel::AbstractHeuristic
 AbstractHeuristic (std::string pDescription)
 
bool operator< (const AbstractHeuristic &heuristic) const
 
void reset ()
 
virtual ~AbstractHeuristic ()
 

Private Member Functions

Eigen::Vector3d getDirectionVector (const boost::shared_ptr< ISM::Object > first, const boost::shared_ptr< ISM::Object > second)
 

Private Attributes

double mMaxAngleDeviation
 
double mStaticBreakRatio
 
double mTogetherRatio
 

Additional Inherited Members

- Protected Attributes inherited from SceneModel::AbstractHeuristic
std::vector< boost::shared_ptr< TreeNode > > candidates
 
double score
 

Detailed Description

Implementation of the abstract relation scoring heuristic using a directord relation approach. Calculate direction vectors between simultaneously recorded object estimations in a pair of trajectories. Calculate angles between consecutive direction vectors. Calculate direction continuity as described in Meißner et al. 2013 in Sec. V. A.. Calculate average distance between object estimations (recorded at the same time) over the trajectory pair as well.

Author
Reno Reckling, Pascal Meissner, Joachim Gehrung
Version
See SVN

Definition at line 49 of file DirectionRelationHeuristic.h.

Constructor & Destructor Documentation

SceneModel::DirectionRelationHeuristic::DirectionRelationHeuristic ( const double  pStaticBreakRatio,
const double  pTogetherRatio,
const double  pMaxAngleDeviation 
)

Constructor.

Parameters
pStaticBreakRatioMaximal percentage of breaks in object relation.
pTogetherRatioMinimal percentage of the frames objects are related relation.
pMaxAngleDeviationMaximal allowed angular distance between two objects.

Definition at line 22 of file DirectionRelationHeuristic.cpp.

SceneModel::DirectionRelationHeuristic::~DirectionRelationHeuristic ( )

Destructor.

Definition at line 30 of file DirectionRelationHeuristic.cpp.

Member Function Documentation

void SceneModel::DirectionRelationHeuristic::apply ( std::vector< boost::shared_ptr< TreeNode > >  pNodes)
virtual

Applies the heuristic to the trajectory set.

Parameters
pNodesThe set of nodes containing the trajectories that this heuristic should be applied to.

Reimplemented from SceneModel::AbstractHeuristic.

Definition at line 34 of file DirectionRelationHeuristic.cpp.

void SceneModel::DirectionRelationHeuristic::apply ( std::vector< boost::shared_ptr< TreeNode > >  pNodes,
boost::shared_ptr< TreeNode pChild 
)
virtual

Applies the heuristic to the trajectory set, specifies one of the elements of the resulting cluster.

Parameters
pNodesThe set of nodes containing the trajectories that this heuristic should be applied to.
pChildThe node that should act as child node.

Reimplemented from SceneModel::AbstractHeuristic.

Definition at line 175 of file DirectionRelationHeuristic.cpp.

boost::shared_ptr< TreeNode > SceneModel::DirectionRelationHeuristic::getBestCluster ( )
virtual

Returns the best cluster found by the heuristic.

Returns
The best cluster found.

Reimplemented from SceneModel::AbstractHeuristic.

Definition at line 303 of file DirectionRelationHeuristic.cpp.

boost::shared_ptr< TreeNode > SceneModel::DirectionRelationHeuristic::getBestParentNode ( )
virtual

Returns the best parent node calculated for the node specified before.

Returns
The best parent node found

Reimplemented from SceneModel::AbstractHeuristic.

Definition at line 360 of file DirectionRelationHeuristic.cpp.

Eigen::Vector3d SceneModel::DirectionRelationHeuristic::getDirectionVector ( const boost::shared_ptr< ISM::Object >  first,
const boost::shared_ptr< ISM::Object >  second 
)
private

Returns the direction vector between two objects.

Parameters
firstThe first object.
secondThe second object.

Definition at line 365 of file DirectionRelationHeuristic.cpp.

Member Data Documentation

double SceneModel::DirectionRelationHeuristic::mMaxAngleDeviation
private

Maximal allowed angular distance between two objects. It the distance is greater, we have a break in the relation between the two objects.

Definition at line 123 of file DirectionRelationHeuristic.h.

double SceneModel::DirectionRelationHeuristic::mStaticBreakRatio
private

Maximal percentage of breaks in object relation. If there are more breaks between the objects this candidate relation is ruled out.

Definition at line 111 of file DirectionRelationHeuristic.h.

double SceneModel::DirectionRelationHeuristic::mTogetherRatio
private

Minimal percentage of the time objects are related relation. Objects must be at least related for this percent of all frames.

Definition at line 117 of file DirectionRelationHeuristic.h.


The documentation for this class was generated from the following files:


asr_relation_graph_generator
Author(s): Meißner Pascal
autogenerated on Fri Nov 15 2019 03:39:19