Estimate SPM12 (Spatial) Normalization from image

spm12_normalize_est(filename, biasreg = 0.001, biasfwhm = 60,
  regularization = c(0, 0.001, 0.5, 0.05, 0.2), affine = c("mni",
  "eastern", "subj", "none", ""), smoothness = 0,
  sampling_distance = 3, add_spm_dir = TRUE, spmdir = spm_dir(verbose
  = verbose, install_dir = install_dir), clean = TRUE, verbose = TRUE,
  install_dir = NULL, ...)

Arguments

filename

File to be normalized to the template

biasreg

Amount of bias regularization

biasfwhm

FWHM of Gaussian smoothness of bias.

regularization

parameters for warping regularization

affine

Space to register the image to, using an affine registration

smoothness

FWHM of smoothing done

sampling_distance

amount of smoothing of the warping field. This is used to derive a fudge factor to account for correlations between neighbouring voxels. Smoother data have more

add_spm_dir

Add SPM12 directory from this package

spmdir

SPM dir to add, will use package default directory

clean

Remove scripts from temporary directory after running

verbose

Print diagnostic messages

install_dir

directory to download SPM12

...

Arguments passed to run_spm12_script

Value

Result from run_matlab_script