Mathematical morphology kernels
kernel_3d(image)kernel_2d(image)
kernel_box(image, width, voxels = FALSE)
kernel_gauss(image, sigma)
kernel_sphere(image, radius)
kernel_file(image, file)
An updated pipeline.
An image object or pipeline.
The width of the kernel in appropriate units. If voxels
is FALSE
a value can be specified for each of the three dimensions;
otherwise only a single value should be given and the kernel will be
isotropic.
Logical value: if TRUE
, the width
is given in
pixels/voxels and must be an odd integer; otherwise, the units are
millimetres and can take any value.
Numeric value giving the standard deviation of a Gaussian kernel, in millimetres.
Numeric value giving the radius of a sphere kernel, in millimetres.
Name of a NIfTI file containing the kernel.