Class ChannelSpecification

Object
org.anchoranalysis.test.image.stackwriter.ChannelSpecification

public final class ChannelSpecification
extends Object
Specifies a type and number of channels in a stack.
Author:
Owen Feehan
  • Constructor Details

    • ChannelSpecification

      public ChannelSpecification​(org.anchoranalysis.image.voxel.datatype.VoxelDataType channelVoxelType, int numberChannels, boolean makeRGB)
  • Method Details

    • getChannelVoxelType

      public org.anchoranalysis.image.voxel.datatype.VoxelDataType getChannelVoxelType()
      Default data-type for all channels in the stack if not otherwise specified.
    • getNumberChannels

      public int getNumberChannels()
      How many channels in the stack?
    • isMakeRGB

      public boolean isMakeRGB()
      If true, the the RGB-flag is set on the created stack, if false it is not.
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object