fsl label code example
Example: fsl label
#!/bin/sh
# List co-ordinates of each labeled region in an atlas with fslstats.
# Use preoption -K < indexMask > will generate seperate n submasks from
# indexMask, for indexvalues 1..n where n is the maximum index value
# in indexMask, and generate statistics for each submask.
fslstats -K myLabelAtlas myLabelAtlas -x