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
This commit is part of merge request !92. Comments created here will be created in the context of that merge request.
#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 @@
#ifndef PROCESSOR_TRACKER_FEATURE_H_
#define PROCESSOR_TRACKER_FEATURE_H_
//wolf includes
#include "processor_tracker.h"
#include "capture_base.h"
#include "feature_match.h"
#include "wolf.h"
namespace wolf
......
......@@ -377,14 +377,14 @@ typedef std::shared_ptr<StateQuaternion> StateQuaternionPtr;
// - - Local Parametrization
typedef std::shared_ptr<LocalParametrizationBase> LocalParametrizationBasePtr;
// Feature-Feature correspondence
struct FeatureMatch
{
FeatureBasePtr feature_ptr_;
Scalar normalized_score_;
};
typedef std::map<FeatureBasePtr, FeatureMatch> FeatureMatchMap;
// // Feature-Feature correspondence
// struct FeatureMatch
// {
// FeatureBasePtr feature_ptr_;
// Scalar normalized_score_;
// };
//
// 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