Package loci.formats.in
Class ZeissCZIReader
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatReader
loci.formats.in.ZeissCZIReader
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileReader,loci.formats.IFormatHandler,loci.formats.IFormatReader,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
public class ZeissCZIReader
extends loci.formats.FormatReader
ZeissCZIReader is the file format reader for Zeiss .czi files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final Stringstatic final booleanstatic final Stringstatic final booleanstatic final Stringstatic final booleanstatic final StringFields 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 TypeMethodDescriptionbooleanbooleanvoidclose(boolean fileOnly) short[][]byte[][]intintString[]getSeriesUsedFiles(boolean noPixels) protected voidbooleanisThisType(loci.common.RandomAccessInputStream stream) byte[]openBytes(int no, byte[] buf, int x, int y, int w, int h) booleanbooleanMethods 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, getAcquisitionMode, getAdvancedSeriesUsedFiles, getAdvancedUsedFiles, getArcType, getBinning, getBitsPerPixel, getCompression, getContrastMethod, getCoreIndex, getCoreMetadataList, getCorrection, getCurrentCore, 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, 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, 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
-
ALLOW_AUTOSTITCHING_KEY
- See Also:
-
ALLOW_AUTOSTITCHING_DEFAULT
public static final boolean ALLOW_AUTOSTITCHING_DEFAULT- See Also:
-
INCLUDE_ATTACHMENTS_KEY
- See Also:
-
INCLUDE_ATTACHMENTS_DEFAULT
public static final boolean INCLUDE_ATTACHMENTS_DEFAULT- See Also:
-
TRIM_DIMENSIONS_KEY
- See Also:
-
TRIM_DIMENSIONS_DEFAULT
public static final boolean TRIM_DIMENSIONS_DEFAULT- See Also:
-
RELATIVE_POSITIONS_KEY
- See Also:
-
RELATIVE_POSITIONS_DEFAULT
public static final boolean RELATIVE_POSITIONS_DEFAULT- See Also:
-
-
Constructor Details
-
ZeissCZIReader
public ZeissCZIReader()Constructs a new Zeiss .czi reader.
-
-
Method Details
-
isThisType
- Specified by:
isThisTypein interfaceloci.formats.IFormatReader- Overrides:
isThisTypein classloci.formats.FormatReader- Throws:
IOException- See Also:
-
IFormatReader.isThisType(RandomAccessInputStream)
-
getSeriesUsedFiles
- Specified by:
getSeriesUsedFilesin interfaceloci.formats.IFormatReader- Overrides:
getSeriesUsedFilesin classloci.formats.FormatReader- See Also:
-
IFormatReader.getSeriesUsedFiles(boolean)
-
get8BitLookupTable
- Specified by:
get8BitLookupTablein interfaceloci.formats.IFormatReader- Overrides:
get8BitLookupTablein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
get16BitLookupTable
- Specified by:
get16BitLookupTablein interfaceloci.formats.IFormatReader- Overrides:
get16BitLookupTablein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
getFillColor
- Specified by:
getFillColorin interfaceloci.formats.IFormatReader- Overrides:
getFillColorin classloci.formats.FormatReader- See Also:
-
If the fill value was set explicitly, use that. Otherwise, return 255 (white) for RGB data with a pyramid, and 0 in all other cases. RGB data with a pyramid can reasonably be assumed to be a brightfield slide.
-
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
-
getOptimalTileWidth
public int getOptimalTileWidth()- Specified by:
getOptimalTileWidthin interfaceloci.formats.IFormatReader- Overrides:
getOptimalTileWidthin classloci.formats.FormatReader
-
getOptimalTileHeight
public int getOptimalTileHeight()- Specified by:
getOptimalTileHeightin interfaceloci.formats.IFormatReader- Overrides:
getOptimalTileHeightin classloci.formats.FormatReader
-
getAvailableOptions
- Overrides:
getAvailableOptionsin classloci.formats.FormatReader
-
initFile
- Overrides:
initFilein classloci.formats.FormatReader- Throws:
loci.formats.FormatExceptionIOException
-
allowAutostitching
public boolean allowAutostitching() -
canReadAttachments
public boolean canReadAttachments() -
trimDimensions
public boolean trimDimensions() -
storeRelativePositions
public boolean storeRelativePositions()
-