Class ConvertNamedChannelsInputToStack

Object
org.anchoranalysis.io.input.InputFromManagerDelegate<org.anchoranalysis.image.io.channel.input.NamedChannelsInput>
org.anchoranalysis.plugin.io.bean.input.stack.ConvertNamedChannelsInputToStack
All Implemented Interfaces:
org.anchoranalysis.image.io.stack.input.ProvidesStackInput, org.anchoranalysis.image.io.stack.input.StackSequenceInput, org.anchoranalysis.io.input.InputFromManager

public class ConvertNamedChannelsInputToStack
extends org.anchoranalysis.io.input.InputFromManagerDelegate<org.anchoranalysis.image.io.channel.input.NamedChannelsInput>
implements org.anchoranalysis.image.io.stack.input.StackSequenceInput
An input object that converts NamedChannelsInput to StackSequenceInput.
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    ConvertNamedChannelsInputToStack​(org.anchoranalysis.image.io.channel.input.NamedChannelsInput input, int timeIndex, Optional<String> channelName, org.anchoranalysis.core.time.ExecutionTimeRecorder executionTimeRecorder)
    Create with an input.
    ConvertNamedChannelsInputToStack​(org.anchoranalysis.image.io.channel.input.NamedChannelsInput input, org.anchoranalysis.core.time.ExecutionTimeRecorder executionTimeRecorder)
    Create with an input.
  • Method Summary

    Modifier and Type Method Description
    void addToStoreInferNames​(org.anchoranalysis.core.identifier.provider.store.NamedProviderStore<org.anchoranalysis.image.io.stack.time.TimeSeries> stacks, int seriesIndex, org.anchoranalysis.core.log.Logger logger)  
    void addToStoreWithName​(String name, org.anchoranalysis.core.identifier.provider.store.NamedProviderStore<org.anchoranalysis.image.io.stack.time.TimeSeries> stacks, int seriesIndex, org.anchoranalysis.core.log.Logger logger)  
    org.anchoranalysis.image.io.stack.time.TimeSeries createStackSequenceForSeries​(int seriesIndex, org.anchoranalysis.core.log.Logger logger)  
    int numberFrames()  

    Methods inherited from class org.anchoranalysis.io.input.InputFromManagerDelegate

    close, getDelegate, identifier, pathForBinding, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.anchoranalysis.io.input.InputFromManager

    allAssociatedPaths, asFile, close, identifier, identifierAsPath, pathForBinding, pathForBindingRequired

    Methods inherited from interface org.anchoranalysis.image.io.stack.input.ProvidesStackInput

    addToStoreInferNames, asSet, asStack
  • Constructor Details

    • ConvertNamedChannelsInputToStack

      public ConvertNamedChannelsInputToStack​(org.anchoranalysis.image.io.channel.input.NamedChannelsInput input, org.anchoranalysis.core.time.ExecutionTimeRecorder executionTimeRecorder)
      Create with an input.
      Parameters:
      input - the input to convert.
      executionTimeRecorder - records the execution times of certain operations.
    • ConvertNamedChannelsInputToStack

      public ConvertNamedChannelsInputToStack​(org.anchoranalysis.image.io.channel.input.NamedChannelsInput input, int timeIndex, Optional<String> channelName, org.anchoranalysis.core.time.ExecutionTimeRecorder executionTimeRecorder)
      Create with an input.
      Parameters:
      input - the input to convert.
      timeIndex - time-index to convert.
      channelName - by default all channels are converted into a stack. If set, only this channel is converted into a stack.
      executionTimeRecorder - records the execution times of certain operations.
  • Method Details

    • createStackSequenceForSeries

      public org.anchoranalysis.image.io.stack.time.TimeSeries createStackSequenceForSeries​(int seriesIndex, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.image.io.ImageIOException
      Specified by:
      createStackSequenceForSeries in interface org.anchoranalysis.image.io.stack.input.StackSequenceInput
      Throws:
      org.anchoranalysis.image.io.ImageIOException
    • addToStoreInferNames

      public void addToStoreInferNames​(org.anchoranalysis.core.identifier.provider.store.NamedProviderStore<org.anchoranalysis.image.io.stack.time.TimeSeries> stacks, int seriesIndex, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.core.exception.OperationFailedException
      Specified by:
      addToStoreInferNames in interface org.anchoranalysis.image.io.stack.input.ProvidesStackInput
      Throws:
      org.anchoranalysis.core.exception.OperationFailedException
    • addToStoreWithName

      public void addToStoreWithName​(String name, org.anchoranalysis.core.identifier.provider.store.NamedProviderStore<org.anchoranalysis.image.io.stack.time.TimeSeries> stacks, int seriesIndex, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.core.exception.OperationFailedException
      Specified by:
      addToStoreWithName in interface org.anchoranalysis.image.io.stack.input.ProvidesStackInput
      Throws:
      org.anchoranalysis.core.exception.OperationFailedException
    • numberFrames

      public int numberFrames() throws org.anchoranalysis.core.exception.OperationFailedException
      Specified by:
      numberFrames in interface org.anchoranalysis.image.io.stack.input.ProvidesStackInput
      Throws:
      org.anchoranalysis.core.exception.OperationFailedException