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
.IOException
void writeBlock(D dataset, ExportScalePyramid.Block<T> dataBlock) throws IOException
dataBlock
to the dataset
.IOException
void flush(D dataset) throws IOException
dataset
.IOException
default RandomAccessibleInterval<T> getImage(int level) throws IOException
RaπdomAccessibleInterval
.IOException
Copyright © 2015–2021 Fiji. All rights reserved.