FreeSurfer使用(1)

下载数据:

curl https://surfer.nmr.mgh.harvard.edu/pub/data/tutorial_data.tar.gz -o tutorial_data.tar.gz
tar -xzvf tutorial_data.tar.gz

英文版FreeSurfer Tutorials:
http://surfer.nmr.mgh.harvard.edu/fswiki/Tutorials

每次处理图像之前,定义路径

export TUTORIAL_DATA=/Users/yourname/tutorial_data/
cd $TUTORIAL_DATA
export SUBJECTS_DIR=$TUTORIAL_DATA/buckner_data/tutorial_subjs
cd $SUBJECTS_DIR

load several output volumes, such as brainmask.mgz and wm.mgz; the surfaces, rh.white and lh.white; and the subcortical segmentation, aseg.mgz.

freeview -v \
good_output/mri/T1.mgz \
good_output/mri/wm.mgz \
good_output/mri/brainmask.mgz \
good_output/mri/aseg.mgz:colormap=lut:opacity=0.2 \
-f good_output/surf/lh.white:edgecolor=blue \
good_output/surf/lh.pial:edgecolor=red \
good_output/surf/rh.white:edgecolor=blue \
good_output/surf/rh.pial:edgecolor=red

Some notes on the above command line:

  • good_output is the name of the subject

  • The flag -v is used to open some of the most commonly used volumes including:

    • brainmask.mgz : skull-stripped volume primarily used for troubleshooting

    • wm.mgz : white matter mask also used for troubleshooting

    • aseg.mgz : subcortical segmentation loaded with its corresponding color table and at a low opacity. For more information on the subcortical segmentation, see here.

  • The flag -f is used to load surfaces

    • white & pial surfaces are loaded for each hemisphere & with color indicated by 'edgecolor'

结果应该如图:


截屏2020-03-0921.48.44.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • This is a pre-print version. Official version: http://rsi...
    hydro阅读 645评论 0 0
  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,938评论 0 0
  • 随着年龄的增长,逐渐发现,人与人之间的关系缺少了童年朋友之间的清澈透明、简单而美丽,人与人相互交织产生关系,仿佛是...
    sulyeon阅读 212评论 0 0
  • 光照基础 在现实世界中的光照是极其复杂的,而且会受诸多因素的影响,这在计算机上无法完全模拟的。所以在OpenGL当...
    velue阅读 550评论 0 0
  • 昨天接触到了一本叫《你只是看起来很努力》的书,内心感触很深,没有目标没有计划的努力真的只是看起来很努力,每天忙忙碌...
    59938da29d24阅读 151评论 0 2