help > RE: Cannot change overlay color of DTI nii.gz
Jul 6, 2022  11:07 PM | Daniel Corp
RE: Cannot change overlay color of DTI nii.gz
Originally posted by Daniel Corp:
Originally posted by Daniel Corp:
I had this problem - adding it as an overlay doesn't help, and that's what you said you were doing anyway it seems - looks like its because there are voxels outside of the brain in your overlap image. Mask it to a standard brain mask by: fslmaths MNI152_T1_2mm_brain_mask.nii.gz -mul CombLesionMap.nii.gz CombLesionMapMasked.nii.gz

(i.e. masked binarised standard brain file - your lesion file - name for new masked file). Then reload your new masked lesion map into MRIcroGL and it should allow you to change the overlay colour.

Here is a lesion map with voxels outside the brain. This doesn't let you change the colour of the overlap. 

Here is the same map masked using the fslmaths command above.

Threaded View

TitleAuthorDate
Lisa Schmidt May 5, 2022
Chris Rorden Jul 7, 2022
Daniel Corp Jul 11, 2022
Daniel Corp Jul 6, 2022
Daniel Corp Jul 6, 2022
RE: Cannot change overlay color of DTI nii.gz
Daniel Corp Jul 6, 2022
Chris Rorden May 24, 2022