Class VentanaReader

java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.SubResolutionFormatReader
loci.formats.in.MinimalTiffReader
loci.formats.in.BaseTiffReader
loci.formats.in.VentanaReader
All Implemented Interfaces:
Closeable, AutoCloseable, loci.formats.ICompressedTileReader, loci.formats.IFormatHandler, loci.formats.IFormatReader, loci.formats.IMetadataConfigurable, loci.formats.IPyramidHandler

public class VentanaReader extends loci.formats.in.BaseTiffReader
VentanaReader is the file format reader for Ventana .bif files.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
    Default value of SPLIT_TILES_KEY
    static final String
    MetadataOptions key for determining whether to report each tile as a separate series.

    Fields inherited from class loci.formats.in.BaseTiffReader

    DATE_FORMATS, physicalSizeX, physicalSizeY

    Fields inherited from class loci.formats.in.MinimalTiffReader

    canSeparateSeries, equalStrips, ifds, lastPlane, mergeSubIFDs, noSubresolutions, seriesToIFD, subResolutionIFDs, thumbnailIFDs, tiffParser, use64Bit

    Fields inherited from class loci.formats.SubResolutionFormatReader

    core

    Fields inherited from class loci.formats.FormatReader

    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, metadataOptions, suffixes

    Fields inherited from interface loci.formats.IFormatReader

    CAN_GROUP, CANNOT_GROUP, MUST_GROUP
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new Ventana reader.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(boolean fileOnly)
     
    int
     
    short[][]
     
    byte[][]
     
    protected ArrayList<String>
     
    int
     
    int
     
    int
     
    int
     
    protected void
     
    protected void
     
    boolean
    isThisType(String name, boolean open)
     
    byte[]
    openBytes(int no, byte[] buf, int x, int y, int w, int h)
     
    byte[]
     
    boolean
     

    Methods inherited from class loci.formats.in.BaseTiffReader

    getExifTagName, getImageCreationDate, initFile, initMetadata, put, put, put, put, put, put, put, put, put, put, putDouble, putInt, putString

    Methods inherited from class loci.formats.in.MinimalTiffReader

    copyTile, getCompressedByteCount, getIFDs, getThumbnailIFDs, getTileIndex, initTiffParser, isThisType, reopenFile, setResolutionLevel

    Methods inherited from class loci.formats.SubResolutionFormatReader

    coreIndexToSeries, flattenHashtables, getCoreIndex, getCoreMetadataList, getCurrentCore, getResolution, getResolutionCount, getSeries, getSeriesCount, seriesToCoreIndex, setCoreIndex, setResolution, setSeries

    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, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCorrection, 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, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getRGBChannelCount, getRotationTransform, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getTileColumns, getTileRows, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openPlane, readPlane, readPlane, readPlane, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, 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

    • SPLIT_TILES_KEY

      public static final String SPLIT_TILES_KEY
      MetadataOptions key for determining whether to report each tile as a separate series.
      See Also:
    • SPLIT_TILES_DEFAULT

      public static final boolean SPLIT_TILES_DEFAULT
      Default value of SPLIT_TILES_KEY
      See Also:
  • Constructor Details

    • VentanaReader

      public VentanaReader()
      Constructs a new Ventana reader.
  • Method Details

    • splitTiles

      public boolean splitTiles()
      Returns:
      true if MetadataOptions are set so that each tile in the full resolution image will be returned as a separate series
    • 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
    • isThisType

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

      public byte[][] get8BitLookupTable() throws loci.formats.FormatException, IOException
      Specified by:
      get8BitLookupTable in interface loci.formats.IFormatReader
      Overrides:
      get8BitLookupTable in class loci.formats.in.MinimalTiffReader
      Throws:
      loci.formats.FormatException
      IOException
    • get16BitLookupTable

      public short[][] get16BitLookupTable() throws loci.formats.FormatException, IOException
      Specified by:
      get16BitLookupTable in interface loci.formats.IFormatReader
      Overrides:
      get16BitLookupTable in class loci.formats.in.MinimalTiffReader
      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
      Overrides:
      openBytes in class loci.formats.in.MinimalTiffReader
      Throws:
      loci.formats.FormatException
      IOException
      See Also:
      • IFormatReader.openBytes(int, byte[], int, int, int, int)
    • openThumbBytes

      public byte[] openThumbBytes(int no) throws loci.formats.FormatException, IOException
      Specified by:
      openThumbBytes in interface loci.formats.IFormatReader
      Overrides:
      openThumbBytes in class loci.formats.in.MinimalTiffReader
      Throws:
      loci.formats.FormatException
      IOException
    • getThumbSizeX

      public int getThumbSizeX()
      Specified by:
      getThumbSizeX in interface loci.formats.IFormatReader
      Overrides:
      getThumbSizeX in class loci.formats.in.MinimalTiffReader
    • getThumbSizeY

      public int getThumbSizeY()
      Specified by:
      getThumbSizeY in interface loci.formats.IFormatReader
      Overrides:
      getThumbSizeY in class loci.formats.in.MinimalTiffReader
    • close

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

      public int getOptimalTileWidth()
      Specified by:
      getOptimalTileWidth in interface loci.formats.IFormatReader
      Overrides:
      getOptimalTileWidth in class loci.formats.in.MinimalTiffReader
    • getOptimalTileHeight

      public int getOptimalTileHeight()
      Specified by:
      getOptimalTileHeight in interface loci.formats.IFormatReader
      Overrides:
      getOptimalTileHeight in class loci.formats.in.MinimalTiffReader
    • getAvailableOptions

      protected ArrayList<String> getAvailableOptions()
      Overrides:
      getAvailableOptions in class loci.formats.FormatReader
    • initStandardMetadata

      protected void initStandardMetadata() throws loci.formats.FormatException, IOException
      Overrides:
      initStandardMetadata in class loci.formats.in.BaseTiffReader
      Throws:
      loci.formats.FormatException
      IOException
    • initMetadataStore

      protected void initMetadataStore() throws loci.formats.FormatException
      Overrides:
      initMetadataStore in class loci.formats.in.BaseTiffReader
      Throws:
      loci.formats.FormatException