]> Creatis software - clitk.git/blobdiff - tools/clitkDicomRTStruct2Image.ggo
Merge branch 'master' of git.creatis.insa-lyon.fr:clitk
[clitk.git] / tools / clitkDicomRTStruct2Image.ggo
index d403f069524b7b112ceb67d19bb7b3eaad718f0a..8a09da1c5b4baa33a2e915d3eb303ae5a48c4e3c 100644 (file)
@@ -7,8 +7,12 @@ option "verbose"         v "Verbose"                        flag       off
 option "verboseFile"     - "Verbose file content"            flag      off
 option "input"          i "Input Dicom file"                string     yes
 option "image"          j "Used to read image info (spacing, origin)"    string        yes
-option "roi"            r "ROI to binarize (if -1 = all roi)"            int    no default="-1"
-option "output"                 o "Output image filename"       string yes
+option "output"                 o "Output image base filename (roi number and extension will be append)"        string yes
+
+defgroup "ROIoption" groupdesc="an option of this group is required" 
+groupoption "roi"     r "ROI to binarize (if -1 = all roi)"            int    no default="-1" group="ROIoption"
+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"
+groupoption "roiNameSubstr"     s "Substring of ROI name to binarize (reuturns all matches; if blank, use given 'roiName' value)"            string    no default="" group="ROIoption"
 
 option "crop"           c "Crop binary mask"            flag off