Difference between revisions of "Modules:DataModule-3.4"

From Slicer Wiki
Jump to: navigation, search
Line 33: Line 33:
 
[[Image:Data-3.4-LoadDataLoadDataPanel.png | Load Data Panel]]
 
[[Image:Data-3.4-LoadDataLoadDataPanel.png | Load Data Panel]]
  
The options it contains duplicate load options currently exposed in other parts of the Slicer software. Here, we'll briefly describe each option and mention where else in Slicer the functionality can be found.
+
The options it contains duplicate load options currently exposed in other parts of the Slicer software. Here, we'll briefly describe each option and mention where else in Slicer the functionality can be found. This information can also be found in the [[Modules:MainApplicationGUI-Documentation-3.4 | Main Application GUI]] section of Slicer 3.4 documentation.
  
 
== Loading New Scenes ==
 
== Loading New Scenes ==

Revision as of 15:45, 6 May 2009

Home < Modules:DataModule-3.4

Return to Slicer Documentation

Overview

This module allows you to load scenes and individual datasets of many types, and to view the scene's data hierarchy. The Data Module's "Display & Modify" panel that displays the MRML Scene hierarchy is described, and its "Load Panel" is shown and described below, option by option.

Terminology: MRML, MRML Scene Description, MRML Tree, MRML Nodes

  • MRML (pronounced mur-muhl) stands for the "Medical Reality Markup Language"; and is an XML-based representation of a a MRML Scene.
  • MRML Scene is the collection of datasets and their current state, viewing parameters, semantic descriptions, and also algorithm parameterization. A MRML Scene may also contain a set of alternate state configurations (scene snapshots) of interest.
  • MRML Scene description is the XML-based file (with extension .mrml) that contains the complete MRML Scene specification, and which references all datasets present in the MRML Scene. Slicer loads and saves MRML Scene description files. In order to load a MRML Scene from a description file, Slicer requires that all the datasets it references must be present in their referenced directory or file path.
  • MRML Tree is the hierarchical description of how data in a MRML Scene is represented. For instance, a Transformation Matrix may apply to multiple datasets, so these datasets are represented as children of the transform in the Data Module's tree-view of the scene.
  • MRML Nodes are data and parameter containers in the MRML Scene. Nodes may contain volumetric data (e.g. ScalarVolumeNodes or ScalarVolumeStorageNodes) or polygonal data (e.g ModelNodes or ModelStorageNodes) or the state of a particular Slicer software module (e.g. EMSSegmenterNode). MRML Nodes that describe/represent data have names, and are displayed in the Data Module's MRML Scene Tree panel. All nodes are saved into the MRML Scene description.

Displaying and Modifying the MRML Scene Hierarchy

The Data Module's MRML Scene Tree viewer shows how datasets in the MRML Scene are represented and offers options for deleting data, moving it to a different location in the hierarchy, adjusting its parameters and toggling its visibility, as shown in the figure below.

Show all loaded data

For Developers or anyone interested, a checkbox toggles the display of each dataset's MRML ID, and each selected dataset's unique MRML ID is displayed in the MRML Node Inspector below the MRML Tree viewer. The panel beneath the MRML Scene Tree viewer provides convenient access to tools for loading many different types of data:

Load Data GUI

Loading Scenes & Datasets, and Viewing the MRML Scene Hierarchy using the Data Module

Note that this collection of load options is a temporary placeholder for a more generalized scene & data loading interface, which we are working on for future versions of the Slicer software. The load panel is shown below:

Load Data Panel

The options it contains duplicate load options currently exposed in other parts of the Slicer software. Here, we'll briefly describe each option and mention where else in Slicer the functionality can be found. This information can also be found in the Main Application GUI section of Slicer 3.4 documentation.

Loading New Scenes

Data-3.4-LoadScene.png

This command, also invoked from the Application File Menu using File->Load Scene, raises a file browser (shown below). Slicer's file browser has a 'favorites' icon that allows you to save often-visited directories on the browser's left panel. Other features, including icons that allow you to navigate your browsing history, pop up a level in the directory structure (or folder hierarchy) and create new folders. To load a scene, navigate to a file of the appropriate format (.mrml, .xcat (XCEDE catalog file), or .xml (Slicer2 scene file) and select it for loading into Slicer. The command first clears any existing scene in Slicer and resets the application state.

FileBrowser.png

Adding a Scene

Data-3.4-AddScene.png

Adding Individual Datasets, or a Directory of Data

Data-3.4-AddData.png

Adding Scalar and Tensor Volumes

Data-3.4-AddVolume.png

Adding 3D Models, or a Directory of Models

Data-3.4-AddModel.png

Adding a Scalar Overlay to a Model

Data-3.4-AddOverlay.png

Adding a Transformation Matrix

Data-3.4-AddMatrix.png

Adding a Fiducial List

Data-3.4-AddFiducialList.png

Adding a Custom Color Table

Data-3.4-AddColorTable.png

Adding a DTI Fiber Bundle

Data-3.4-AddFiberBundle.png