brainlife / ui-3dsurfaces

Surfaces viewer based on VTK
https://brainlife.io
MIT License
3 stars 1 forks source link

Add nifti overlay capabilities #1

Open stevengeeky opened 6 years ago

stevengeeky commented 6 years ago

Similar to ui-tractview We should do this after standardizing the way that the visualization data should be transformed

stevengeeky commented 6 years ago

I've added the ability to overlay a nifti, but there's still a lot of stuff to do.

I also need to grab information in the nifti header that isn't provided by nifti-js, perhaps by parsing it myself, or just swapping libraries. Specifically I want the axis layout information so that the input data can always be transformed to LSA

I also want the size of the space that the input data is contained within. Right now it's assumed to be 256x256x256, but this is information I don't have access to given just the raw surfaces. Though this seems to be a safe assumption for now, eventually I think this information should be provided in window.config