ImFusion SDK 4.3
GridBasedMatcher Class Reference

#include <ImFusion/Vision/FeatureDetection.h>

Grid-based matcher for feature descriptors. More...

+ Inheritance diagram for GridBasedMatcher:

Detailed Description

Grid-based matcher for feature descriptors.

Public Types

enum class  Norm { L1 = 0 , L2 , Hamming , Hamming2 }
 Supported distance norms for matching. More...
 

Public Member Functions

 GridBasedMatcher ()
 Default constructor.
 
std::string name () const override
 Return name of matcher.
 
std::vector< FeatureMatchmatch (const std::vector< Keypoint > &keyPointsSource, const std::vector< Keypoint > &keyPointsTarget) override
 Match features between source and target using grid-based approach.
 
- Public Member Functions inherited from Configurable
virtual void configure (const Properties *p)
 Configure this object instance by de-serializing the given Properties.
 
virtual void configuration (Properties *p) const
 Serialize the current object configuration into the given Properties object.
 
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
 
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
 
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 
 Configurable (const Configurable &rhs)
 
 Configurable (Configurable &&rhs) noexcept
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Public Attributes

Parameter< Normp_norm = {"Norm", Norm::Hamming, this}
 Norm parameter.
 
Parameter< int > p_windowSize = {"Window size", 100, this}
 Window size for grid.
 
Parameter< bool > p_checkOrientation = {"Check orientation", true, this}
 Check orientation flag.
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Enumeration Documentation

◆ Norm

enum class Norm
strong

Supported distance norms for matching.

Enumerator
L1 

L1 norm.

L2 

L2 norm.

Hamming 

Hamming distance.

Hamming2 

Hamming2 distance.

Member Function Documentation

◆ name()

std::string name ( ) const
inlineoverridevirtual

Return name of matcher.

Implements FeatureMatcher.

◆ match()

std::vector< FeatureMatch > match ( const std::vector< Keypoint > & keyPointsSource,
const std::vector< Keypoint > & keyPointsTarget )
overridevirtual

Match features between source and target using grid-based approach.

Parameters
keyPointsSourceSource keypoints.
keyPointsTargetTarget keypoints.
Returns
Vector of feature matches.

Implements FeatureMatcher.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close