ImFusion SDK 4.3
FeatureSampler Class Referenceabstract

#include <ImFusion/Vision/FeatureDetection.h>

Base class for feature sampling. More...

+ Inheritance diagram for FeatureSampler:

Detailed Description

Base class for feature sampling.

Public Member Functions

virtual std::string name () const =0
 Return name of feature sampler.
 
virtual std::vector< Keypointsample (const std::vector< Keypoint > &keyPoints)=0
 Run feature sampling on provided keypoints.
 
- 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
 

Additional Inherited Members

- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ name()

virtual std::string name ( ) const
pure virtual

Return name of feature sampler.

Returns
Name of the feature sampler.

Implemented in IdentitySampler, and NMSSampler.

◆ sample()

virtual std::vector< Keypoint > sample ( const std::vector< Keypoint > & keyPoints)
pure virtual

Run feature sampling on provided keypoints.

Parameters
keyPointsInput keypoints.
Returns
Sampled keypoints.

Implemented in IdentitySampler, and NMSSampler.


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