ImFusion SDK 4.3
HomographyMatchPruner Class Reference

#include <ImFusion/Vision/FeatureDetection.h>

Pruner using homography inlier threshold. More...

+ Inheritance diagram for HomographyMatchPruner:

Detailed Description

Pruner using homography inlier threshold.

Public Member Functions

std::string name () const override
 Return name of pruner.
 
std::vector< FeatureMatchprune (const std::vector< Keypoint > &keyPointsSource, const std::vector< Keypoint > &keyPointsTarget, const std::vector< FeatureMatch > &matches, const vec2i imageSizeSource={0, 0}, const vec2i imageSizeTarget={0, 0}) override
 Prune matches using homography inlier threshold.
 
- 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< double > p_inlierThreshold = {"Inlier threshold", 3.0, this}
 Inlier threshold for homography.
 
- 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 Function Documentation

◆ name()

std::string name ( ) const
inlineoverridevirtual

Return name of pruner.

Implements FeatureMatchPruner.

◆ prune()

std::vector< FeatureMatch > prune ( const std::vector< Keypoint > & keyPointsSource,
const std::vector< Keypoint > & keyPointsTarget,
const std::vector< FeatureMatch > & matches,
const vec2i imageSizeSource = {0, 0},
const vec2i imageSizeTarget = {0, 0} )
overridevirtual

Prune matches using homography inlier threshold.

Implements FeatureMatchPruner.


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