Difference between revisions of "FSL-based segmentation pipeline"

From NAMIC Wiki
Jump to: navigation, search
(Created page with ' EM segmentation pipeline Aug 10, 09 Atlas construction phase: Chose one subject form the dataset a…')
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
                                  EM segmentation pipeline
+
==Abstract==
                                          Aug 10, 09
+
This page describes the FSL-based EM segmentation. Page created by Aug, 09.
Atlas construction phase:
+
 
  Chose one subject form the dataset as the target image;
+
=== Segmentation pipeline ===
+
# Atlas construction phase:
  Using the Slicer3 module to perform histogram matching from all other subjects to the target;
+
## Chose one subject form the dataset as the target image;
+
## Using the Slicer3 module to perform histogram matching from all other subjects to the target;
  Affine register all subjects to the target using flirt;
+
## Affine register all subjects to the target using flirt;
+
## Manually skull strip the target;
  Manually skull strip the target;
+
## Apply the brain mask to all subjects to obtain brain matter;
+
## Perform bias correction on the brain matters using the binary within ITK Insight Applications.
  Apply the brain mask to all subjects to obtain brain matter;
+
## Affine register the brain matters of all subjects to that of the target using flirt, and save the transform as .mat;
+
## Subsequently, using Diffeomorphic Demons registration to register all subjects to the target and save the deformation field as .mha;
  Perform bias correction on the brain matters using the binary within ITK Insight Applications.
+
## Inverse the skull mask to obtain skull matter for all subjects;
+
## Apply the above obtained affine transformations and Demons deformations to deform their corresponding skull matter;
  Affine register the brain matters of all subjects to that of the target using flirt, and save the
+
## Combine the brain matter and skull matter for each subject to obtain co-aligned brain images;
+
## Average the co-aligned images to generate the atlas;
  transform as .mat;
+
## Apply KMS segmentation on all subjects, followed by manually correction of the segmentations;
  Subsequently, using Diffeomorphic Demons registration to register all subjects to the target
+
## Collect all the segmentation results to generate tissue maps and the ECC masks.
+
# EM segmentation phase:
  and save the deformation field as .mha;
+
## Using the image of each subject as the target and the atlas as the source;
  Inverse the skull mask to obtain skull matter for all subjects;
+
## For each subject, affine register its whole head image to the whole head atlas;
+
## Use the aligned brain mask from atlas to skull strip the subject image;
  Apply the above obtained affine transformations and Demons deformations to deform their
+
## Affine register the brain matter in the atlas to the masked brain matter of the subject, and save the transform as .mat;
+
## Subsequently, using Diffeomorphic Demons registration to register the brain matter in the atlas to that of the subject, and save the deformations as .mha;
  corresponding skull matter;
+
## Apply the above obtained affine transformation and demons deformation to the tissue maps and ECC mask;
  Combine the brain matter and skull matter for each subject to obtain co-aligned brain images;
+
## Perform EM segmentation using the Slicer2/Slicer3 module.
+
 
  Average the co-aligned images to generate the atlas;
+
=== 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.
  Apply KMS segmentation on all subjects, followed by manually correction of the segmenta-
+
 
+
Best Segmentation: Oscar
  tions;
+
 
  Collect all the segmentation results to generate tissue maps and the ECC masks.
+
<gallery perrow="3" heights="400px" widths="400px">
+
Image:Oscar1.png
EM segmentation phase:
+
Image:Oscar.png
  Using the image of each subject as the target and the atlas as the source;
+
</gallery>
+
 
  For each subject, affine register its whole head image to the whole head atlas;
+
Worst Segmentation: Tommy
+
<gallery perrow="3" heights="400px" widths="400px">
  Use the aligned brain mask from atlas to skull strip the subject image;
+
Image:tommy1.png
+
Image:tommy.png
  Affine register the brain matter in the atlas to the masked brain matter of the subject, and save
+
</gallery>
 
  the transform as .mat;
 
  Subsequently, using Diffeomorphic Demons registration to register the brain matter in the
 
 
  atlas to that of the subject, and save the deformations as .mha;
 
  Apply the above obtained affine transformation and demons deformation to the tissue maps
 
 
  and ECC mask;
 
  Perform EM segmentation using the Slicer2/Slicer3 module.
 

Latest revision as of 22:03, 21 August 2009

Home < FSL-based segmentation pipeline

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. Apply KMS segmentation on all subjects, followed by manually correction of the segmentations;
    14. Collect all the segmentation results to generate tissue maps and the ECC masks.
  2. 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. Affine register the brain matter in the atlas to the masked brain matter of the subject, and save the transform as .mat;
    5. Subsequently, using Diffeomorphic Demons registration to register the brain matter in the atlas to that of the subject, and save the deformations as .mha;
    6. Apply the above obtained affine transformation and demons deformation to the tissue maps and ECC mask;
    7. 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