Difference between revisions of "2012 Summer Project Week:XTK"

From NAMIC Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
Image:Xtkbrain.png|The NAC Brain Atlas: ''Left'': In Slicer, ''Right'': In a web browser.
 
Image:Xtkbrain.png|The NAC Brain Atlas: ''Left'': In Slicer, ''Right'': In a web browser.
 
Image:Xtkblack.png|An example WebGL export with black background color and a caption tooltip. ''Left'': In Slicer, ''Right'': In a web browser.
 
Image:Xtkblack.png|An example WebGL export with black background color and a caption tooltip. ''Left'': In Slicer, ''Right'': In a web browser.
Image:webgl_export_template.png|Template at the end of the summer project week
+
Image:webgl_export_template.png|Template at the end of the summer project week [[Media:Progress_webglexport.mov]]
 
</gallery>
 
</gallery>
  
Line 38: Line 38:
  
 
<h3>Progress</h3>
 
<h3>Progress</h3>
A first version of the '''WebGL Export''' module is part of the latest 3D Slicer 4 release. Currently, it supports the export of ''Surface Models'' to a website (see [http://www.na-mic.org/Wiki/index.php/File:WebGLExport_TutorialContestSummer2012.pdf tutorial]).
+
*Progress:
 +
** A first version of the '''WebGL Export''' module is part of the latest 3D Slicer 4 release. Currently, it supports the export of ''Surface Models'' to a website (see [http://www.na-mic.org/Wiki/index.php/File:WebGLExport_TutorialContestSummer2012.pdf tutorial]).
 +
** Feedback for the tutorial.
 +
** HTML/JAVASCRIPT/CSS Template for exported scene.
 +
** Identify new requirements in XTK (vtk tensors, etc.)
 +
** Fixes in XTK (resize web browser)
  
Template for exported scene.
+
* Next:
 
+
** Finish the template (design + connections)
Export whole scene to xtk compliant code.
+
** Export the whole slicer scene in new HTML template
 
 
Identify new requirements in XTK (vtk tensors, etc.)
 
Should export the whole slicer scene
 
  
 
</div>
 
</div>

Latest revision as of 14:55, 22 June 2012

Home < 2012 Summer Project Week:XTK

Key Investigators

  • Boston Children's Hospital: Daniel Haehn, Nicolas Rannous, Rudolph Pienaar
  • Isomics Inc.: Steve Pieper

Objective

XTK is a WebGL framework providing an easy-to-use API to visualize scientific data on the web. No background or knowledge in Computer Graphics is required and a variety of file formats can be natively read and visualized with very little JavaScript code.

Nevertheless, some researchers want to share their data without writing any code so we propose a one-click WebGL export module for 3D Slicer 4.


Approach, Plan

The WebGL Export module should enable the export of Surface Models, Fiber Tracks and Volumes in 2D and 3D (including Volume Rendering) from 3D Slicer 4 to the web.

First step of further development is to update the currently existing WebGL Export module to a new XTK version. Additionally, a TrackVis file format (.TRK) writer should be implemented for 3D Slicer 4 since XTK natively supports this format for Tractography.

Also, it should be interesting to investigate if Slicer Data Bundles or Scene Views can be exported.

Progress

  • Progress:
    • A first version of the WebGL Export module is part of the latest 3D Slicer 4 release. Currently, it supports the export of Surface Models to a website (see tutorial).
    • Feedback for the tutorial.
    • HTML/JAVASCRIPT/CSS Template for exported scene.
    • Identify new requirements in XTK (vtk tensors, etc.)
    • Fixes in XTK (resize web browser)
  • Next:
    • Finish the template (design + connections)
    • Export the whole slicer scene in new HTML template

Delivery Mechanism

This work will be delivered to the NA-MIC Kit as a

  1. ITK Module
  2. Slicer Module
    1. Built-in YES
    2. Extension -- commandline
    3. Extension -- loadable
  3. Other (Please specify)

References

  • The XTK website including lessons, demos etc.
  • Github Project Page for the 3D Slicer WebGL Export module
  • WebGL for Baby Brains: Neuroimaging in the Browser at the WebGL Camp Orlando 2012, Video
  • Science! featuring XTK, CreativeJS.com
  • The X Toolkit for Scientific Visualization on WebGL.com
  • D. Haehn, N. Rannou, B. Ahtam, E. Grant, R. Pienaar: Neuroimaging in the Browser using the X Toolkit, INCF Neuroinformatics 2012, Abstract
  • A. Klein, N. Nichols, D. Haehn: Mindboggle 2 interface: online visualization of extracted brain features with XTK, INCF Neuroinformatics 2012, Abstract