![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Vision/FeatureDetection.h>
Brute-force matcher for feature descriptors. More...
Inheritance diagram for BruteForceMatcher:Brute-force matcher for feature descriptors.
Public Types | |
| enum class | Norm { L1 = 0 , L2 , Hamming , Hamming2 , DotProduct } |
| Supported distance norms for matching. More... | |
Public Member Functions | |
| BruteForceMatcher () | |
| Default constructor. | |
| std::string | name () const override |
| Return name of matcher. | |
| std::vector< FeatureMatch > | match (const std::vector< Keypoint > &keyPointsSource, const std::vector< Keypoint > &keyPointsTarget) override |
| Match features between source and target using brute-force. | |
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 | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Public Attributes | |
| Parameter< int > | p_norm = {"Norm", static_cast<int>(Norm::Hamming), this} |
| Norm parameter. | |
| Parameter< bool > | p_crossCheck = {"Cross check", false, this} |
| Enable cross-checking. | |
| Parameter< double > | p_ratioThreshold = {"Ratio threshold", 0.8, this} |
| Ratio test threshold. | |
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< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
strong |
|
inlineoverridevirtual |
Return name of matcher.
Implements FeatureMatcher.
|
overridevirtual |
Match features between source and target using brute-force.
| keyPointsSource | Source keypoints. |
| keyPointsTarget | Target keypoints. |
Implements FeatureMatcher.