]> Creatis software - clitk.git/blob - tools/clitkDicomRTStruct2Image.ggo
From Benoit P, use clitkDicomRTStruct2Image with image with direction cosine
[clitk.git] / tools / clitkDicomRTStruct2Image.ggo
1 # file clitkDicomRTStruct2BinaryImage.ggo
2 package "clitk"
3 version "1.0"
4 description "Convert DICOM RT Structure Set (contours) to binary image"
5
6 option "config"       - "Config file"                                                           string  no
7 option "verbose"      v "Verbose"                                                               flag    off
8 option "verboseFile"  - "Verbose file content"                                                  flag    off
9 option "input"        i "Input Dicom file"                                                      string  yes
10 option "image"        j "Used to read image info (spacing, origin)"                             string  yes
11 option "output"       o "Output image base filename (roi number and extension will be append)"  string  yes
12 option "tolerance"    t "Tolerance for slice position"                                          double  no  default="0"
13
14 text "\nOutput options - the default output format is mhd"
15 option "crop"         c "Crop binary mask"                                                      flag off
16 option "mha"          - "Write the RTStruct as a mha image to avoid special character problems" flag off
17 option "nii"          - "Write the RTStruct as a nii image"                                     flag off
18 option "niigz"        - "Write the RTStruct as a gzipped nii image"                             flag off
19 option "vtk"          - "Write the vtk Mesh as a vtk file"                                      flag off
20
21 defgroup "ROI option" groupdesc="an option of this group is required"
22 groupoption "roi"           r "ROI number to binarize (if -1 = all roi)"                                                      int     no default="-1" group="ROI option"
23 groupoption "roiName"       n "ROI name to binarize (be wary of spaces in ROI names; if blank, use given 'roi' value)"        string  no default=""   group="ROI option"
24 groupoption "roiNameSubstr" s "Substring of ROI name to binarize (returns all matches; if blank, use given 'roiName' value)"  string  no default=""   group="ROI option"