hanayik / niivue

a WebGL2 based NIFTI volume viewer.
https://hanayik.github.io/niivue
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

use overlay cal_min and cal_max #78

Closed hanayik closed 3 years ago

hanayik commented 3 years ago

I realised I set cal_min and cal_max to 0,1 since the hippocampus mask is binary. This should be changed to read those values from the header.

https://github.com/hanayik/niivue/blob/c9d65d936bd6a897f8aecc24417ffbc626c0c6d4/src/niivue.js#L580