Class IdentifierHelper
Object
org.anchoranalysis.test.image.stackwriter.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 Summary
Modifier and Type Method Description static StringidentiferFor(ChannelSpecification channels, boolean do3D, String extentIdentifier, boolean firstChannelForced)Builds an identifier for particular properties.
-
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 channelsdo3D- whether a 3D stack or notextentIdentifier- an identifier referring to the size of the imagefirstChannelForced- whether the first channel is forced to a different type- Returns:
- a string providing an identifier for the particular combination of attributes.
-