Difference between revisions of "2012 Winter Project Week:ScriptView"
From NAMIC Wiki
Line 8: | Line 8: | ||
==Key Investigators== | ==Key Investigators== | ||
* GE Research: Albert Montillo | * GE Research: Albert Montillo | ||
− | + | ||
+ | Many thanks to : Steve Pieper (Isomics) | ||
<div style="margin: 20px;"> | <div style="margin: 20px;"> | ||
Line 15: | Line 16: | ||
<h3>Objective</h3> | <h3>Objective</h3> | ||
Programmatically setup 3D Slicer to view data from different subjects while applying the same consistent view. Save screen image to PNG. | Programmatically setup 3D Slicer to view data from different subjects while applying the same consistent view. Save screen image to PNG. | ||
− | |||
− | |||
− | |||
− | |||
Line 36: | Line 33: | ||
<h3>Progress</h3> | <h3>Progress</h3> | ||
− | + | The python script has been tested on folder with multiple subject subfolders. All subject folders use same file names for scene elements so that same MRML file works for all subjects. MRML scene need only be setup once, for one subject, then reused for each subject. | |
− | |||
</div> | </div> |
Revision as of 16:11, 13 January 2012
Home < 2012 Winter Project Week:ScriptViewKey Investigators
- GE Research: Albert Montillo
Many thanks to : Steve Pieper (Isomics)
Objective
Programmatically setup 3D Slicer to view data from different subjects while applying the same consistent view. Save screen image to PNG.
Approach, Plan
Our approach is create a template MRML scene file and reuse it for each subject. MRML scene stores relative paths to items in the scene such as volumes. Python script is passed to Slicer to load dthe scene per subject and save image.<foo>.
Progress
The python script has been tested on folder with multiple subject subfolders. All subject folders use same file names for scene elements so that same MRML file works for all subjects. MRML scene need only be setup once, for one subject, then reused for each subject.
Delivery Mechanism
This work will be delivered as a python script.