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 Summary
Constructors Constructor Description ChannelSpecification(org.anchoranalysis.image.voxel.datatype.VoxelDataType channelVoxelType, int numberChannels, boolean makeRGB) -
Method Summary
Modifier and Type Method Description booleanequals(Object o)org.anchoranalysis.image.voxel.datatype.VoxelDataTypegetChannelVoxelType()Default data-type for all channels in the stack if not otherwise specified.intgetNumberChannels()How many channels in the stack?inthashCode()booleanisMakeRGB()If true, the the RGB-flag is set on the created stack, if false it is not.StringtoString()
-
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
-
hashCode
public int hashCode() -
toString
-