fill_2d_z: Image Mask Filler over each slice in Z-direction

Description Usage Arguments Value

View source: R/fill_2d_z.R

Description

Fills in a binary image using iMath, using dilation erosion but with zero padding built in.

Usage

1
fill_2d_z(img, fill_size = 7, verbose = TRUE, dilate = TRUE, erode = TRUE)

Arguments

img

Object of class nifti or antsImage

fill_size

Size of fill (in voxels)

verbose

Output diagnostic values

dilate

should the image be dilated. This and erode allows for the function to perform erosion/dilation only with zero-padding.

erode

should the image be eroded This and dilate allows for the function to perform erosion/dilation only with zero-padding.

Value

Filled object with same class as img


neuroconductor/extrantsr documentation built on Sept. 28, 2020, 11:31 a.m.