Class ConsistentChannelChecker
Object
ConsistentChannelChecker
Checks that all
Channels have the same voxel-data-type.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckChannelType(Channel channel) Checks that a channel has the same type (max value) as the others.The voxel-data-type that is consistent across all channels.
-
Constructor Details
-
ConsistentChannelChecker
public ConsistentChannelChecker()
-
-
Method Details
-
checkChannelType
Checks that a channel has the same type (max value) as the others.- Parameters:
channel- theChannelto check.- Throws:
OperationFailedException- ifvoxelDataTypeis inconsistent with any existing type, if one exists.
-
getVoxelDataType
The voxel-data-type that is consistent across all channels.- Returns:
- the voxel-data-type.
-