public abstract class BaseTiffReader extends MinimalTiffReader
Modifier and Type | Field and Description |
---|---|
static String[] |
DATE_FORMATS |
protected static org.slf4j.Logger |
LOGGER
Logger for this class.
|
equalStrips, ifds, lastPlane, noSubresolutions, subResolutionIFDs, thumbnailIFDs, tiffParser, use64Bit
core, coreIndex, datasetDescription, domains, 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 |
---|
BaseTiffReader(String name,
String suffix)
Constructs a new BaseTiffReader.
|
BaseTiffReader(String name,
String[] suffixes)
Constructs a new BaseTiffReader.
|
Modifier and Type | Method and Description |
---|---|
static String |
getExifTagName(int tag) |
protected String |
getImageCreationDate()
Retrieves the image creation date.
|
private String |
getResolutionUnitFromComment(IFD ifd)
Extracts the resolution unit symbol from the comment field
|
protected void |
initFile(String id)
Initializes the given file (parsing header information, etc.).
|
protected void |
initMetadata()
Populates the metadata hashtable and metadata store.
|
protected void |
initMetadataStore()
Populates the metadata store using the data parsed in
initStandardMetadata() along with some further parsing done in
the method itself. |
protected void |
initStandardMetadata()
Parses standard metadata.
|
protected void |
put(String key,
boolean value) |
protected void |
put(String key,
byte value) |
protected void |
put(String key,
char value) |
protected void |
put(String key,
double value) |
protected void |
put(String key,
float value) |
protected void |
put(String key,
IFD ifd,
int tag) |
protected void |
put(String key,
int value) |
protected void |
put(String key,
long value) |
protected void |
put(String key,
Object value) |
protected void |
put(String key,
short value) |
protected void |
putInt(String key,
IFD ifd,
int tag) |
protected void |
putString(String key,
IFD ifd,
int tag) |
close, get16BitLookupTable, get8BitLookupTable, getIFDs, getOptimalTileHeight, getOptimalTileWidth, getThumbnailIFDs, getThumbSizeX, getThumbSizeY, initTiffParser, isThisType, openBytes, openThumbBytes, reopenFile, setResolutionLevel
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, getPixelType, getPixelType, getPossibleDomains, getPulse, getRequiredDirectories, getResolution, getResolutionCount, getRGBChannelCount, getRotationTransform, getSeries, getSeriesCount, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, getSeriesUsedFiles, getSeriesUsedFiles, getSizeC, getSizeT, getSizeX, getSizeY, getSizeZ, 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, 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 static final org.slf4j.Logger LOGGER
public static final String[] DATE_FORMATS
protected void initMetadata() throws FormatException, IOException
FormatException
IOException
protected void initStandardMetadata() throws FormatException, IOException
FormatException
IOException
protected void initMetadataStore() throws FormatException
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.FormatException
private String getResolutionUnitFromComment(IFD ifd)
ifd
- The IFD
null
if the information is not
availableprotected String getImageCreationDate()
protected void put(String key, int value)
protected void put(String key, boolean value)
protected void put(String key, byte value)
protected void put(String key, char value)
protected void put(String key, double value)
protected void put(String key, float value)
protected void put(String key, long value)
protected void put(String key, short value)
protected void initFile(String id) throws FormatException, IOException
FormatReader
initFile
in class MinimalTiffReader
FormatException
- if a parsing error occurs processing the file.IOException
- if an I/O error occurs processing the filepublic static String getExifTagName(int tag)
Copyright © 2016 Open Microscopy Environment