Class ConsistentChannelNamesChecker
Object
ConsistentChannelNamesChecker
Checks that each image has an identical set of
Channel
-names, and RGB-state.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkChannelNames
(Set<String> channelNames, boolean rgb) Checks that the channel-names are consistent.The names ofChannel
s that are consistent across all images.
-
Constructor Details
-
ConsistentChannelNamesChecker
public ConsistentChannelNamesChecker()
-
-
Method Details
-
checkChannelNames
public void checkChannelNames(Set<String> channelNames, boolean rgb) throws OperationFailedException Checks that the channel-names are consistent.- Parameters:
channelNames
- the names of the channels to check.rgb
- whether these channels originate from an image that is RGB or not.- Throws:
OperationFailedException
- if the image do not have identical channel-names or RGB status.
-
getChannelNames
The names ofChannel
s that are consistent across all images.
-