Fills in a binary image using iMath
,
using dilation erosion but with zero padding built in.
filler(img, fill_size = 7, verbose = TRUE, dilate = TRUE, erode = TRUE)
img | Object of class |
---|---|
fill_size | Size of fill (in voxels) |
verbose | Output diagnostic values |
dilate | should the image be dilated. This and |
erode | should the image be eroded This and |
Filled object with same class as img