process <- as_yael_process("YAEL/test_subject")
if (FALSE) {
# Import and set original T1w MRI and CT
process$set_input_image("/path/to/T1w_MRI.nii", type = "T1w")
process$set_input_image("/path/to/CT.nii.gz", type = "CT")
# Co-register CT to MRI
process$register_to_T1w(image_type = "CT")
# Morph T1w MRI to 0.5 mm^3 MNI152 template
process$map_to_template(
template_name = "mni_icbm152_nlin_asym_09b",
native_type = "T1w"
)
}
Run the code above in your browser using DataLab