public class Transform extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Transform.ComputationType
Specify in which precision should intermediate values be computed.
|
static class |
Transform.Interpolation |
| Constructor and Description |
|---|
Transform() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends NativeType<T>> |
affine(T type,
AffineGet transformFromSource,
Transform.Interpolation interpolation)
Create a
UnaryBlockOperator to interpolate and affine-transform
blocks of the standard ImgLib2 RealTypes. |
static <T extends NativeType<T>> |
affine(T type,
AffineGet transformFromSource,
Transform.Interpolation interpolation,
Transform.ComputationType computationType)
Create a
UnaryBlockOperator to interpolate and affine-transform
blocks of the standard ImgLib2 RealTypes. |
public static <T extends NativeType<T>> UnaryBlockOperator<T,T> affine(T type, AffineGet transformFromSource, Transform.Interpolation interpolation)
UnaryBlockOperator to interpolate and affine-transform
blocks of the standard ImgLib2 RealTypes.
Only 2D and 3D are supported currently!
T - the input/output typetype - instance of the input typetransformFromSource - a 2D or 3D affine transforminterpolation - which interpolation method to useUnaryBlockOperator to affine-transform blocks of type Tpublic static <T extends NativeType<T>> UnaryBlockOperator<T,T> affine(T type, AffineGet transformFromSource, Transform.Interpolation interpolation, Transform.ComputationType computationType)
UnaryBlockOperator to interpolate and affine-transform
blocks of the standard ImgLib2 RealTypes.
Only 2D and 3D are supported currently!
T - the input/output typetype - instance of the input typetransformFromSource - a 2D or 3D affine transforminterpolation - which interpolation method to usecomputationType - For n-linear interpolation, this specifies in which precision
intermediate values should be computed. For AUTO, the type
that can represent the input/output type without loss of precision
is picked. That is, FLOAT for u8, i8, u16, i16, i32, f32,
and otherwise DOUBLE for u32, i64, f64. For nearest-neighbor
interpolation, computationType is not used.UnaryBlockOperator to affine-transform blocks of type TCopyright © 2009–2024 ImgLib2. All rights reserved.