Package loci.formats.in
Class BaseZeissReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.BaseZeissReader
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileReader,loci.formats.IFormatHandler,loci.formats.IFormatReader,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
- Direct Known Subclasses:
ZeissTIFFReader,ZeissZVIReader
public abstract class BaseZeissReader
extends loci.formats.FormatReader
BaseZeissReader contains common functionality required by
readers for Zeiss AxioVision formats.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumclassContent of a single tag from a Tags block. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ome.xml.model.primitives.Timestampprotected intNumber of bytes per pixel.protected int[]protected intprotected intprotected int[][]protected Stringprotected String[]protected booleanprotected booleanprotected intArrayList<loci.formats.in.BaseZeissReader.Layer>protected intprotected intprotected intprotected int[]protected Doubleprotected Doubleprotected Doubleprotected intprotected intprotected intprotected intprotected intFields 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_DIMENSIONFields inherited from class loci.formats.FormatHandler
COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixesFields inherited from interface loci.formats.IFormatReader
CAN_GROUP, CANNOT_GROUP, MUST_GROUP -
Constructor Summary
ConstructorsConstructorDescriptionBaseZeissReader(String name, String suffix) Constructs a new ZeissZVI reader.BaseZeissReader(String name, String[] suffixes) Constructs a new ZeissZVI reader. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(boolean fileOnly) protected voidprotected voidfillMetadataPass1(loci.formats.meta.MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass2(loci.formats.meta.MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass3(loci.formats.meta.MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass4(loci.formats.meta.MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass5(loci.formats.meta.MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass6(loci.formats.meta.MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass7(loci.formats.meta.MetadataStore store) Store basic dimensions in modelshort[][]byte[][]intprotected voidinitFileMain(String id) protected voidprotected static intparseColor(byte r, byte g, byte b) protected static intParse an Integer from a String.protected static intParse an Integer from a String.protected voidstoreROIs(loci.formats.meta.MetadataStore store) Store basic dimensions in modelMethods 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, fileGroupOption, 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, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getThumbSizeX, getThumbSizeY, getTileColumns, getTileRows, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, initFile, isFalseColor, isGroupFiles, isIndexed, isInterleaved, isInterleaved, isLittleEndian, isMetadataComplete, isMetadataFiltered, isNormalized, isOrderCertain, isOriginalMetadataPopulated, isRGB, isSingleFile, isThisType, isThisType, isThisType, isThisType, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openBytes, openPlane, openThumbBytes, readPlane, readPlane, readPlane, reopenFile, seriesToCoreIndex, setCoreIndex, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, 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.ICompressedTileReader
getTileBoundingBox, getTileCodec, getTileCodecOptions, openCompressedBytes, openCompressedBytesMethods inherited from interface loci.formats.IFormatHandler
getFormat, getNativeDataType, getSuffixesMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Field Details
-
bpp
protected int bppNumber of bytes per pixel. -
imageFiles
-
offsets
protected int[] offsets -
coordinates
protected int[][] coordinates -
acquisitionDate
protected transient ome.xml.model.primitives.Timestamp acquisitionDate -
timestamps
-
exposureTime
-
cIndex
protected int cIndex -
isJPEG
protected boolean isJPEG -
isZlib
protected boolean isZlib -
realWidth
protected int realWidth -
realHeight
protected int realHeight -
tagsToParse
-
nextEmWave
protected int nextEmWave -
nextExWave
protected int nextExWave -
nextChName
protected int nextChName -
stageX
-
stageY
-
timepoint
protected int timepoint -
channelColors
protected int[] channelColors -
lastPlane
protected int lastPlane -
tiles
-
detectorGain
-
detectorOffset
-
emWavelength
-
exWavelength
-
channelName
-
physicalSizeX
-
physicalSizeY
-
physicalSizeZ
-
rowCount
protected int rowCount -
colCount
protected int colCount -
rawCount
protected int rawCount -
imageDescription
-
channelIndices
-
zIndices
-
timepointIndices
-
tileIndices
-
roiIDs
-
layers
-
-
Constructor Details
-
BaseZeissReader
Constructs a new ZeissZVI reader. -
BaseZeissReader
Constructs a new ZeissZVI reader.
-
-
Method Details
-
initFileMain
- Throws:
loci.formats.FormatExceptionIOException
-
initVars
- Throws:
loci.formats.FormatExceptionIOException
-
countImages
protected void countImages() -
fillMetadataPass1
protected void fillMetadataPass1(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Read and store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
fillMetadataPass2
protected void fillMetadataPass2(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Read and store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
fillMetadataPass3
protected void fillMetadataPass3(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Read and store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
fillMetadataPass4
protected void fillMetadataPass4(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Read and store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
fillMetadataPass5
protected void fillMetadataPass5(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Read and store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
fillMetadataPass6
protected void fillMetadataPass6(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Read and store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
fillMetadataPass7
protected void fillMetadataPass7(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
getOptimalTileHeight
public int getOptimalTileHeight()- Specified by:
getOptimalTileHeightin interfaceloci.formats.IFormatReader- Overrides:
getOptimalTileHeightin classloci.formats.FormatReader
-
storeROIs
protected void storeROIs(loci.formats.meta.MetadataStore store) throws loci.formats.FormatException, IOException Store basic dimensions in model- Parameters:
store-- Throws:
loci.formats.FormatExceptionIOException
-
get8BitLookupTable
- Specified by:
get8BitLookupTablein interfaceloci.formats.IFormatReader- Overrides:
get8BitLookupTablein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
get16BitLookupTable
- Specified by:
get16BitLookupTablein interfaceloci.formats.IFormatReader- Overrides:
get16BitLookupTablein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
close
- Specified by:
closein interfaceloci.formats.IFormatReader- Overrides:
closein classloci.formats.FormatReader- Throws:
IOException
-
parseInt
Parse an Integer from a String.- Parameters:
number- the number to parse- Returns:
- an Integer. 0 if number was null.
-
parseInt
Parse an Integer from a String.- Parameters:
number- the number to parsedefaultnum- the number to return if number is null or empty- Returns:
- an Integer. 0 if number was null.
-
parseColor
protected static int parseColor(byte r, byte g, byte b)
-