| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBlockSupplier<T extends net.imglib2.type.NativeType<T>>
Boilerplate for
BlockSupplier to simplify implementations. |
| Modifier and Type | Method and Description |
|---|---|
default <U extends net.imglib2.type.NativeType<U>> |
BlockSupplier.andThen(Function<BlockSupplier<T>,UnaryBlockOperator<T,U>> function) |
default <U extends net.imglib2.type.NativeType<U>> |
BlockSupplier.andThen(UnaryBlockOperator<T,U> operator)
Returns a
BlockSupplier that provide blocks using the given
operator with this BlockSupplier as input. |
default BlockSupplier<T> |
UnaryBlockOperator.applyTo(BlockSupplier<S> blocks)
Returns a
BlockSupplier<T> that provide blocks by computing on input blocks from the given BlockSupplier<S>. |
BlockSupplier<T> |
BlockSupplier.independentCopy()
Returns an instance of this
BlockSupplier that can be used
independently, e.g., in another thread or in another place in the same
pipeline. |
static <T extends net.imglib2.type.NativeType<T>> |
BlockSupplier.of(net.imglib2.RandomAccessible<T> ra)
Create a
BlockSupplier accessor for an arbitrary RandomAccessible source. |
static <T extends net.imglib2.type.NativeType<T>> |
BlockSupplier.of(net.imglib2.RandomAccessible<T> ra,
net.imglib2.blocks.PrimitiveBlocks.OnFallback onFallback)
Create a
BlockSupplier accessor for an arbitrary RandomAccessible source. |
BlockSupplier<T> |
AbstractBlockSupplier.threadSafe() |
BlockSupplier<T> |
BlockSupplier.threadSafe()
Get a thread-safe version of this
BlockSupplier. |
default BlockSupplier<T> |
BlockSupplier.tile(int... tileSize)
Returns a new
BlockSupplier that handles copy(net.imglib2.Interval, java.lang.Object) requests
by splitting into tileSize portions that are each handled by this
BlockSupplier and assembled into the final result. |
| Modifier and Type | Method and Description |
|---|---|
default BlockSupplier<T> |
UnaryBlockOperator.applyTo(BlockSupplier<S> blocks)
Returns a
BlockSupplier<T> that provide blocks by computing on input blocks from the given BlockSupplier<S>. |
static <T extends net.imglib2.type.NativeType<T>> |
BlockAlgoUtils.arrayImg(BlockSupplier<T> blocks,
net.imglib2.Interval interval)
Create a
ArrayImg from the specified interval in blocks. |
static <T extends net.imglib2.type.NativeType<T>> |
BlockAlgoUtils.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>> |
BlockAlgoUtils.cellLoader(BlockSupplier<T> blocks) |
void |
UnaryBlockOperator.compute(BlockSupplier<S> src,
net.imglib2.Interval interval,
Object dest)
Compute a block (using
src to provide input data) and store into the given primitive array (of the appropriate type). |
void |
DefaultUnaryBlockOperator.compute(BlockSupplier<S> src,
net.imglib2.Interval interval,
Object dest) |
| Modifier and Type | Method and Description |
|---|---|
default <U extends net.imglib2.type.NativeType<U>> |
BlockSupplier.andThen(Function<BlockSupplier<T>,UnaryBlockOperator<T,U>> function) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends net.imglib2.type.NativeType<S>,T extends net.imglib2.type.NativeType<T>> |
Convert.convert(T targetType)
|
static <S extends net.imglib2.type.NativeType<S>,T extends net.imglib2.type.NativeType<T>> |
Convert.convert(T targetType,
ClampType clamp)
|
static <S extends net.imglib2.type.NativeType<S>,T extends net.imglib2.type.NativeType<T>> |
Convert.convert(T targetType,
Supplier<net.imglib2.converter.Converter<? super S,T>> converterSupplier)
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.imglib2.type.NativeType<T>> |
Convolve.gauss(ComputationType computationType,
double... sigma)
Convolve blocks of the standard ImgLib2
RealTypes with a Gaussian kernel. |
static <T extends net.imglib2.type.NativeType<T>> |
Convolve.gauss(double... sigma)
Convolve blocks of the standard ImgLib2
RealTypes with a Gaussian kernel. |
| Modifier and Type | Class and Description |
|---|---|
class |
DisplacementFieldBlockSupplier<D extends net.imglib2.type.NativeType<D> & net.imglib2.type.numeric.RealType<D>,T extends net.imglib2.type.NativeType<T>>
A
BlockSupplier that combines a AbstractDispFieldAffineProcessor and a PositionFieldFunction to
compute (blocks of) the transformation of a function with a displacement
field. |
| Modifier and Type | Method and Description |
|---|---|
static <D extends net.imglib2.type.NativeType<D> & net.imglib2.type.numeric.RealType<D>,T extends net.imglib2.type.NativeType<T>> |
DisplacementFieldBlockSupplier.create(net.imglib2.realtransform.AffineGet transformFromField,
DisplacementField<D> displacementField,
PositionFieldFunction<D,T,?,?> positionFieldFunction)
Create a
BlockSupplier that transforms displacementField
into a position field and produces target values by applying
positionFieldFunction to the resulting position vectors. |
BlockSupplier<T> |
DisplacementField.displacements()
Displacement vector field.
|
BlockSupplier<T> |
DisplacementFieldBlockSupplier.independentCopy() |
| Modifier and Type | Method and Description |
|---|---|
static <D extends net.imglib2.type.NativeType<D> & net.imglib2.type.numeric.RealType<D>,T extends net.imglib2.type.NativeType<T>> |
DisplacementFieldTransform.displacementFieldAffine(net.imglib2.realtransform.AffineGet transformFromField,
DisplacementField<D> displacementField,
Transform.Interpolation interpolation)
Interpolate and transform blocks of the standard ImgLib2
RealTypes using an affine-transformed displacement field. |
static <D extends net.imglib2.type.NativeType<D> & net.imglib2.type.numeric.RealType<D>,T extends net.imglib2.type.NativeType<T>> |
DisplacementFieldTransform.displacementFieldAffine(net.imglib2.realtransform.AffineGet transformFromField,
DisplacementField<D> displacementField,
Transform.Interpolation interpolation,
ComputationType computationType)
Interpolate and transform blocks of the standard ImgLib2
RealTypes using an affine-transformed displacement field. |
| Constructor and Description |
|---|
DisplacementField(BlockSupplier<T> displacements,
double[] scale,
double[] translation)
Constructs a displacement field with the specified normalized displacements, scale, and translation.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.imglib2.type.NativeType<T>> |
Downsample.downsample()
Downsample (by factor 2, in all dimensions) blocks of the standard
ImgLib2
RealTypes. |
static <T extends net.imglib2.type.NativeType<T>> |
Downsample.downsample(ComputationType computationType,
Downsample.Offset offset)
Downsample (by factor 2, in all dimensions) blocks of the standard
ImgLib2
RealTypes. |
static <T extends net.imglib2.type.NativeType<T>> |
Downsample.downsample(ComputationType computationType,
Downsample.Offset offset,
boolean[] downsampleInDim)
Downsample (by factor 2) blocks of the standard ImgLib2
RealTypes. |
static <T extends net.imglib2.type.NativeType<T>> |
Downsample.downsample(ComputationType computationType,
int[] downsamplingFactors)
Downsample (by the given
downsamplingFactors) blocks of the
standard ImgLib2 RealTypes. |
static <T extends net.imglib2.type.NativeType<T>> |
Downsample.downsample(Downsample.Offset offset)
Downsample (by factor 2, in all dimensions) blocks of the standard
ImgLib2
RealTypes. |
static <T extends net.imglib2.type.NativeType<T>> |
Downsample.downsample(int[] downsamplingFactors)
Downsample (by the given
downsamplingFactors) blocks of the
standard ImgLib2 RealTypes. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.imglib2.type.NativeType<T>> |
Transform.affine(net.imglib2.realtransform.AffineGet transformFromSource,
Transform.Interpolation interpolation)
Interpolate and affine-transform blocks of the standard ImgLib2
RealTypes. |
static <T extends net.imglib2.type.NativeType<T>> |
Transform.affine(net.imglib2.realtransform.AffineGet transformFromSource,
Transform.Interpolation interpolation,
ComputationType computationType)
Interpolate and affine-transform blocks of the standard ImgLib2
RealTypes. |
Copyright © 2009–2026 ImgLib2. All rights reserved.