fsl atlas code example
Example: fsl atlas
#!/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