add new option to not modulate alpha by voxel value?
hanayik opened this issue · comments
MRIcroGL version: 1.2.20200707e Cocoa x86-64
@neurolabusc , some regions with low integer values in atlases rendered in 3D mode appear more transparent than high integer label regions.
For example, an atlas image with integer labels ranging from 1-140 (background == 0) will render regions with low values (1,2,3...) as more transparent.
Would it be possible to add a toggle setting in preferences to disable alpha modulation by voxel intensity?
No rush on this. Just submitting the issue as a possible enhancement for the future.
FSLeyes has recently added this feature in the master branch (not released), and it can be useful to toggle that switch when viewing some images.
I would be happy to help implement this. It would take some time to get up to speed with the MRIcroGL build system and code base.
atlas shown in screenshots:
example MRIcroGL screenshot:
FSLeyes with intensity modulation
FSLeyes WITHOUT intensity modulation
@hanayik this is an issue with FSL not MRIcroGL. The NIfTI header does not correctly specify the intent_code
as NIFTI_INTENT_LABEL. If this is set, the image will be displayed correctly with MRIcroGL. Please fix upstream.
Nice, that's an easy solution! Thanks @neurolabusc!