public class TiffReader extends BaseTiffReader
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
calibrationUnit |
static java.lang.String[] |
COMPANION_SUFFIXES |
private java.lang.String |
companionFile |
private java.lang.String |
description |
static int |
IMAGEJ_TAG |
private static org.slf4j.Logger |
LOGGER
Logger for this class.
|
private java.lang.Double |
physicalSizeZ |
static java.lang.String[] |
TIFF_SUFFIXES |
private ome.units.quantity.Time |
timeIncrement |
private java.lang.Integer |
xOrigin |
private java.lang.Integer |
yOrigin |
DATE_FORMATS
canSeparateSeries, equalStrips, ifds, lastPlane, mergeSubIFDs, noSubresolutions, seriesToIFD, subResolutionIFDs, thumbnailIFDs, tiffParser, use64Bit
core
coreIndex, datasetDescription, domains, fillColor, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSION
COMPRESSION_SUFFIXES, currentId, format, metadataOptions, suffixes
CAN_GROUP, CANNOT_GROUP, MUST_GROUP
Constructor and Description |
---|
TiffReader()
Constructs a new Tiff reader.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
checkCommentImageJ(java.lang.String comment) |
private boolean |
checkCommentMetamorph(java.lang.String comment) |
void |
close(boolean fileOnly)
Closes the currently open file.
|
java.lang.String[] |
getSeriesUsedFiles(boolean noPixels)
Returns an array of filenames needed to open the current series.
|
protected void |
initMetadataStore()
Populates the metadata store using the data parsed in
BaseTiffReader.initStandardMetadata() along with some further parsing done in
the method itself. |
protected void |
initStandardMetadata()
Parses standard metadata.
|
private void |
parseCommentGeneric(java.lang.String comment) |
private void |
parseCommentImageJ(java.lang.String comment) |
private void |
parseCommentMetamorph(java.lang.String comment) |
private double |
parseDouble(java.lang.String s) |
private int |
parseInt(java.lang.String s) |
private void |
populateMetadataStoreImageJ(MetadataStore store)
Checks the original metadata table for ImageJ-specific information
to propagate into the metadata store.
|
getExifTagName, getImageCreationDate, initFile, initMetadata, put, put, put, put, put, put, put, put, put, put, putDouble, putInt, putString
get16BitLookupTable, get8BitLookupTable, getIFDs, getOptimalTileHeight, getOptimalTileWidth, getThumbnailIFDs, getThumbSizeX, getThumbSizeY, initTiffParser, isThisType, openBytes, openThumbBytes, reopenFile, setResolutionLevel
coreIndexToSeries, flattenHashtables, getCoreIndex, getCoreMetadataList, getCurrentCore, getResolution, getResolutionCount, getSeries, getSeriesCount, seriesToCoreIndex, setCoreIndex, setResolution, setSeries
addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMeta, addGlobalMetaList, addMeta, addMetaList, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMeta, addSeriesMetaList, close, fileGroupOption, 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, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getRGBChannelCount, getRotationTransform, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, 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, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openPlane, readPlane, readPlane, readPlane, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, updateMetadataLists
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
getTileCodec, getTileCodecOptions, openCompressedBytes, openCompressedBytes
private static final org.slf4j.Logger LOGGER
public static final java.lang.String[] TIFF_SUFFIXES
public static final java.lang.String[] COMPANION_SUFFIXES
public static final int IMAGEJ_TAG
private java.lang.String companionFile
private java.lang.String description
private java.lang.String calibrationUnit
private java.lang.Double physicalSizeZ
private ome.units.quantity.Time timeIncrement
private java.lang.Integer xOrigin
private java.lang.Integer yOrigin
public java.lang.String[] getSeriesUsedFiles(boolean noPixels)
IFormatReader
IFormatHandler.setId(String)
, if appropriate based upon 'noPixels'.
The remaining elements are expected to be in a consistent order;
if a directory listing is necessary to build the list then it should
be sorted first.getSeriesUsedFiles
in interface IFormatReader
getSeriesUsedFiles
in class FormatReader
public void close(boolean fileOnly) throws java.io.IOException
IFormatReader
Closeable.close()
.close
in interface IFormatReader
close
in class MinimalTiffReader
java.io.IOException
protected void initStandardMetadata() throws FormatException, java.io.IOException
BaseTiffReader
initStandardMetadata
in class BaseTiffReader
FormatException
java.io.IOException
protected void initMetadataStore() throws FormatException
BaseTiffReader
BaseTiffReader.initStandardMetadata()
along with some further parsing done in
the method itself.
All calls to the active MetadataStore
should be made in this
method and only in this method. This is especially important for
sub-classes that override the getters for pixel set array size, etc.initMetadataStore
in class BaseTiffReader
FormatException
private boolean checkCommentImageJ(java.lang.String comment)
private boolean checkCommentMetamorph(java.lang.String comment)
private void parseCommentImageJ(java.lang.String comment) throws FormatException, java.io.IOException
FormatException
java.io.IOException
private void populateMetadataStoreImageJ(MetadataStore store)
private void parseCommentMetamorph(java.lang.String comment)
private void parseCommentGeneric(java.lang.String comment)
private int parseInt(java.lang.String s)
private double parseDouble(java.lang.String s)
Copyright © 2024 Open Microscopy Environment