Difference between revisions of "Modules:PythonExplodeVolumeTransform-Documentation-3.4"

From Slicer Wiki
Jump to: navigation, search
Line 17: Line 17:
  
 
===Module Description===
 
===Module Description===
This Python module takes a volume in input, computes its XYZToRAS transform by matrix manipulation, where XYZ is the local (VTK-compatible) coordinate system, and generate a XYZ-oriented volume in the MRML scene as a child of the XYZToRASTransform.
+
This Python module takes a volume in input, extracts its IJKToRAS transform by matrix manipulation, where IJK is the local (VTK-compatible) coordinate system, and generates an IJK-oriented volume in the MRML scene as a child of a IJKToRAS transform node.
  
 
== Usage ==
 
== Usage ==

Revision as of 12:18, 6 April 2009

Home < Modules:PythonExplodeVolumeTransform-Documentation-3.4

Return to Slicer 3.4 Documentation

Module Name

Python Explode Volume Transform

General Information

Module Type & Category

Type: CLI

Category: Python Modules

Authors, Collaborators & Contact

  • Luca Antiga: Mario Negri Institute
  • Daniel Blezek: Mayo Clinic
  • Contact: Luca Antiga, antiga@marionegri.it

Module Description

This Python module takes a volume in input, extracts its IJKToRAS transform by matrix manipulation, where IJK is the local (VTK-compatible) coordinate system, and generates an IJK-oriented volume in the MRML scene as a child of a IJKToRAS transform node.

Usage

Examples, Use Cases & Tutorials

  • The module is appropriate when a CLI module can only handle non-oriented images (i.e. images oriented as the XYZ axes), like pure-VTK modules.
  • The typical use is as follows: run a volume through this filter, use the output volume as input for the non-orientation-aware CLI module and place the output of this latter module under the XYZToRAS transform generated by the present module by using the MRML tree widget.
  • Use case: you have data generated from a RAS-agnostic program (e.g. fiber tracts generated in Matlab) and you want to place them in your RAS oriented scene in Slicer. What you do is then to load the MR b0 volume with orientation "From file", explode its ijkToRAS Transform, load the fiber tracts and place them under the exploded transform in the MRML tree. You can then optionally right-click on the fiber tract nodes and choose "Harden transforms" in order to have the transform applied to the fiber point, so you can save them in RAS.

Quick Tour of Features and Use

List all the panels in your interface, their features, what they mean, and how to use them. For instance:

  • IO:
    • Input Volume: the input volume
    • Output Volume: the output volume, the input volume with its IJKToRAS transform aligned with the XYZ axes, set as the child of the corresponding XYZToRAS transform.

Development

Dependencies

Python

Known bugs

Follow this link to the Slicer3 bug tracker.


Usability issues

Follow this link to the Slicer3 bug tracker. Please select the usability issue category when browsing or contributing.

Source code & documentation

Follow this link to the module.

Links to documentation generated by doxygen.


More Information

Acknowledgment

References