D - Dataset handleT - Pixel typepublic static interface ExportScalePyramid.DatasetIO<D,T extends 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(D dataset)
Blocks until all pending data was written to
dataset. |
default RandomAccessibleInterval<T> |
getImage(int level)
Opens a dataset that was already written as a
RaπdomAccessibleInterval. |
void |
writeBlock(D dataset,
ExportScalePyramid.Block<T> dataBlock)
Write the given
dataBlock to the dataset. |
D createDataset(int level, long[] dimensions, int[] blockSize) throws IOException
level.IOExceptionvoid writeBlock(D dataset, ExportScalePyramid.Block<T> dataBlock) throws IOException
dataBlock to the dataset.IOExceptionvoid flush(D dataset) throws IOException
dataset.IOExceptiondefault RandomAccessibleInterval<T> getImage(int level) throws IOException
RaÏ€domAccessibleInterval.IOExceptionCopyright © 2015–2021 Fiji. All rights reserved.