Morphologist 2015


Trigger all segmentation tools for T1-weighted data

Description

This pipeline is now named "Morphologist", and is the main entry point of the "Morphologist" toolbox dedicated to the processing of T1 MRI data. It is the evolution of the older "T1 Pipeline".

This is the second version of Morphologist. Older versions of the pipeline are still available in the sub-directory "segmentation Pipeline / Older pipelines", and should normally work as they used to.

News in 2015 vs. 2013:

A new optional step has been added in the 2015 version of the Morphologist pipeline: the "Skull-stripped renormalization" step. It aims at improving (or rather, correcting) the initial normalization which sometimes get incorrect results due to too different image/template fields of view, or to scalp/brain mismatch.

This pipeline allows to compute:

Before running a pipeline, you have to, either enable a normalization process (needing either SPM or FSL software), or fill in image orientation parameters in the first step, or independently use the Prepare Subject for Anatomical Pipeline process. Be careful that the default recognition method in BrainVISA 4.2 has changed to SPAM recognition with global+local registration, if the corresponding models have been installed.

A pipeline normally deals with both hemispheres, but can be asked to process only one. Processing steps are executed in the following order (except when some results have already been validated/locked or unchecked in the graphical interface) :

  1. Ensure image orientation and reorient it if needed (Prepare Subject for Anatomical Pipeline) ;
  2. Computation of a brain mask (Brain Mask Segmentation) ;
  3. Computation of a mask for each hemisphere (Split Brain Mask) ;
  4. A grey/white classification of each hemisphere to perform "Voxel Based Morphometry" (Grey White Classification) and spherical triangulation of cortical hemispheres (Grey White Surface) ;
  5. Spherical triangulation of the external interface of the cortex of one or two hemispheres (Get Spherical Hemi Surface) ;
  6. Computation of a graph representing the cortical fold topography (Cortical Fold Graph) ;
  7. Possibly, automatic identification of the cortical sulci (Automatic Sulci Recognition), located in the "sulci" toolbox.

Some of these steps may allow to choose between an older version of the algorithm and a new one. The default settings correspond to the alternative we consider to be the most robust or the most performant, but a different choice may achieve better results on some images.
With some practice, you may play iteratively with the pipelines. For instance, if you have trigerred a "sub-pipeline" only, you may ask for more without having to recompute the whole stuff. For that purpose, you can lock the first results using the files locking system (right click on the data parameter name and select "lock" in the menu), or alternatively use the old BrainVISA validation tools.

It is to be noted that since version 2012, the pipeline has been made robust enough to run all steps, with the default settings and without manual intervention, on a large majority of cases.




The different active pipelines are the following (you may find other ones elsewhere when the input is not the raw T1-weighted MR scan):


Efficient use of the pipeline:

If you want to process a large population of brains, we advise the following strategy :

  1. Select a few representative brains, and process them with the default parameters. If the results are not so good, several levels of tuning can be tried in order to achieve acceptable results :
    1. You can change the field rigidity parameter in the Bias Correction. If the contrast is bad, you can increase this parameter and vice-versa.
    2. In the Brain Mask Segmentation, you can increase the erosion size.
    3. If your image's contrast is bad or if your image is noised, it can be better to reduce the bary factor parameter in the Split Brain Mask, which will reduce the threshold between the grey matter and white matter.

    If you are not unlucky, you should find a good solution with this, otherwise it may be interesting to derive your own pipeline using low-level bricks, Vip library and maybe your own local tools. This is what is done for example in Marseille fMRI site because of the 3T large bias field: http://marspack.free.fr/.

  2. After the tuning stage, we suggest to perform the processing in two stages :
    1. From raw MR data to the brain mask : It can be iterated on all your brains. Then check the results one by one and if still some data's results are not acceptable try some of the alternatives above. (For the very recalcitrant brains, you could perform some manual corrections with Anatomist drawing's capacities : Label volume editor.)
    2. Any further processing (meshes, graphs, etc.) : You have first to lock the results of the previous stages, for them not to be superseded by the general pipeline treatment. Use : Ana Validate All. Then you can iterate the pipeline you like and go to sleep.


Visual control at databases scale

After running the Morphologist pipeline on a set of subjects, it is highly recommended to visually inspect the results: a pipeline which runs to the end does not imply that it has produced good results...

A new visual control module has been released since BrainVisa / Morphologist version 4.3: SnapBase. This tool allows to perform snapshots of the visualization of some data, under given points of view, on entire databases, so as to present the results for all subjects together. This allows to spot, a posteriori, very quickly and easily, some subjects for which the analysis has largely failed, amongst large amounts of subjects.


Parameters

t1mri: Raw T1 MRI ( input )
perform_normalization: Boolean ( input )
anterior_commissure: Point3D ( optional, input )
posterior_commissure: Point3D ( optional, input )
interhemispheric_point: Point3D ( optional, input )
left_hemisphere_point: Point3D ( optional, input )
t1mri_nobias: T1 MRI Bias Corrected ( output )
histo_analysis: Histo Analysis ( output )
split_brain: Split Brain Mask ( output )
left_graph: Cortical folds graph ( output )
right_graph: Cortical folds graph ( output )
perform_sulci_recognition: Boolean ( input )
left_labelled_graph: Labelled Cortical folds graph ( optional, output )
right_labelled_graph: Labelled Cortical folds graph ( optional, output )

Technical information

Toolbox : Morphologist

User level : 0

Identifier : morphologist_2015

File name : brainvisa/toolboxes/morphologist/processes/segmentationpipeline/older_pipelines/morphologist_2015.py

Supported file formats :

t1mri :
gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
t1mri_nobias :
gz compressed NIFTI-1 image, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, GIF image, GIS image, JPEG image, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, TIFF image, TIFF(.tif) image, VIDA image, XBM image, XPM image, gz compressed MINC image, gz compressed NIFTI-1 image
histo_analysis :
Histo Analysis, Histo Analysis
split_brain :
gz compressed NIFTI-1 image, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, GIF image, GIS image, JPEG image, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, TIFF image, TIFF(.tif) image, VIDA image, XBM image, XPM image, gz compressed MINC image, gz compressed NIFTI-1 image
left_graph :
Graph and data, Graph and data
right_graph :
Graph and data, Graph and data
left_labelled_graph :
Graph and data, Graph and data
right_labelled_graph :
Graph and data, Graph and data