1 #File clitkExtractLungs.ggo
2 package "clitkExtractLungs"
4 purpose "Segment lungs in CT image. Need 'patient' mask."
6 option "config" - "Config file" string no
7 option "imagetypes" - "Display allowed image types" flag off
8 option "verbose" v "Verbose" flag off
9 option "verboseStep" - "Verbose each step" flag off
10 option "writeStep" w "Write image at each step" flag off
11 option "verboseOption" - "Display options values" flag off
12 option "verboseWarningOff" - "Do not display warning" flag off
13 option "verboseMemory" - "Display memory usage" flag off
17 option "input" i "Input CT image filename" string yes
18 option "afdb" a "Output Anatomical Feature DB (Carina position)" string no
19 option "output" o "Output lungs mask filename" string yes
20 option "outputTrachea" t "Output trachea mask filename" string no
22 section "Step 1 : Air remove"
24 option "lower" - "Initial lower threshold" int no
25 option "upper" - "Initial upper threshold" int no default="-300"
26 option "minSize" - "Minimum component size in voxels" int no default="100"
27 #option "remove1" - "Labels not to keep in air mask (lungs)" int no multiple default="2"
28 #option "firstKeep1" - "First label to keep" int no default="1"
29 #option "lastKeep1" - "Last label to keep" int no
31 section "Step 2 : find trachea"
33 option "skipslices" - "Number of slices to skip before searching seed" int no default="0"
34 option "upperThresholdForTrachea" - "Initial upper threshold for trachea" double no default="-900"
35 option "multiplierForTrachea" - "Multiplier for the region growing" double no default="5"
36 option "thresholdStepSizeForTrachea" - "Threshold step size" int no default="64"
37 option "seed" - "Index of the trachea seed point" int no multiple
38 option "doNotCheckTracheaVolume" - "If set, do not check the trachea volume" flag off
39 option "verboseRG" - "Verbose RegionGrowing" flag off
41 section "Step 3 : auto extract lung"
43 option "bins" - "Number of bins to use for the Otsu thresholding" int no default="500"
44 # option "remove2" - "Labels not to keep in air mask (gas)" int no multiple
45 # option "firstKeep2" - "First label to keep" int no default="1"
46 # option "lastKeep2" - "Last label to keep" int no
48 section "Step 4 : remove trachea"
50 option "radius" - "Radius for dilation" int no default="1"
51 # option "remove3" - "Labels not to keep in lungs mask (trachea)" int no multiple
52 # option "firstKeep3" - "First label to keep" int no default="1"
53 # option "lastKeep3" - "Last label to keep" int no default="2"
55 section "Step 5 : [optional] openclose"
56 option "openclose" - "Perform an OpenClose operation" flag off
57 option "opencloseRadius" - "OpenClose radius" int no default="1"
59 section "Step 6 : fill holes"
60 option "doNotFillHoles" - "Do not fill holes if set" flag on
61 option "dir" d "Directions (axes) to perform filling (defaults to 2,1,0)" int multiple no