com.intel.analytics.zoo.feature.image3d
Affine transformer implements affine transformation on a given tensor.
Affine transformer implements affine transformation on a given tensor. To avoid defects in resampling, the mapping is from destination to source. dst(z,y,x) = src(f(z),f(y),f(x)) where f: dst -> src
[Tensor[Double], dim: DxHxW] defines affine transformation from dst to src.
[Tensor[Double], dim: 3, default: (0,0,0)] defines translation in each axis.
[String, (default: "clamp",'padding')] defines how to handle interpolation off the input image.
[Double, default: 0] defines padding value when clampMode="padding". Setting this value when clampMode="clamp" will cause an error.