Phybers
Functions
phybers.segment.segment Namespace Reference

Functions

def fiberseg (npoints, fiber_input, idsubj, atlasdir, atlasInformation, result_path)
 Documentation for fiberseg. More...
 

Detailed Description

The segment package is a fibers segmentation tool based on a multi-subject atlas. It's purpose is clasifying subject fibers in function of a multisubject-fascicle atlas.

Function Documentation

◆ fiberseg()

def phybers.segment.segment.fiberseg (   npoints,
  fiber_input,
  idsubj,
  atlasdir,
  atlasInformation,
  result_path 
)

Documentation for fiberseg.

The inputs are:

  1. npoints: Number of points.
  2. fiber_input: The tractography data file that contains the fibers of the whole brain of a subject. These must be in the same reference system as the used bundle atlas and be in bundles format.
  3. idsubj: The id to identify the subject.
  4. atlasdir: The bundle atlas, with bundles in separated files, sampled at 21 equidistant points. The bundle atlases provided are in different folders.
  5. atlasInformation: Text file that stores information needed to apply the segmentation algorithm such as the name of the atlas fascicle and the segmentation threshold. Note that the segmentation threshold can be adjusted depending on the database to be used.
  6. result_path: Directory to store all the results generated by the algorithm.