public abstract class SubResolutionFormatReader extends FormatReader
| Modifier and Type | Field and Description |
|---|---|
protected CoreMetadataList |
core
List of
CoreMetadata objects for each series and resolution. |
coreIndex, datasetDescription, domains, fillColor, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSIONCOMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixesCAN_GROUP, CANNOT_GROUP, MUST_GROUP| Constructor and Description |
|---|
SubResolutionFormatReader(java.lang.String format,
java.lang.String suffix)
Constructs a format reader with the given name and default suffix.
|
SubResolutionFormatReader(java.lang.String format,
java.lang.String[] suffixes)
Constructs a format reader with the given name and default suffixes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean fileOnly)
Closes the currently open file.
|
int |
coreIndexToSeries(int index)
Returns the series corresponding to the specified core index.
|
protected void |
flattenHashtables()
Call
FormatReader.updateMetadataLists(Hashtable) on
all metadata hashtables. |
int |
getCoreIndex()
Return the index into CoreMetadata of the current resolution/series.
|
java.util.List<CoreMetadata> |
getCoreMetadataList()
Obtains the core metadata values for the current file.
|
protected CoreMetadata |
getCurrentCore()
Get the CoreMetadata corresponding to the current series and resolution
|
int |
getResolution()
Get the current resolution level.
|
int |
getResolutionCount()
Return the number of resolutions for the current series.
|
int |
getSeries()
Gets the currently active series.
|
int |
getSeriesCount()
Gets the number of series in this file.
|
protected void |
initFile(java.lang.String id)
Initializes the given file (parsing header information, etc.).
|
int |
seriesToCoreIndex(int s)
Returns the first core index corresponding to the specified series.
|
void |
setCoreIndex(int no)
Set the current resolution/series (ignores subresolutions).
|
void |
setResolution(int no)
Set the resolution level.
|
void |
setSeries(int no)
Activates the specified series.
|
addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMetaList, addMeta, addMetaList, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMetaList, close, fileGroupOption, get16BitLookupTable, get8BitLookupTable, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getAvailableOptions, 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, getOptimalTileHeight, getOptimalTileWidth, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getRGBChannelCount, getRotationTransform, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, getThumbSizeX, getThumbSizeY, getTileColumns, getTileRows, getUnderlyingReaders, getUsedFiles, getUsedFiles, getZCTCoords, getZCTModuloCoords, hasCompanionFiles, hasFlattenedResolutions, 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, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, updateMetadataListscheckSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormat, getNativeDataType, getSuffixesgetMetadataOptions, getSupportedMetadataLevels, setMetadataOptionsgetTileCodec, getTileCodecOptions, openCompressedBytes, openCompressedBytesprotected CoreMetadataList core
CoreMetadata objects for each series and resolution.public SubResolutionFormatReader(java.lang.String format,
java.lang.String suffix)
public SubResolutionFormatReader(java.lang.String format,
java.lang.String[] suffixes)
protected void initFile(java.lang.String id)
throws FormatException,
java.io.IOException
initFile in class FormatReaderFormatException - if a parsing error occurs processing the file.java.io.IOException - if an I/O error occurs processing the fileprotected void flattenHashtables()
FormatReader.updateMetadataLists(Hashtable) on
all metadata hashtables.flattenHashtables in class FormatReaderpublic void close(boolean fileOnly)
throws java.io.IOException
IFormatReaderCloseable.close().close in interface IFormatReaderclose in class FormatReaderjava.io.IOExceptionpublic int getSeriesCount()
IFormatReadergetSeriesCount in interface IFormatReadergetSeriesCount in class FormatReaderNote that the value can change depending upon whether resolutions are flattened,
and so reader implementations should use the series and resolutions fields internally.public void setSeries(int no)
IFormatReadersetSeries in interface IFormatReadersetSeries in class FormatReaderNote that the value can change depending upon whether resolutions are flattened,
and so reader implementations should use the series and resolutions fields internally.public int getSeries()
IFormatReadergetSeries in interface IFormatReadergetSeries in class FormatReaderpublic java.util.List<CoreMetadata> getCoreMetadataList()
IFormatReadergetCoreMetadataList in interface IFormatReadergetCoreMetadataList in class FormatReaderpublic int seriesToCoreIndex(int s)
IFormatReaderseriesToCoreIndex in interface IFormatReaderseriesToCoreIndex in class FormatReaderpublic int coreIndexToSeries(int index)
IFormatReadercoreIndexToSeries in interface IFormatReadercoreIndexToSeries in class FormatReaderpublic int getResolutionCount()
IPyramidHandlergetResolutionCount in interface IPyramidHandlergetResolutionCount in class FormatReaderpublic void setResolution(int no)
IPyramidHandlersetResolution in interface IPyramidHandlersetResolution in class FormatReaderIPyramidHandler.getResolutionCount()public int getResolution()
IPyramidHandlergetResolution in interface IPyramidHandlergetResolution in class FormatReaderIPyramidHandler.getResolutionCount()public int getCoreIndex()
IFormatReadergetCoreIndex in interface IFormatReadergetCoreIndex in class FormatReaderpublic void setCoreIndex(int no)
IFormatReadersetCoreIndex in interface IFormatReadersetCoreIndex in class FormatReaderprotected CoreMetadata getCurrentCore()
getCurrentCore in class FormatReaderCopyright © 2025 Open Microscopy Environment