Class ExtractFrameStore
Object
org.anchoranalysis.image.io.stack.time.ExtractFrameStore
- All Implemented Interfaces:
NamedProvider<TimeSeries>,NamedProviderStore<TimeSeries>
public class ExtractFrameStore extends Object implements NamedProviderStore<TimeSeries>
Exposes a
NamedProviderStore<TimeSeries> as a NamedProviderStore<Stack> by
extracting a frame from each series.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ExtractFrameStore(NamedProviderStore<Stack> stacks)Creates to extract at time-index 0.ExtractFrameStore(NamedProviderStore<Stack> stacks, int timeIndex)Creates to extract at time-indextimeIndex. -
Method Summary
Modifier and Type Method Description voidadd(String identifier, StoreSupplier<TimeSeries> supplier)Optional<TimeSeries>getOptional(String key)Set<String>keys()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.core.identifier.provider.NamedProvider
getArbitraryElement, getException, isEmpty
-
Constructor Details
-
ExtractFrameStore
Creates to extract at time-index 0.- Parameters:
stacks- the underlying store ofStacks.
-
ExtractFrameStore
Creates to extract at time-indextimeIndex.- Parameters:
stacks- the underlying store ofStacks.timeIndex- the time-index to extract from eachTimeSeries.
-
-
Method Details
-
getOptional
- Specified by:
getOptionalin interfaceNamedProvider<TimeSeries>- Throws:
NamedProviderGetException
-
keys
- Specified by:
keysin interfaceNamedProvider<TimeSeries>
-
add
public void add(String identifier, StoreSupplier<TimeSeries> supplier) throws OperationFailedException- Specified by:
addin interfaceNamedProviderStore<TimeSeries>- Throws:
OperationFailedException
-