📜  fslsplit - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:14.002000             🧑  作者: Mango

代码示例1
#!/bin/sh

# Populate each subdirectory with slices of a 3D volume.
# Uses: Slice a tract mask and use these 2D roi cross-sections 
# to extract any tract measures and identify changes along the tract.
# In the examples, we populate appropriately named directories 
# with numbered slices:

fslsplit img ax/ax_ -z  # axial slices
fslsplit img sag/sag_ -x # sagittal slices 
fslsplit img cor/cor_ -y # coronal slices