Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::FeatureID Struct Reference

Unique identifier for a computed image feature. More...

#include <mitkAbstractGlobalImageFeature.h>

Collaboration diagram for mitk::FeatureID:

Public Types

using ParametersType = std::map< std::string, us::Any >
 

Public Member Functions

bool operator< (const FeatureID &rh) const
 Less-than comparison for use in ordered containers. More...
 
bool operator== (const FeatureID &rh) const
 Equality comparison. More...
 

Public Attributes

std::string name
 Name of the individual feature. More...
 
std::string featureClass
 Name of the feature class that computed this feature. More...
 
std::string settingID
 Identifier encoding the parameter configuration; must be unique per parameter set. More...
 
std::string legacyName
 Legacy feature name that encodes parameter settings directly in the string. More...
 
std::string version
 Version of the feature definition. More...
 
ParametersType parameters
 Map of parameter name-value pairs used for computation. More...
 

Detailed Description

Unique identifier for a computed image feature.

FeatureID combines the feature name, its owning feature class, a settings identifier, optional parameters, a legacy name (for backward compatibility), and a version string. It is used as a key in feature result lists.

See also
AbstractGlobalImageFeature

Definition at line 46 of file mitkAbstractGlobalImageFeature.h.

Member Typedef Documentation

◆ ParametersType

using mitk::FeatureID::ParametersType = std::map<std::string, us::Any>

Definition at line 54 of file mitkAbstractGlobalImageFeature.h.

Member Function Documentation

◆ operator<()

bool mitk::FeatureID::operator< ( const FeatureID &  rh) const

Less-than comparison for use in ordered containers.

Parameters
[in]rhThe right-hand FeatureID to compare against.
Returns
True if this FeatureID sorts before rh.

◆ operator==()

bool mitk::FeatureID::operator== ( const FeatureID &  rh) const

Equality comparison.

Parameters
[in]rhThe right-hand FeatureID to compare against.
Returns
True if both FeatureIDs are equal.

Member Data Documentation

◆ featureClass

std::string mitk::FeatureID::featureClass

Name of the feature class that computed this feature.

Definition at line 49 of file mitkAbstractGlobalImageFeature.h.

◆ legacyName

std::string mitk::FeatureID::legacyName

Legacy feature name that encodes parameter settings directly in the string.

Definition at line 51 of file mitkAbstractGlobalImageFeature.h.

◆ name

std::string mitk::FeatureID::name

Name of the individual feature.

Definition at line 48 of file mitkAbstractGlobalImageFeature.h.

◆ parameters

ParametersType mitk::FeatureID::parameters

Map of parameter name-value pairs used for computation.

Definition at line 55 of file mitkAbstractGlobalImageFeature.h.

◆ settingID

std::string mitk::FeatureID::settingID

Identifier encoding the parameter configuration; must be unique per parameter set.

Definition at line 50 of file mitkAbstractGlobalImageFeature.h.

◆ version

std::string mitk::FeatureID::version

Version of the feature definition.

Definition at line 52 of file mitkAbstractGlobalImageFeature.h.


The documentation for this struct was generated from the following file: