kernel_3d {imbibe}R Documentation

Mathematical morphology kernels

Description

Mathematical morphology kernels

Usage

kernel_3d(image)

kernel_2d(image)

kernel_box(image, width, voxels = FALSE)

kernel_gauss(image, sigma)

kernel_sphere(image, radius)

kernel_file(image, file)

Arguments

image

An image object or pipeline.

width

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.

voxels

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.

sigma

Numeric value giving the standard deviation of a Gaussian kernel, in millimetres.

radius

Numeric value giving the radius of a sphere kernel, in millimetres.

file

Name of a NIfTI file containing the kernel.

Value

An updated pipeline.


[Package imbibe version 0.1.1 Index]