在对JHU的 WMlable模板使用 fslview图形界面点击时显示的总是双侧,但是对于其他的模板则没有此问题,经查询,这是fslview的一个bug,替代的方法是使用fslmaths命令来借助于代码制作mask。 方法如下: Step 1: 打开fslview,然后打开一个模板作为背景(比如MNI_152模板),再打开一个想要选择的atlas,保存为模板,然后使用下边的命令把感兴趣的区域设置一下, fslmaths JuelichAtlas.nii.gz -thr 3 -uthr 5 CC.nii.gz This zeroes out any number below 3 or above 5. 紧接着,如果只是为了呈现,就不需要二值化;如果想要制作mask,再使用下面的命令二值化, Lastly, we need to binarize the image, again using fslmaths: fslmaths CC.nii.gz -bin CC_bin.nii.gz 参考链接: https://www.andysbrainblog.com/andysbrainblog/2017/6/2/creating-masks-from-the-juelich-atlas https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=fsl;d81dd48a.1409 https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0903&L=FSL&P=R8638 20190822
目标 :下载Internet Archive中的借阅类图书。 问题分析 : Internet Archive中的书一般历史久远,注册后只能借阅,不太方便。 测试 : 使用一些在线工具尝试acsm转pdf文件,未果。 转为借由acsm文件间接下载的方式。 亲测能用的方法 : 1.下载图书对应的acsm文件,方法为 修改url的链接 ,acsm文件很小,为2KB左右; 2.安装Adobe Digital Edition; 3.通过Adobe Digital Edition打开acsm文件,此时可以找到电脑中产生了一个你想要的图书的pdf文件,但因为是加密的,无法用正常的pdf阅读软件打开,接着进行下一步; 4.安装calibre,注意安装5.0版本之前的版本,因为最新版本不支持DeDRM插件; 5.安装完calibre软件后再下载[DeDRM插件]( Releases · apprenticeharper/DeDRM_tools (github.com) ),这里要 注意 下载对应适配calibre版本的DeDRM版本,下载后解压缩,并按照"首选项-插件-从文件加载插件"的步骤加载该插件; 6.DeDRM插件安装成功后接着用calibre打开加密的pdf文件,加载完毕,问题已搞定,通过calibre找到图书的pdf文件存放位置,会发现可以用正常的pdf阅读软件正常打开了。 参考链接: 1.reddit中给出的方法: (1) In archive org, some books can only be borrowed for 1 hour, these types of books do not have a download button as usual, does anyone know how to download these kind of books? : libgen (reddit.com) 2.下载图书的acsm文件: internet archive一小时借阅限制破解 - ericfoner (@ericfoner) (matters.news) 2.艺术史图书馆公众号给出的教程: Internet Archive中借阅类图书的下载和破解方法 (qq.com) 3.解决calibre安装DeDRM插件的问题: DeDRM_too...
有时候用 spm12的Display选项打开nifti之后发现nifti数据文件的数据类型是不一样的,比如int16和float32,会心生疑惑,两种数据类型对数据分析有影响吗? 事实上,nifti文件的大小就但等于dimensions乘以数据类型的长度,比如下图中数据大小应该是64 64 33*16=2162688位,换算成Kb应该是2162688/1024/8=264Kb,那我们再来看一下这个nifti文件的大小呢?如图所示,确实是265Kb。 至于nifti的int16与32float有什么区别,我觉得下面的这个回答还算满意(原文链接: https://afni.nimh.nih.gov/afni/community/board/read.php?1,137005,137007 ): giuseppe pagnoni Wrote: I have noticed that when copying NIFTI data (from a Philips scanner) with 3dcopy, an automatic conversion from INT16 to FLOAT32 seems to be taking place [...] But why is that happening? Is there a way to keep the original format? If the data are originally INT16, it seems to me that you waste a lot of disk space and computing time by doubling the size of the data right away. In my understanding int16 was used in AFNI in the old days, when disk space was expensive. Nowadays disk space is quite cheap, so it's not too much of an issue. When using int16, data is stored together with a min val...
评论
发表评论