open-discussion
open-discussion > MRIcroGL Visualization demos
Oct 6, 2019 05:10 PM | Mikolaj Pawlak
MRIcroGL Visualization demos
Dear Chris,
Thank you very much for creating MRIcroGL resource for visualization. I've created a spinning skull thickness image.
https://photos.app.goo.gl/PU4K2xws3aE9n1...
The script goes as follows:
import gl
gl.resetdefaults()
ktime= 40
ksteps= 180
gl.resetdefaults()
gl.loadimage('/Users/user/path/CT_Philips_thr300_bin_char_LocThk.img')
#adjust contrast to show thickness
gl.minmax(0, 0, 10)
gl.colorname(0,'blue2red')
for x in range(1, ksteps):
gl.azimuthelevation(0+(x*2),10)
gl.wait(ktime)
Q1: How do I capture a screenshot of every point in the loop using filename_number.extension?
Q2: How do you feel about having a gallery of the visualizations scripts? (Would be so much easier if people share their results)
thanks,
Mikolaj
Thank you very much for creating MRIcroGL resource for visualization. I've created a spinning skull thickness image.
https://photos.app.goo.gl/PU4K2xws3aE9n1...
The script goes as follows:
import gl
gl.resetdefaults()
ktime= 40
ksteps= 180
gl.resetdefaults()
gl.loadimage('/Users/user/path/CT_Philips_thr300_bin_char_LocThk.img')
#adjust contrast to show thickness
gl.minmax(0, 0, 10)
gl.colorname(0,'blue2red')
for x in range(1, ksteps):
gl.azimuthelevation(0+(x*2),10)
gl.wait(ktime)
Q1: How do I capture a screenshot of every point in the loop using filename_number.extension?
Q2: How do you feel about having a gallery of the visualizations scripts? (Would be so much easier if people share their results)
thanks,
Mikolaj
Threaded View
Title | Author | Date |
---|---|---|
Mikolaj Pawlak | Oct 6, 2019 | |
Andrew Sun | Feb 29, 2020 | |
warrenfelsh | Jan 11, 2021 | |
Chris Rorden | Mar 5, 2020 | |
Andrew Sun | Mar 6, 2020 | |
Chris Rorden | Mar 6, 2020 | |
Andrew Sun | Mar 6, 2020 | |
Chris Rorden | Mar 6, 2020 | |
Andrew Sun | Mar 10, 2020 | |
Chris Rorden | Mar 10, 2020 | |
Chris Rorden | Oct 7, 2019 | |
Mikolaj Pawlak | Oct 7, 2019 | |