Class FEITiffReader

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

public class FEITiffReader extends BaseTiffReader
FEITiffReader is the file format reader for TIFF files produced by various FEI software.
  • Field Details

    • SFEG_TAG

      public static final int SFEG_TAG
      See Also:
    • HELIOS_TAG

      public static final int HELIOS_TAG
      See Also:
    • TITAN_TAG

      public static final int TITAN_TAG
      See Also:
    • DATE_FORMAT

      private static final String DATE_FORMAT
      See Also:
    • MAG_MULTIPLIER

      private static final double MAG_MULTIPLIER
      See Also:
    • imageName

      private String imageName
    • imageDescription

      private String imageDescription
    • date

      private String date
    • userName

      private String userName
    • microscopeModel

      private String microscopeModel
    • stageX

      private ome.units.quantity.Length stageX
    • stageY

      private ome.units.quantity.Length stageY
    • stageZ

      private ome.units.quantity.Length stageZ
    • sizeX

      private Double sizeX
    • sizeY

      private Double sizeY
    • timeIncrement

      private Double timeIncrement
    • detectors

      private ArrayList<String> detectors
    • magnification

      private Double magnification
  • Constructor Details

    • FEITiffReader

      public FEITiffReader()
  • 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