CosmoStat / Glimpse

Sparsity based weak lensing mass-mapping tool
Other
5 stars 6 forks source link

Add javascript 3D volume renderer for visualisation #8

Open EiffL opened 6 years ago

EiffL commented 6 years ago

The project could use a javascript demo of a visualization tool that could be embedded in websites for demos and advertisement. Path of least resistance is probably to use the medical imaging AMI Medical Imaging (AMI) JS ToolKit for THREEJS (https://github.com/FNNDSC/ami) with volumes exported in nifti file format using nibabel (http://nipy.org/nibabel)

EiffL commented 6 years ago

@sfarrens I've added in branch javascript_visualisation a first draft of a javascript plugin that draws 3D volumetric data in an html page. Live demo there: https://codepen.io/EiffL/pen/oqJLwK I would be super happy to have your thoughts and/or help on this (if you happen to have mad js skills :-) ). I'm thinking the same thing may be used for your other projects in medical imaging...

sfarrens commented 6 years ago

@EiffL This is extremely cool! When I have some time I will have a proper look and let you know my thoughts.