Class DictionaryForImageCreator

Object
DictionaryForImageCreator

public class DictionaryForImageCreator extends Object
Creates a Dictionary for a particular EnergyStack that is associated with an EnergyScheme.

This class calculates image features defined in the energy scheme and stores them in a dictionary.

  • Constructor Details

    • DictionaryForImageCreator

      public DictionaryForImageCreator(EnergyScheme energyScheme, SharedFeatures sharedFeatures, Logger logger)
      Creates a new DictionaryForImageCreator instance.
      Parameters:
      energyScheme - The energy scheme containing the image features to be calculated.
      sharedFeatures - Shared features used in the feature calculation process.
      logger - Logger for reporting any issues during the creation process.
  • Method Details

    • create

      public Dictionary create(EnergyStackWithoutParameters energyStack) throws CreateException
      Creates a dictionary containing calculated image features for a given energy stack.
      Parameters:
      energyStack - the energy stack without parameters
      Returns:
      a dictionary containing the calculated image features
      Throws:
      CreateException - if there's an error during the dictionary creation process