Difference between revisions of "2012 Summer Project Week:XTK"
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<gallery> | <gallery> | ||
Image:PW-MIT2012.png|[[2012_Summer_Project_Week#Projects|Projects List]] | Image:PW-MIT2012.png|[[2012_Summer_Project_Week#Projects|Projects List]] | ||
+ | Image:Xfibers.png|Tractography rendered with XTK in 5 lines of JavaScript code, here the [http://lessons.goxtk.com/06/ live version]. | ||
+ | Image:Xvolume.png|MRI volume + label map rendered with XTK, here the [http://lessons.goxtk.com/13/ live version]. | ||
Image:Xtkabdom.png|The SPL Abdominal Atlas. ''Left'': In 3D Slicer version 4, ''Right'': In a web browser exported using the '''WebGL Export''' module. | Image:Xtkabdom.png|The SPL Abdominal Atlas. ''Left'': In 3D Slicer version 4, ''Right'': In a web browser exported using the '''WebGL Export''' module. | ||
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 [[Media:Progress_webglexport.mov]] | ||
</gallery> | </gallery> | ||
Line 35: | 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) | ||
+ | |||
+ | * Next: | ||
+ | ** Finish the template (design + connections) | ||
+ | ** Export the whole slicer scene in new HTML template | ||
</div> | </div> |
Latest revision as of 14:55, 22 June 2012
Home < 2012 Summer Project Week:XTKTractography rendered with XTK in 5 lines of JavaScript code, here the live version.
MRI volume + label map rendered with XTK, here the live version.
Template at the end of the summer project week Media:Progress_webglexport.mov
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
- ITK Module
- Slicer Module
- Built-in YES
- Extension -- commandline
- Extension -- loadable
- 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