Interface FeatureTableCalculator<T extends FeatureInput>

Type Parameters:
T - the type of feature input
All Superinterfaces:
FeatureCalculatorMulti<T>
All Known Implementing Classes:
PairsTableCalculator, SingleTableCalculator

public interface FeatureTableCalculator<T extends FeatureInput> extends FeatureCalculatorMulti<T>
A feature-calculator with additional functions for encoding the output in a tabular format with column names.

This interface extends FeatureCalculatorMulti to provide methods for initializing, duplicating, and naming features in a tabular structure.

Author:
Owen Feehan
  • Method Details

    • start

      void start(ImageInitialization initialization, Optional<EnergyStack> energyStack, Logger logger) throws InitializeException
      Initializes a feature store that has the same structure as that previously created by createFeatures() from the same object.
      Parameters:
      initialization - the image initialization context
      energyStack - an optional energy stack for feature calculation
      logger - a logger for reporting initialization progress or errors
      Throws:
      InitializeException - if initialization fails
    • duplicateForNewThread

      FeatureTableCalculator<T> duplicateForNewThread()
      Makes a copy of the feature-store for a new thread.

      Deep-copies the features. Shallow-copies everything else.

      Returns:
      the copied feature-store
    • createFeatureNames

      FeatureNameList createFeatureNames()
      Creates a list of names for each feature (columns of the table).
      Returns:
      the list of feature names