help > Conjunction commonalities in different colour
Showing 1-3 of 3 posts
Mar 30, 2021 11:03 AM | Molly Rowlands
Conjunction commonalities in different colour
Hello,
I'm comparing 2 independent meta-analysis on MRIcroGL. I can assign the activations from each independent meta-analysis different colours (e.g. blue, red) to compare the activations, but it's difficult to see their overlapping activations accurately. How can I assign the overlapping activations from both meta-analysis a third colour (e.g. green) so that I can visualise the activation commonalities between the two independent studies?
Such that I would be able to visualise (i) areas that show unique activations from the 2 meta-analyses in blue and red (i.e. no shared activation across meta-analyses), and (ii) common overlapping areas activated across both meta-analyses in green.
If I cannot to do this on MRIcroGL, can this be done on MRIcron?
Thank you in advance!
I'm comparing 2 independent meta-analysis on MRIcroGL. I can assign the activations from each independent meta-analysis different colours (e.g. blue, red) to compare the activations, but it's difficult to see their overlapping activations accurately. How can I assign the overlapping activations from both meta-analysis a third colour (e.g. green) so that I can visualise the activation commonalities between the two independent studies?
Such that I would be able to visualise (i) areas that show unique activations from the 2 meta-analyses in blue and red (i.e. no shared activation across meta-analyses), and (ii) common overlapping areas activated across both meta-analyses in green.
If I cannot to do this on MRIcroGL, can this be done on MRIcron?
Thank you in advance!
Mar 30, 2021 11:03 AM | Chris Rorden
RE: Conjunction commonalities in different colour
In the "Layers" panel, click on the "Options" pull down menu and
toggle "Additive Overlay Blending". With additive colors, red plus
green will look distinctly yellow
https://en.wikipedia.org/wiki/Additive_color
For Python scripts, you can use the overlayadditiveblending() function. For example, choose the Scripting/New function and paste the code below:
import gl
gl.resetdefaults()
gl.loadimage('spm152')
gl.overlayadditiveblending(1)
gl.overlayload('spmMotor')
gl.minmax(1, 4, 4)
gl.colorname (2,"1red")
gl.overlayload('spmMotor')
gl.minmax(2, 2, 2)
gl.colorname (2,"2green")
gl.orthoviewmm(37,-14,47)
https://en.wikipedia.org/wiki/Additive_color
For Python scripts, you can use the overlayadditiveblending() function. For example, choose the Scripting/New function and paste the code below:
import gl
gl.resetdefaults()
gl.loadimage('spm152')
gl.overlayadditiveblending(1)
gl.overlayload('spmMotor')
gl.minmax(1, 4, 4)
gl.colorname (2,"1red")
gl.overlayload('spmMotor')
gl.minmax(2, 2, 2)
gl.colorname (2,"2green")
gl.orthoviewmm(37,-14,47)
Mar 30, 2021 01:03 PM | Molly Rowlands
RE: Conjunction commonalities in different colour
This worked. Thank you for helping!