Diff of /man/dil_ero.Rd [000000] .. [242173]

Switch to unified view

a b/man/dil_ero.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/dil_ero.R
3
\name{dil_ero}
4
\alias{dil_ero}
5
\title{Fill image holes with dilation then erosion}
6
\usage{
7
dil_ero(
8
  file,
9
  outfile = NULL,
10
  nvoxels = 3,
11
  zeropad = TRUE,
12
  remove.ends = FALSE,
13
  tol = .Machine$double.eps^0.5,
14
  refill = TRUE,
15
  retimg = FALSE,
16
  reorient = FALSE,
17
  intern = TRUE,
18
  verbose = TRUE,
19
  ...
20
)
21
}
22
\arguments{
23
\item{file}{(character) filename of image to be filled}
24
25
\item{outfile}{(character) name of resultant filled file}
26
27
\item{nvoxels}{(integer) Number of voxels to smooth over, creates vxvxv box.}
28
29
\item{zeropad}{(logical) Perform \code{zero_pad} before running.}
30
31
\item{remove.ends}{(logical) Remove top and bottom dilation.}
32
33
\item{tol}{(double) Tolerance for thresholding after \code{\link{fft}}.}
34
35
\item{refill}{(logical) Run \code{\link{fslfill}} after dilation/erosion.}
36
37
\item{retimg}{(logical) return image of class nifti}
38
39
\item{reorient}{(logical) If retimg, should file be reoriented when read in?
40
Passed to \code{\link{readNIfTI}}.}
41
42
\item{intern}{(logical) pass to \code{\link{system}}}
43
44
\item{verbose}{(logical) print out command before running}
45
46
\item{...}{additional arguments passed to \code{\link{readNIfTI}}.}
47
}
48
\value{
49
character or logical depending on intern
50
}
51
\description{
52
This function calls \code{mean_image} to dilate an image, then calls
53
it again to erode it.
54
}
55
\note{
56
This function binarizes the image before running.
57
}