T1-weighted Conformation

class qsiprep.interfaces.images.Conform(from_file=None, resource_monitor=None, **inputs)[source]

Bases: SimpleInterface

Conform a series of T1w images to enable merging.

Performs two basic functions:

  1. Orient to LPS (right-left, anterior-posterior, inferior-superior)

  2. Resample to target zooms (voxel sizes) and shape (number of voxels)

Mandatory Inputs:

in_file (a pathlike object or string representing a file) – Input image.

Optional Inputs:
  • deoblique_header (a boolean)

  • target_shape (a tuple of the form: (an integer, an integer, an integer)) – Target shape information.

  • target_zooms (a tuple of the form: (a float, a float, a float)) – Target zoom information.

Outputs:
  • out_file (a pathlike object or string representing an existing file) – Conformed image.

  • transform (a pathlike object or string representing an existing file) – Conformation transform.