public abstract class BaseZeissReader extends FormatReader
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseZeissReader.Context |
class |
BaseZeissReader.Tag
Content of a single tag from a Tags block.
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
bpp
Number of bytes per pixel.
|
protected int[] |
channelColors |
protected java.util.Set<java.lang.Integer> |
channelIndices |
protected java.util.Hashtable<java.lang.Integer,java.lang.String> |
channelName |
protected int |
cIndex |
protected int |
colCount |
protected int[][] |
coordinates |
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> |
detectorGain |
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> |
detectorOffset |
protected java.util.Hashtable<java.lang.Integer,PositiveInteger> |
emWavelength |
protected java.util.Hashtable<java.lang.Integer,java.lang.String> |
exposureTime |
protected java.util.Hashtable<java.lang.Integer,PositiveInteger> |
exWavelength |
protected java.lang.String |
imageDescription |
protected java.lang.String[] |
imageFiles |
protected boolean |
isJPEG |
protected boolean |
isZlib |
protected int |
lastPlane |
java.util.ArrayList<loci.formats.in.BaseZeissReader.Layer> |
layers |
protected int |
nextChName |
protected int |
nextEmWave |
protected int |
nextExWave |
protected int[] |
offsets |
protected java.lang.Double |
physicalSizeX |
protected java.lang.Double |
physicalSizeY |
protected java.lang.Double |
physicalSizeZ |
protected int |
rawCount |
protected int |
realHeight |
protected int |
realWidth |
protected java.util.Vector<java.lang.String> |
roiIDs |
protected int |
rowCount |
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> |
stageX |
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> |
stageY |
protected java.util.Vector<java.lang.String> |
tagsToParse |
protected java.util.Set<java.lang.Integer> |
tileIndices |
protected java.util.Hashtable<java.lang.Integer,java.lang.Integer> |
tiles |
protected int |
timepoint |
protected java.util.Set<java.lang.Integer> |
timepointIndices |
protected java.util.Hashtable<java.lang.Integer,java.lang.String> |
timestamps |
protected java.util.Set<java.lang.Integer> |
zIndices |
core, coreIndex, datasetDescription, domains, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataOptions, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSIONCOMPRESSION_SUFFIXES, currentId, format, LOGGER, suffixesCAN_GROUP, CANNOT_GROUP, MUST_GROUP| Constructor and Description |
|---|
BaseZeissReader(java.lang.String name,
java.lang.String suffix)
Constructs a new ZeissZVI reader.
|
BaseZeissReader(java.lang.String name,
java.lang.String[] suffixes)
Constructs a new ZeissZVI reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean fileOnly)
Closes the currently open file.
|
protected void |
countImages() |
protected void |
fillMetadataPass1(MetadataStore store)
Read and store basic dimensions in model
|
protected void |
fillMetadataPass2(MetadataStore store)
Read and store basic dimensions in model
|
protected void |
fillMetadataPass3(MetadataStore store)
Read and store basic dimensions in model
|
protected void |
fillMetadataPass4(MetadataStore store)
Read and store basic dimensions in model
|
protected void |
fillMetadataPass5(MetadataStore store)
Read and store basic dimensions in model
|
protected void |
fillMetadataPass6(MetadataStore store)
Read and store basic dimensions in model
|
protected void |
fillMetadataPass7(MetadataStore store)
Store basic dimensions in model
|
short[][] |
get16BitLookupTable()
Gets the 16-bit color lookup table associated with
the most recently opened image.
|
byte[][] |
get8BitLookupTable()
Gets the 8-bit color lookup table associated with
the most recently opened image.
|
int |
getOptimalTileHeight()
Returns the optimal sub-image height for use with openBytes.
|
protected void |
initFileMain(java.lang.String id) |
protected void |
initVars(java.lang.String id) |
protected static int |
parseColor(byte r,
byte g,
byte b) |
protected static int |
parseInt(java.lang.String number)
Parse an Integer from a String.
|
protected static int |
parseInt(java.lang.String number,
int defaultnum)
Parse an Integer from a String.
|
protected void |
storeROIs(MetadataStore store)
Store basic dimensions in model
|
addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMetaList, addMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMetaList, close, coreIndexToSeries, fileGroupOption, flattenHashtables, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getBinning, getBitsPerPixel, getChannelDimLengths, getChannelDimTypes, getCompression, getContrastMethod, getCoreIndex, getCoreMetadata, getCoreMetadataList, getCorrection, getCurrentFile, getDatasetStructureDescription, getDetectorType, getDimensionOrder, getDimensionOrder, getDomains, getEffectiveSizeC, getExperimentType, getFilamentType, getFillRule, getFilterType, getFontFamily, getFontStyle, getGlobalMeta, getGlobalMetadata, getIlluminationType, getImageCount, getImmersion, getIndex, getLaserMedium, getLaserType, getLineCap, getMarker, getMedium, getMetadataOptions, 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, getSupportedMetadataLevels, getThumbSizeX, getThumbSizeY, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, 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, seriesToCoreIndex, setCoreIndex, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataOptions, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeriescheckSuffix, checkSuffix, getFormat, getNativeDataType, getSuffixesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormat, getNativeDataType, getSuffixesprotected int bpp
protected java.lang.String[] imageFiles
protected int[] offsets
protected int[][] coordinates
protected java.util.Hashtable<java.lang.Integer,java.lang.String> timestamps
protected java.util.Hashtable<java.lang.Integer,java.lang.String> exposureTime
protected int cIndex
protected boolean isJPEG
protected boolean isZlib
protected int realWidth
protected int realHeight
protected java.util.Vector<java.lang.String> tagsToParse
protected int nextEmWave
protected int nextExWave
protected int nextChName
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> stageX
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> stageY
protected int timepoint
protected int[] channelColors
protected int lastPlane
protected java.util.Hashtable<java.lang.Integer,java.lang.Integer> tiles
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> detectorGain
protected java.util.Hashtable<java.lang.Integer,java.lang.Double> detectorOffset
protected java.util.Hashtable<java.lang.Integer,PositiveInteger> emWavelength
protected java.util.Hashtable<java.lang.Integer,PositiveInteger> exWavelength
protected java.util.Hashtable<java.lang.Integer,java.lang.String> channelName
protected java.lang.Double physicalSizeX
protected java.lang.Double physicalSizeY
protected java.lang.Double physicalSizeZ
protected int rowCount
protected int colCount
protected int rawCount
protected java.lang.String imageDescription
protected java.util.Set<java.lang.Integer> channelIndices
protected java.util.Set<java.lang.Integer> zIndices
protected java.util.Set<java.lang.Integer> timepointIndices
protected java.util.Set<java.lang.Integer> tileIndices
protected java.util.Vector<java.lang.String> roiIDs
public java.util.ArrayList<loci.formats.in.BaseZeissReader.Layer> layers
public BaseZeissReader(java.lang.String name,
java.lang.String suffix)
public BaseZeissReader(java.lang.String name,
java.lang.String[] suffixes)
protected void initFileMain(java.lang.String id)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected void initVars(java.lang.String id)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected void countImages()
protected void fillMetadataPass1(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionprotected void fillMetadataPass2(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionprotected void fillMetadataPass3(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionprotected void fillMetadataPass4(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionprotected void fillMetadataPass5(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionprotected void fillMetadataPass6(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionprotected void fillMetadataPass7(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionpublic int getOptimalTileHeight()
IFormatReadergetOptimalTileHeight in interface IFormatReadergetOptimalTileHeight in class FormatReaderprotected void storeROIs(MetadataStore store) throws FormatException, java.io.IOException
store - FormatExceptionjava.io.IOExceptionpublic byte[][] get8BitLookupTable()
throws FormatException,
java.io.IOException
IFormatReaderIFormatReader.isIndexed() returns
false, then this may return null. Also, if IFormatReader.getPixelType() returns
anything other than FormatTools.INT8 or FormatTools.UINT8,
this method will return null.get8BitLookupTable in interface IFormatReaderget8BitLookupTable in class FormatReaderFormatExceptionjava.io.IOExceptionpublic short[][] get16BitLookupTable()
throws FormatException,
java.io.IOException
IFormatReaderIFormatReader.isIndexed() returns
false, then this may return null. Also, if IFormatReader.getPixelType() returns
anything other than FormatTools.INT16 or FormatTools.UINT16, this method will return null.get16BitLookupTable in interface IFormatReaderget16BitLookupTable in class FormatReaderFormatExceptionjava.io.IOExceptionpublic void close(boolean fileOnly)
throws java.io.IOException
IFormatReaderCloseable.close().close in interface IFormatReaderclose in class FormatReaderjava.io.IOExceptionprotected static int parseInt(java.lang.String number)
number - the number to parseprotected static int parseInt(java.lang.String number,
int defaultnum)
number - the number to parsedefaultnum - the number to return if number is null or emptyprotected static int parseColor(byte r,
byte g,
byte b)
Copyright © 2014 Open Microscopy Environment