D - Dataset handleT - Pixel typepublic static interface ExportScalePyramid.DatasetIO<D,T extends net.imglib2.type.NativeType<T>>
| Modifier and Type | Method and Description |
|---|---|
D |
createDataset(int level,
long[] dimensions,
int[] blockSize)
Create a dataset for the image of the given resolution
level. |
void |
flush()
Blocks until all pending data was written to
dataset. |
default net.imglib2.RandomAccessibleInterval<T> |
getImage(int level)
Opens a dataset that was already written as a
RaπdomAccessibleInterval. |
void |
writeBlock(D dataset,
org.janelia.saalfeldlab.n5.DataBlock<?> dataBlock)
Write the given
dataBlock to the dataset. |
D createDataset(int level, long[] dimensions, int[] blockSize) throws IOException
level.IOExceptionvoid writeBlock(D dataset, org.janelia.saalfeldlab.n5.DataBlock<?> dataBlock) throws IOException
dataBlock to the dataset.IOExceptionvoid flush()
throws IOException
dataset.IOExceptiondefault net.imglib2.RandomAccessibleInterval<T> getImage(int level) throws IOException
RaÏ€domAccessibleInterval.IOExceptionCopyright © 2012–2025 BigDataViewer. All rights reserved.