Class ChannelGetterForTimepoint

Object
org.anchoranalysis.plugin.image.task.stack.ChannelGetterForTimepoint

public class ChannelGetterForTimepoint
extends Object
A wrapper around ChannelGetter that retrieves channels for a specific timepoint.
  • Constructor Summary

    Constructors 
    Constructor Description
    ChannelGetterForTimepoint​(org.anchoranalysis.image.io.channel.input.ChannelGetter getter, int t)  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.image.core.channel.Channel getChannel​(String channelName, org.anchoranalysis.core.log.Logger logger)
    Retrieves a channel with the given name for the specified timepoint.
    boolean hasChannel​(String channelName)
    Checks if a channel with the given name exists.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChannelGetterForTimepoint

      public ChannelGetterForTimepoint​(org.anchoranalysis.image.io.channel.input.ChannelGetter getter, int t)
  • Method Details

    • hasChannel

      public boolean hasChannel​(String channelName)
      Checks if a channel with the given name exists.
      Parameters:
      channelName - the name of the channel to check
      Returns:
      true if the channel exists, false otherwise
    • getChannel

      public org.anchoranalysis.image.core.channel.Channel getChannel​(String channelName, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.core.index.GetOperationFailedException
      Retrieves a channel with the given name for the specified timepoint.
      Parameters:
      channelName - the name of the channel to retrieve
      logger - the logger to use for any logging operations
      Returns:
      the Channel for the specified name and timepoint
      Throws:
      org.anchoranalysis.core.index.GetOperationFailedException - if the channel retrieval operation fails