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

niworkflows.interfaces.nibabel module

Nibabel-based interfaces.

class niworkflows.interfaces.nibabel.ApplyMask(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Mask the input given a mask.

input_spec

alias of niworkflows.interfaces.nibabel._ApplyMaskInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._ApplyMaskOutputSpec

class niworkflows.interfaces.nibabel.Binarize(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Binarizes the input image applying the given thresholds.

input_spec

alias of niworkflows.interfaces.nibabel._BinarizeInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._BinarizeOutputSpec

class niworkflows.interfaces.nibabel.DemeanImage(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

input_spec

alias of niworkflows.interfaces.nibabel._DemeanImageInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._DemeanImageOutputSpec

class niworkflows.interfaces.nibabel.FilledImageLike(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

input_spec

alias of niworkflows.interfaces.nibabel._FilledImageLikeInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._FilledImageLikeOutputSpec

class niworkflows.interfaces.nibabel.GenerateSamplingReference(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Generates a reference grid for resampling one image keeping original resolution, but moving data to a different space (e.g. MNI).

If the fov_mask optional input is provided, then the abbr:FoV (field-of-view) is cropped to a bounding box containing the brain mask plus an offest of two voxels along all dimensions. The fov_mask should be to the brain mask calculated from the T1w, and should not contain the brain stem. The mask is resampled into target space, and then the bounding box is calculated. Finally, the FoV is adjusted to that bounding box.

input_spec

alias of niworkflows.interfaces.nibabel._GenerateSamplingReferenceInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._GenerateSamplingReferenceOutputSpec

class niworkflows.interfaces.nibabel.IntensityClip(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Clip the intensity range as prescribed by the percentiles.

input_spec

alias of niworkflows.interfaces.nibabel._IntensityClipInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._IntensityClipOutputSpec

class niworkflows.interfaces.nibabel.MergeSeries(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Merge a series of 3D volumes along the last dimension into a single 4D image.

input_spec

alias of niworkflows.interfaces.nibabel._MergeSeriesInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._MergeSeriesOutputSpec

class niworkflows.interfaces.nibabel.RegridToZooms(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Change the resolution of an image (regrid).

input_spec

alias of niworkflows.interfaces.nibabel._RegridToZoomsInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._RegridToZoomsOutputSpec

class niworkflows.interfaces.nibabel.SplitSeries(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Split a 4D dataset along the last dimension into a series of 3D volumes.

input_spec

alias of niworkflows.interfaces.nibabel._SplitSeriesInputSpec

output_spec

alias of niworkflows.interfaces.nibabel._SplitSeriesOutputSpec