Warning: This document is for an old version of niworkflows. The main version is master.

niworkflows.interfaces.fixes module

class niworkflows.interfaces.fixes.FixHeaderApplyTransforms(**inputs)[source]

Bases: nipype.interfaces.ants.resampling.ApplyTransforms

A replacement for nipype.interfaces.ants.resampling.ApplyTransforms that fixes the resampled image header to match the xform of the reference image

input_spec

alias of niworkflows.interfaces.fixes._FixTraitApplyTransformsInputSpec

class niworkflows.interfaces.fixes.FixHeaderRegistration(**inputs)[source]

Bases: nipype.interfaces.ants.registration.Registration

A replacement for nipype.interfaces.ants.registration.Registration that fixes the resampled image header to match the xform of the reference image

class niworkflows.interfaces.fixes.FixN4BiasFieldCorrection(*args, **kwargs)[source]

Bases: nipype.interfaces.ants.segmentation.N4BiasFieldCorrection

Checks and fixes for nonpositive values in the input to N4BiasFieldCorrection.

output_spec

alias of niworkflows.interfaces.fixes._FixN4BiasFieldCorrectionOutputSpec