Brain Tracts Filtering

A filtration of the study region fibers according to minimal and maximal allowed length, and a separation into two groups depending on whether one or two of their ends are connected to the mesh.

Description

Depending on the starting region, the fiber tracts are filtered according to three criteria:

(1) only fibers connected to the starting region are retained (mandatory criteria)
(2) the fibers less than a threshold in length are removed (mandatory criteria)
(3) the fibers of longer than a threshold are removed (mandatory criteria)


This filtering is organized as follow:

Two types of fiber tracts have to be taken into consideration in this process:

Usage example

regions_nomenclature:            /casa/build/share/brainvisa-share-4.6/nomenclature/translation/nomenclature_desikan_freesurfer.txt
outputs_database:                /my/path/brainvisa_db 
study_name:                      studyA  
method:                          averaged approach  
region:                          lh.inferiorparietal
subject_indir:                   /my/path/connectomist_db/B1500/StreamlineProbabilistic/aQBI/27seeds/001
individual_white_mesh:           /my/path/freesurfer_db/001/surf/bh.r.aims.white.gii
dw_to_t1:                        /my/path/connectomist_db/B1500/StreamlineProbabilistic/aQBI/27seeds/001/dw_to_t1.trm
regions_parcellation:            /my/path/freesurfer_db/group_analysis/average_group/average_brain/bh.annot.averagebrain.gii
fiber_tracts_format:             bundles
min_fibers_length:               20.0  
max_fibers_length:               500.0  
labeled_fibers:                  /my/path/brainvisa_db/subjects/001/diffusion/default_acquisition/default_analysis/
                                 default_tracking_session/connectivity_parcellation/avg/studyA/lh.inferiorparietal/filteredTracts/
                                 001_studyA_lh.inferiorparietal_labelled_fibers_20to500mm.bundles  
semilabeled_fibers:              /my/path/database_brainvisa/subjects/001/diffusion/default_acquisition/default_analysis/
                                 default_tracking_session/connectivity_parcellation/avg/studyA/lh.inferiorparietal/filteredTracts/
                                 001_studyA_lh.inferiorparietal_semilabelled_fibers_20to500mm.bundles  

Parameters

regions_nomenclature: Nomenclature ROIs File ( input )
Nomenclature of the cortical parcellation used to partition the study.
Example : Freesurfer Desikan_Killiany Atlas
outputs_database: Choice ( input )
This parameter retrieves all databases with brainvisa ontology present in your configuration, the generated files will be written on the chosen one (see the documentation to add a database in the BrainVisa configuration).
study_name: OpenChoice ( input )
General name of the study.
method: Choice ( input )
Two methods are proposed:
(1) averaged approach to obtain an average result on the group.
(2) concatenated approach to obtain individual results across the group.
region: OpenChoice ( input )
The study region based on regions_nomenclature file.
subject_indir: Subject ( input )
This is the subjects directory in a Connectomist database, where the fiber tracts files can be found.
individual_white_mesh: White Mesh ( input )
Freesurfer white-grey interface of the cortex.
Should not be inflated.
dw_to_t1: Transform T2 Diffusion MR to Raw T1 MRI ( input )
Affine spatial transformation to get the T1 MRI space from the dMRI diffusion (and tracts) space.
regions_parcellation: ROI Texture ( input )
Cortical parcellation used to partition the study.
Example : Freesurfer Desikan_Killiany Atlas (?h.aparc.annot).
fiber_tracts_format: Choice ( input )
Different fiber tracts formats are supported.
Selectable formats are:
(1) TrackVis file format with .trk as filename extension.
(2) Connectomist file format with .bundles as filename extension.
min_fibers_length: Float ( input )
A filtering parameter to exclude low length fibers. Default to 20mm.
max_fibers_length: Float ( input )
A filtering parameter to exclude long length fibers. Default to 500mm.
labeled_fibers: Filtered Fascicles Bundles ( output )
All fibers having their ends identified on the mesh and corresponding to the various criteria in this process are merged into one output file.
semilabeled_fibers: Filtered Fascicles Bundles ( output )
All fibers having only one end identified on the mesh and corresponding to the various criteria of this process are merged into one output file.

Technical information

Toolbox : Constellation

User level : 2

Identifier : constel_brain_tracts_filtering

File name : brainvisa/toolboxes/constellation/processes/individual_pipelines/tools_connectomist/constel_brain_tracts_filtering.py

Supported file formats :

regions_nomenclature :
Text file, Text file
subject_indir :
Directory, Directory
individual_white_mesh :
GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI mesh
dw_to_t1 :
Transformation matrix, Transformation matrix
regions_parcellation :
GIFTI file, GIFTI file, Texture
labeled_fibers :
Aims bundles, Aims bundles
semilabeled_fibers :
Aims bundles, Aims bundles