Class ConsistentChannelNamesChecker

Object
org.anchoranalysis.plugin.image.task.grouped.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

  • Method Details

    • checkChannelNames

      public void checkChannelNames​(Set<String> channelNames, boolean rgb) throws org.anchoranalysis.core.exception.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:
      org.anchoranalysis.core.exception.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.