FSLSTATS Volumen

#!/bin/sh

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

# Get the volume in cubic mm for a mask
fslstats mask -V | awk '{printf $2 "\n"}'
Troubled Tapir