Package loci.formats.out
Class V3DrawWriter
java.lang.Object
loci.formats.FormatHandler
loci.formats.FormatWriter
loci.formats.out.V3DrawWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,loci.formats.ICompressedTileWriter,loci.formats.IFormatHandler,loci.formats.IFormatWriter,loci.formats.IMetadataConfigurable,loci.formats.IPyramidHandler
V3DrawWriter writes images in the .v3draw format for rapid I/O in Vaa3D, an open-source 3D visualization and
analysis toolkit.
-
Field Summary
Fields inherited from class loci.formats.FormatWriter
cm, compression, compressionTypes, fps, initialized, interleaved, metadataRetrieve, options, out, resolution, resolutionData, sequential, series, validBitsFields inherited from class loci.formats.FormatHandler
COMPRESSION_SUFFIXES, currentId, format, LOGGER, metadataOptions, suffixes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidclose()int[]getPixelTypes(String codec) voidsaveBytes(int no, byte[] buf, int x, int y, int w, int h) voidvoidsetOutputOrder(String outputOrder) Set the order in which dimensions should be written to the file.Methods inherited from class loci.formats.FormatWriter
changeOutputFile, checkParams, createOutputStream, getCodecOptions, getColorModel, getCompression, getCompressionTypes, getFramesPerSecond, getMetadataRetrieve, getPixelTypes, getPlaneCount, getPlaneCount, getResolution, getResolutionCount, getResolutions, getSamplesPerPixel, getSamplesPerPixel, getSeries, getSizeX, getSizeY, getTileSizeX, getTileSizeY, hasResolutions, isFullPlane, isInterleaved, isSupportedType, saveBytes, saveBytes, savePlane, savePlane, savePlane, seekToPlaneOffset, setCodecOptions, setColorModel, setCompression, setFramesPerSecond, setInterleaved, setMetadataRetrieve, setResolution, setResolutions, setSeries, setTileSizeX, setTileSizeY, setValidBitsPerPixel, setWriteSequentiallyMethods inherited from class loci.formats.FormatHandler
checkSuffix, checkSuffix, getFormat, getMetadataOptions, getNativeDataType, getSuffixes, getSupportedMetadataLevels, isThisType, setMetadataOptionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface loci.formats.ICompressedTileWriter
getCodec, saveCompressedBytesMethods inherited from interface loci.formats.IFormatHandler
getFormat, getNativeDataType, getSuffixes, isThisTypeMethods inherited from interface loci.formats.IMetadataConfigurable
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
-
Constructor Details
-
V3DrawWriter
public V3DrawWriter()
-
-
Method Details
-
setOutputOrder
Set the order in which dimensions should be written to the file. Valid values are specified in the documentation forIFormatReader.getDimensionOrder()By default, the ordering is "XYZCT". -
saveBytes
public void saveBytes(int no, byte[] buf, int x, int y, int w, int h) throws loci.formats.FormatException, IOException - Throws:
loci.formats.FormatExceptionIOException- See Also:
-
canDoStacks
public boolean canDoStacks()- Specified by:
canDoStacksin interfaceloci.formats.IFormatWriter- Overrides:
canDoStacksin classloci.formats.FormatWriter
-
getPixelTypes
- Specified by:
getPixelTypesin interfaceloci.formats.IFormatWriter- Overrides:
getPixelTypesin classloci.formats.FormatWriter
-
setId
- Specified by:
setIdin interfaceloci.formats.IFormatHandler- Overrides:
setIdin classloci.formats.FormatWriter- Throws:
loci.formats.FormatExceptionIOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classloci.formats.FormatWriter- Throws:
IOException
-