870 likes | 1.01k Vues
Slicer Training 1 Loading and Viewing Data. Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D. Acknowledgments. National Alliance for Medical Imaging NIH U54EB005149 Neuroimage Analysis Center NIH P41RR013218. Disclaimer. It is the responsibility of the user of 3DSlicer
E N D
Slicer Training 1 Loading and Viewing Data Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D.
Acknowledgments National Alliance for Medical Imaging NIH U54EB005149 Neuroimage Analysis Center NIH P41RR013218
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.
Goal of this tutorial Guiding you step by step through the process of Loading and Viewing Data within Slicer
Material • Slicer2.5: https://share.spl.harvard.edu/share/birn/public/software/slicer2.5/slicer2.5-opt-win32-2005-05-23.zip • Tutorial Data: tutorial-with-dicom.zip 35 Exercises Questions Answers
Goal of the tutorial Final result of the series of exercises
Overview of Training 1 • Part 1: Slicer Interface • Part 2: Loading Data • Part 3: Interacting with Data
Slicer Interface Menu Viewer Tk window
Slicer Menu Main Menu Panels Sliders Select the Volumes Module Buttons Control Window
Panels and Tabs The Panel of the Volumes Module appears • Each panel has tabs along the top • Leftmost tab is Help • Panel may contain controls and displays
Slicer Modules • The architecture of Slicer is modular Select Modules in the SubMenu
Slicer Modules Settings IO Application Filtering Segmentation Registration Measurement Visualization Examples Unfield Alpha The list of Slicer Modules appears
Slicer Modules: tutorials Settings IO Application Filtering Segmentation Registration Measurement Visualization Examples Unfiled Alpha • fMRIEngine ………. SlicerTraining 5 • Editor …………….. SlicerTraining 2 • Level-Sets ……….. SlicerTraining 3 • DTMRI ……………. SlicerTraining 4
Submenus Observe the different options of the Main Menu • Help Links to Slicer information • File • Opening files • Saving files • Close • Exit • Modules • Slicer Modules • View • Selecting view mode
Viewer window Observe the Viewer Window • Upper part is 3D Viewer • Lower part is 2D Viewer • 3 separate views • Independent controls
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
Overview of Training 1 • Part 1: Slicer Interface • Part 2: Loading Data • Part 3: Interacting with Data
Loading Data Slicer can load • Volumes ………………….. • Models ……………………. A model is a 3D reconstruction of the anatomy • Scenes ……………………. Scene = Volume + Model
Loading Data Slicer Power Putting together Images and Surface
Loading Data Slicer can load • Volumes ………………….. • Models ……………………. A model is a 3D reconstruction of the anatomy • Scenes ……………………. Scene = Volume + Model
Header Header Header Header Raw Data Raw Data Raw Data Raw Data 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 a Pixel (a,b) b Intensity I (a,b)
Loading Volumes: Overview 1. Main Data 2. Add Volume Props tab of Volumes panel appears 3. Browse to find the first image 4. Select first image of volume to load, and click Open The number of the last image automatically appears 5.Apply
DICOM Volumes 1. Main Data Add Volume Props 2. From Properties Change Basic DICOM
DICOM Volumes A DICOM panel appears 3. Select DICOM Volume A dialog box appears 4. Select directory and click OK Slicer searches for every DICOM file.
DICOM Volumes • Name The name that the volume will have within Slicer • Optional Description You may enter a description. 5.Change to something descriptive: “Cortex“ 6. Click Header
Loading DICOM Volumes The DICOM Header information panel appears …Slicer loads the data 7. Click Apply
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 The value of the gray level of the pixel under the cursor appears in the corresponding slice
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
Viewing Volumes The Axial, Sagittal and Coronal Images appear in the Viewer
Manipulating the images • Rotation Position the mouse on the images inside the Viewer Left-click and move the mouse to the left The images move to the left
Manipulating the images • Zoom Position the mouse on the images inside the Viewer Right-click and move the mouse down The viewer gets closer to the model
Manipulating the images • Zoom Position the mouse on the images inside the Viewer Right-click and move the mouse up The viewer moves away from the model
Viewing Volumes The View Menu contains different options to visualize the data Select the 3D View
Viewing Volumes 3D View focuses on 3D
Viewing Volumes The View Menu contains different options to visualize the data Select 4x512
Viewing Volumes 4x512 view: larger image views to see details
Viewing Volumes (1 of 5) The View Menu contains different options to visualize the data Select 1x512
Viewing Volumes 1x512 view: one large, three small images
Viewing Volumes The View Menu contains different options to visualize the data Select 4x256
Viewing Volumes 4x256 view: smaller equal-sized images Come back to Normal View
2D Viewer 2 • Three 2D windows (red, yellow, and green) Both grayscale and label map images in windows • Slider selects which slice of volume to display • Field shows the slice number 3 1 1 2 3
Superimpose 4 • Bg (Background): displays volume in background layer • Fg (Foreground): displays volume in foreground layer Superimposed over the background layer 5 4 5
2D Viewer • Lb: displays label map Displays results of a segmentation 6 6 Left click on Lb in the Axial View and select the Label Map named all
2D Viewer Images in the label map layer appear as outlines around the structures that were segmented.
2D Viewer Left Click on Fg in the Axial View and select the Volume named all
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
Volumes without Header 1. Main Data 2. Add Volume 3. Browse to find the first image of the Volume spgr 4. Select first image I.001 of volume to load, and click Open 5.Click on Manual 6. Click on Apply
Volumes without Header • Preview • small icon-size images in bottom panel (default size is 32x32 pixels) • List Headers • displays header information • Check • displays information about how to group the data • helps to show when slices are missing • useful when several DICOM acquisitions are lumped together. Click OK
Volumes without Header The Header section of the Props tab appears. 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. 1 2