Woolz Image Processing
Version 1.7.5
|
WlzExtFFImportITKSnapSeg [-h] [-o<output file>] [-f<image format>] [-l<label file>] [-b] [<segmentation image>]
-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. |
WlzExtFFImportITKSnapSeg -l seg.txt seg.nii | WlzExplode -pReads the segmentation image from seg.nii using the NIfTI format (inferred from file extension) and the label descriptions in ITKSnap text format from seg.txt. These are then used to create a compound object which is written via a pipe to WlzExplode. WlzExplode creates seperate Woolz domain files, each with the file body of the label description text.