Class ChannelSpecification

Object
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(VoxelDataType channelVoxelType, int numberChannels, boolean makeRGB)
      Creates a new ChannelSpecification instance.
      Parameters:
      channelVoxelType - Default data-type for all channels in the stack if not otherwise specified.
      numberChannels - How many channels in the stack?
      makeRGB - If true, the the RGB-flag is set on the created stack, if false it is not.
  • Method Details

    • getChannelVoxelType

      public 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