bwconncomp.Rd
Get 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 )
infile | input filename |
---|---|
outfile | output filename |
retimg | Return the image instead of matlab output |
conn | Connections to be passed to MATLAB's |
reorient | If |
spmdir | (character) path for SPM12. If NULL, assumes SPM12 is in matlabpath. |
verbose | Print Diagnostics |
install_dir | directory to download SPM12 |
Name of output file or nifti
object,
depending on retimg
#>#>