Class SISReader

All Implemented Interfaces:
Closeable, AutoCloseable, ICompressedTileReader, IFormatHandler, IFormatReader, IMetadataConfigurable, IPyramidHandler

public class SISReader extends BaseTiffReader
SISReader is the file format reader for Olympus Soft Imaging Solutions TIFF files.
  • Field Details

    • SIS_TAG

      private static final int SIS_TAG
      See Also:
    • SIS_INI_TAG

      private static final int SIS_INI_TAG
      See Also:
    • SIS_TAG_2

      private static final int SIS_TAG_2
      See Also:
    • imageName

      private String imageName
    • magnification

      private double magnification
    • channelName

      private String channelName
    • cameraName

      private String cameraName
    • physicalSizeX

      private double physicalSizeX
    • physicalSizeY

      private double physicalSizeY
    • acquisitionDate

      private String acquisitionDate
  • Constructor Details

    • SISReader

      public SISReader()
  • Method Details

    • isThisType

      public boolean isThisType(loci.common.RandomAccessInputStream stream) throws IOException
      Description copied from interface: IFormatReader
      Checks if the given stream is a valid stream for this file format. The number of bytes read is format-dependent.
      Specified by:
      isThisType in interface IFormatReader
      Overrides:
      isThisType in class MinimalTiffReader
      Parameters:
      stream - A RandomAccessInputStream representing the file to check. The first byte in the stream is assumed to be the first byte in the file.
      Returns:
      true if the file represented by the stream can be read by this reader; false otherwise.
      Throws:
      IOException
    • close

      public void close(boolean fileOnly) throws IOException
      Description copied from interface: IFormatReader
      Closes the currently open file. If the flag is set, this is all that happens; if unset, it is equivalent to calling Closeable.close().
      Specified by:
      close in interface IFormatReader
      Overrides:
      close in class MinimalTiffReader
      Throws:
      IOException
    • initStandardMetadata

      protected void initStandardMetadata() throws FormatException, IOException
      Description copied from class: BaseTiffReader
      Parses standard metadata. NOTE: Absolutely no calls to the metadata store should be made in this method or methods that override this method. Data will be overwritten if you do so.
      Overrides:
      initStandardMetadata in class BaseTiffReader
      Throws:
      FormatException
      IOException
    • initMetadataStore

      protected void initMetadataStore() throws FormatException
      Description copied from class: BaseTiffReader
      Populates the metadata store using the data parsed in BaseTiffReader.initStandardMetadata() along with some further parsing done in the method itself. All calls to the active MetadataStore should be made in this method and only in this method. This is especially important for sub-classes that override the getters for pixel set array size, etc.
      Overrides:
      initMetadataStore in class BaseTiffReader
      Throws:
      FormatException