1 / 44

Slicer Tutorial 7 Saving Data

Slicer Tutorial 7 Saving Data. Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D. Acknowledgments. National Alliance for Medical Image Computing NIH U54EB005149 Neuroimage Analysis Center NIH P41RR013218. Disclaimer. It is the responsibility of the user of 3DSlicer

Download Presentation

Slicer Tutorial 7 Saving Data

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Slicer Tutorial 7Saving Data Sonia Pujol, Ph.D. Randy Gollub, M.D., Ph.D.

  2. Acknowledgments National Alliance for Medical Image Computing NIH U54EB005149 Neuroimage Analysis Center NIH P41RR013218

  3. 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. Material • 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 Exercises Questions Answers

  5. Goal of this tutorial Guide you step-by-step through the process of saving data within Slicer.

  6. Saving Data • Slicer can save • Volumes ………………….

  7. Saving Data • Slicer can save • Volumes …………………. • Models ………………………………..

  8. Saving Data • Slicer can save • Volumes …………………. • Models ……………………………….. • Scenes ………………………………....

  9. Scene • A Scene in 3DSlicer can be composed of several • volumes, fiducials and 3D models. • It is represented by an .xml file written in • Medical Reality Modeling Language (MRML), that • lists the elements of the Scene and their attributes. • Several views of the same Scene can be saved in 3DSlicer.

  10. Tutorial 7: Overview • Part 1: Loading a Scene • Part 2: Saving Volumes • Part 3: Saving Models • Part 4: Saving Scenes • Part 5: Saving Images of a Scene

  11. Load the file tutorial.xml in the directory Tutorial-with-dicom/tutorial Loading a Scene Select FileOpenScene in the Main Menu.

  12. Loading a Scene Slicer loads the scene tutorialin the Viewer.

  13. Loading a Scene • The Scene tutorial.xml is composed of • a gray levels volume: SPGR

  14. Loading a Scene • The Scene tutorial.xml is composed of • a gray levels volume: SPGR • a segmented volume: all

  15. Loading a Scene • The Scene tutorial.xml is composed of • a gray levels volume: SPGR • a segmented volume: all • three models: Skin, Ventricles, Vessels

  16. Tutorial 7: Overview • Part 1: Loading a Scene • Part 2: Saving Volumes • Part 3: Saving Models • Part 4: Saving Scenes • Part 5: Saving Saving Images of a Scene

  17. Select the Panel Volumes in the Editor Menu Saving Volumes Select the module Editor in the Main Menu Click on the button Save

  18. Saving Volumes Slicer loads the segmented labelmaps in the three anatomical views.

  19. Enter the Filename Prefix SavedLabelmap Saving Volumes Right-click on the Volume to Save button and select the volume all Click on the buttonSave

  20. Saving Volumes Select the directory Tutorial_with_dicom/tutorial/labels to save the existing labelmap with a new name Click on Save

  21. Saving Volumes A message warns the user that the volume should not be saved, because it has not been changed since the last time it was saved. Click on Yes to save the volume with the new name

  22. Saving Volumes Slicer writes the labelmap volume SavedLabelmap on the disk, and generates a MRML file SavedLabelmap.xml.

  23. Tutorial 7: Overview • Part 1: Loading a Scene • Part 2: Saving Volumes • Part 3: Saving Models • Part 4: Saving Scenes • Part 5: Saving Images of the Scene

  24. Select the tab Save in the module ModelMaker Saving Models Select the module ModelsMaker in the Main Menu

  25. Enter the new name SavedVessels Saving Models Select the model Vessels as the Active Model to be saved Click on the buttonSave

  26. Saving Models Save the model SavedVessels in the Tutorial_with_dicom/tutorial/modelsdirectory

  27. Saving Models A message warns the user that the Model should not be saved, because it has not been changed since the last time it was saved. Click on OK to save the model with the new name.

  28. Saving Models Slicer writes the file SavedVessels.vtk in the Tutorial_with_dicom/tutorial/models directory

  29. Tutorial 7: Overview • Part 1: Loading a Scene • Part 2: Saving Volumes • Part 3: Saving Models • Part 4: Saving Scenes • Part 5: Saving Images of the Scene

  30. Saving a Scene • A scene in Slicer can be composed of several volumes and several models.

  31. Saving a Scene • A scene in Slicer can be composed of several volumes and several models. • All the volumes and all the models have to be saved separately before saving a Scene.

  32. Select Save Scene As Saving a Scene Select the section File in the Main Menu

  33. Saving a Scene The window Save As File for the scene name appears. Slicer sets the default name for the scene to data.

  34. Saving a Scene Enter the name SavedScene and select the directory Tutorial_with_dicom/tutorial, and click on Apply.

  35. Saving a Scene The file SavedScene.xml has been created in the directory Tutorial_with_dicom/tutorial

  36. Saving a Scene Select Save Scene With Options The options of the Scene including the settings from the modules and the background color set are saved in the file SavedScene.xml.

  37. Tutorial 7: Overview • Part 1: Loading a Scene • Part 2: Saving Volumes • Part 3: Saving Models • Part 4: Saving Scenes • Part 5: Saving Images of a Scene

  38. Saving Images of a Scene Manipulate the models and volumes within the Viewer, and choose a view of the data that you would like to save.

  39. Saving Images of a Scene Select Set Save 3D View Parameters in File

  40. Select the directory /tutorial to save the view Saving Images of a Scene Set the Save Mode to Single view Enter the File prefixSavedView

  41. Click on Save View Now Saving Images of a Scene Set the File Type to PNG The Output zoomoption provides a higher resolution image. Check the optionInclude slice windowsto save the anatomical views

  42. Saving Images of a Scene Slicer saves the 3D view as the PNG file SavedView001.PNG

  43. Saving Images of a Scene The resulting PNG file can be included in an article or a PowerPoint presentation.

  44. Conclusion • Saving data processed with Slicer • MRML description of the Scene elements location • Open-Source environment

More Related