Package loci.formats.in
Class DeltavisionReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.DeltavisionReader
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileReader,loci.formats.IFormatHandler,loci.formats.IFormatReader,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
- Direct Known Subclasses:
RCPNLReader
public class DeltavisionReader
extends loci.formats.FormatReader
DeltavisionReader is the file format reader for Deltavision files.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final String[]static final intstatic final intprotected loci.formats.in.DeltavisionReader.DVExtHdrFields[]Initialize an array of Extended Header Field structures.protected intprotected intThe number of ints in each extended header section.protected intprotected booleanprotected intSize of one time element in the extended header.protected intSize of one wave in the extended header.protected intSize of one z section in the extended header.Fields inherited from class loci.formats.FormatReader
core, coreIndex, datasetDescription, domains, fillColor, filterMetadata, flattenedResolutions, group, hasCompanionFiles, in, indexedAsRGB, metadata, metadataStore, normalizeData, resolution, saveOriginalMetadata, series, suffixNecessary, suffixSufficient, THUMBNAIL_DIMENSIONFields inherited from class loci.formats.FormatHandler
COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixesFields inherited from interface loci.formats.IFormatReader
CAN_GROUP, CANNOT_GROUP, MUST_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(boolean fileOnly) longgetPlaneByteOffset(int currentZ, int currentW, int currentT) Given any specific Z, W, and T of a plane, determine the absolute byte offset of the plane in the file.String[]getSeriesUsedFiles(boolean noPixels) protected voidprotected voidprotected voidbooleanisSingleFile(String id) booleanisThisType(String name, boolean open) booleanisThisType(loci.common.RandomAccessInputStream stream) byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) protected voidpopulateObjective(loci.formats.meta.MetadataStore store, int lensID) Populate an Objective based upon the lens ID.voidsetTruncatedFileFlag(boolean truncatedFileFlag) This flag indicates if the file is known to be truncated.Methods inherited from class loci.formats.FormatReader
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, get16BitLookupTable, get8BitLookupTable, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getAvailableOptions, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCoreIndex, getCoreMetadataList, getCorrection, getCurrentCore, 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, getResolution, getResolutionCount, getRGBChannelCount, getRotationTransform, getSeries, getSeriesCount, getSeriesMeta, getSeriesMetadata, getSeriesMetadataValue, 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, isThisType, isThisType, isThumbnailSeries, isUsedFile, makeFilterMetadata, openBytes, openBytes, openBytes, openPlane, openThumbBytes, readPlane, readPlane, readPlane, reopenFile, seriesToCoreIndex, setCoreIndex, setFillColor, setFlattenedResolutions, setGroupFiles, setId, setMetadataFiltered, setMetadataStore, setNormalized, setOriginalMetadataPopulated, setResolution, setSeries, updateMetadataListsMethods inherited from class loci.formats.FormatHandler
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, setMetadataOptionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface loci.formats.ICompressedTileReader
getTileBoundingBox, getTileCodec, getTileCodecOptions, openCompressedBytes, openCompressedBytesMethods inherited from interface loci.formats.IFormatHandler
getFormat, getNativeDataType, getSuffixesMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Field Details
-
DV_MAGIC_BYTES_1
public static final int DV_MAGIC_BYTES_1- See Also:
-
DV_MAGIC_BYTES_2
public static final int DV_MAGIC_BYTES_2- See Also:
-
DATE_FORMAT
Deprecated.UseDATE_FORMATSinstead- See Also:
-
DATE_FORMATS
-
wSize
protected int wSizeSize of one wave in the extended header. -
zSize
protected int zSizeSize of one z section in the extended header. -
tSize
protected int tSizeSize of one time element in the extended header. -
panelSize
protected int panelSize -
numIntsPerSection
protected int numIntsPerSectionThe number of ints in each extended header section. These fields appear to be all blank but need to be skipped to get to the floats afterwards -
numFloatsPerSection
protected int numFloatsPerSection -
extHdrFields
protected loci.formats.in.DeltavisionReader.DVExtHdrFields[] extHdrFieldsInitialize an array of Extended Header Field structures. -
positionInT
protected boolean positionInT
-
-
Constructor Details
-
DeltavisionReader
public DeltavisionReader()Constructs a new Deltavision reader.
-
-
Method Details
-
isSingleFile
- Specified by:
isSingleFilein interfaceloci.formats.IFormatReader- Overrides:
isSingleFilein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
isThisType
- Specified by:
isThisTypein interfaceloci.formats.IFormatReader- Overrides:
isThisTypein classloci.formats.FormatReader
-
isThisType
- Specified by:
isThisTypein interfaceloci.formats.IFormatReader- Overrides:
isThisTypein classloci.formats.FormatReader- Throws:
IOException
-
getSeriesUsedFiles
- Specified by:
getSeriesUsedFilesin interfaceloci.formats.IFormatReader- Overrides:
getSeriesUsedFilesin classloci.formats.FormatReader
-
openBytes
public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Specified by:
openBytesin interfaceloci.formats.IFormatReader- Specified by:
openBytesin classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException- See Also:
-
IFormatReader.openBytes(int, byte[], int, int, int, int)
-
close
- Specified by:
closein interfaceloci.formats.IFormatReader- Overrides:
closein classloci.formats.FormatReader- Throws:
IOException
-
setTruncatedFileFlag
public void setTruncatedFileFlag(boolean truncatedFileFlag) This flag indicates if the file is known to be truncated. If true, the dimension size information is kept as it is specified in the file header, otherwise the length of the file is used to override size information. This flag must be set beforeFormatReader.setId(String)is called. Default is false. -
initFile
- Overrides:
initFilein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
initPixels
- Throws:
loci.formats.FormatExceptionIOException
-
initExtraMetadata
- Throws:
loci.formats.FormatExceptionIOException
-
getPlaneByteOffset
public long getPlaneByteOffset(int currentZ, int currentW, int currentT) Given any specific Z, W, and T of a plane, determine the absolute byte offset of the plane in the file.- Parameters:
currentZ-currentW-currentT-
-
populateObjective
protected void populateObjective(loci.formats.meta.MetadataStore store, int lensID) throws loci.formats.FormatException Populate an Objective based upon the lens ID. This is based upon information received from Applied Precision.- Throws:
loci.formats.FormatException
-
DATE_FORMATSinstead