public abstract class BaseZeissReader extends FormatReader
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BaseZeissReader.Charset |
static class |
BaseZeissReader.Context |
(package private) static class |
BaseZeissReader.DrawStyle
Line drawing styles.
|
(package private) static class |
BaseZeissReader.FeatureType
Feature types.
|
(package private) static class |
BaseZeissReader.FillStyle
Fill styles.
|
(package private) class |
BaseZeissReader.Layer
Layer class representing an AxioVision layer; used to contain a
collection of shapes.
|
(package private) static class |
BaseZeissReader.LineEndPositions |
(package private) static class |
BaseZeissReader.LineEndStyle
Line ending styles.
|
(package private) static class |
BaseZeissReader.PointStyle
Point styles.
|
(package private) class |
BaseZeissReader.Shape
Shape class representing the metadata within an AxioVision Shape ROI
|
class |
BaseZeissReader.Tag
Content of a single tag from a Tags block.
|
(package private) static class |
BaseZeissReader.TextAlignment |
Modifier and Type | Field and Description |
---|---|
protected int |
bpp
Number of bytes per pixel.
|
protected int[] |
channelColors |
protected Set<Integer> |
channelIndices |
protected Map<Integer,String> |
channelName |
protected int |
cIndex |
protected int |
colCount |
protected int[][] |
coordinates |
protected Map<Integer,Double> |
detectorGain |
protected Map<Integer,Double> |
detectorOffset |
protected Map<Integer,ome.units.quantity.Length> |
emWavelength |
protected Map<Integer,String> |
exposureTime |
protected Map<Integer,ome.units.quantity.Length> |
exWavelength |
protected String |
imageDescription |
protected String[] |
imageFiles |
protected boolean |
isJPEG |
protected boolean |
isZlib |
protected int |
lastPlane |
ArrayList<BaseZeissReader.Layer> |
layers |
protected int |
nextChName |
protected int |
nextEmWave |
protected int |
nextExWave |
protected int[] |
offsets |
protected Double |
physicalSizeX |
protected Double |
physicalSizeY |
protected Double |
physicalSizeZ |
protected int |
rawCount |
protected int |
realHeight |
protected int |
realWidth |
protected List<String> |
roiIDs |
protected int |
rowCount |
protected Map<Integer,ome.units.quantity.Length> |
stageX |
protected Map<Integer,ome.units.quantity.Length> |
stageY |
protected List<String> |
tagsToParse |
protected Set<Integer> |
tileIndices |
protected Map<Integer,Integer> |
tiles |
protected int |
timepoint |
protected Set<Integer> |
timepointIndices |
protected Map<Integer,String> |
timestamps |
protected Set<Integer> |
zIndices |
core, coreIndex, datasetDescription, domains, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSION
COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes
CAN_GROUP, CANNOT_GROUP, MUST_GROUP
Constructor and Description |
---|
BaseZeissReader(String name,
String suffix)
Constructs a new ZeissZVI reader.
|
BaseZeissReader(String name,
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(String id) |
protected void |
initVars(String id) |
protected static int |
parseColor(byte r,
byte g,
byte b) |
protected static int |
parseInt(String number)
Parse an Integer from a String.
|
protected static int |
parseInt(String number,
int defaultnum)
Parse an Integer from a String.
|
(package private) void |
parseMainTags(int image,
MetadataStore store,
ArrayList<BaseZeissReader.Tag> tags) |
private long |
parseTimestamp(String s)
Parse timestamp from string.
|
protected void |
storeROIs(MetadataStore store)
Store basic dimensions in model
|
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, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCoreIndex, getCoreMetadataList, getCorrection, getCurrentFile, getDatasetStructureDescription, getDetectorType, getDimensionOrder, getDimensionOrder, getDomains, getEffectiveSizeC, getExperimentType, getFilamentType, 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, 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, reopenFile, seriesToCoreIndex, setCoreIndex, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormat, getNativeDataType, getSuffixes
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
protected int bpp
protected String[] imageFiles
protected int[] offsets
protected int[][] coordinates
protected int cIndex
protected boolean isJPEG
protected boolean isZlib
protected int realWidth
protected int realHeight
protected int nextEmWave
protected int nextExWave
protected int nextChName
protected int timepoint
protected int[] channelColors
protected int lastPlane
protected Double physicalSizeX
protected Double physicalSizeY
protected Double physicalSizeZ
protected int rowCount
protected int colCount
protected int rawCount
protected String imageDescription
public ArrayList<BaseZeissReader.Layer> layers
public BaseZeissReader(String name, String suffix)
protected void initFileMain(String id) throws FormatException, IOException
FormatException
IOException
protected void initVars(String id) throws FormatException, IOException
FormatException
IOException
protected void countImages()
protected void fillMetadataPass1(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
protected void fillMetadataPass2(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
protected void fillMetadataPass3(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
protected void fillMetadataPass4(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
protected void fillMetadataPass5(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
protected void fillMetadataPass6(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
protected void fillMetadataPass7(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
public int getOptimalTileHeight()
IFormatReader
getOptimalTileHeight
in interface IFormatReader
getOptimalTileHeight
in class FormatReader
protected void storeROIs(MetadataStore store) throws FormatException, IOException
store
- FormatException
IOException
public byte[][] get8BitLookupTable() throws FormatException, IOException
IFormatReader
IFormatReader.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 IFormatReader
get8BitLookupTable
in class FormatReader
FormatException
IOException
public short[][] get16BitLookupTable() throws FormatException, IOException
IFormatReader
IFormatReader.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 IFormatReader
get16BitLookupTable
in class FormatReader
FormatException
IOException
public void close(boolean fileOnly) throws IOException
IFormatReader
Closeable.close()
.close
in interface IFormatReader
close
in class FormatReader
IOException
void parseMainTags(int image, MetadataStore store, ArrayList<BaseZeissReader.Tag> tags) throws FormatException, IOException
FormatException
IOException
protected static int parseInt(String number)
number
- the number to parseprotected static int parseInt(String number, int defaultnum)
number
- the number to parsedefaultnum
- the number to return if number is null or emptyprivate long parseTimestamp(String s)
s
- protected static int parseColor(byte r, byte g, byte b)
Copyright © 2017 Open Microscopy Environment