Full brain parcellation for the DRC

From CMIC
Revision as of 13:37, 1 September 2015 by N.toussaint (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This pipeline uses Geodesic Information Flow (GIF) in order to propagate an atlas parcellation towards a target subject geometry. It only takes an input T1 image as input and a reference database xml file in a specific format.

The database is the key argument of the pipeline. It will determine what atlas is to be propagated and the subjects present in the database will influence the propagation. On the DRC network, the database is located here: ~toussaint/scratch/data/template-database/db.xml. The ready to go usage is the following:

perform_gif_propagation_expanded.py -d ~toussaint/scratch/data/template-database/db.xml -i <T1.nii.gz> -o <output_dir>


The following is a description of the other parameters available from the pipeline:

usage: perform_gif_propagation_expanded.py [-h] -i input_file [input_file ...]
                                           -d database -o output [-n n_procs]
                                           [-u username] [-g]

GIF Propagation

optional arguments:
  -h, --help            show this help message and exit
  -i input_file [input_file ...], --input_file input_file [input_file ...]
                        Input image file to propagate labels in
  -d database, --database database
                        gif-based database xml file describing the inputs
  -o output, --output output
                        output directory to which the gif outputs are stored
  -n n_procs, --n_procs n_procs
                        maximum number of CPUs to be used when using the
                        MultiProc plugin
  -u username, --username username
                        Username to use to submit jobs on the cluster
  -g, --graph           Print a graph describing the node connections


External links: