Slicer3 Training Compendium Pohl K, Konukoglu E, Fedorov A Measuring Volume Change in Tumors Kilian...

36
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, Ph.D. National Alliance for Medical Image Computing http://na-mic.org © 2010, All Rights Reserved

Transcript of Slicer3 Training Compendium Pohl K, Konukoglu E, Fedorov A Measuring Volume Change in Tumors Kilian...

Page 1: 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,

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, Ph.D.

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Page 2: 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,

MaterialThis course requires the following installation:

• 3DSlicer version 3.6 Software, which can be installed from:

http://www.slicer.org/pages/Special:SlicerDownloads

• A reliable internet connection for downloading the data

DisclaimerIt 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.

The module described in this tutorial was tested on Axial 3D SPGR T1 post Gadolinium scans (Voxel dimension: 0.94mm x 0.94mm x 1.20mm, FOV: 240mm, Matrix: 256 x 256)

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Page 3: 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,

Data

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

This course is built upon two scans of a patient with meningioma:

MR Scan 1 MR Scan 2

Page 4: 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,

Learning objective

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Following this tutorial, you’ll be able to load two scans into Slicer3, and measure and visualize the change in volume of the meningioma between the two scans.

Page 5: 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,

Overview

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

• Loading tutorial data

• Measuring volume change in tumors

Page 6: 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

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Part 1: Loading the tutorial data

Page 7: 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,

Slicer3 GUI

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

The Graphical User Interface (GUI) of Slicer3 integrates five components:

•the Menu Toolbar

•the Module GUI Panel

•the 3D Viewer

•the Slice Viewer

•the Slice and 3D View Controller

Slice Viewer

3DViewerModule GUI Panel

Slice and 3D View Controller

Menu Toolbar

Slide courtesy of Sonia Pujol, Ph.D.

Page 8: 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,

Loading training dataset

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Select ModulesWizardsChangeTracker

Press Load Tutorial Data button to load the training images

Click on Acknowledgment to access tutorial data

Page 9: 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,

New Layout of Viewer

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Slice Viewers

3D Viewer

Page 10: 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

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Part 2: Measuring Volume Change

Page 11: 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,

Workflow Wizard

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

The Workflow Wizard of Slicer3 guides the user through a sequence of steps and is defined by the following components:

•the Step Panel

•the User Panel

•the Navigation Panel

Page 12: 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,

Select Scans

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Click NextClick Next

Select 2006-spgr and 2007-spgr

Click Next

Page 13: 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,

Identify Volume of Interest

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Move sliders to see the tumor

Page 14: 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

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press Display volume rendering and VOI label to view region

Identify VOI by clicking left mouse button around tumor

Identify Volume of Interest

Page 15: 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,

Identify Volume of Interest

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

VOI is shown in blue

VOI box widget and volume rendering of tumor in yellow

Page 16: 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,

Identify Volume of Interest

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

ROI Widget Control sliders are color-coded to match ROI Widget handles in 3D Viewer Press Next

Adjust ROI by moving the ROI Widget Control sliders in the Step panel, or by moving the ROI Widget handles in 3D view

Page 17: 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

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Slice Viewers show VOI with current Segmentation

3D Viewer shows model of tumor with additional structures

Change Segmentation by moving sliders

Segment Tumor

Page 18: 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,

Segment Tumor

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press Grid to view grid with original voxel size

Page 19: 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,

Segment Tumor

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press Slice to see the first scan in the 3D Viewer, then press Next

Page 20: 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,

Choose Metric Type

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Select Analyze Intensity Patterns (fast) and press Analyze

Choice of Metric:

• Detect change by analyzing intensity pattern (fast)

• Measure change by analyzing deformation map (slow)

Page 21: 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,

Analysis I: Volume Preserving Registration

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Before After

Page 22: 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,

Analysis II: Normalize Intensities

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Scan 1 Scan 2 Scan 2 - Norm

Page 23: 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,

Analysis III: Detect Change – Intensity Based

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

PDF of Dormant Tissue

- =

Compute statistics of static tissue

Subtract Scan2 from Scan1

Define region of static tissue

Determine probability density function

Page 24: 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,

Analysis III: Detect Change – Intensity Based

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Analysis

Data

Konukoglu et al. ,“Monitoring Slowly Evolving Tumors”, ISBI, 2008

Mode : Sensitive Moderate Robust False Positive Risk: High Medium LowGrowth (mm3) : 1301 547 100Growth (voxel): 1057 444 81

Page 25: 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,

Analysis III: Detect Change–Deformation Map

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

=

Determine change via mapping:

Compute diffeomorphic mapping between scans

Compute Jacobian

Apply mapping to segmentation

or

Page 26: 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,

Show Change in Pathology

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Define sensitivity of analysis

Show change in volume: purple = growthgreen = shrinkage

Page 27: 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,

Show Change in Pathology

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

You can hide slice controls to have more screen space for

viewing the images

Lightbox View shows 5 consecutive slices for the ROI in the first scan (top), and in the second scan (bottom)

You can switch to Four-up layout or other layout at any time.

Page 28: 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,

Define Working Directory

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press directory button

Select to create directory

Page 29: 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,

Define Working Directory

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Enter tutorial and press OK

Page 30: 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,

Save Screenshot

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press ScreenshotScreenshot is saved to tutorial directory

View TG_Screenshot_001.png

Page 31: 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,

Save Analysis Result

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press Analysis

Outcome of analysis is saved to tutorial directory

View AnalysisOutcome.log

Page 32: 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,

Save Intermediate Results

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press Data

Press Select All and Save Selected

Page 33: 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,

Finish Workflow

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Press OK to return to the first step of the workflow

Page 34: 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

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Overview

• Loading a scene

• Measuring volume change in tumors

Page 35: 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,

Information

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

• We tested the tool on Axial 3D SPGR T1 post Gadolinium scans (Voxel dimension: 0.94mm x 0.94mm x 1.20mm, FOV: 240mm, Matrix: 256 x 256)

• We expect the tool to work also on set of scans that fulfill the following requirements:

– same patient was scanned– scans were acquired with the same acquisition

protocol – scans have isotropic resolution– pathology appearance is hyper-intense

Page 36: 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,

Acknowledgments

National Alliance for Medical Image Computing

http://na-mic.org © 2010, All Rights Reserved

Pohl K, Konukoglu E, Fedorov A

Brain Science Foundation

INRIA, France

National Alliance for Medical

Image Computing

NIH U54EB005149