Class IdentifierHelper

Object
IdentifierHelper

public class IdentifierHelper extends Object
Builds an identifier (a filename without extension) for a saved-raster corresponding to certain properties.

This is used to locate a saved-raster in the resources to compare against.

Author:
Owen Feehan
  • Method Details

    • identiferFor

      public static String identiferFor(ChannelSpecification channels, boolean do3D, String extentIdentifier, boolean firstChannelForced)
      Builds an identifier for particular properties.
      Parameters:
      channels - the number and type of channels
      do3D - whether a 3D stack or not
      extentIdentifier - an identifier referring to the size of the image
      firstChannelForced - whether the first channel is forced to a different type
      Returns:
      a string providing an identifier for the particular combination of attributes.