Apply the estimated fieldmap to perform susceptibility-derived distortion correction.
init_sdc_unwarp_wf(omp_nthreads, debug, name='sdc_unwarp_wf')¶
Apply the warping given by a displacements fieldmap.
This workflow takes in a displacements field through which the input reference can be corrected for susceptibility-derived distortion.
It also calculates a new mask for the input dataset, after the distortions have been accounted for.
omp_nthreads (int) – Maximum number of threads an individual process may use.
debug (bool) – Run fast configurations of registrations.
name (str) – Unique name of this workflow.
in_warp (os.pathlike) – The DFM that corrects for susceptibility-derived distortions estimated elsewhere.
in_reference (os.pathlike) – the reference image to be unwarped.
in_reference_mask (os.pathlike) – the reference image mask to be unwarped
out_reference (str) – the
out_reference_brain (str) – the
in_referenceafter unwarping and skullstripping
out_warp (str) – the
in_warpfield is forwarded for compatibility
out_mask (str) – mask of the unwarped input file