Class ZeissTIFFReader

java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.BaseZeissReader
loci.formats.in.ZeissTIFFReader
All Implemented Interfaces:
Closeable, AutoCloseable, loci.formats.ICompressedTileReader, loci.formats.IFormatHandler, loci.formats.IFormatReader, loci.formats.IMetadataConfigurable, loci.formats.IPyramidHandler

public class ZeissTIFFReader extends BaseZeissReader
ZeissTIFFReader is the file format reader for Zeiss AxioVision TIFF files and their companion XML file.
Author:
Melissa Linkert melissa at glencoesoftware.com and Roger Leigh r.leigh at dundee.ac.uk
  • Nested Class Summary

    Nested classes/interfaces inherited from class loci.formats.in.BaseZeissReader

    BaseZeissReader.Context, BaseZeissReader.Tag
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
     
    static final String
     

    Fields inherited from class loci.formats.FormatReader

    core, coreIndex, datasetDescription, domains, fillColor, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSION

    Fields inherited from class loci.formats.FormatHandler

    COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes

    Fields inherited from interface loci.formats.IFormatReader

    CAN_GROUP, CANNOT_GROUP, MUST_GROUP
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(boolean fileOnly)
     
    protected void
     
    protected loci.formats.in.ZeissTIFFReader.TIFFInfo
    Evaluate the metadata of a TIFF/XML file collection, and return this to the user.
    int
     
    protected void
    fillMetadataPass1(loci.formats.meta.MetadataStore store)
    Read and store basic dimensions in model
    protected void
    fillMetadataPass2(loci.formats.meta.MetadataStore store)
    Read and store basic dimensions in model
    protected void
    fillMetadataPass5(loci.formats.meta.MetadataStore store)
    Read and store basic dimensions in model
    protected String
     
    getSeriesUsedFiles(boolean noPixels)
     
    protected void
     
    protected void
     
    boolean
     
    boolean
    isThisType(String name, boolean open)
     
    byte[]
    openBytes(int no, byte[] buf, int x, int y, int w, int h)
     

    Methods inherited from class loci.formats.FormatReader

    addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMetaList, addMeta, addMetaList, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMetaList, close, coreIndexToSeries, flattenHashtables, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getAvailableOptions, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCoreIndex, getCoreMetadataList, getCorrection, getCurrentCore, getCurrentFile, getDatasetStructureDescription, getDetectorType, getDimensionOrder, getDimensionOrder, getDomains, getEffectiveSizeC, getExperimentType, getFilamentType, getFillColor, getFillRule, getFilterType, getFontFamily, getFontStyle, getGlobalMeta, getGlobalMetadata, getIlluminationType, getImageCount, getImmersion, getIndex, getIndex, getLaserMedium, getLaserType, getMarker, getMedium, getMetadataStore, getMetadataStoreRoot, getMetadataValue, getMicrobeamManipulationType, getMicroscopeType, getModuloC, getModuloT, getModuloZ, getNamingConvention, getOptimalTileWidth, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getRotationTransform, getSeries, getSeriesCount, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getThumbSizeX, getThumbSizeY, getTileColumns, getTileRows, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isThisType, isThisType, isThisType, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openPlane, openThumbBytes, readPlane, readPlane, readPlane, reopenFile, seriesToCoreIndex, setCoreIndex, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, updateMetadataLists

    Methods inherited from class loci.formats.FormatHandler

    checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface loci.formats.ICompressedTileReader

    getTileBoundingBox, getTileCodec, getTileCodecOptions, openCompressedBytes, openCompressedBytes

    Methods inherited from interface loci.formats.IFormatHandler

    getFormat, getNativeDataType, getSuffixes

    Methods inherited from interface loci.formats.IMetadataConfigurable

    getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
  • Field Details

  • Constructor Details

    • ZeissTIFFReader

      public ZeissTIFFReader()
  • Method Details

    • isSingleFile

      public boolean isSingleFile(String id) throws loci.formats.FormatException, IOException
      Specified by:
      isSingleFile in interface loci.formats.IFormatReader
      Overrides:
      isSingleFile in class loci.formats.FormatReader
      Throws:
      loci.formats.FormatException
      IOException
    • getPrefix

      protected String getPrefix(String name)
    • isThisType

      public boolean isThisType(String name, boolean open)
      Specified by:
      isThisType in interface loci.formats.IFormatReader
      Overrides:
      isThisType in class loci.formats.FormatReader
    • fileGroupOption

      public int fileGroupOption(String id) throws loci.formats.FormatException, IOException
      Specified by:
      fileGroupOption in interface loci.formats.IFormatReader
      Overrides:
      fileGroupOption in class loci.formats.FormatReader
      Throws:
      loci.formats.FormatException
      IOException
    • openBytes

      public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException
      Specified by:
      openBytes in interface loci.formats.IFormatReader
      Specified by:
      openBytes in class loci.formats.FormatReader
      Throws:
      loci.formats.FormatException
      IOException
      See Also:
      • IFormatReader.openBytes(int, byte[], int, int, int, int)
    • getSeriesUsedFiles

      public String[] getSeriesUsedFiles(boolean noPixels)
      Specified by:
      getSeriesUsedFiles in interface loci.formats.IFormatReader
      Overrides:
      getSeriesUsedFiles in class loci.formats.FormatReader
    • close

      public void close(boolean fileOnly) throws IOException
      Specified by:
      close in interface loci.formats.IFormatReader
      Overrides:
      close in class BaseZeissReader
      Throws:
      IOException
    • evalFile

      protected loci.formats.in.ZeissTIFFReader.TIFFInfo evalFile(String id) throws loci.formats.FormatException, IOException
      Evaluate the metadata of a TIFF/XML file collection, and return this to the user. This is done by filling a TIFFInfo object containing all of the file and directory paths, plus the parsed metadata.
      Parameters:
      id - the filename to evaluate. This may be the top-level or per-plane TIFF, or the XML metadata.
      Returns:
      an TIFFInfo object.
      Throws:
      loci.formats.FormatException
      IOException
    • initFile

      protected void initFile(String id) throws loci.formats.FormatException, IOException
      Overrides:
      initFile in class loci.formats.FormatReader
      Throws:
      loci.formats.FormatException
      IOException
    • initVars

      protected void initVars(String id) throws loci.formats.FormatException, IOException
      Overrides:
      initVars in class BaseZeissReader
      Throws:
      loci.formats.FormatException
      IOException
    • fillMetadataPass1

      protected void fillMetadataPass1(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException
      Description copied from class: BaseZeissReader
      Read and store basic dimensions in model
      Overrides:
      fillMetadataPass1 in class BaseZeissReader
      Throws:
      loci.formats.FormatException
      IOException
    • fillMetadataPass2

      protected void fillMetadataPass2(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException
      Description copied from class: BaseZeissReader
      Read and store basic dimensions in model
      Overrides:
      fillMetadataPass2 in class BaseZeissReader
      Throws:
      loci.formats.FormatException
      IOException
    • fillMetadataPass5

      protected void fillMetadataPass5(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException
      Description copied from class: BaseZeissReader
      Read and store basic dimensions in model
      Overrides:
      fillMetadataPass5 in class BaseZeissReader
      Throws:
      loci.formats.FormatException
      IOException
    • countImages

      protected void countImages()
      Overrides:
      countImages in class BaseZeissReader