sdcflows.workflows.unwarp module¶
Apply the estimated fieldmap to perform susceptibility-derived distortion correction.
-
sdcflows.workflows.unwarp.
init_sdc_unwarp_wf
(omp_nthreads, debug, name='sdc_unwarp_wf')[source]¶ 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.
(Source code, png, svg, pdf)
- Parameters
- Inputs
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
- Outputs