1 # file clitkDicomRTStruct2BinaryImage.ggo
3 version "Convert DICOM RT Structure Set (contours) to binary image"
5 option "config" - "Config file" string no
6 option "verbose" v "Verbose" flag off
7 option "verboseFile" - "Verbose file content" flag off
8 option "input" i "Input Dicom file" string yes
9 option "image" j "Used to read image info (spacing, origin)" string yes
10 option "output" o "Output image filename" string yes
12 defgroup "ROIoption" groupdesc="an option of this group is required"
13 groupoption "roi" r "ROI to binarize (if -1 = all roi)" int no default="-1" group="ROIoption"
14 groupoption "roiName" n "ROI name to binarize (be wary of spaces in ROI names; if blank, use given 'roi' value)" string no default="" group="ROIoption"
15 groupoption "roiNameSubstr" s "Substring of ROI name to binarize (reuturns all matches; if blank, use given 'roiName' value)" string no default="" group="ROIoption"
17 option "crop" c "Crop binary mask" flag off
19 #option "roi" r "ROI to print (ID)" int no
20 #option "contour" c "contour to print (ID)" int no
21 #option "offset" o "to display points as image offsets" flag off