Package loci.formats.in
Class BaseZeissReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.BaseZeissReader
- All Implemented Interfaces:
Closeable,AutoCloseable,ICompressedTileReader,IFormatHandler,IFormatReader,IMetadataConfigurable,IPyramidHandler
- Direct Known Subclasses:
ZeissTIFFReader,ZeissZVIReader
BaseZeissReader contains common functionality required by
readers for Zeiss AxioVision formats.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumclassContent of a single tag from a Tags block. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Timestampprotected intNumber of bytes per pixel.protected int[]protected intprotected intprotected int[][]protected Stringprotected String[]protected booleanprotected booleanprotected intprotected 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(MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass2(MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass3(MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass4(MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass5(MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass6(MetadataStore store) Read and store basic dimensions in modelprotected voidfillMetadataPass7(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(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
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
-
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:
FormatExceptionIOException
-
initVars
- Throws:
FormatExceptionIOException
-
countImages
protected void countImages() -
fillMetadataPass1
Read and store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
fillMetadataPass2
Read and store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
fillMetadataPass3
Read and store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
fillMetadataPass4
Read and store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
fillMetadataPass5
Read and store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
fillMetadataPass6
Read and store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
fillMetadataPass7
Store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
getOptimalTileHeight
public int getOptimalTileHeight()- Specified by:
getOptimalTileHeightin interfaceIFormatReader- Overrides:
getOptimalTileHeightin classFormatReader
-
storeROIs
Store basic dimensions in model- Parameters:
store-- Throws:
FormatExceptionIOException
-
get8BitLookupTable
- Specified by:
get8BitLookupTablein interfaceIFormatReader- Overrides:
get8BitLookupTablein classFormatReader- Throws:
FormatExceptionIOException
-
get16BitLookupTable
- Specified by:
get16BitLookupTablein interfaceIFormatReader- Overrides:
get16BitLookupTablein classFormatReader- Throws:
FormatExceptionIOException
-
close
- Specified by:
closein interfaceIFormatReader- Overrides:
closein classFormatReader- 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)
-