spm12_segment(filename, retimg = TRUE, set_origin = TRUE, add_spm_dir = TRUE, spmdir = spm_dir(), clean = TRUE, verbose = TRUE, reorient = FALSE, ...)run_matlab_scriptacpc_reorient on image first.
Warning, this will set the orientation differentlyretimg=TRUE pass to readNIfTIrun_spm12_scriptretimg