brainbrowser icon indicating copy to clipboard operation
brainbrowser copied to clipboard

Mask overlay on top of an Nifti volume

Open Chasiwpaw opened this issue 5 years ago • 1 comments

I saw that Papaya viewer is possible to stack two nifti image on top of another. I was wondering if that is also possible with brainbrowser. I am using volume viewer and I saw on the documentation that there's a function called CreateOverlay. That function takes only a template and not another nifti file. If that is achievable, if there's a boilerplate example to show how that is done? If not, I think that would be a really good feature to have.

Chasiwpaw avatar Sep 13 '19 20:09 Chasiwpaw

If you look at https://brainbrowser.cbrain.mcgill.ca/volume-viewer and select NIfTI you will see 3 panels. The 2 first column is 2 different NIfTI and the third one is an overlay between both of them.

The code could be found here:

  • https://github.com/aces/brainbrowser/tree/master/examples

Is it what you want ?

natacha-beck avatar Sep 17 '19 13:09 natacha-beck