Run 'FSL' linear registration
cmd_run_fsl_flirt(
subject,
mri_path,
ct_path,
dof = 6,
cost = c("mutualinfo", "leastsq", "normcorr", "corratio", "normmi", "labeldiff", "bbr"),
search = 90,
searchcost = c("mutualinfo", "leastsq", "normcorr", "corratio", "normmi", "labeldiff",
"bbr"),
overwrite = FALSE,
command_path = NULL,
dry_run = FALSE,
verbose = dry_run
)A command set running the terminal command; a 'coregistration'
folder will be created under the subject imaging directory
'RAVE' subject or subject ID
path to 'MRI' (fixed image)
path to 'CT' (moving image)
degrees of freedom; default is 6 (rigid-body); set to 12 ('affine')
cost function name
search degrees; default is 90 to save time, set to 180 for full search
overwrite existing files
path to 'FSLDIR' environment variable
whether to dry-run
whether to print out command