Part of ants registration suite
GetConnectedComponentsFeatureImages \,imageDimension inputSegmentationImage outputImagePrefix\/