Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Training 1 Loading and Viewing Data Sonia Pujol, Ph.D. Randy."— Presentation transcript:

1 Surgical Planning Laboratory http://www.slicer.org -1- Brigham and Women’s Hospital Slicer Training 1 Loading and Viewing Data Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D.

2 Surgical Planning Laboratory http://www.slicer.org -2- Brigham and Women’s Hospital Acknowledgments National Alliance for Medical Image Computing NIH U54EB005149 Neuroimage Analysis Center NIH P41RR013218

3 Surgical Planning Laboratory http://www.slicer.org -3- 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.

4 Surgical Planning Laboratory http://www.slicer.org -4- Brigham and Women’s Hospital Welcome to 3D Slicer

5 Surgical Planning Laboratory http://www.slicer.org -5- Brigham and Women’s Hospital Goal of the tutorial Guiding you step by step through the process of Loading and Viewing Data within Slicer

6 Surgical Planning Laboratory http://www.slicer.org -6- Brigham and Women’s Hospital Material QuestionsAnswers Exercises Slicer 2.6 http://www.na-mic.org/Wiki/index.php/Slicer:Slicer2.6_Getting_Started Sample Tutorial Data: tutorial-with-dicom.zip http://www.na-mic.org/Wiki/index.php/Slicer:Workshops:User_Training_101

7 Surgical Planning Laboratory http://www.slicer.org -7- Brigham and Women’s Hospital Goal of the tutorial Final result of the series of exercises

8 Surgical Planning Laboratory http://www.slicer.org -8- Brigham and Women’s Hospital Overview Part 1: Slicer Interface Part 2: Loading Data Part 3: Interacting with Data

9 Surgical Planning Laboratory http://www.slicer.org -9- Brigham and Women’s Hospital Slicer Interface Tk window Viewer Menu

10 Surgical Planning Laboratory http://www.slicer.org -10- Brigham and Women’s Hospital Slicer Menu Select the Volumes Module

11 Surgical Planning Laboratory http://www.slicer.org -11- Brigham and Women’s Hospital Panels and Tabs The Panel of the Volumes Module appears

12 Surgical Planning Laboratory http://www.slicer.org -12- Brigham and Women’s Hospital Slicer Menu Panels Sliders Buttons Control Window

13 Surgical Planning Laboratory http://www.slicer.org -13- Brigham and Women’s Hospital Main Menu Observe the different options of the Main Menu View Selecting view mode Modules Slicer Modules File –Opening files –Saving files –Closing files –Exit Help Links to Slicer Modules information

14 Surgical Planning Laboratory http://www.slicer.org -14- Brigham and Women’s Hospital Viewer window Upper part is 3D Viewer Lower part is 2D Viewer 3 separate views Independent controls Observe the Viewer Window

15 Surgical Planning Laboratory http://www.slicer.org -15- Brigham and Women’s Hospital Slicer Modules The architecture of Slicer is modular Select Modules in the SubMenu

16 Surgical Planning Laboratory http://www.slicer.org -16- Brigham and Women’s Hospital Slicer Modules The list of Slicer Modules categories appears Settings IO Application Filtering Segmentation Registration Measurement Visualization Examples Unfiled Alpha

17 Surgical Planning Laboratory http://www.slicer.org -17- Brigham and Women’s Hospital Slicer Modules: tutorials Settings IO Application Filtering Segmentation Registration Measurement Visualization Examples Unfiled Alpha Editor …………….. SlicerTraining 2 Level-Sets ……….. SlicerTraining 3 fMRIEngine ………. SlicerTraining 5 vtkFreeSurferReaders... SlicerTraining 6 DTMRI ……………. SlicerTraining 4

18 Surgical Planning Laboratory http://www.slicer.org -18- Brigham and Women’s Hospital Exercise 1: Slicer GUI Launch Slicer. –Observe Main window and Viewer window. Click File, View, Help, and Modules –Examine submenus Click Main Menu buttons: Data, Volumes, Models, Alignments, Editor, and ModelMaker –Click tabs –Examine panels Click More –Click modules: click tabs, examine panels

19 Surgical Planning Laboratory http://www.slicer.org -19- Brigham and Women’s Hospital Overview Part 1: Slicer Interface Part 2: Loading Data Part 3: Interacting with Data

20 Surgical Planning Laboratory http://www.slicer.org -20- Brigham and Women’s Hospital Loading Data Slicer can load Volumes …………………..

21 Surgical Planning Laboratory http://www.slicer.org -21- Brigham and Women’s Hospital Loading Data Slicer can load Volumes ………………….. Models ……………………. A model is a 3D reconstruction of the anatomy

22 Surgical Planning Laboratory http://www.slicer.org -22- Brigham and Women’s Hospital Loading Data Slicer can load Volumes ………………….. Models ……………………. A model is a 3D reconstruction of the anatomy Scenes ……………………. Scene = Volume + Model

23 Surgical Planning Laboratory http://www.slicer.org -23- Brigham and Women’s Hospital Loading Data Slicer Advantage Putting together Images and Surface

24 Surgical Planning Laboratory http://www.slicer.org -24- Brigham and Women’s Hospital Data representation Volume = collection of image files Image file = header + raw data The header contains the parameters of the image. Header Raw Data Header Raw Data Header Raw Data Header Raw Data

25 Surgical Planning Laboratory http://www.slicer.org -25- Brigham and Women’s Hospital Data representation Volume = collection of image files Image file = header + raw data The header contains the parameters of the image. Representation of an image: 2D Array of pixels containing the intensity values Header Raw Data Header Raw Data Header Raw Data Header Raw Data Pixel (a,b) Intensity I (a,b) a b

26 Surgical Planning Laboratory http://www.slicer.org -26- Brigham and Women’s Hospital Loading DICOM Volumes Click on Add Volume in the Slicer Menu

27 Surgical Planning Laboratory http://www.slicer.org -27- Brigham and Women’s Hospital Left-click on the Menu Properties and change Basic to DICOM Loading DICOM Volumes The Panel Props appears by default.

28 Surgical Planning Laboratory http://www.slicer.org -28- Brigham and Women’s Hospital Click on Select DICOM Volume Loading DICOM Volumes The DICOM panel appears

29 Surgical Planning Laboratory http://www.slicer.org -29- Brigham and Women’s Hospital Select the directory dicom in the Tutorial-with-dicom dataset Loading DICOM Volumes

30 Surgical Planning Laboratory http://www.slicer.org -30- Brigham and Women’s Hospital Loading DICOM Volumes The list of DICOM studies appears. Click OK

31 Surgical Planning Laboratory http://www.slicer.org -31- Brigham and Women’s Hospital Loading DICOM Volumes Name : The name that the volume will have within Slicer Change to something descriptive: Cortex and click on Header Slicer loads the dicom study

32 Surgical Planning Laboratory http://www.slicer.org -32- Brigham and Women’s Hospital Loading DICOM Volumes The DICOM Header information panel appears Click Apply

33 Surgical Planning Laboratory http://www.slicer.org -33- Brigham and Women’s Hospital Loading DICOM Volumes Slicer loads the DICOM volume of the brain

34 Surgical Planning Laboratory http://www.slicer.org -34- Brigham and Women’s Hospital Visualization Support Control Window : displays a zoomed view of the position of the mouse on the selected image Move the mouse inside an anatomical view

35 Surgical Planning Laboratory http://www.slicer.org -35- Brigham and Women’s Hospital Visualization Support The value of the gray level of the pixel under the cursor appears in the corresponding slice

36 Surgical Planning Laboratory http://www.slicer.org -36- Brigham and Women’s Hospital Viewing Volumes V toggle button controls whether slice is visible in 3D Viewer Click on the three V buttons to display the Axial, Sagittal and Coronal images inside the Viewer

37 Surgical Planning Laboratory http://www.slicer.org -37- Brigham and Women’s Hospital Viewing Volumes The Axial, Sagittal and Coronal Images appear in the Viewer

38 Surgical Planning Laboratory http://www.slicer.org -38- Brigham and Women’s Hospital Manipulating the images Position the mouse on the images inside the Viewer Left-click and move the mouse to the left Rotation The images move to the left

39 Surgical Planning Laboratory http://www.slicer.org -39- Brigham and Women’s Hospital Manipulating the images Position the mouse on the images inside the Viewer Right-click and move the mouse down The viewer gets closer to the model Zoom

40 Surgical Planning Laboratory http://www.slicer.org -40- Brigham and Women’s Hospital Manipulating the images Position the mouse on the images inside the Viewer Right-click and move the mouse up The viewer moves away from the model Zoom

41 Surgical Planning Laboratory http://www.slicer.org -41- Brigham and Women’s Hospital Viewing Volumes Select the 3D View The View Menu contains different options to visualize the data

42 Surgical Planning Laboratory http://www.slicer.org -42- Brigham and Women’s Hospital Viewing Volumes 3D View focuses on 3D

43 Surgical Planning Laboratory http://www.slicer.org -43- Brigham and Women’s Hospital Viewing Volumes Select 4x512 The View Menu contains different options to visualize the data

44 Surgical Planning Laboratory http://www.slicer.org -44- Brigham and Women’s Hospital Viewing Volumes 4x512 view: larger image views to see details

45 Surgical Planning Laboratory http://www.slicer.org -45- Brigham and Women’s Hospital Viewing Volumes Select 1x512 The View Menu contains different options to visualize the data

46 Surgical Planning Laboratory http://www.slicer.org -46- Brigham and Women’s Hospital Viewing Volumes 1x512: one large TRANSVERSE view and three small images 1x512 COR: one large CORONAL view and three small images 1x512 SAG: one large SAGITTAL view and three small images

47 Surgical Planning Laboratory http://www.slicer.org -47- Brigham and Women’s Hospital Viewing Volumes The View Menu contains different options to visualize the data Select 4x256

48 Surgical Planning Laboratory http://www.slicer.org -48- Brigham and Women’s Hospital Viewing Volumes 4x256 view: smaller equal- sized images Come back to Normal View

49 Surgical Planning Laboratory http://www.slicer.org -49- Brigham and Women’s Hospital 2D Viewer Three 2D windows (red, yellow, and green) Slider selects which slice of volume to display Field shows the slice number 1 2 1 2 3 3

50 Surgical Planning Laboratory http://www.slicer.org -50- Brigham and Women’s Hospital 2D Viewer Bg (Background): displays volume in background layer Fg (Foreground): displays volume in foreground layer Superimposed over the background layer 4 5 4 5

51 Surgical Planning Laboratory http://www.slicer.org -51- Brigham and Women’s Hospital Volumes without Header Motivations: The DICOM file format incorporates all the parameters that Slicer requires to render the data Other images files types may not

52 Surgical Planning Laboratory http://www.slicer.org -52- Brigham and Women’s Hospital Volumes without Header Motivations: The DICOM file format incorporates all the parameters that Slicer requires to render the data Other images files types may not Slicer has a simple protocol for loading volumes without header

53 Surgical Planning Laboratory http://www.slicer.org -53- Brigham and Women’s Hospital Volumes without Header 1. Main  Data 2. Add Volume 3. Browse to find the first image of the Volume spgr in the directory tutorial 4. Select first image I.001 of volume to load, and click Open 5. Click on Manual 6. Click on Apply

54 Surgical Planning Laboratory http://www.slicer.org -54- Brigham and Women’s Hospital File Pattern : Pattern of file names, in C syntax. Example: a file named skin.001 has a pattern of %s.%03d. Image Size : Number of pixels of image in x and y directions. Volumes without Header 2 1 The Header section of the Props tab appears.

55 Surgical Planning Laboratory http://www.slicer.org -55- Brigham and Women’s Hospital Volumes without Header Pixel Size in the x and y directions. Slice Thickness z dimension of the voxel. Scan Order : LR = left to right IS = inferior to superior PA = posterior to anterior Scalar Type : Data format of the pixel. Generally, it is Short (16 bit integer). Slice Tilt : The tilt of the gantry during an MRI. 3 4 5 6 7 3 4 5 6 7

56 Surgical Planning Laboratory http://www.slicer.org -56- Brigham and Women’s Hospital Num Scalars : Number of scalar components for each voxel. Gray-scale data: 1. Color data: 3. Little Endian : In little-endian architectures, the rightmost bytes are most significant. In big-endian architectures (Slicer default), the leftmost bytes (those with a lower address) are most significant. DTI data, Swap, No Swap : Placeholders for future. 8 9 10 8 9 Click Apply to load the volume. Volumes without Header

57 Surgical Planning Laboratory http://www.slicer.org -57- Brigham and Women’s Hospital Volumes without Header The spgr volume appears in the Viewer

58 Surgical Planning Laboratory http://www.slicer.org -58- Brigham and Women’s Hospital Loading Data Slicer can load Volumes ………………….. Models ……………………. A model is a 3D reconstruction of the anatomy Scenes ……………………. Scene = Volume + Model

59 Surgical Planning Laboratory http://www.slicer.org -59- Brigham and Women’s Hospital Loading Models In the main Menu select the module Data and Click on Add Model.

60 Surgical Planning Laboratory http://www.slicer.org -60- Brigham and Women’s Hospital Loading Models The Props tab of the module Models appears Select the model named Vessels in the directory tutorial/models Click on Apply

61 Surgical Planning Laboratory http://www.slicer.org -61- Brigham and Women’s Hospital Loading Models The model of the vessels appears in the Viewer.

62 Surgical Planning Laboratory http://www.slicer.org -62- Brigham and Women’s Hospital Loading Data Slicer can load Volumes ………………….. Models ……………………. A model is a 3D reconstruction of the anatomy Scenes ……………………. Scene = Volume + Model

63 Surgical Planning Laboratory http://www.slicer.org -63- Brigham and Women’s Hospital Loading a Scene Select File  Open Scene in the Main Menu Select the file tutorial.xml in the directory Tutorial-with-dicom/tutorial. A Scene is represented as an Xml file.

64 Surgical Planning Laboratory http://www.slicer.org -64- Brigham and Women’s Hospital Loading a Scene The viewer displays the tutorial Scene

65 Surgical Planning Laboratory http://www.slicer.org -65- Brigham and Women’s Hospital Loading a Scene The elements of the Scene are listed in the Menu Window

66 Surgical Planning Laboratory http://www.slicer.org -66- Brigham and Women’s Hospital Overview Part 1: Slicer Interface Part 2: Loading Data Part 3: Interacting with Data

67 Surgical Planning Laboratory http://www.slicer.org -67- Brigham and Women’s Hospital Manipulating a Model The model appears in the 3D Viewer. Rotate the model: with left mouse button Zoom the model: with right mouse button

68 Surgical Planning Laboratory http://www.slicer.org -68- Brigham and Women’s Hospital Manipulating a Model Put the mouse on the 3D Slicer icon

69 Surgical Planning Laboratory http://www.slicer.org -69- Brigham and Women’s Hospital Manipulating a Model The Control Window appears

70 Surgical Planning Laboratory http://www.slicer.org -70- Brigham and Women’s Hospital Manipulating a Model Position the mouse on the R letter (Right) inside the window

71 Surgical Planning Laboratory http://www.slicer.org -71- Brigham and Women’s Hospital Manipulating a Model The View Panel shows the model from the right side of the patient

72 Surgical Planning Laboratory http://www.slicer.org -72- Brigham and Women’s Hospital Manipulating a Model Click on the Spin button

73 Surgical Planning Laboratory http://www.slicer.org -73- Brigham and Women’s Hospital Manipulating a Model The model starts spinning inside the Viewer Panel.

74 Surgical Planning Laboratory http://www.slicer.org -74- Brigham and Women’s Hospital Manipulating a Model Click on the Rock button

75 Surgical Planning Laboratory http://www.slicer.org -75- Brigham and Women’s Hospital Manipulating a Model The model starts rocking inside the Viewer Panel.

76 Surgical Planning Laboratory http://www.slicer.org -76- Brigham and Women’s Hospital Manipulating a Model Come back to initial orientation of the Viewer Panel by clicking on the A letter (Anterior) inside the window.

77 Surgical Planning Laboratory http://www.slicer.org -77- Brigham and Women’s Hospital Models representation A model is a 3D representation of the anatomy. Type W (Wireframe) in the Main Window

78 Surgical Planning Laboratory http://www.slicer.org -78- Brigham and Women’s Hospital Models representation The triangles of the Model become visible in the Viewer. Type S (Surface) to come back to Surface Mode rendering

79 Surgical Planning Laboratory http://www.slicer.org -79- Brigham and Women’s Hospital Model Opacity 1.Click on Models in the Main Menu 2.Select the Display Tab The properties Panel of the model appears 3. Opacity Set the opacity of the Skin model to 0.5

80 Surgical Planning Laboratory http://www.slicer.org -80- Brigham and Women’s Hospital Model Opacity Skin model Opacity = 0.5

81 Surgical Planning Laboratory http://www.slicer.org -81- Brigham and Women’s Hospital Model Visibility Visibility on and off by left clicking on the name of model in the list Left Click on the Vessels button in the list of models

82 Surgical Planning Laboratory http://www.slicer.org -82- Brigham and Women’s Hospital Model Visibility Vessels model Visibility 0ff

83 Surgical Planning Laboratory http://www.slicer.org -83- Brigham and Women’s Hospital Global Visibility Show All to display all models in the 3D Viewer. Click Show None to display none of the models in the 3D Viewer

84 Surgical Planning Laboratory http://www.slicer.org -84- Brigham and Women’s Hospital Viewing 3D Models Show None: the models have disappeared

85 Surgical Planning Laboratory http://www.slicer.org -85- Brigham and Women’s Hospital 2D Viewer Lb : displays label map Displays results of a segmentation Left click on Lb in the Axial View and select the Label Map named None

86 Surgical Planning Laboratory http://www.slicer.org -86- Brigham and Women’s Hospital 2D Viewer The segmented volume named all disappears from the 2D Viewer. Lb : displays label map Displays results of a segmentation

87 Surgical Planning Laboratory http://www.slicer.org -87- Brigham and Women’s Hospital 2D Viewer Left click on Lb in the Axial View and select the Label Map named all. Lb : displays label map Displays results of a segmentation

88 Surgical Planning Laboratory http://www.slicer.org -88- Brigham and Women’s Hospital 2D Viewer The segmented volume named all appears in the 2D Viewer. Lb : displays label map Displays results of a segmentation

89 Surgical Planning Laboratory http://www.slicer.org -89- Brigham and Women’s Hospital 2D Viewer Images in the label map layer appear as outlines around the structures that were segmented.

90 Surgical Planning Laboratory http://www.slicer.org -90- Brigham and Women’s Hospital 2D Viewer Left Click on Fg in the Axial View and select the Volume named all in the Axial, Sagittal and Coronal slices.

91 Surgical Planning Laboratory http://www.slicer.org -91- Brigham and Women’s Hospital Image Fusion Fade slider: fades between foreground and background. Set the Fade slider to 0.5

92 Surgical Planning Laboratory http://www.slicer.org -92- Brigham and Women’s Hospital 2D Viewer The volume all is superimposed on the images

93 Surgical Planning Laboratory http://www.slicer.org -93- Brigham and Women’s Hospital Clipping Models Clipping: cutting away sections of a model at one or more selected slices. The model is removed from one side of each selected slice, revealing the image of each selected slice and the rest of the visible model. Select the Models  Display tab

94 Surgical Planning Laboratory http://www.slicer.org -94- Brigham and Women’s Hospital 1. Click on Show all to make all the models visible 2. Right-click the Skin model in the list A drop-down menu appears. 3. Check that the Clipping option is selected. 4. Set the opacity of the Skin model to 1.0. 5. Select the Clip tab of the Models panel. Clipping Models

95 Surgical Planning Laboratory http://www.slicer.org -95- Brigham and Women’s Hospital Clipping Models Click + or - to select which side of each slice to clip on. Set the sides to: Red Slice + Yellow Slice - Green Slice -

96 Surgical Planning Laboratory http://www.slicer.org -96- Brigham and Women’s Hospital Clipping Models Clipping Model Result

97 Surgical Planning Laboratory http://www.slicer.org -97- Brigham and Women’s Hospital Conclusion Intuitive Interface for Loading and Visualizing Data Slicer Outcome = fusion of Volumes and Surface Open-source tool for developing your own module


Download ppt "Surgical Planning Laboratory -1- Brigham and Women’s Hospital Slicer Training 1 Loading and Viewing Data Sonia Pujol, Ph.D. Randy."

Similar presentations


Ads by Google