Professional Documents
Culture Documents
Automatic Segmentation of Brain Structures: Sonia Pujol, PH.D
Automatic Segmentation of Brain Structures: Sonia Pujol, PH.D
Automatic Segmentation of Brain Structures: Sonia Pujol, PH.D
Brain Structures
Sonia Pujol, Ph.D.
Surgical Planning Laboratory
Harvard Medical School
-1-
-2-
Algorithm History
12-year of algorithm development
1996: Williams Wells et al.
EM framework for simultaneous estimation of bias field a label
map. 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)
Automatic
2007:Segmentation.
Brad Davis
et al.:
in Slicer3
Sonia
Pujol,EMSegmenter
Ph.D., Harvard Medical
School
National Alliance for Medical Image Computing
-3-
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 the
terms of the license and with the applicable laws, regulations and rules.
-4-
Tutorial dataset
-5-
Anatomical Tree
-6-
EM Pipeline
Step 1: Pre-processing
-7-
EM Pipeline: Preprocessing
Patient data
t2
Intensity Normalization
Normalize the intensity of t1
and t2
t1
t2 normalized
t1 normalized
t1n
-8-
T(t2n)
t1n
Generic atlas
white matter
csf
white matter
csf
EM Pipeline: Segmentation
Normalized
Patient data
T(t2)
T1
normalized normalized
Patient-specific atlas
white matter
csf
Segment using
the Expectation
Maximization
algorithm
-10-
-11-
Running Slicer3
Mac/Linux
Run ./Slicer3 in Slicer3-build/
Windows
Run ./Slicer3.exe in Slicer3-build/
-12-
Tutorial dataset
-13-
Background
(Bg)
-14-
-15-
Slicer displays
the generic atlas
of the brain in the
viewer.
-16-
Select the
Module Data to
display the list of
datasets.
-17-
-18-
-19-
Display a coronal
view of the
Sylvian fissure
from the Grey
Matter atlas
-20-
S2
Sn
..
n=82 healthy subjects, ages 25-40
T(S2)
T(Sn)
..
n=82 registered subjects
-21-
T(S2)
T(Sn)
..
n=82 registered subjects
WM
..
GM
..
CSF
..
Bg
..
white matter
grey matter
csf
background
-22-
Tutorial dataset
-23-
Loading T1 Volume
Left-click on the
module selection
menu to load the
module Volumes
-24-
Loading T1 Volume
Click on Select
Volume File
-25-
Loading T1 Volume
-26-
Loading T1 volume
Click on Apply in the
module Volumes to
load the t1 dataset.
-27-
Loading T1 volume
-28-
Loading T1 volume
-29-
T1 contrast
Grey
Matter
White
Matter
-30-
Loading T2 volume
Come back to the
conventional layout
Click on Select
Volume File
-31-
Loading T2 volume
-32-
Loading T2 volume
Click on Apply in the
module Volumes to
load the t2 dataset.
-33-
Loading T2 volume
-34-
T2 contrast
CSF
-35-
Generic Atlas
S1
S2
Sn
..
n=82 healthy subjects, ages 25-40
-36-
Atlas T1
-37-
Atlas T2
-38-
Atlas T2
-39-
Training Datasets
-40-
Template Builder:
Parameters Settings
-41-
Template Builder
Select Modules
Segmentation
EMSegmentTemplateBuilder
-42-
Template Builder
The Wizard GUI of the EMSegment
Template Builder appears.
Left-click on Parameter Set, and
select Create New Parameters.
-43-
Template Builder
Slicer creates a new
vtkMRMLEMSNode1
-44-
Anatomical Tree
-45-
Anatomical Tree
Right-click on Root, and
select add subclass
-46-
Anatomical Tree
-47-
Anatomical Tree
Right-click on Root, and
select add subclass
-48-
Anatomical Tree
Rename the second subclass
Intracranial Cavity
The anatomical tree contains
two components: Background
and Intracranial Cavity
-49-
Anatomical Tree
Click on Select colormap
and select Labels
-50-
Anatomical Tree
Right-click on Background,
and select add subclass.
Add the subclass Air to
Background.
Set the label value for
Air to 0.
-51-
Anatomical Tree
Add the Skull subclass to
Background, and set the
label value for Skull to 3.
-52-
Anatomical Tree
Using the same process, rightclick on Intracranial Cavity,
and add the three following
subclasses:
- Grey Matter, label 4
- White Matter, label 8
- CSF, label 5
-53-
Anatomical Tree
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
Click on Next to assign the
atlas to the structures
Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School
National Alliance for Medical Image Computing
-54-
Atlas Assignment
-55-
Atlas Assignment
Select Air in the anatomical
tree.
Left-click on Select Volume
and assign the probabilistic
atlas atlas_background to
the Air structure.
-56-
Atlas Assignment
Select Skull in the
anatomical tree.
Left-click on Select Volume
and assign the probabilistic
atlas atlas_background to
the Skull structure.
-57-
Atlas Assignment
Select Grey Matter in the
anatomical tree.
Left-click on Select Volume
and assign the probabilistic
atlas atlas_greymatter to
the Grey Matter structure.
-58-
Atlas Assignment
Select White Matter in the
anatomical tree.
Left-click on Select Volume
and assign the probabilistic
atlas atlas_whitematter to
the White Matter structure.
-59-
Atlas Assignment
Select CSF in the
anatomical tree.
Left-click on Select Volume
and assign the probabilistic
atlas atlas_csf to the CSF
volume.
-60-
Target Images
-61-
Target Images
Select the volume t1 and click
on Add to set it as a target.
-62-
Target Images
Select the volume t2 and click
on Add to set it as a target.
-63-
Target Images
The volumes t1 and t2 are the
target volumes that will be
segmented by the EMSegmenter
algorithm
Select Align Target Images to
register the volume t2 to the
volume t1, and click on Next.
-64-
Target Images
A pop-up window asking
for confirmation appears.
Click on Yes.
-65-
Intensity Normalization
-66-
Intensity Normalization
Left Click on Reset Defaults and
select MR T1 SPGR for the
target image t1.
-67-
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.
-68-
Intensity Distribution
-69-
-70-
-71-
-72-
-73-
-74-
-75-
-76-
-77-
-78-
-79-
-80-
-81-
-82-
EM Input Parameters
-83-
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
-84-
Background Settings
Left click on Background and
enter the following parameters:
- Global Prior: 0.15
- Atlas Weight: 1
-Input Channel Weight:
t1: 1.0
t2: 1.0
-85-
-86-
Air
Skull
-87-
Intracranial Cavity
GM
WM
CSF
Click on Next.
-88-
Atlas To Target
Registration
-89-
T(t2n)
t1n
Generic atlas
white matter
csf
white matter
csf
-91-
Segmentation
-92-
EM Pipeline: Segmentation
Normalized
Patient data
T(t2)
T1
normalized normalized
Patient-specific atlas
white matter
csf
Segment using
the Expectation
Maximization
algorithm
-93-
Segmentation
Select a working directory
Left-click on the
OutputLabelmap dropdown menu and select
Create a New Volume
Automatic Segmentation. Sonia Pujol, Ph.D., Harvard Medical School
National Alliance for Medical Image Computing
-94-
Segmentation
Click on Run to run the EM
algorithm
-95-
Segmentation
Return to Conventional Layout
-96-
Segmentation Results
-97-
Segmentation Results
Make sure the links icon is
clicked and use the slider
to display the foreground
image
The results of the EM
Segmentation are overlaid
on the T1 volume.
-98-
Acknowledgments
National Alliance for Medical Image Computing
NIH U54EB005149
Thanks to Kilian Pohl, Brad Davis, Sylvain Bouix and Robert Yaffe.
-99-