Skip to main content

StateEstimation::FeatureExtractor

StateEstimation::FeatureExtractor

Abstract interface for extracting features from data objects. More…

#include <FeatureVector.hpp>

Public Functions

Name
virtual ~FeatureExtractor() =default
virtual FeatureVector extractFeatures(DataType const & data) const =0
Extract features from a data object.
virtual std::vector< std::string > getFeatureNames() const =0
Get the names of features this extractor produces.
virtual std::size_t getFeatureDimension() const =0
Get the expected dimension of the feature vector.

Detailed Description

template <typename DataType >
class StateEstimation::FeatureExtractor;

Abstract interface for extracting features from data objects.

Template Parameters:

  • DataType The type of data object to extract features from

Public Functions Documentation

function ~FeatureExtractor

virtual ~FeatureExtractor() =default

function extractFeatures

virtual FeatureVector extractFeatures(
    DataType const & data
) const =0

Extract features from a data object.

Parameters:

  • data The data object to extract features from

Return: FeatureVector containing extracted features

Reimplemented by: StateEstimation::LineFeatureExtractor::extractFeatures

function getFeatureNames

virtual std::vector< std::string > getFeatureNames() const =0

Get the names of features this extractor produces.

Reimplemented by: StateEstimation::LineFeatureExtractor::getFeatureNames

function getFeatureDimension

virtual std::size_t getFeatureDimension() const =0

Get the expected dimension of the feature vector.

Reimplemented by: StateEstimation::LineFeatureExtractor::getFeatureDimension


Updated on 2026-11-13 at 20:25:41 +0000