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 NativeType<T>> |
cellImg(BlockSupplier<T> blocks,
long[] dimensions,
int[] cellDimensions)
Creates a
CachedCellImg which copies cells from the specified
blocks. |
static <S extends NativeType<S>,T extends NativeType<T>> |
cellImg(net.imglib2.blocks.PrimitiveBlocks<S> blocks,
UnaryBlockOperator<S,T> operator,
T type,
long[] dimensions,
int[] cellDimensions)
Deprecated.
|
static <T extends NativeType<T>> |
cellLoader(BlockSupplier<T> blocks) |
static <S extends NativeType<S>,T extends NativeType<T>> |
cellLoader(net.imglib2.blocks.PrimitiveBlocks<S> blocks,
UnaryBlockOperator<S,T> operator)
Deprecated.
|
public static <T extends NativeType<T>> CellLoader<T> cellLoader(BlockSupplier<T> blocks)
public static <T extends NativeType<T>> 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.@Deprecated public static <S extends NativeType<S>,T extends NativeType<T>> CellLoader<T> cellLoader(net.imglib2.blocks.PrimitiveBlocks<S> blocks, UnaryBlockOperator<S,T> operator)
@Deprecated public static <S extends NativeType<S>,T extends NativeType<T>> CachedCellImg<T,?> cellImg(net.imglib2.blocks.PrimitiveBlocks<S> blocks, UnaryBlockOperator<S,T> operator, T type, long[] dimensions, int[] cellDimensions)
Copyright © 2009–2024 ImgLib2. All rights reserved.