public class BlockAlgoUtils extends Object
For example, cellImg(...)
creates a CachedCellImg which computes cells using a given BlockSupplier.
| Constructor and Description |
|---|
BlockAlgoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.imglib2.type.NativeType<T>> |
cellImg(BlockSupplier<T> blocks,
long[] dimensions,
int[] cellDimensions)
Creates a
CachedCellImg which copies cells from the specified
blocks. |
static <T extends net.imglib2.type.NativeType<T>> |
cellLoader(BlockSupplier<T> blocks) |
public static <T extends net.imglib2.type.NativeType<T>> net.imglib2.cache.img.CellLoader<T> cellLoader(BlockSupplier<T> blocks)
public static <T extends net.imglib2.type.NativeType<T>> net.imglib2.cache.img.CachedCellImg<T,?> cellImg(BlockSupplier<T> blocks, long[] dimensions, int[] cellDimensions)
CachedCellImg which copies cells from the specified
blocks.T - target type (type of the returned CachedCellImg)blocks - copies blocks from source datadimensions - dimensions of the CachedCellImg to createcellDimensions - block size of the CachedCellImg to createCachedCellImg which copies cells from blocks.Copyright © 2009–2025 ImgLib2. All rights reserved.