help > How to view medial layout of surface
Showing 1-6 of 6 posts
Mar 30, 2020 08:03 PM | Kaitlin Cassady - University of Michigan - Ann Arbor
How to view medial layout of surface
Hello!
Is there a way to view a medial layout of the brain surface? The only views I can find are lateral left/right, posterior, anterior, superior and inferior.
Thank you!
Kaitlin
Is there a way to view a medial layout of the brain surface? The only views I can find are lateral left/right, posterior, anterior, superior and inferior.
Thank you!
Kaitlin
Mar 31, 2020 01:03 PM | Chris Rorden
RE: How to view medial layout of surface
If your brain mesh shows a single hemisphere, set the azimuth to
look at the medial surface
import gl
gl.resetdefaults()
gl.azimuthelevation(270, 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()
import gl
gl.resetdefaults()
gl.azimuthelevation(270, 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()
Mar 31, 2020 01:03 PM | Chris Rorden
RE: How to view medial layout of surface
If your brain mesh shows both hemispheres, apply a clip plane to
hide one hemisphere. You can paste the code below into the
'Scripting' panel on the right side, and choose Scripting/Run to
see the sample image. Typically, one can not define a perfect clip
plane between the two hemisphere due to asymmetries (Yakovlevian
torque)
import gl
gl.resetdefaults()
gl.meshload('mni152_2009')
gl.overlayload('motor_4t95mesh.mz3')
gl.clipazimuthelevation(0.5, 270, 0)
gl.shaderxray(1.0, 0.3)
gl.azimuthelevation(270, 15)
import gl
gl.resetdefaults()
gl.meshload('mni152_2009')
gl.overlayload('motor_4t95mesh.mz3')
gl.clipazimuthelevation(0.5, 270, 0)
gl.shaderxray(1.0, 0.3)
gl.azimuthelevation(270, 15)
Mar 31, 2020 01:03 PM | Chris Rorden
RE: How to view medial layout of surface
A final option is to use MRIcroGL instead of Surfice, if you have a voxel-based representation of
your data
import gl
gl.resetdefaults()
#open background image
gl.loadimage('spm152')
#open overlay: show positive regions
gl.overlayload('spmMotor')
gl.minmax(1, 4, 4)
gl.opacity(1,50)
gl.clipazimuthelevation(0.5, 270, 0)
import gl
gl.resetdefaults()
#open background image
gl.loadimage('spm152')
#open overlay: show positive regions
gl.overlayload('spmMotor')
gl.minmax(1, 4, 4)
gl.opacity(1,50)
gl.clipazimuthelevation(0.5, 270, 0)
Sep 16, 2022 02:09 PM | Houyou Fan - 首都医科大学 神经外科
RE: How to view medial layout of surface
Originally posted by Chris Rorden:
If your brain mesh shows a single hemisphere,
set the azimuth to look at the medial surface
import gl
gl.resetdefaults()
gl.azimuthelevation(270, 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()
Dear pro. Chris, do you know how to
file these hollows, to achieve a flat medial view of brain like the
figure attached.import gl
gl.resetdefaults()
gl.azimuthelevation(270, 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()
Sep 16, 2022 02:09 PM | Chris Rorden
RE: How to view medial layout of surface
You can convert voxelwise data to a mesh by using the "Advanced"
menu item "Convert voxelwise volume to a mesh", so you could use a
tool like MRIcroGL to crop a bilateral image to show one one
hemisphere. Alternatively, you could use a tool like FreeSurfer to
convert a brain image to a hemispheric mesh.