Package loci.formats.in
Class SVSReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.SubResolutionFormatReader
loci.formats.in.MinimalTiffReader
loci.formats.in.BaseTiffReader
loci.formats.in.SVSReader
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileReader,loci.formats.IFormatHandler,loci.formats.IFormatReader,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
- Direct Known Subclasses:
MikroscanTiffReader
public class SVSReader
extends loci.formats.in.BaseTiffReader
SVSReader is the file format reader for Aperio SVS TIFF files.
-
Field Summary
FieldsFields inherited from class loci.formats.in.BaseTiffReader
DATE_FORMATS, physicalSizeX, physicalSizeYFields inherited from class loci.formats.in.MinimalTiffReader
canSeparateSeries, equalStrips, ifds, lastPlane, mergeSubIFDs, noSubresolutions, seriesToIFD, subResolutionIFDs, thumbnailIFDs, tiffParser, use64BitFields inherited from class loci.formats.SubResolutionFormatReader
coreFields 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_DIMENSIONFields inherited from class loci.formats.FormatHandler
COMPRESSION_SUFFIXES, currentId, format, metadataOptions, suffixesFields inherited from interface loci.formats.IFormatReader
CAN_GROUP, CANNOT_GROUP, MUST_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(boolean fileOnly) intprotected ome.xml.model.primitives.Timestampprotected ome.xml.model.primitives.Colorprotected ome.units.quantity.Lengthprotected ome.units.quantity.Lengthprotected Doubleprotected loci.formats.tiff.IFDgetIFD(int no) Get the IFD corresponding to the given plane in the current series.protected doubleintintprotected ome.units.quantity.Length[]loci.common.RegiongetTileBoundingBox(int no, int x, int y) loci.formats.codec.CodecgetTileCodec(int no) loci.formats.codec.CodecOptionsgetTileCodecOptions(int no, int x, int y) intgetTileColumns(int no) intgetTileRows(int no) protected voidprotected voidbooleanisThisType(String name, boolean open) byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) byte[]openCompressedBytes(int no, byte[] buf, int x, int y) byte[]openCompressedBytes(int no, int x, int y) byte[]openThumbBytes(int no) booleanMethods inherited from class loci.formats.in.BaseTiffReader
getExifTagName, getImageCreationDate, initFile, initMetadata, put, put, put, put, put, put, put, put, put, put, putDouble, putInt, putStringMethods inherited from class loci.formats.in.MinimalTiffReader
copyTile, get16BitLookupTable, get8BitLookupTable, getCompressedByteCount, getIFDs, getThumbnailIFDs, getThumbSizeX, getThumbSizeY, getTileIndex, initTiffParser, isThisType, reopenFile, setResolutionLevelMethods inherited from class loci.formats.SubResolutionFormatReader
coreIndexToSeries, flattenHashtables, getCoreIndex, getCoreMetadataList, getCurrentCore, getResolution, getResolutionCount, getSeries, getSeriesCount, seriesToCoreIndex, setCoreIndex, setResolution, setSeriesMethods 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, 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, updateMetadataListsMethods inherited from class loci.formats.FormatHandler
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface loci.formats.IFormatHandler
getFormat, getNativeDataType, getSuffixesMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Field Details
-
REMOVE_THUMBNAIL_KEY
- See Also:
-
REMOVE_THUMBNAIL_DEFAULT
public static final boolean REMOVE_THUMBNAIL_DEFAULT- See Also:
-
-
Constructor Details
-
SVSReader
public SVSReader()Constructs a new SVS reader. -
SVSReader
-
-
Method Details
-
removeThumbnail
public boolean removeThumbnail() -
fileGroupOption
- Specified by:
fileGroupOptionin interfaceloci.formats.IFormatReader- Overrides:
fileGroupOptionin classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
isThisType
- Specified by:
isThisTypein interfaceloci.formats.IFormatReader- Overrides:
isThisTypein classloci.formats.FormatReader
-
openBytes
public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Specified by:
openBytesin interfaceloci.formats.IFormatReader- Overrides:
openBytesin classloci.formats.in.MinimalTiffReader- Throws:
loci.formats.FormatExceptionIOException- See Also:
-
IFormatReader.openBytes(int, byte[], int, int, int, int)
-
openThumbBytes
- Specified by:
openThumbBytesin interfaceloci.formats.IFormatReader- Overrides:
openThumbBytesin classloci.formats.in.MinimalTiffReader- Throws:
loci.formats.FormatExceptionIOException
-
close
- Specified by:
closein interfaceloci.formats.IFormatReader- Overrides:
closein classloci.formats.in.BaseTiffReader- Throws:
IOException
-
getOptimalTileWidth
public int getOptimalTileWidth()- Specified by:
getOptimalTileWidthin interfaceloci.formats.IFormatReader- Overrides:
getOptimalTileWidthin classloci.formats.in.MinimalTiffReader
-
getOptimalTileHeight
public int getOptimalTileHeight()- Specified by:
getOptimalTileHeightin interfaceloci.formats.IFormatReader- Overrides:
getOptimalTileHeightin classloci.formats.in.MinimalTiffReader
-
getTileRows
public int getTileRows(int no) - Specified by:
getTileRowsin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileRowsin classloci.formats.FormatReader
-
getTileColumns
public int getTileColumns(int no) - Specified by:
getTileColumnsin interfaceloci.formats.ICompressedTileReader- Overrides:
getTileColumnsin classloci.formats.FormatReader
-
getTileBoundingBox
public loci.common.Region getTileBoundingBox(int no, int x, int y) -
openCompressedBytes
public byte[] openCompressedBytes(int no, int x, int y) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException
-
openCompressedBytes
public byte[] openCompressedBytes(int no, byte[] buf, int x, int y) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException
-
getTileCodec
public loci.formats.codec.Codec getTileCodec(int no) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException
-
getTileCodecOptions
public loci.formats.codec.CodecOptions getTileCodecOptions(int no, int x, int y) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException
-
getAvailableOptions
- Overrides:
getAvailableOptionsin classloci.formats.FormatReader
-
initStandardMetadata
- Overrides:
initStandardMetadatain classloci.formats.in.BaseTiffReader- Throws:
loci.formats.FormatExceptionIOException
-
initMetadataStore
protected void initMetadataStore() throws loci.formats.FormatException- Overrides:
initMetadataStorein classloci.formats.in.BaseTiffReader- Throws:
loci.formats.FormatException
-
getEmission
protected ome.units.quantity.Length getEmission() -
getExcitation
protected ome.units.quantity.Length getExcitation() -
getExposureTime
-
getDatestamp
protected ome.xml.model.primitives.Timestamp getDatestamp() -
getPhysicalSizes
protected ome.units.quantity.Length[] getPhysicalSizes() -
getMagnification
protected double getMagnification() -
getDyeNames
-
getDisplayColor
protected ome.xml.model.primitives.Color getDisplayColor() -
getIFD
protected loci.formats.tiff.IFD getIFD(int no) Get the IFD corresponding to the given plane in the current series. Initializes the underlying TiffParser if necessary.- Parameters:
no- index- Returns:
- corresponding IFD
-