这个包处理脑束图像
tractograph的Python项目详细描述
[![许可证-GPL](https://img.shields.io/aur/license/yaourt.svg)](https://www.gnu.org/license s/gpl-3.0.txt)
tractograpy
安装:
>使用pip安装容易(推荐)
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `<
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` tractography.io import read ply中的两个bundle
`` python
从牵引图中写入_trk
。从牵引图中写入注册导入寄存器
,即从牵引图中导入draw_brain
读取束
数据1=读取束('target.ply')
数据2=读取束('subject.ply')
注册束
对齐束,mat=寄存器(target=data1,主题=数据2)
对齐的_bundle])
```
解析器')
parser.add_参数('-f',type=str,【文件的位置】
args=parser.parse_args()
data'data-path='data/'
data-path=args.f
files=[data-path+f for f if isfile(data-path+f)和f.endswith('.ply')
args=parser.parse=data-path=args.f
brain=[]
brain:
brain.brain.append(read(读)ply(名称))
dra绘大脑(大脑)
``
享受