Package loci.formats.in
Class LOFReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.LeicaMicrosystemsMetadata.LMSFileReader
loci.formats.in.LOFReader
- All Implemented Interfaces:
Closeable,AutoCloseable,ICompressedTileReader,IFormatHandler,IFormatReader,IMetadataConfigurable,IPyramidHandler
LOFReader is the file format reader for Leica Microsystems' LOF files.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class loci.formats.in.LeicaMicrosystemsMetadata.LMSFileReader
LMSFileReader.ImageFormat -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final byteFields inherited from class loci.formats.in.LeicaMicrosystemsMetadata.LMSFileReader
associatedXmlDoc, log, metaTemp, OLD_PHYSICAL_SIZE_DEFAULT, OLD_PHYSICAL_SIZE_KEYFields 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) short[][]byte[][]Returns the file format in which actual image bytes are storedintString[]getSeriesUsedFiles(boolean noPixels) protected voidbooleanisThisType(RandomAccessInputStream stream) byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) voidsetIdWithMetadata(String id, XlifDocument xml) Inits the LOFReader using passed xml (from XLIF) for metadata initiation, instead of reading the LOF's included xmlMethods inherited from class loci.formats.in.LeicaMicrosystemsMetadata.LMSFileReader
addSeriesMeta, addSeriesMetaList, fileExists, getCore, makeFilterMetadata, setCore, translateMetadata, translateMetadata, useOldPhysicalSizeCalculationMethods 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, close, coreIndexToSeries, fileGroupOption, flattenHashtables, 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, 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, isSingleFile, isThisType, isThisType, isThisType, isThumbnailSeries, isUsedFile, 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
-
LOF_MAGIC_BYTE
public static final byte LOF_MAGIC_BYTE- See Also:
-
LOF_MEMORY_BYTE
public static final byte LOF_MEMORY_BYTE- See Also:
-
-
Constructor Details
-
LOFReader
public LOFReader()Constructs a new Leica LOF reader. -
LOFReader
-
-
Method Details
-
getOptimalTileHeight
public int getOptimalTileHeight()- Specified by:
getOptimalTileHeightin interfaceIFormatReader- Overrides:
getOptimalTileHeightin classFormatReader
-
isThisType
- Specified by:
isThisTypein interfaceIFormatReader- Overrides:
isThisTypein classFormatReader- Throws:
IOException
-
get8BitLookupTable
public byte[][] get8BitLookupTable()- Specified by:
get8BitLookupTablein interfaceIFormatReader- Overrides:
get8BitLookupTablein classFormatReader
-
get16BitLookupTable
public short[][] get16BitLookupTable()- Specified by:
get16BitLookupTablein interfaceIFormatReader- Overrides:
get16BitLookupTablein 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:
-
getSeriesUsedFiles
- Specified by:
getSeriesUsedFilesin interfaceIFormatReader- Overrides:
getSeriesUsedFilesin classFormatReader
-
close
- Specified by:
closein interfaceIFormatReader- Overrides:
closein classLMSFileReader- Throws:
IOException
-
initFile
- Overrides:
initFilein classFormatReader- Throws:
FormatExceptionIOException
-
getImageFormat
Description copied from class:LMSFileReaderReturns the file format in which actual image bytes are stored- Specified by:
getImageFormatin classLMSFileReader
-
setIdWithMetadata
Inits the LOFReader using passed xml (from XLIF) for metadata initiation, instead of reading the LOF's included xml- Parameters:
id- LOF file idxml- XML from xlif that points to LOF file- Throws:
FormatExceptionIOException
-