![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/Vision/FeatureDetection.h>
Base class for pruning feature matches. More...
Base class for pruning feature matches.
Public Member Functions | |
| virtual std::string | name () const =0 |
| Return name of pruner. | |
| virtual 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})=0 |
| Return list of pruned features. | |
| Public Member Functions inherited from ImFusion::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 |
Additional Inherited Members | |
| Public Attributes inherited from ImFusion::Configurable | |
| Signal | signalParametersChanged |
| Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
| Protected Attributes inherited from ImFusion::Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
pure virtual |
Return name of pruner.
Implemented in ImFusion::AutomaticMatchPruner, ImFusion::FundamentalMatrixMatchPruner, ImFusion::GMSPruner, ImFusion::HomographyMatchPruner, ImFusion::IdentityMatchPruner, and ImFusion::MatchScorePruner.
|
pure virtual |
Return list of pruned features.
| keyPointsSource | Source keypoints. |
| keyPointsTarget | Target keypoints. |
| matches | Input matches. |
| imageSizeSource | Size of source image. |
| imageSizeTarget | Size of target image. |
Implemented in ImFusion::AutomaticMatchPruner, ImFusion::FundamentalMatrixMatchPruner, ImFusion::GMSPruner, ImFusion::HomographyMatchPruner, ImFusion::IdentityMatchPruner, and ImFusion::MatchScorePruner.