nipype.interfaces.semtools.diffusion.tractography.fiberprocess module

Autogenerated file - DO NOT EDIT If you spot a bug, please report it on the mailing list and/or change the generator.

fiberprocess

Link to code

Bases: SEMLikeCommandLine

Wrapped executable: fiberprocess.

title: FiberProcess (DTIProcess)

category: Diffusion.Tractography

description: fiberprocess is a tool that manage fiber files extracted from the fibertrack tool or any fiber tracking algorithm. It takes as an input .fib and .vtk files (–fiber_file) and saves the changed fibers (–fiber_output) into the 2 same formats. The main purpose of this tool is to deform the fiber file with a transformation field as an input (–displacement_field or –h_field depending if you deal with dfield or hfield). To use that option you need to specify the tensor field from which the fiber file was extracted with the option –tensor_volume. The transformation applied on the fiber file is the inverse of the one input. If the transformation is from one case to an atlas, fiberprocess assumes that the fiber file is in the atlas space and you want it in the original case space, so it’s the inverse of the transformation which has been computed. You have 2 options for fiber modification. You can either deform the fibers (their geometry) into the space OR you can keep the same geometry but map the diffusion properties (fa, md, lbd’s…) of the original tensor field along the fibers at the corresponding locations. This is triggered by the –no_warp option. To use the previous example: when you have a tensor field in the original space and the deformed tensor field in the atlas space, you want to track the fibers in the atlas space, keeping this geometry but with the original case diffusion properties. Then you can specify the transformations field (from original case -> atlas) and the original tensor field with the –tensor_volume option. With fiberprocess you can also binarize a fiber file. Using the –voxelize option will create an image where each voxel through which a fiber is passing is set to 1. The output is going to be a binary image with the values 0 or 1 by default but the 1 value voxel can be set to any number with the –voxel_label option. Finally you can create an image where the value at the voxel is the number of fiber passing through. (–voxelize_count_fibers)

version: 1.0.0

documentation-url: http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/DTIProcess

license: Copyright (c) Casey Goodlett. All rights reserved.

See http://www.ia.unc.edu/dev/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information.

contributor: Casey Goodlett

Optional Inputs:
  • args (a string) – Additional parameters to the command. Maps to a command-line argument: %s.

  • displacement_field (a pathlike object or string representing an existing file) – Displacement Field for warp and statistics lookup. If this option is used tensor-volume must also be specified. Maps to a command-line argument: --displacement_field %s.

  • environ (a dictionary with keys which are a bytes or None or a value of class ‘str’ and with values which are a bytes or None or a value of class ‘str’) – Environment variables. (Nipype default value: {})

  • fiber_file (a pathlike object or string representing an existing file) – DTI fiber file. Maps to a command-line argument: --fiber_file %s.

  • fiber_output (a boolean or a pathlike object or string representing a file) – Output fiber file. May be warped or updated with new data depending on other options used. Maps to a command-line argument: --fiber_output %s.

  • fiber_radius (a float) – Set radius of all fibers to this value. Maps to a command-line argument: --fiber_radius %f.

  • h_field (a pathlike object or string representing an existing file) – HField for warp and statistics lookup. If this option is used tensor-volume must also be specified. Maps to a command-line argument: --h_field %s.

  • index_space (a boolean) – Use index-space for fiber output coordinates, otherwise us world space for fiber output coordinates (from tensor file). Maps to a command-line argument: --index_space.

  • noDataChange (a boolean) – Do not change data ??? . Maps to a command-line argument: --noDataChange.

  • no_warp (a boolean) – Do not warp the geometry of the tensors only obtain the new statistics. Maps to a command-line argument: --no_warp.

  • saveProperties (a boolean) – Save the tensor property as scalar data into the vtk (only works for vtk fiber files). . Maps to a command-line argument: --saveProperties.

  • tensor_volume (a pathlike object or string representing an existing file) – Interpolate tensor values from the given field. Maps to a command-line argument: --tensor_volume %s.

  • verbose (a boolean) – Produce verbose output. Maps to a command-line argument: --verbose.

  • voxel_label (an integer) – Label for voxelized fiber. Maps to a command-line argument: --voxel_label %d.

  • voxelize (a boolean or a pathlike object or string representing a file) – Voxelize fiber into a label map (the labelmap filename is the argument of -V). The tensor file must be specified using -T for information about the size, origin, spacing of the image. The deformation is applied before the voxelization . Maps to a command-line argument: --voxelize %s.

  • voxelize_count_fibers (a boolean) – Count number of fibers per-voxel instead of just setting to 1. Maps to a command-line argument: --voxelize_count_fibers.

Outputs:
  • fiber_output (a pathlike object or string representing an existing file) – Output fiber file. May be warped or updated with new data depending on other options used.

  • voxelize (a pathlike object or string representing an existing file) – Voxelize fiber into a label map (the labelmap filename is the argument of -V). The tensor file must be specified using -T for information about the size, origin, spacing of the image. The deformation is applied before the voxelization .