Create a coregistration workflow
Parameters: |
|
---|
Inputs:
inputnode.reference_image : Target image for registration
inputnode.register_images : Images to co-register
inputnode.reslice_images : Images to reslice
Outputs:
outputnode.resliced_images : Resliced images
outputnode.transformations : Transformations from input images to reference image
>>> coreg = CoregistrationWorkflow(register_suffix='_toT1', reslice_suffix='_inT1')
>>> coreg.inputs.inputnode.reference_image = '{session}_T1_bet.nii.gz'
>>> coreg.inputs.inputnode.register_images = ['{session}_T2_bet.nii.gz', '{session}_PD_bet.nii.gz']
>>> coreg.inputs.inputnode.reslice_images = ['{session}_T2.nii.gz', '{session}_PD.nii.gz']
>>> coreg.run()