Class OpenedMultiFile
Object
OpenedMultiFile
- All Implemented Interfaces:
AutoCloseable,OpenedImageFile
A
OpenedImageFile where the image is formed from more than one file on the file-system.
It ignores multiple series.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionOpenedMultiFile(StackReader stackReader, ParsedFilePathBag fileBag, ExecutionTimeRecorder executionTimeRecorder) -
Method Summary
Modifier and TypeMethodDescriptionintbitDepth(Logger logger) channelNames(Logger logger) voidclose()DimensionsdimensionsForSeries(int seriesIndex, Logger logger) booleanisRGB(Logger logger) Optional<ImageLocation> location()intnumberChannels(Logger logger) intnumberFrames(Logger logger) intTimeSeriesopen(int seriesIndex, Logger logger) Optional<ImagePyramidMetadata> pyramid()ImageTimestampsAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.image.io.stack.input.OpenedImageFile
metadata, open, openCheckType
-
Constructor Details
-
OpenedMultiFile
public OpenedMultiFile(StackReader stackReader, ParsedFilePathBag fileBag, ExecutionTimeRecorder executionTimeRecorder)
-
-
Method Details
-
numberSeries
public int numberSeries()- Specified by:
numberSeriesin interfaceOpenedImageFile
-
open
public TimeSeries open(int seriesIndex, Logger logger) throws ImageIOException - Specified by:
openin interfaceOpenedImageFile- Throws:
ImageIOException
-
channelNames
-
numberChannels
public int numberChannels(Logger logger) throws ImageIOException - Specified by:
numberChannelsin interfaceOpenedImageFile- Throws:
ImageIOException
-
bitDepth
public int bitDepth(Logger logger) throws ImageIOException - Specified by:
bitDepthin interfaceOpenedImageFile- Throws:
ImageIOException
-
isRGB
public boolean isRGB(Logger logger) throws ImageIOException - Specified by:
isRGBin interfaceOpenedImageFile- Throws:
ImageIOException
-
numberFrames
public int numberFrames(Logger logger) throws ImageIOException - Specified by:
numberFramesin interfaceOpenedImageFile- Throws:
ImageIOException
-
timestamps
public ImageTimestampsAttributes timestamps() throws ImageIOException- Specified by:
timestampsin interfaceOpenedImageFile- Throws:
ImageIOException
-
location
- Specified by:
locationin interfaceOpenedImageFile- Throws:
ImageIOException
-
close
public void close() throws ImageIOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceOpenedImageFile- Throws:
ImageIOException
-
dimensionsForSeries
public Dimensions dimensionsForSeries(int seriesIndex, Logger logger) throws ImageIOException - Specified by:
dimensionsForSeriesin interfaceOpenedImageFile- Throws:
ImageIOException
-
pyramid
- Specified by:
pyramidin interfaceOpenedImageFile- Throws:
ImageIOException
-