Atlas-to-subject registration with FSL and Diffeomorphic Demons, for EM segmentation.

From NAMIC Wiki
Jump to: navigation, search
Home < Atlas-to-subject registration with FSL and Diffeomorphic Demons, for EM segmentation.

Abstract

This page describes the FSL-based EM segmentation. Page created by Aug, 09.

Segmentation pipeline

  1. Atlas construction phase:
    1. Chose one subject form the dataset as the target image;
    2. Using the Slicer3 module to perform histogram matching from all other subjects to the target;
    3. Affine register all subjects to the target using flirt;
    4. Manually skull strip the target;
    5. Apply the brain mask to all subjects to obtain brain matter;
    6. Perform bias correction on the brain matters using the binary within ITK Insight Applications.
    7. Affine register the brain matters of all subjects to that of the target using flirt, and save the transform as .mat;
    8. Subsequently, using Diffeomorphic Demons registration to register all subjects to the target and save the deformation field as .mha;
    9. Inverse the skull mask to obtain skull matter for all subjects;
    10. Apply the above obtained affine transformations and Demons deformations to deform their corresponding skull matter;
    11. Combine the brain matter and skull matter for each subject to obtain co-aligned brain images;
    12. Average the co-aligned images to generate the atlas;
    13. Generate tissue maps and the ECC masks.
      1. Use K-means segmentation method to classter brain tissue in the atlas into 3 clusters, each correspond to one type of brain tissue;( we use an implementation called KMS segmentation, which is a basic K-means implementation.)
      2. In ITK-SNAP, manually correct the segmentations obtained from K-means;
      3. If the subcortical structure atlas is needed, experts are invited to manually segment the structures. (We invited people from Wake Forest to conduct this segmentation).
      4. Use a Gaussian blurring filter on the corrected segmentation results to generate final atlas for all types of tissue.
  1. EM segmentation phase:
    1. Using the image of each subject as the target and the atlas as the source;
    2. For each subject, affine register its whole head image to the whole head atlas;
    3. Use the aligned brain mask from atlas to skull strip the subject image;
    4. Manually clean up the skull strip results;
    5. Affine register the brain matter in the atlas to the masked brain matter of the subject, and save the transform as .mat;
    6. Subsequently, using Diffeomorphic Demons registration to register the brain matter in the atlas to that of the subject, and save the deformations as .mha;
    7. Apply the above obtained affine transformation and demons deformation to the tissue maps and ECC mask;
    8. Perform EM segmentation using the Slicer2/Slicer3 module.

Segmentation Results

The results for the best and worst segmentations are shown in the following. For each subject, the first figure shows the alignment of Gray matter atlas (these will be changed to checker board figures aligning target and the whole brain atlas soon) with the brains, and the second figure shows the segmentation results.

Best Segmentation: Oscar

Worst Segmentation: Tommy