bwconncomp.RdGet Cluster of certain size from spm_bwlabel
bwconncomp(
infile,
outfile = NULL,
retimg = TRUE,
conn = 26,
reorient = FALSE,
spmdir = spm_dir(),
verbose = TRUE,
install_dir = NULL
)input filename
output filename
Return the image instead of matlab output
Connections to be passed to MATLAB's bwconncomp
If retimg, then this argument is passed to
readNIfTI
(character) path for SPM12. If NULL, assumes SPM12 is in matlabpath.
Print Diagnostics
directory to download SPM12
Name of output file or nifti object,
depending on retimg