Skip to content
Snippets Groups Projects
Commit 637f372f authored by Andreu Corominas-Murtra's avatar Andreu Corominas-Murtra
Browse files

FeatureMatch struct removed from wolf.h and declared at feature_match.h file

parent 1b5c11f7
No related branches found
No related tags found
1 merge request!92Matchers
#ifndef FEATURE_MATCH_H_
#define FEATURE_MATCH_H_
// Wolf includes
#include "wolf.h"
//wolf nampseace
namespace wolf {
/** \brief Match between a feature and a feature
*
* Match between a feature and a feature (feature-feature correspondence)
*
**/
struct FeatureMatch
{
FeatureBasePtr feature_ptr_;
Scalar normalized_score_;
};
typedef std::map<FeatureBasePtr, FeatureMatch> FeatureMatchMap;
}//end namespace
#endif
...@@ -8,8 +8,10 @@ ...@@ -8,8 +8,10 @@
#ifndef PROCESSOR_TRACKER_FEATURE_H_ #ifndef PROCESSOR_TRACKER_FEATURE_H_
#define PROCESSOR_TRACKER_FEATURE_H_ #define PROCESSOR_TRACKER_FEATURE_H_
//wolf includes
#include "processor_tracker.h" #include "processor_tracker.h"
#include "capture_base.h" #include "capture_base.h"
#include "feature_match.h"
#include "wolf.h" #include "wolf.h"
namespace wolf namespace wolf
......
...@@ -377,14 +377,14 @@ typedef std::shared_ptr<StateQuaternion> StateQuaternionPtr; ...@@ -377,14 +377,14 @@ typedef std::shared_ptr<StateQuaternion> StateQuaternionPtr;
// - - Local Parametrization // - - Local Parametrization
typedef std::shared_ptr<LocalParametrizationBase> LocalParametrizationBasePtr; typedef std::shared_ptr<LocalParametrizationBase> LocalParametrizationBasePtr;
// Feature-Feature correspondence // // Feature-Feature correspondence
struct FeatureMatch // struct FeatureMatch
{ // {
FeatureBasePtr feature_ptr_; // FeatureBasePtr feature_ptr_;
Scalar normalized_score_; // Scalar normalized_score_;
}; // };
//
typedef std::map<FeatureBasePtr, FeatureMatch> FeatureMatchMap; // typedef std::map<FeatureBasePtr, FeatureMatch> FeatureMatchMap;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment