help
help > Problems with 3D overlay/render
Nov 1, 2019 01:11 PM | rtransform - Medical University of Vienna
Problems with 3D overlay/render
Hello everyone,
I have just recently started working wit MRIcroGL, so please excuse any obvious mistakes on my side.
I tried doing an overlay of PET images and structural data, first manually and after not being successful by using the following script from
https://www.nitrc.org/plugins/mwiki/inde...
import gl
gl.resetdefaults()
gl.loadimage('spm152')
#open overlay: show positive regions
gl.overlayload('spmMotor')
gl.minmax(1, 2, 4)
gl.opacity(1,50)
gl.colorname (1,"6warm")
#open overlay: show negative regions
gl.overlayload('spmMotor')
gl.minmax(2, -2, -4)
gl.colorname (2,"5winter")
gl.cutout(0.0, 0.50, 0.5, 0.75, 1.0, 1.0)
gl.shadername("overlaySurface")
In the multi- and single-planar images I can see the overlay, but not in the rendered/3D image '(see file attached).
I am running MRIcroGL 1.2.20190902++ on Windows 10 Home, .
Do you have any suggestions on how to deal with this problem?
Thank you very much!
Kind Regards,
Peter
I have just recently started working wit MRIcroGL, so please excuse any obvious mistakes on my side.
I tried doing an overlay of PET images and structural data, first manually and after not being successful by using the following script from
https://www.nitrc.org/plugins/mwiki/inde...
import gl
gl.resetdefaults()
gl.loadimage('spm152')
#open overlay: show positive regions
gl.overlayload('spmMotor')
gl.minmax(1, 2, 4)
gl.opacity(1,50)
gl.colorname (1,"6warm")
#open overlay: show negative regions
gl.overlayload('spmMotor')
gl.minmax(2, -2, -4)
gl.colorname (2,"5winter")
gl.cutout(0.0, 0.50, 0.5, 0.75, 1.0, 1.0)
gl.shadername("overlaySurface")
In the multi- and single-planar images I can see the overlay, but not in the rendered/3D image '(see file attached).
I am running MRIcroGL 1.2.20190902++ on Windows 10 Home, .
Do you have any suggestions on how to deal with this problem?
Thank you very much!
Kind Regards,
Peter
Threaded View
Title | Author | Date |
---|---|---|
rtransform | Nov 1, 2019 | |
rtransform | Dec 24, 2019 | |
Chris Rorden | Dec 24, 2019 | |
rtransform | Jan 4, 2020 | |
rtransform | Dec 21, 2019 | |
Chris Rorden | Dec 20, 2019 | |
Rie Asano | Dec 20, 2019 | |
Rie Asano | Dec 10, 2019 | |
Chris Rorden | Dec 15, 2019 | |
Rie Asano | Dec 16, 2019 | |
Chris Rorden | Nov 1, 2019 | |