99
Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School -1- National Alliance for Medical Image Computing Automatic Segmentation of Brain Structures Sonia Pujol, Ph.D. Surgical Planning Laboratory Harvard Medical School

AutomaticSegmentation_SoniaPujol

  • Upload
    hudjma

  • View
    213

  • Download
    0

Embed Size (px)

DESCRIPTION

Open Source Tutorial: Automatic Segmentation of Brain Structures

Citation preview

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-1-National Alliance for Medical Image Computing

    Automatic Segmentation of Brain Structures

    Sonia Pujol, Ph.D.Surgical Planning Laboratory

    Harvard Medical School

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-2-National Alliance for Medical Image Computing

    Goal of the course

    Guiding you step by step through the process of using the Expectation-Maximization algorithm to automatically segment brain structures from MRI data.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-3-National Alliance for Medical Image Computing

    Algorithm History12-year of algorithm development

    1996: Williams Wells et al. EM framework for simultaneous estimation of bias field a labelmap. IEEE Transactions on Medical Imaging.

    1999: Kapur et al.Model noise via Markov Random Field . MIT PhD Thesis

    2002: Van Leemput et al. Non-spatial tissue priors. IEEE Transactions on Medical Imaging

    Since 2002: Pohl et al. Deformable registration to align atlas (MICCAI) Hierarchical framework to model anatomical dependencies (ISBI)

    2007: Brad Davis et al.: EMSegmenter in Slicer3

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-4-National Alliance for Medical Image Computing

    Material

    Slicer 3.4 Software

    ./Slicer.exe (Windows) or ./Slicer (Linux/Mac)

    AutomaticSegmentation.zip dataset

    Disclaimer: It is the responsibility of the user of 3DSlicer to comply with both theterms of the license and with the applicable laws, regulations and rules.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-5-National Alliance for Medical Image Computing

    Pre-computed generic atlas of the brain.

    T1 and T2 volumes ...

    Tutorial dataset

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-6-National Alliance for Medical Image Computing

    The anatomical tree defines the hierarchy of structures that will be segmented.

    In this course, we focus on the following hierarchy

    Intracranial Cavity White Matter (WM) Grey Matter (GM) Cerebrospinal Fluid (CSF)

    Background Air Skull

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-7-National Alliance for Medical Image Computing

    Step 1: Pre-processing

    Step 2: Patient-specific atlas generation

    Step 3: Automatic segmentation

    EM Pipeline

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-8-National Alliance for Medical Image Computing

    EM Pipeline: Preprocessing

    t2 t1

    Patient data

    t1 normalizedt2 normalized Target to Target Registration Align t2 to t1

    t1nT(t2n)

    Intensity NormalizationNormalize the intensity of t1

    and t2

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-9-National Alliance for Medical Image Computing

    Atlas to target registration Register the generic atlas to the images to

    create the patient-specific atlas

    white matter csf grey matter background

    Generic atlas

    Anatomical Guided Segmentation with non-stationary tissue class distributions in an expectation maximization framework. Pohl K., Bouix S., Kikinis R. and Grimson E. In Proc.ISBIT 2004: IEEE International Symposium on Biomedical Imaging:From Nano to Macro, pp 81-84

    Patient-specific atlas

    white matter csf grey matter background

    EM Pipeline: Patient-Specific Atlas Generation

    t1nT(t2n)

    Registered Normalized Patient data

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-10-National Alliance for Medical Image Computing

    EM Pipeline: Segmentation

    T1 normalized

    T(t2) normalized

    Patient-specific atlas

    white matter csf grey matter background

    Segment using the Expectation Maximization

    algorithm

    Normalized Patient data

    Anatomical Guided Segmentation with non-stationary tissue class distributions in an expectation maximization framework. Pohl K.,Bouix S., Kikinis R. and Grimson E. In Proc.ISBIT 2004: IEEE International Symposium on Biomedical Imaging:From Nano to Macro, pp 81-84

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-11-National Alliance for Medical Image Computing

    EP Pipeline: Segmentation Algorithm

    Maximization Stepapplies the intensity correction as a

    function of the tissue class

    Expectation Stepclassifies the MR voxels in tissue classes

    (Gray Matter, White Matter, CSF)

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-12-National Alliance for Medical Image Computing

    Mac/LinuxRun ./Slicer3 in Slicer3-build/

    WindowsRun ./Slicer3.exe in Slicer3-build/

    Running Slicer3

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-13-National Alliance for Medical Image Computing

    Pre-computed generic atlas of the brain.

    T1 and T2 volumes ...

    Tutorial dataset

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-14-National Alliance for Medical Image Computing

    Generic Brain Atlas

    White Matter (WM)

    The Generic Brain Atlas is composed of four grey-levels volumes which correspond to the structures that will be automatically segmented in the MRI example datasets.

    Grey Matter (WM)

    Background (Bg)

    Cerebrospinal Fluid (CSF)

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-15-National Alliance for Medical Image Computing

    Loading the generic atlas of the brain Select FileLoadScene in the Main menu.

    Select the file brainAtlas.mrml in the directoryAutomaticSegmentation/atlas and click on Open

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-16-National Alliance for Medical Image Computing

    Viewing the generic atlas of the brain

    Slicer displays the generic atlas of the brain in the viewer.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-17-National Alliance for Medical Image Computing

    Viewing the generic atlas of the brain

    Select the Module Data to display the list of datasets.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-18-National Alliance for Medical Image Computing

    Viewing the generic atlas of the brain

    The generic atlas is composed of 4 volumes: -White Matter

    -Grey Matter -CSF-Background

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-19-National Alliance for Medical Image Computing

    Loading the generic atlas of the brain

    Click on the link icon and left click on Bg to step through viewing each component.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-20-National Alliance for Medical Image Computing

    Viewing the generic atlas of the brain

    Display a coronal view of theSylvian fissure

    from the Grey Matter atlas

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-21-National Alliance for Medical Image Computing

    Generic Atlas Generation (Step 1)

    Register all the subjects to the training subject

    ..

    S1 S2 Sn

    n=82 healthy subjects, ages 25-40

    Training subject (randomly chosen)

    ..

    T(S1) T(S2) T(Sn)

    n=82 registered subjects

    A Binary Entropy Measure to Assess Non-rigid Registration Algorithms. S.Warfield, J. Rexilius, P. Huppi, T.Inder, E. Miller, W.Wells, G. Zientara, F. Jolesz, R. Kikinis. In Proc. MICCAI 2001: Medical Image Computing and Computer-Assisted Interventions, pp 266-274.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-22-National Alliance for Medical Image Computing

    Segment all n images into 4 classes

    ..

    T(S1) T(S2) T(Sn)

    n=82 registered subjects

    Generate the generic atlas

    Adaptative Segmentation of MRI data. Wells W.,Grimson E., Kikinis R and Jolesz F. IEEE Transactions on Medical Imaging, vol.15, p 429-442, 1996.

    Generic Atlas Generation (Step 2)

    white matter csfgrey matter background

    ..

    ..

    ..

    ..

    WM

    GM

    CSF

    Bg

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-23-National Alliance for Medical Image Computing

    Pre-computed generic atlas of the brain.

    T1 and T2 volumes ...

    Tutorial dataset

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-24-National Alliance for Medical Image Computing

    Loading T1 Volume

    Left-click on the module selection menu to load the module Volumes

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-25-National Alliance for Medical Image Computing

    Loading T1 VolumeClick on Select Volume File

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-26-National Alliance for Medical Image Computing

    Loading T1 Volume

    Browse to find the dataset t1.nhdrlocated in the directoryAutomaticSegmentation/t1and click on Open

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-27-National Alliance for Medical Image Computing

    Loading T1 volumeClick on Apply in the module Volumes to load the t1 dataset.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-28-National Alliance for Medical Image Computing

    Loading T1 volume

    Slicer loads the volume t1 in the viewer.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-29-National Alliance for Medical Image Computing

    Loading T1 volume

    Select Red slice only layout from the main menu

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-30-National Alliance for Medical Image Computing

    T1 contrast

    White Matter

    Grey Matter

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-31-National Alliance for Medical Image Computing

    Loading T2 volume

    Click on Select Volume File

    Come back to the conventional layout

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-32-National Alliance for Medical Image Computing

    Loading T2 volume

    Browse to find dataset t2.nhdrlocated in the directoryAutomaticSegmentation/t2and click on Open

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-33-National Alliance for Medical Image Computing

    Loading T2 volumeClick on Apply in the module Volumes to load the t2 dataset.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-34-National Alliance for Medical Image Computing

    Loading T2 volume

    Slicer loads the volume t2 in the viewer.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-35-National Alliance for Medical Image Computing

    T2 contrast

    CSF

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-36-National Alliance for Medical Image Computing

    Generic Atlas

    ..

    S1 S2 Sn

    n=82 healthy subjects, ages 25-40

    Training subject (randomly chosen)

    t1 and t2 of the training subject

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-37-National Alliance for Medical Image Computing

    Atlas T1

    Select AddVolume and load the volume atlas_t1located in /atlas

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-38-National Alliance for Medical Image Computing

    Atlas T2

    Select AddVolume and load the volume atlas_t2located in /atlas

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-39-National Alliance for Medical Image Computing

    Atlas T2

    Adjust the Window/Level parameters

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-40-National Alliance for Medical Image Computing

    Training Datasets

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-41-National Alliance for Medical Image Computing

    Template Builder: Parameters Settings

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-42-National Alliance for Medical Image Computing

    Template Builder

    Select ModulesSegmentation EMSegmentTemplateBuilder

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-43-National Alliance for Medical Image Computing

    The Wizard GUI of the EMSegmentTemplate Builder appears.

    Left-click on Parameter Set, and select Create New Parameters.

    Template Builder

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-44-National Alliance for Medical Image Computing

    Click on Next to define the anatomical tree

    Slicer creates a new vtkMRMLEMSNode1

    Template Builder

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-45-National Alliance for Medical Image Computing

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-46-National Alliance for Medical Image Computing

    Right-click on Root, and select add subclass

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-47-National Alliance for Medical Image Computing

    Rename the node Background

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-48-National Alliance for Medical Image Computing

    Right-click on Root, and select add subclass

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-49-National Alliance for Medical Image Computing

    Rename the second subclassIntracranial Cavity

    The anatomical tree contains two components: Background and Intracranial Cavity

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-50-National Alliance for Medical Image Computing

    Click on Select colormapand select Labels

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-51-National Alliance for Medical Image Computing

    Right-click on Background,and select add subclass. Add the subclass Air to Background.

    Anatomical Tree

    Set the label value for Air to 0.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-52-National Alliance for Medical Image Computing

    Add the Skull subclass to Background, and set the label value for Skull to 3.

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-53-National Alliance for Medical Image Computing

    Using the same process, right-click on Intracranial Cavity, and add the three following subclasses:- Grey Matter, label 4- White Matter, label 8- CSF, label 5

    Anatomical Tree

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-54-National Alliance for Medical Image Computing

    The anatomical tree contains the following five structures: - Air, label 0- Skull, label 3- Grey Matter, label 4- White Matter, label 8- CSF, label 5

    Anatomical Tree

    Click on Next to assign the atlas to the structures

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-55-National Alliance for Medical Image Computing

    Atlas Assignment

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-56-National Alliance for Medical Image Computing

    Atlas Assignment

    Select Air in the anatomical tree.

    Left-click on Select Volumeand assign the probabilistic atlas atlas_background to the Air structure.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-57-National Alliance for Medical Image Computing

    Atlas Assignment

    Select Skull in the anatomical tree. Left-click on Select Volumeand assign the probabilistic atlas atlas_background to the Skull structure.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-58-National Alliance for Medical Image Computing

    Atlas Assignment

    Select Grey Matter in the anatomical tree. Left-click on Select Volumeand assign the probabilistic atlas atlas_greymatter to the Grey Matter structure.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-59-National Alliance for Medical Image Computing

    Atlas Assignment

    Select White Matter in the anatomical tree. Left-click on Select Volumeand assign the probabilistic atlas atlas_whitematter to the White Matter structure.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-60-National Alliance for Medical Image Computing

    Atlas Assignment

    Select CSF in the anatomical tree. Left-click on Select Volumeand assign the probabilistic atlas atlas_csf to the CSF volume.

    Click on Next to assign the atlas to select the target images.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-61-National Alliance for Medical Image Computing

    Target Images

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-62-National Alliance for Medical Image Computing

    Target Images

    Select the volume t1 and click on Add to set it as a target.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-63-National Alliance for Medical Image Computing

    Target Images

    Select the volume t2 and click on Add to set it as a target.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-64-National Alliance for Medical Image Computing

    Target Images

    The volumes t1 and t2 are the target volumes that will be segmented by the EMSegmenteralgorithm

    Select Align Target Images to register the volume t2 to the volume t1, and click on Next.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-65-National Alliance for Medical Image Computing

    Target Images

    A pop-up window asking for confirmation appears. Click on Yes.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-66-National Alliance for Medical Image Computing

    Intensity Normalization

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-67-National Alliance for Medical Image Computing

    Intensity Normalization

    Left Click on Reset Defaults and select MR T1 SPGR for the target image t1.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-68-National Alliance for Medical Image Computing

    Intensity Normalization

    Left Click on Target Image and select the volume t2.nhdr.Left Click on Reset Defaults and select MR T2 for the target image t2.

    Click on Next to specify the Intensity Distribution.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-69-National Alliance for Medical Image Computing

    Intensity Distribution

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-70-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Select the Grey Matter structure

    Left-click on the drop down menu and select Manual Sampling.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-71-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Click on the Manual Sampling tab

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-72-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Switch to Red slice only layout and select the t1 volume.

    Set Foreground to None, Labelto None and Background to t1 and click Fit to Window.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-73-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Sample 10 Grey Matter voxels within the t1 volume (Ctrl + Left Click)

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-74-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Click on the Intensity Distribution tab

    The Mean and Covariance (Log) of the Grey Matter in the t1 and t2 volumes have been computed.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-75-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Select White Matter in the anatomical tree.

    Left-click on the drop down menu and select Manual Sampling.

    Click on the Manual Sampling tab and sample 10 White Matter voxels within the t1 volume

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-76-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Click on the Intensity Distribution tab to display the values calculated for the White Matter.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-77-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Select CSF from the anatomical tree.

    Select Manual Sampling from the drop-down menuClick on the Manual Sampling tab and sample 10 CSF voxels within the t2 volume.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-78-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Click on the Intensity Distribution tab to display the values of the mean and covariance of the CSF intensity.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-79-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Using the same process, select Air from the anatomical tree and sample 10 air voxels within the t2 volume.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-80-National Alliance for Medical Image Computing

    Air Intensity Distribution

    Gaussian Intensity Distribution

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-81-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Select Skull, Manual Samplingand sample 10 skull voxels within the t1 volume.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-82-National Alliance for Medical Image Computing

    Gaussian Intensity Distribution

    Skull Intensity Distribution

    Click on Next to set-up the intensity parameters of the EM algorithm

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-83-National Alliance for Medical Image Computing

    EM Input Parameters

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-84-National Alliance for Medical Image Computing

    EM Segmentation parameters

    Global Prior p(L) Global Prior Weight

    Gaussian Intensity Distribution p(L|I) Input Channel Weight

    Probabilistic Atlas p(L|X) Atlas Weight

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-85-National Alliance for Medical Image Computing

    Background Settings

    Left click on Background and enter the following parameters:- Global Prior: 0.15- Atlas Weight: 1-Input Channel Weight:

    t1: 1.0t2: 1.0

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-86-National Alliance for Medical Image Computing

    Intracranial Cavity Settings

    Left click on Intracranial Cavityand enter the following parameters:- Global Prior: 0.85- Atlas Weight: 1-Input Channel Weight

    -T1: 1.0-T2: 1.0

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-87-National Alliance for Medical Image Computing

    Air and Skull settings

    Global Prior: p(L) = 0.3Atlas Weight: p(L|X) = 1

    Input Channel Weight: t1, p(L|I) = 1.0 t2, p(L|I) = 1.0

    Global Prior: p(L) = 0.7

    Atlas Weight: p(L|X) = 1Input Channel Weight: t1, p(L|I) = 1.0

    t2, p(L|I) = 1.0

    Air

    Skull

    Enter the following parameters for Air and Skull

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-88-National Alliance for Medical Image Computing

    Intracranial CavityGlobal Prior: p(L) = 0.45Atlas Weight: p(L|X) = 0.01Input Channel Weight: t1, p(L|I) = 1.0

    t2, p(L|I) = 0.1 Global Prior: p(L) = 0.3Atlas Weight: p(L|X) = 0.7Input Channel Weight: t1, p(L|I) = 0.95

    t2, p(L|I) = 0.05

    WM

    GM

    Global Prior: p(L) = 0.25Atlas Weight: p(L|X) = 0.01Input Channel Weight: t1, p(L|I) = 0.1

    t2, p(L|I) = 1.0

    CSF

    Enter the following parameters for GM, WM and CSF.

    Click on Next.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-89-National Alliance for Medical Image Computing

    Atlas To Target Registration

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-90-National Alliance for Medical Image Computing

    Atlas to target registration Register the generic atlas to the images to

    create the patient-specific atlas

    white matter csf grey matter background

    Generic atlas

    Anatomical Guided Segmentation with non-stationary tissue class distributions in an expectation maximization framework. Pohl K., Bouix S., Kikinis R. and Grimson E. In Proc.ISBIT 2004: IEEE International Symposium on Biomedical Imaging:From Nano to Macro, pp 81-84

    Patient-specific atlas

    white matter csf grey matter background

    EM Pipeline: Patient-Specific Atlas Generation

    t1nT(t2n)

    Registered Normalized Patient data

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-91-National Alliance for Medical Image Computing

    Atlas To Target Registration

    Left click on the drop down menu and select the Atlas (Moving) Image:atlas_t1

    Select the following registration algorithms:-Affine Registration: Rigid, MI-Deformable Registration: B-Spline, MI

    Click on Next to run the Segmentation

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-92-National Alliance for Medical Image Computing

    Segmentation

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-93-National Alliance for Medical Image Computing

    EM Pipeline: Segmentation

    T1 normalized

    T(t2) normalized

    Patient-specific atlas

    white matter csf grey matter background

    Segment using the Expectation Maximization

    algorithm

    Normalized Patient data

    Anatomical Guided Segmentation with non-stationary tissue class distributions in an expectation maximization framework. Pohl K.,Bouix S., Kikinis R. and Grimson E. In Proc.ISBIT 2004: IEEE International Symposium on Biomedical Imaging:From Nano to Macro, pp 81-84

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-94-National Alliance for Medical Image Computing

    Segmentation

    Select a working directory

    Left-click on theOutputLabelmap drop-down menu and select Create a New Volume

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-95-National Alliance for Medical Image Computing

    Segmentation

    Click on Run to run the EM algorithm

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-96-National Alliance for Medical Image Computing

    Segmentation

    Return to Conventional Layout

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-97-National Alliance for Medical Image Computing

    Segmentation Results

    Set the EMSegmentationvolume in the Foreground and t1 in the Background.

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-98-National Alliance for Medical Image Computing

    Segmentation Results

    The results of the EM Segmentation are overlaid on the T1 volume.

    Make sure the links icon is clicked and use the slider to display the foreground image

  • Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School-99-National Alliance for Medical Image Computing

    AcknowledgmentsNational Alliance for Medical Image Computing

    NIH U54EB005149 Thanks to Kilian Pohl, Brad Davis, Sylvain Bouix and Robert Yaffe.

    Neuroimage Analysis Center

    NIH P41RR013218

    Computer Science and Artificial Intelligence Lab-MIT,

    Surgical Planning Lab-Harvard Medical School

    Thanks to Sandy Wells, Martha Shenton, Alex Guimond, Simon Warfield andEric Grimson.