ImFusion C++ SDK 4.4.0
ImFusion::NMSSampler Class Reference

#include <ImFusion/Vision/FeatureDetection.h>

Non-Maximum Suppression sampler. More...

Inheritance diagram for ImFusion::NMSSampler:

Detailed Description

Non-Maximum Suppression sampler.

Public Member Functions

std::string name () const override
 Return name of sampler.
std::vector< Keypointsample (const std::vector< Keypoint > &keyPoints) override
 Apply non-maximum suppression to keypoints.
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

Public Attributes

Parameter< double > p_radius = {"Radius", 5, this}
 Suppression radius.
Public Attributes inherited from ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.

Additional Inherited Members

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

Member Function Documentation

◆ name()

std::string ImFusion::NMSSampler::name ( ) const
inlineoverridevirtual

Return name of sampler.

Implements ImFusion::FeatureSampler.

◆ sample()

std::vector< Keypoint > ImFusion::NMSSampler::sample ( const std::vector< Keypoint > & keyPoints)
overridevirtual

Apply non-maximum suppression to keypoints.

Parameters
keyPointsInput keypoints.
Returns
Sampled keypoints.

Implements ImFusion::FeatureSampler.


The documentation for this class was generated from the following file:
  • ImFusion/Vision/FeatureDetection.h
Search Tab / S to search, Esc to close