使用bet2工具进行颅骨去除操作

使用FSL下的bet2工具

$ bet2   [options]
$ bet2 T1.nii.gz skull_brain.nii.gz -f 0.15

使用linux下parallel操作,并行去除颅骨操作

parallel --xapply bet2 {1} ./{2}/skull_brain.nii.gz -f 0.15 :::: f.txt :::: sub.txt 

其中f.txt表示要进行头骨去除操作的NIfTI文件
sub.txt表示存储的目录

Main bet2 options:
-o generate brain surface outline overlaid onto original image

-m generate binary brain mask

-s generate rough skull image (not as clean as what betsurf generates)

-n don't generate the default brain image output

-f  fractional intensity threshold (0->1); default=0.5; smaller values give larger brain outline estimates

-g  vertical gradient in fractional intensity threshold (-1->1); default=0; positive values give larger brain outline at bottom, smaller at top

-r  head radius (mm not voxels); initial surface sphere is set to half of this

-c < x y z> centre-of-gravity (voxels not mm) of initial mesh surface.

-t apply thresholding to segmented brain image and mask

-e generates brain surface as mesh in .vtk format.```

你可能感兴趣的:(使用bet2工具进行颅骨去除操作)