-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide redundant color bars (https://www.nitrc.org/forum/forum.php?thre…
- Loading branch information
1 parent
6dd5df3
commit 9b5b6d9
Showing
42 changed files
with
1,385 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=4 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=64 | ||
nodeintensity2=192 | ||
nodeintensity3=255 | ||
[RGBA255] | ||
nodergba0=0|0|4|0 | ||
nodergba1=120|28|109|56 | ||
nodergba2=237|105|37|80 | ||
nodergba3=240|249|33|88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=4 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=64 | ||
nodeintensity2=192 | ||
nodeintensity3=255 | ||
[RGBA255] | ||
nodergba0=13|8|135|0 | ||
nodergba1=156|23|158|56 | ||
nodergba2=237|121|83|80 | ||
nodergba3=240|249|33|88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=15 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=1 | ||
nodeintensity2=36 | ||
nodeintensity3=37 | ||
nodeintensity4=73 | ||
nodeintensity5=74 | ||
nodeintensity6=109 | ||
nodeintensity7=110 | ||
nodeintensity8=146 | ||
nodeintensity9=147 | ||
nodeintensity10=182 | ||
nodeintensity11=183 | ||
nodeintensity12=219 | ||
nodeintensity13=220 | ||
nodeintensity14=255 | ||
[RGBA255] | ||
nodergba0=13|8|135|0 | ||
nodergba1=13|8|135|1 | ||
nodergba2=13|8|135|32 | ||
nodergba3=85|16|147|32 | ||
nodergba4=85|16|147|48 | ||
nodergba5=156|23|158|48 | ||
nodergba6=156|23|158|60 | ||
nodergba7=197|72|121|60 | ||
nodergba8=197|72|121|70 | ||
nodergba9=237|121|83|70 | ||
nodergba10=237|121|83|76 | ||
nodergba11=239|185|58|76 | ||
nodergba12=239|185|58|82 | ||
nodergba13=240|249|33|82 | ||
nodergba14=240|249|33|84 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=4 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=64 | ||
nodeintensity2=192 | ||
nodeintensity3=255 | ||
[RGBA255] | ||
nodergba0=68|1|84|0 | ||
nodergba1=49|104|142|56 | ||
nodergba2=53|183|121|80 | ||
nodergba3=253|231|37|88 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#Connectome Workbench: used with permission | ||
# https://github.com/Washington-University/workbench/tree/master/src/Palette | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=8 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=36 | ||
nodeintensity2=73 | ||
nodeintensity3=109 | ||
nodeintensity4=146 | ||
nodeintensity5=182 | ||
nodeintensity6=219 | ||
nodeintensity7=255 | ||
[RGBA255] | ||
nodergba0=0|0|80|0 | ||
nodergba1=0|0|170|36 | ||
nodergba2=75|0|125|73 | ||
nodergba3=125|0|160|109 | ||
nodergba4=75|125|0|146 | ||
nodergba5=0|200|0|182 | ||
nodergba6=0|255|0|219 | ||
nodergba7=0|255|255|255 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#Connectome Workbench: used with permission | ||
# https://github.com/Washington-University/workbench/tree/master/src/Palette | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=8 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=36 | ||
nodeintensity2=73 | ||
nodeintensity3=109 | ||
nodeintensity4=146 | ||
nodeintensity5=182 | ||
nodeintensity6=219 | ||
nodeintensity7=255 | ||
[RGBA255] | ||
nodergba0=60|0|0|0 | ||
nodergba1=100|0|0|36 | ||
nodergba2=150|0|0|73 | ||
nodergba3=200|0|0|109 | ||
nodergba4=255|0|0|146 | ||
nodergba5=255|120|0|182 | ||
nodergba6=255|200|0|219 | ||
nodergba7=255|255|0|255 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=18 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=15 | ||
nodeintensity2=30 | ||
nodeintensity3=45 | ||
nodeintensity4=60 | ||
nodeintensity5=75 | ||
nodeintensity6=90 | ||
nodeintensity7=105 | ||
nodeintensity8=120 | ||
nodeintensity9=135 | ||
nodeintensity10=150 | ||
nodeintensity11=165 | ||
nodeintensity12=180 | ||
nodeintensity13=195 | ||
nodeintensity14=210 | ||
nodeintensity15=225 | ||
nodeintensity16=240 | ||
nodeintensity17=255 | ||
[RGBA255] | ||
nodergba0=255|0|0|0 | ||
nodergba1=0|0|153|15 | ||
nodergba2=255|255|0|30 | ||
nodergba3=255|179|102|45 | ||
nodergba4=0|204|0|60 | ||
nodergba5=255|75 | ||
nodergba6=0|153|153|90 | ||
nodergba7=0|0|0|105 | ||
nodergba8=77|0|153|120 | ||
nodergba9=51|255|255|135 | ||
nodergba10=255|128|0|150 | ||
nodergba11=153|51|255|165 | ||
nodergba12=0|51|102|180 | ||
nodergba13=51|255|51|195 | ||
nodergba14=0|0|255|210 | ||
nodergba15=255|255|204|225 | ||
nodergba16=0|102|0|240 | ||
nodergba17=64|64|64|255 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.azimuthelevation(70, 15) | ||
gl.meshload('BrainMesh_ICBM152Right.mz3') | ||
gl.overlayload('motor_4t95vol.nii.gz') | ||
gl.overlayminmax(1,2,12) | ||
gl.overlayload('motor_4t95vol.nii.gz') | ||
gl.overlayminmax(2,-1,-2) | ||
gl.colorbarvisible(1) | ||
gl.overlaytransparencyonbackground(25) | ||
gl.meshcurv() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.meshload('BrainMesh_ICBM152Right.mz3') | ||
gl.overlayload('motor_4t95mesh.mz3') | ||
gl.overlaycolorname(1, 'red') | ||
gl.shaderxray(1.0, 0.3) | ||
gl.azimuthelevation(110, 15) | ||
gl.meshcurv() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import gl | ||
print(gl.__doc__) | ||
for key in dir( gl ): | ||
if not key.startswith('_'): | ||
x = getattr( gl, key ).__doc__ | ||
print(key+' (built-in function): ') | ||
print(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.meshload('BrainMesh_ICBM152Left_smoothed.mz3') | ||
gl.meshcurv() | ||
gl.shadername('hidecurves') | ||
gl.overlayload('CIT168.mz3') | ||
gl.shaderforbackgroundonly(1) | ||
gl.shaderadjust('curvthreshhi', 0.44) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.meshload('mni152_2009.mz3') | ||
gl.overlayload('motor_4t95mesh.mz3') | ||
gl.clipazimuthelevation(0.37, 0, 140) | ||
gl.shaderambientocclusion(0.5) | ||
gl.azimuthelevation(90, 20) | ||
gl.shaderxray(1.0, 0.3) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.meshload('BrainMesh_ICBM152Right.mz3') | ||
gl.meshcurv() | ||
gl.overlayminmax(1,-1,1) | ||
gl.overlaycolorname(1,'surface') | ||
gl.overlayinvert(1,1) | ||
gl.overlayload('motor_4t95vol.nii.gz') | ||
gl.overlaycolorname(2,'kelvin') | ||
gl.overlayminmax(2,2,7) | ||
gl.overlayload('scalp.mz3') | ||
gl.overlaycolorname(3,'gold') | ||
gl.shaderxray(1.0, 0.9) | ||
gl.meshoverlayorder(1) | ||
gl.colorbarvisible(0) | ||
gl.shaderambientocclusion(0.05) | ||
gl.azimuthelevation(90, 15) | ||
gl.clipazimuthelevation(0.5, 0, 90) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.meshload('BrainMesh_ICBM152Left.mz3') | ||
gl.edgeload('LPBA40.edge') | ||
gl.clipazimuthelevation(0.3, 0, 130) | ||
gl.nodesize(6, 1) | ||
gl.edgesize(3,1) | ||
gl.nodehemisphere(-1) | ||
gl.azimuthelevation(250, 35) | ||
gl.edgecolor('actc',1) | ||
gl.nodecolor('blue',1) | ||
gl.nodethresh(1.0,1.0) | ||
gl.edgethresh(0.5,1.0) | ||
gl.meshcurv() | ||
gl.overlayminmax(1,-1,1) | ||
gl.overlaycolorname(1,'surface') | ||
gl.overlayinvert(1,1) | ||
gl.overlaytranslucent(1, 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import gl | ||
gl.resetdefaults() | ||
kframesperrotation = 180 | ||
gl.meshcolor(210, 148, 148) | ||
gl.meshload('BrainMesh_ICBM152Left.mz3') | ||
gl.edgeload('LPBA40.edge') | ||
gl.clipazimuthelevation(0.3, 0, 130) | ||
gl.nodesize(6, 1) | ||
gl.edgesize(3,1) | ||
gl.nodehemisphere(-1) | ||
gl.azimuthelevation(250, 35) | ||
gl.edgecolor('actc',1) | ||
gl.nodecolor('red',1) | ||
gl.nodethresh(1.0,1.0) | ||
gl.edgethresh(0.5,1.0) | ||
for i in range(1, kframesperrotation * 5): | ||
s = 0.5 + (i+0.0)/72 | ||
if (s <= 1): | ||
gl.cameradistance(s) | ||
if ((i % kframesperrotation) == 0): | ||
rot = (i / kframesperrotation) | ||
if rot == 1: | ||
gl.shadername('metal') | ||
elif rot == 2: | ||
gl.shadername('wireframe') | ||
elif rot == 3: | ||
gl.shadername('toon') | ||
gl.shaderambientocclusion(0) | ||
else : | ||
gl.shadername('wire') | ||
gl.shaderforbackgroundonly(1) | ||
gl.azimuth( int(round(360.0/kframesperrotation))) | ||
gl.wait(20) |
Oops, something went wrong.