Public Member Functions | Private Member Functions | Private Attributes
fovis::FeatureMatcher Class Reference

Matches features between a reference and a target image. More...

#include <feature_matcher.hpp>

List of all members.

Public Member Functions

 FeatureMatcher ()
void matchFeatures (PyramidLevel *ref_level, PyramidLevel *target_level, const std::vector< std::vector< int > > &candidates, FeatureMatch *matches, int *num_matches)
virtual ~FeatureMatcher ()

Private Member Functions

 FeatureMatcher (const FeatureMatcher &other)
FeatureMatcheroperator= (const FeatureMatcher &other)

Private Attributes

int _ref_feature_capacity
int32_t * _ref_to_target_indices
int32_t * _ref_to_target_scores
int _target_feature_capacity
int32_t * _target_to_ref_indices
int32_t * _target_to_ref_scores

Detailed Description

Matches features between a reference and a target image.

Definition at line 12 of file feature_matcher.hpp.


Constructor & Destructor Documentation

Definition at line 10 of file feature_matcher.cpp.

Definition at line 32 of file feature_matcher.cpp.


Member Function Documentation

void fovis::FeatureMatcher::matchFeatures ( PyramidLevel ref_level,
PyramidLevel target_level,
const std::vector< std::vector< int > > &  candidates,
FeatureMatch matches,
int *  num_matches 
)

Feature matching using sum of absolute differences (SAD).

Parameters:
ref_levelfeatures in the reference image.
target_levelfeatures in the target image.
candidatesidentifies potential match candidates for each feature in the reference image. For every reference feature, there is a vector of target feature indices that is a potential match.
matchesoutput array of matches. This should be pre-allocated and of size at least min(num features in ref_level, num features in target_level)
num_matchesoutput parameter, is set to the number of features matched.

Definition at line 41 of file feature_matcher.cpp.

FeatureMatcher& fovis::FeatureMatcher::operator= ( const FeatureMatcher other) [private]

Member Data Documentation

Definition at line 50 of file feature_matcher.hpp.

Definition at line 54 of file feature_matcher.hpp.

Definition at line 55 of file feature_matcher.hpp.

Definition at line 51 of file feature_matcher.hpp.

Definition at line 56 of file feature_matcher.hpp.

Definition at line 57 of file feature_matcher.hpp.


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


libfovis
Author(s): Albert Huang, Maurice Fallon
autogenerated on Thu Jun 6 2019 20:16:12