Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fslstats volume

#!/bin/sh

# Get the voxel count for a mask
fslstats mask -V | awk '{printf $1 "
"}'

# Get the volume in cubic mm for a mask
fslstats mask -V | awk '{printf $2 "
"}'
 
PREVIOUS NEXT
Tagged: #fslstats #volume
ADD COMMENT
Topic
Name
4+6 =