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 voidaddToStoreInferNames(org.anchoranalysis.core.identifier.provider.store.NamedProviderStore<org.anchoranalysis.image.io.stack.time.TimeSeries> stacks, int seriesIndex, org.anchoranalysis.core.log.Logger logger)voidaddToStoreWithName(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.TimeSeriescreateStackSequenceForSeries(int seriesIndex, org.anchoranalysis.core.log.Logger logger)intnumberFrames()Methods inherited from class org.anchoranalysis.io.input.InputFromManagerDelegate
close, getDelegate, identifier, pathForBinding, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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:
createStackSequenceForSeriesin interfaceorg.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:
addToStoreInferNamesin interfaceorg.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:
addToStoreWithNamein interfaceorg.anchoranalysis.image.io.stack.input.ProvidesStackInput- Throws:
org.anchoranalysis.core.exception.OperationFailedException
-
numberFrames
public int numberFrames() throws org.anchoranalysis.core.exception.OperationFailedException- Specified by:
numberFramesin interfaceorg.anchoranalysis.image.io.stack.input.ProvidesStackInput- Throws:
org.anchoranalysis.core.exception.OperationFailedException
-