Freesurfer学习笔记——Introduction to Freesurfer Output(输出简介)-练习题

Exercise 1

1.Open the subject’s aparc+aseg.mgz volume with a colormap of “lut”.

首先可以在数据文件夹中找到aparc+aseg.mgz

路径:tutorial_data_20190918_1558/buckner_data/tutorial_subjs/group_analysis_tutorial/004/mri/aparc+aseg.mgz

freeview -v \group_analysis_tutorial/004/mri/aparc+aseg.mgz:colormap=lut

2.Swap the view to sagittal(将视图交换为矢状)

3.Navigate with the arrow keys to find the right putamen(使用箭头键导航以找到正确的脑壳)?

Exercise 2

1.Open 004’s lh.pial surface, with the overlay named lh.thickness, set the overlay to display with a threshold of 1,2

freeview -f group_analysis_tutorial/004/surf/lh.pial:overlay=lh.thickness:overlay_threshold=1,2 --viewport 3d

# 注意:如果第一行命令后没有加 “\” 就不能两行命令同时运行,会报错。

2.Look up vertex 141813(查找顶点141813)

3.What is the thickness and label of this vertex?(该顶点的厚度和标签是多少?)

Exercise 3 

freeview -v 004/mri/wm.mgz:colormap=jet 004/mri/brainmask.mgz -f 004/surf/lh.pial:edgecolor=blue 004/surf/lh.white:edgecolor=red 

1.Right now it only opens the left hemisphere pial and white matter surfaces, alter it to open both for the right hemisphere as well, with colors that match the left hemisphere side.

freeview -v 004/mri/brainmask.mgz 004/mri/wm.mgz:colormap=jet:opacity=.2 -f 004/surf/lh.pial:edgecolor=blue 004/surf/lh.white:edgecolor=red 004/surf/rh.pial:edgecolor=blue 004/surf/rh.white:edgecolor=red

Exercise 4

中级-熟悉Unix和FreeView导航

从FreeView导出一系列图像并将它们缝合在一起以创建GIF。

1.从数据集中打开一些surface

2.用3D视图方式,右键单击窗口选择“隐藏所有切片”

3.在菜单file中选择Save Movie Frames 

4.如图所示新建一个输出目录

5.在终端中,进入到输出目录里   

//注:报错cd: string not in pwd    原因是路径中存在空格,解决办法:去掉空格或者在空格前加个转义字符“ \” 

6.运行命令:convert -delay .1 *.png brainanim.gif 

//Note: convert is from the ImageMagick library,需要自己安装。

//-delay  determines the gap between frames,  *.png  selects all png files in the working directory,  brainanim.gif  is the output name.

7.用火狐浏览器打开生成的GIF:firefox brainanim.gif 

---------------------------------------------------

 

注:安装ImageMagick步骤:

1.安装XQuartz-2.7.11.dmg

2.安装homebrew:https://brew.sh/

3.用homebrew命令来安装imagemagick:brew install imagemagick

 

//

 

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值