Package loci.formats.in
Class DeltavisionReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.DeltavisionReader
- All Implemented Interfaces:
Closeable,AutoCloseable,ICompressedTileReader,IFormatHandler,IFormatReader,IMetadataConfigurable,IPyramidHandler
- Direct Known Subclasses:
RCPNLReader
DeltavisionReader is the file format reader for Deltavision files.
-
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(RandomAccessInputStream stream) byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) protected voidpopulateObjective(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
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
Initialize 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 interfaceIFormatReader- Overrides:
isSingleFilein classFormatReader- Throws:
FormatExceptionIOException
-
isThisType
- Specified by:
isThisTypein interfaceIFormatReader- Overrides:
isThisTypein classFormatReader
-
isThisType
- Specified by:
isThisTypein interfaceIFormatReader- Overrides:
isThisTypein classFormatReader- Throws:
IOException
-
getSeriesUsedFiles
- Specified by:
getSeriesUsedFilesin interfaceIFormatReader- Overrides:
getSeriesUsedFilesin classFormatReader
-
openBytes
public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) throws FormatException, IOException - Specified by:
openBytesin interfaceIFormatReader- Specified by:
openBytesin classFormatReader- Throws:
FormatExceptionIOException- See Also:
-
close
- Specified by:
closein interfaceIFormatReader- Overrides:
closein classFormatReader- 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 classFormatReader- Throws:
FormatExceptionIOException
-
initPixels
- Throws:
FormatExceptionIOException
-
initExtraMetadata
- Throws:
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
Populate an Objective based upon the lens ID. This is based upon information received from Applied Precision.- Throws:
FormatException
-
DATE_FORMATSinstead