help > Project stats map on top of other overlays; change opacity and order of overlays individually
Jul 29, 2019  11:07 AM | Jurjen Heij
Project stats map on top of other overlays; change opacity and order of overlays individually
Dear experts,

I have several masks of different regions (binarized masks created with the JHU atlas in FSL) on top of which I'd like to project my statistical map. I would like the maps to be translucent, without affecting the statistical map. So, the statistical map should still have 0 opacity, while the masks underneath are translucent. 

I tried the following script:

BEGIN
RESETDEFAULTS;
MESHLOAD('BrainMesh_ICBM152_smoothed.mz3');
SHADERLIGHTAZIMUTHELEVATION(1, 25);
SHADERXRAY(1, 0.3);

OVERLAYLOAD('D:\FSL\shared\Studies\pipeline_data\H1c\bold\processing\2ndLevelFeat\Group.gfeat\atlas_masks\bin.thr.INS_LR.nii.gz');
OVERLAYCOLORNAME(1, 'Bronze-Gold')
OVERLAYTRANSLUCENT(1, true);
OVERLAYLOAD('D:\FSL\shared\Studies\pipeline_data\H1c\bold\processing\2ndLevelFeat\Group.gfeat\atlas_masks\bin.thr.ACC_LR.nii.gz');
OVERLAYCOLORNAME(2, 'Violet [r+b]')
OVERLAYTRANSLUCENT(2, true);
OVERLAYLOAD('D:\FSL\shared\Studies\pipeline_data\H1c\bold\processing\2ndLevelFeat\Group.gfeat\atlas_masks\bin.thr.S1_BA2_LR.nii.gz');
OVERLAYCOLORNAME(3, 'Cyan [g+b]')
OVERLAYTRANSLUCENT(3, true);
OVERLAYLOAD('D:\FSL\shared\Studies\pipeline_data\H1c\bold\processing\2ndLevelFeat\Group.gfeat\atlas_masks\bin.thr.S2_OP1_LR.nii.gz');
OVERLAYCOLORNAME(4, 'Blue-Green')
OVERLAYTRANSLUCENT(4, true);
OVERLAYLOAD('D:\FSL\shared\Studies\pipeline_data\H1c\bold\processing\2ndLevelFeat\Group.gfeat\atlas_masks\bin.thr.Tha_LR.nii.gz');
OVERLAYCOLORNAME(5, 'Blue')
OVERLAYTRANSLUCENT(5, true);
OVERLAYLOAD('D:\FSL\shared\Studies\pipeline_data\H1c\bold\processing\2ndLevelFeat\Group.gfeat\cope1.feat\thresh_zstat1.nii.gz');
OVERLAYCOLORNAME(6, 'Red-Yellow')
OVERLAYMINMAX(6, 3.1, 5);

COLORBARVISIBLE(false);
OVERLAYTRANSPARENCYONBACKGROUND(0);

END.

This gives me almost what I want, but the overlapping regions between statistical map and masks are still blurred into each other. 

Is it possible to put the masks in the background in a way that the statistical map has it's native color coding, and not that the color of the mask is mixing with the statistical map? 

Thanks in advance and I hope to hear from you soon.

Kind regards,

Jurjen Heij

Threaded View

TitleAuthorDate
Project stats map on top of other overlays; change opacity and order of overlays individually
Jurjen Heij Jul 29, 2019
Chris Rorden Aug 2, 2019