Class ConsistentChannelChecker
Object
ConsistentChannelChecker
Checks that all
Channel
s have the same voxel-data-type.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkChannelType
(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
- theChannel
to check.- Throws:
OperationFailedException
- ifvoxelDataType
is inconsistent with any existing type, if one exists.
-
getVoxelDataType
The voxel-data-type that is consistent across all channels.- Returns:
- the voxel-data-type.
-