Class OpenedMultiFile

Object
OpenedMultiFile
All Implemented Interfaces:
AutoCloseable, OpenedImageFile

public class OpenedMultiFile extends Object implements 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 Details

    • OpenedMultiFile

      public OpenedMultiFile(StackReader stackReader, ParsedFilePathBag fileBag, ExecutionTimeRecorder executionTimeRecorder)
  • Method Details

    • numberSeries

      public int numberSeries()
      Specified by:
      numberSeries in interface OpenedImageFile
    • open

      public TimeSeries open(int seriesIndex, Logger logger) throws ImageIOException
      Specified by:
      open in interface OpenedImageFile
      Throws:
      ImageIOException
    • channelNames

      public Optional<List<String>> channelNames(Logger logger)
      Specified by:
      channelNames in interface OpenedImageFile
    • numberChannels

      public int numberChannels(Logger logger) throws ImageIOException
      Specified by:
      numberChannels in interface OpenedImageFile
      Throws:
      ImageIOException
    • bitDepth

      public int bitDepth(Logger logger) throws ImageIOException
      Specified by:
      bitDepth in interface OpenedImageFile
      Throws:
      ImageIOException
    • isRGB

      public boolean isRGB(Logger logger) throws ImageIOException
      Specified by:
      isRGB in interface OpenedImageFile
      Throws:
      ImageIOException
    • numberFrames

      public int numberFrames(Logger logger) throws ImageIOException
      Specified by:
      numberFrames in interface OpenedImageFile
      Throws:
      ImageIOException
    • timestamps

      public ImageTimestampsAttributes timestamps() throws ImageIOException
      Specified by:
      timestamps in interface OpenedImageFile
      Throws:
      ImageIOException
    • location

      public Optional<ImageLocation> location() throws ImageIOException
      Specified by:
      location in interface OpenedImageFile
      Throws:
      ImageIOException
    • close

      public void close() throws ImageIOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface OpenedImageFile
      Throws:
      ImageIOException
    • dimensionsForSeries

      public Dimensions dimensionsForSeries(int seriesIndex, Logger logger) throws ImageIOException
      Specified by:
      dimensionsForSeries in interface OpenedImageFile
      Throws:
      ImageIOException
    • pyramid

      public Optional<ImagePyramidMetadata> pyramid() throws ImageIOException
      Specified by:
      pyramid in interface OpenedImageFile
      Throws:
      ImageIOException