-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhanced Metal support, improve support for foreign formats
- Loading branch information
1 parent
ae12e51
commit 0824e3d
Showing
75 changed files
with
8,672 additions
and
2,151 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,22 @@ | ||
[FLT] | ||
min=0 | ||
max=0 | ||
[INT] | ||
numnodes=7 | ||
[BYT] | ||
nodeintensity0=0 | ||
nodeintensity1=43 | ||
nodeintensity2=85 | ||
nodeintensity3=128 | ||
nodeintensity4=170 | ||
nodeintensity5=213 | ||
nodeintensity6=255 | ||
[RGBA255] | ||
nodergba0=255|0|0|0 | ||
nodergba1=255|255|0|14 | ||
nodergba2=0|255|0|28 | ||
nodergba3=0|255|255|43 | ||
nodergba4=0|0|255|57 | ||
nodergba5=255|0|255|71 | ||
nodergba6=255|0|0|85 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.loadimage('spm152') | ||
gl.backcolor(255, 255, 255) | ||
gl.mosaic("S R -0"); |
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.loadimage('spm152') | ||
#open overlay: show positive regions | ||
gl.overlayload('aal') | ||
gl.scriptformvisible(1) | ||
gl.overlayload('spmMotor') | ||
gl.minmax(2, 4, 4) | ||
#gl.orthoviewmm(37,-14,47) |
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,6 @@ | ||
import gl | ||
gl.resetdefaults() | ||
#open background image | ||
gl.loadimage('spm152') | ||
|
||
gl.scriptformvisible(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,18 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.loadimage('/Users/chris/src/dcm_qa/Ref/fMRI_MB_asc_25.nii') | ||
#gl.opacity(1,5) | ||
#gl.opacity(1,50) | ||
# | ||
# if (layer > 0) then | ||
# Vol1.UpdateOverlays(vols); | ||
#str = gl.atlaslabels(1) | ||
#print(str) | ||
#gl.minmax(1, 4, 100) | ||
|
||
|
||
#gl.overlayload('aal') | ||
# | ||
|
||
#gl.generateclusters(0) | ||
#gl.generateclusters(0, 0.5, 32, 1, 0) |
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.loadimage('/Users/chris/Neuro/MRIcroGLold/templates/inia19-NeuroMaps.nii.gz') | ||
gl.scriptformvisible(1) | ||
gl.atlashide(0) | ||
gl.atlasshow(0, 151,153,129) | ||
gl.atlasshow(0, 1215,1,3,7) | ||
print('Regions '+ str(gl.atlasmaxindex(0)) ) | ||
#print(gl.atlaslabels(0)) |
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 @@ | ||
import gl | ||
gl.resetdefaults() | ||
gl.loadimage('spm152') | ||
#open overlay: show positive regions | ||
gl.overlayload('aal') | ||
gl.scriptformvisible(1) | ||
gl.atlashide(1) | ||
gl.atlasshow(1, 17) | ||
gl.atlasshow(1, 22) | ||
mx = gl.atlasmaxindex(1) | ||
print(mx) | ||
#gl.opacity(1,50) | ||
# | ||
# if (layer > 0) then | ||
# Vol1.UpdateOverlays(vols); | ||
#str = gl.atlaslabels(1) | ||
#print(str) | ||
#gl.minmax(1, 4, 100) | ||
|
||
|
||
#gl.overlayload('aal') | ||
# | ||
|
||
#gl.generateclusters(0) | ||
#gl.generateclusters(0, 0.5, 32, 1, 0) |
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
Oops, something went wrong.