Coregistration

sbl.sabre.workflows.CoregistrationWorkflow(name='Coregister', register_suffix='_toRef', reslice_suffix='_inRef')

Create a coregistration workflow

Parameters:
  • name – Name of workflow (default: “Coregister”)
  • register_suffix – Suffix to append to transformation parameter filenames (default: “_toRef”)
  • reslice_suffix – Suffix to append to resliced image filenames (default: “_inRef”)

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() 

Previous topic

Workflows

Next topic

Total Intracranial Vault (TIV) Extraction

This Page