-h | Prints usage information. |
-f | Source file format. With simple file names, the format can be inferred from the file extension. |
-l | ITKSnap segmentation label description file (for stdin use -). |
-o | Output file. |
-b | Scub out non-alphanumeric characters replacing them with an underscore in the label name property. |
Reads a segmentation image and an optional ITKSnap segmentation label description file, then uses these to create a compound object with domains indexed as for the input image labels. If the label description file is provided then the objects will have their name and grey (for colour) properties set. By default files are read from the standard input (image before labels if the standard input is specified for the labels as well as the image).