Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Training 10 EMAtlasBrainClassifier Sonia Pujol, Ph.D. Randy.

Slides:



Advertisements
Similar presentations
NA-MIC National Alliance for Medical Image Computing Slicer Advanced Training 11: Registration Sonia Pujol, Ph.D. Surgical Planning Laboratory.
Advertisements

Surgical Planning Laboratory -1- Brigham and Womens Hospital Slicer Tutorial 7 Saving Data Sonia Pujol, Ph.D. Randy Gollub, M.D.,
Surgical Planning Laboratory -1- Brigham and Womens Hospital Slicer 3 Tutorial The SPL Abdominal Atlas Ion-Florin Talos, M.D.
NA-MIC National Alliance for Medical Image Computing Slicer3 EMSegment Tutorial January 2008 NAMIC All-Hands Meeting Brad Davis, Yuman.
NA-MIC National Alliance for Medical Image Computing © 2010, All Rights Reserved Diffusion Tensor Imaging Tutorial Sonia Pujol, Ph.D.
Slicer3 Training Compendium Pohl K, Konukoglu E, Fedorov A Measuring Volume Change in Tumors Kilian M. Pohl, Ph.D. Ender Konugolu, Ph.D. Andriy Fedorov,
National Alliance for Medical Image Computing © 2010, All Rights Reserved Sonia Pujol, PhD Slicer3Minute Tutorial Sonia.
Pohl K, Konukoglu E, Fedorov A National Alliance for Medical Image Computing NA-MIC© 2010, ARR Measuring Volume Change in Tumors Kilian M Pohl, PhD Ender.
National Alliance for Medical Image Computing © 2010, ARR Sonia Pujol, PhD Slicer3Minute Tutorial Slicer3 minute tutorial.
NA-MIC National Alliance for Medical Image Computing Diffusion Tensor Imaging tutorial Sonia Pujol, PhD Surgical Planning Laboratory.
NA-MIC National Alliance for Medical Image Computing © 2010, All Rights Reserved Diffusion Tensor Imaging Tutorial Sonia Pujol, Ph.D.
Data Loading & and Visualization Sonia Pujol, Ph.D. Surgical Planning Laboratory Harvard Medical School National Alliance for Medical Image Computing Neuroimage.
Slicer4Minute Tutorial Sonia Pujol, Ph.D. Surgical Planning Laboratory Harvard Medical School Slicer4Minute - Sonia Pujol, Ph.D. NA-MIC ARR
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial / Registration Library: Case 29 - DTI converting and aligning diffusion.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial / Registration Library: Case 03 - DTI aligning low-resolution diffusion.
-- CTSA at RSNA 2010 PET/CT Analysis using 3D Slicer Jeffrey Yap PhD Ron Kikinis MD Wendy Plesniak PhD PET/CT Visualization and Analysis.
Slicer Welcome Tutorial
Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Training 1 Loading and Viewing Data Sonia Pujol, Ph.D. Randy.
Pohl K, Konukoglu E -1- National Alliance for Medical Image Computing Measuring Volume Change in Tumors Kilian M Pohl, PhD Ender Konugolu Slicer3 Training.
NA-MIC National Alliance for Medical Image Computing Non-rigid MR-CT Image Registration Atsushi Yamada, Dominik S. Meier and Nobuhiko.
Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Training 1: Loading and Viewing Data.
NA-MIC National Alliance for Medical Image Computing Interactive Editor tutorial Sonia Pujol, Ph.D. Surgical Planning Laboratory Harvard.
-1- Pujol S et al. National Alliance for Medical Image Computing 3D Visualization of FreeSurfer Data Sonia Pujol, Ph.D. Silas Mann, B.Sc. Randy Gollub,
© NIH National Center for Image-Guided Therapy, 2011 Tumor Segmentation from DCE-MRI with the SegmentCAD module Vivek Narayan, Jayender Jagadeesan Brigham.
-- CTSA at RSNA 2009 PET/CT Analysis using 3D Slicer Jeffrey Yap PhD Ron Kikinis MD Wendy Plesniak PhD Slicer3 Training Compendium.
NA-MIC National Alliance for Medical Image Computing shapeAnalysisMANCOVA_Wizar d Lucile Bompard, Clement Vacher, Beatriz Paniagua, Martin.
-1- 3D Visualization. Sonia Pujol, Ph.D., Harvard Medical School National Alliance for Medical Image Computing 3D Visualization Sonia Pujol, Ph.D. Surgical.
Jeffrey Yap, PhD Ron Kikinis, MD Wendy Plesniak, PhD -1- CTSA at RSNA 2009 PET/CT Analysis using 3D Slicer Jeffrey Yap PhD Ron Kikinis MD Wendy Plesniak.
Pujol S., Plesniak, W. -1- National Alliance for Medical Image Computing Neuroimage Analysis Center Harvard CTSC Slicer3 minute tutorial Sonia Pujol, PhD.
Image Guided Therapy in Slicer3 Planning for Image Guided Neurosurgery Nobuhiko Hata, PhD Slicer3 Training Compendium Neurosurgery Tutorial, N. Hata.
DICOM to NRRD Conversion Tutorial Martin Styner 1 University of North Carolina Neuro Image Research and Analysis Lab.
Sonia Pujol, PhD National Alliance for Medical Image Computing © 2010, ARR.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial: Registration Library Case 14 Intra-subject Brain PET-MRI fusion.
PET/CT Analysis using 3D Slicer Jeffrey Yap PhD Ron Kikinis MD Wendy Plesniak PhD Slicer3 Training Compendium.
NA-MIC National Alliance for Medical Image Computing Non-rigid MR-CT Image Registration Atsushi Yamada, Dominik S. Meier and Nobuhiko.
NA-MIC National Alliance for Medical Image Computing Registering Image Volumes in Slicer Steve Pieper.
NA-MIC National Alliance for Medical Image Computing Hands-on Diffusion Tensor Imaging Training Randy Gollub, M.D, Ph.D. Massachusetts.
Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Training 1 Loading and Viewing Data Sonia Pujol, Ph.D. Randy.
Exploring Peritumoral White Matter Fibers for Neurosurgical Planning Sonia Pujol, Ph.D. Ron Kikinis, M.D. Surgical Planning Laboratory Harvard University.
NA-MIC National Alliance for Medical Image Computing Shape analysis using spherical harmonics Lucile Bompard, Clement Vachet, Beatriz.
Programming into Slicer3. Sonia Pujol, Ph.D., Harvard Medical School National Alliance for Medical Image Computing ©
Surgical Planning Laboratory -1- Brigham and Women’s Hospital Converting DTI data into Nrrd file format Sonia Pujol, Ph.D. Gordon.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial: Registration Library Case 15 AC-PC Alignment Dominik Meier, Ron.
EMSegmentation in Slicer 3 B. Davis, S. Barre, Y. Yuan, W. Schroeder, P. Golland, K. Pohl.
NA-MIC National Alliance for Medical Image Computing Diffusion Tensor Imaging tutorial Sonia Pujol, PhD Surgical Planning Laboratory.
Incorporating Non-rigid Registration into Expectation Maximization Algorithm to Segment MR Images By K.M. Pohl, W.M. Wells, A. Guimond, K. Kasai, M.E.
NA-MIC National Alliance for Medical Image Computing fMRI Data Analysis in Slicer (short dataset tutorial) Steve Pieper Haiying Liu Wendy.
Diffusion Tensor Analysis in Slicer3
Sonia Pujol, PhD -1- National Alliance for Medical Image Computing Neuroimage Analysis Center Diffusion Tensor Imaging tutorial Sonia Pujol, Ph.D. Surgical.
-1- National Alliance for Medical Image Computing MR-guided prostate interventions using the NA-MIC Kit Danielle Pace, B.CmpH and Sota Oguro, M.D. Surgical.
Surgical Planning Laboratory -1- Brigham and Women’s Hospital 3DSlicer Hands-on session Sonia Pujol, Ph.D.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial Nonrigid Atlas Registration Dominik Meier, Ron Kikinis February.
-1- National Alliance for Medical Image Computing MR-guided prostate interventions using the NA-MIC Kit Danielle Pace, B.CmpH and Sota Oguro, M.D. Surgical.
Pujol S, Gollub R -1- National Alliance for Medical Image Computing Slicer3 Training Tutorial Python Stochastic Tractography Module Doug Terry, Julien.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial Registration Library Case 06: Breast Cancer Follow-up Dominik Meier,
NA-MIC National Alliance for Medical Image Computing BRAINSCut General Tutorial Eun Young(Regina) Kim University of Iowa
National Alliance for Medical Image Computing Hierarchical Atlas Based EM Segmentation.
Standard Response Evaluation Criteria in Solid Tumors (RECIST) using 3D Slicer Slicer3 Training Compendium Image here. Jeffrey Yap, PhD Wendy Plesniak,
Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Tutorial 4 Module: DTMRI Data: Sample Slicer DTI Sonia Pujol,
3D Visualization Sonia Pujol, Ph.D. Instructor of Radiology
Fiber Bundle Volume Measurement
3D Slicer hands-on tutorial
Non-rigid MR-CT Image Registration
shapeAnalysisMANCOVA_Wizard
3D Visualization of FreeSurfer Data
The SPL Abdominal Atlas
Session 1 Loading and Viewing Data
Tumor Segmentation from DCE-MRI with OpenCAD
Automatic SPHARM Shape Analysis in 3D Slicer
Interactive Editor tutorial
Presentation transcript:

Surgical Planning Laboratory Brigham and Women’s Hospital Slicer Training 10 EMAtlasBrainClassifier Sonia Pujol, Ph.D. Randy Gollub, M.D.,Ph.D.

Surgical Planning Laboratory Brigham and Women’s Hospital Acknowledgments National Alliance for Medical Image Computing NIH U54EB Neuroimage Analysis Center NIH P41RR Computer Science and Artificial Intelligence Lab-MIT, Surgical Planning Lab-Harvard Medical School Thanks to Kilian Pohl, Sandy Wells, Martha Shenton, Sylvain Bouix, Alex Guimond, Eric Grimson and Simon Warfield.

Surgical Planning Laboratory Brigham and Women’s Hospital 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.

Surgical Planning Laboratory Brigham and Women’s Hospital Goal of the tutorial Guiding you step by step through the process of using the Expectation- Maximization algorithm to automatically segment brain structures from MRI data within Slicer.

Surgical Planning Laboratory Brigham and Women’s Hospital Material Slicer BrainAtlasClassifierTutorial.zip This tutorial assumes that you have already completed Slicer Basics Loading and Viewing Data (Slicer Training 1) and Saving Data ( Slicer Training 7)

Surgical Planning Laboratory Brigham and Women’s Hospital Computer Resources The first part of this tutorial teaches you how the module works; it uses pre- computed results. The second part guides you through processing the tutorial data yourself with the EMBrainAtlasClassifier module (Slide 40). For this part, your computer must have adequate processing speed and RAM. The final part shows you how to run this module on your own data (Slide 51).

Surgical Planning Laboratory Brigham and Women’s Hospital EMBrainAtlasClassifier

Surgical Planning Laboratory Brigham and Women’s Hospital Pre-computed Generic atlas of the brain…………………. Pre-computed T1 and T2 volumes aligned ……. Pre-computed T1 and T2 volumes normalized Pre-computed Patient-specific atlas of the brain ….. Pre-computed Segmentation results…………………….. Tutorial dataset

Surgical Planning Laboratory Brigham and Women’s Hospital Overview Part 1: Generic Atlas and EM Pipeline Part 2: Loading tutorial data Part 3: Hardware requirements Part 4: Working with tutorial data Part 5: Working with your own data

Surgical Planning Laboratory Brigham and Women’s Hospital Generic Atlas and EM Pipeline This module relies on a previously computed generic atlas. Running the EM segmentation requires that you have installed the generic atlas and that your target datasets go through a processing pipeline.

Surgical Planning Laboratory Brigham and Women’s Hospital Generic Atlas Generation (Step 1) Register all the subjects to the training subject ….. S1S2Sn n=80 healthy subjects, ages Training subject (randomly chosen) ….. T’(S1)T’(S2) T’(Sn) n=80 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

Surgical Planning Laboratory Brigham and Women’s Hospital Segment all 80 images into 4 classes ….. T’(S1)T’(S2) T’(Sn) n=80 registered subjects ….. Generate the generic atlas (voxel wise map of the number of subjects/80 possible that belong to that class) Adaptative Segmentation of MRI data. Wells W., Grimson E., Kikinis R and Jolesz F. IEEE Transactions on Medical Imaging, vol.15, p , Generic Atlas Generation (Step 2) white mattercsfgrey matterbackground

Surgical Planning Laboratory Brigham and Women’s Hospital EM Pipeline: Data Normalization Align t2 to t1 Normalize the intensity of each image t2t1 T(t2) t1 normalizedT(t2) normalized Patient data Normalized Patient data

Surgical Planning Laboratory Brigham and Women’s Hospital Register the generic atlas to the images to create the patient-specific atlas t1 normalized T(t2) normalized white mattercsfgrey matterbackground 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 Patient-specific atlas white mattercsfgrey matterbackground Normalized Patient data EM Pipeline: Patient-Specific Atlas Generation

Surgical Planning Laboratory Brigham and Women’s Hospital EM Pipeline: Segmentation T1 normalized T(t2) normalized Patient-specific atlas white mattercsfgrey matterbackground 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

Surgical Planning Laboratory Brigham and Women’s Hospital EP Pipeline: Algorithm Maximization Step applies the intensity correction as a function of the tissue class Expectation Step classifies the MR voxels in tissue classes Gray Matter, White Matter, CSF Loop iterated 4 times

Surgical Planning Laboratory Brigham and Women’s Hospital Overview Part 1: Generic Atlas and EM Pipeline Part 2: Loading tutorial data Part 3: Hardware requirements Part 4: Working with tutorial data Part 5: Working with your own data

Surgical Planning Laboratory Brigham and Women’s Hospital Loading T1 volume Click Add Volume in the Panel Data

Surgical Planning Laboratory Brigham and Women’s Hospital Loading T1 volume Load the volume t1 from the directory named /BrainAtlasClassifier/d ata Click Add Volume and select Basic in the Panel Props of the module Volumes Click on Apply

Surgical Planning Laboratory Brigham and Women’s Hospital Loading T1 volume Slicer loads the volume t1 in the viewer.

Surgical Planning Laboratory Brigham and Women’s Hospital Loading T2 volume Click on Image Headers Manual Click Add Volume and select Basic in the Panel Props of the module Volumes Select the volume t2 Click on Apply

Surgical Planning Laboratory Brigham and Women’s Hospital Loading T2 volume The tutorial dataset t2 was acquired in the Coronal Posterior-Anterior orientation. Select the Scan order Coronal:PA Click on Apply

Surgical Planning Laboratory Brigham and Women’s Hospital Loading T2 volume Slicer loads the volume t2 in the viewer.

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the generic atlas of the brain Select File  OpenScene in the Main menu. Select the file generic_atlas.xml in the directory BrainAtlasClassifier/atlas Click on Apply

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the generic atlas of the brain Slicer loads the generic atlas, composed of 4 volumes: -White Matter -Gray Matter -CSF -Background

Surgical Planning Laboratory Brigham and Women’s Hospital Viewing the generic atlas of the brain Move the mouse over the images to see atlas values (0-80) in different brain regions Slicer displays the generic atlas of the brain in the viewer.

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the generic atlas of the brain Left click on Bg to step through viewing each component.

Surgical Planning Laboratory Brigham and Women’s Hospital Viewing the generic atlas of the brain In the Control Panel left-click on Views and select the view Sylvian Fissure

Surgical Planning Laboratory Brigham and Women’s Hospital Viewing the generic atlas of the brain Slicer displays a coronal view of the Sylvian fissure from the Grey Matter atlas

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the patient-specific atlas of the brain Select File  OpenScene in the Main menu Select the file patientSpecific_atlas.xml in the directory BrainAtlasClassifier/working/atlas Click on Apply

Surgical Planning Laboratory Brigham and Women’s Hospital Slicer loads the patient- specific atlas, composed of 4 volumes: -Background -White Matter -CSF -Grey Matter Loading the patient-specific atlas of the brain

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the patient-specific atlas of the brain Slicer displays the Gray Matter volume of the atlas in the viewer Move the mouse over the images to see atlas values (0-80) in different brain regions

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the Segmentation results Select File  OpenScene in the Main menu. Select the file segmentation in the directory BrainAtlasClassifier/working/EMSegmentation and click on Apply

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the Segmentation results Slicer superimposes the results of the segmentation on T1 images

Surgical Planning Laboratory Brigham and Women’s Hospital Loading the Segmentation results Move the mouse over the images in the 2D Viewer Slicer displays the names of the labels corresponding to the segmented structures: - White Matter (yellow) - Grey Matter (blue) - CSF (red) - Background (pink)

Surgical Planning Laboratory Brigham and Women’s Hospital Building 3D models Double-click on the volume Volume:EMBrainSegResult1

Surgical Planning Laboratory Brigham and Women’s Hospital Building 3D models Select the module ModelMaker

Surgical Planning Laboratory Brigham and Women’s Hospital Building 3D models Select the label White Matter corresponding to the color label of the White Matter segmentation. Create on Create

Surgical Planning Laboratory Brigham and Women’s Hospital Building 3D models Slicer generates a 3D model of the White Matter

Surgical Planning Laboratory Brigham and Women’s Hospital Overview Part 1: Generic Atlas and EM Pipeline Part 2: Loading tutorial data Part 3: Hardware requirements Part 4: Working with tutorial data Part 5: Working with your own data

Surgical Planning Laboratory Brigham and Women’s Hospital Hardware: constraints Segmentation algorithm is computationally demanding. Minimal requirements RAM: 1 GB Processor: 2 GHz

Surgical Planning Laboratory Brigham and Women’s Hospital Module Performance Examples of processing time for the EMBrainAtlasClassifier Sun Solaris 12 UltraSparc-III processors 10 GB RAM: 55 min Debian Pentium 4-M CPU 2.4 GHz, 2 GB RAM : 45 min RedHat 64 bit 4 Gig 2x 3.0 GHz Xeon Processor: 40 min

Surgical Planning Laboratory Brigham and Women’s Hospital Overview Part 1: Generic Atlas and EM Pipeline Part 2: Loading tutorial data Part 3: Hardware requirements Part 4: Working with tutorial data Part 5: Working with your own data

Surgical Planning Laboratory Brigham and Women’s Hospital Implementing the EM algorithm If your processor meets the requirements the following steps will guide you through the process of segmenting your data using the EM algorithm If your processor does not, read through (slide 40) to see what you need to do when you run it on a computer with adequate processing capabilities

Surgical Planning Laboratory Brigham and Women’s Hospital Parameter Settings In the Main Menu select Modules  Segmentation  EMAtlasBrainClassifier

Surgical Planning Laboratory Brigham and Women’s Hospital Parameter Settings The Segmentation panel of the module EMAtlasBrainClassifier appears.

Surgical Planning Laboratory Brigham and Women’s Hospital Parameter Settings Select the panel Segmentation and select the input channels t1 and t2 that were previously loaded in the first part of the tutorial. Set alignment to On

Surgical Planning Laboratory Brigham and Women’s Hospital Parameter Settings Set Save Segmentation On to save the output of the segmentation Enter the path corresponding to the location of the directory BrainAtlasClassifier/working in the tutorial data. Set Generate 3D Models On to reconstruct 3D models of the White Matter, Gray Matter and CSF.

Surgical Planning Laboratory Brigham and Women’s Hospital Automatic Segmentation Click on Start Segmentation Expected mean processing time reminder : 45 min

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas loading The program looks for a generic atlas at the default location Modules/vtkEMBrainAtlasClassifier

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas loading A message inviting you to download the generic atlas from the web appears. Click OK. This message will happen only once after having installed Slicer.

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas loading (automatic) Slicer downloads the atlas from the web. Click OK once the installation is completed.

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas loading (manual) If you experience problems with the automatic atlas loading, manually download the atlas from the links stated below: Unix/Linux/Mac: Windows:

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas installation Manually unzip the archive of the atlas in the directory Modules/vtkEMAtlasBrainClassifier /atlas

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas installation (Non-Windows Users) Check that the atlas is located in the directory Modules/vtkEMAtlasBrainClassifier/atlas

Surgical Planning Laboratory Brigham and Women’s Hospital Atlas installation (additional step only required for Windows Users) Built-in Windows unzip wizard adds an extra level of directory Modules/vtkEMAtlasBrainClassifier/atlas/atlas Move the atlas data one level-up to the correct directory Modules/vtkEMAtlasBrainClassifier/atlas and delete the unnecessary directory

Surgical Planning Laboratory Brigham and Women’s Hospital Overview Part 1: Generic Atlas and EM Pipeline Part 2: Loading tutorial data Part 3: Hardware requirements Part 4: Working with tutorial data Part 5: Working with your own data

Surgical Planning Laboratory Brigham and Women’s Hospital Data Acquisition: Tutorial data The tutorial dataset was acquired with the following parameters –T1 volume: Coronal series of contiguous Spoiled Gradient (SPGR) images (124 slices of 1.5 mm thickness, voxel dimensions x x 1.5 mm) –T2 volume: Axial series of contiguous double-echo images (Proton Density and T2 Weighted, 108 slices of 3 mm slice thickness, voxel dimensions x x 3 mm) isotropic t2 Dimension mm x mm x 3mm More details can be found on the NA-MIC wiki

Surgical Planning Laboratory Brigham and Women’s Hospital Data Acquisition: your data You’ll need to experiment the EMBrainAtlasClassifier module with your own data. We suggest High resolution T1 and T2 weighted images.

Surgical Planning Laboratory Brigham and Women’s Hospital Working with your own data Load T1 and T2 as Input Channels, and set Align T2 to T1 On to register the two volumes.

Surgical Planning Laboratory Brigham and Women’s Hospital Working with your own data Set Save Segmentation On to save the output of the segmentation Enter the path corresponding to the working directory for your own data Set Generate 3D Models On to reconstruct 3D models of the White Matter, Gray Matter and CSF. Click on Start Segmentation

Surgical Planning Laboratory Brigham and Women’s Hospital Conclusion Automatic segmentation of MRI brain data in White Matter, Grey Matter and Cerebrospinal Fluid. Open-source environment