Skip to content

Instantly share code, notes, and snippets.

@ilkayisik
Last active April 30, 2019 13:05
Show Gist options
  • Save ilkayisik/b9668c71dbc8fe62495399f92f32638e to your computer and use it in GitHub Desktop.
Save ilkayisik/b9668c71dbc8fe62495399f92f32638e to your computer and use it in GitHub Desktop.
freesurfer command to visualize the surface and the volume with defined edge colors
root=path/to/root
cd $root
sub=sub-01
freeview -v \
$sub/mri/T1.mgz \
$sub/mri/wm.mgz \
$sub/mri/brainmask.mgz \
$sub/mri/aseg.mgz:colormap=lut:opacity=0.2 \
-f \
$sub/surf/lh.white:edgecolor=blue \
$sub/surf/lh.pial:edgecolor=red \
$sub/surf/rh.white:edgecolor=blue \
$sub/surf/rh.pial:edgecolor=red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment