Class ConsistentChannelNamesChecker

Object
ConsistentChannelNamesChecker

public class ConsistentChannelNamesChecker extends Object
Checks that each image has an identical set of Channel-names, and RGB-state.
Author:
Owen Feehan
  • 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

      public Set<String> getChannelNames()
      The names of Channels that are consistent across all images.