]> Creatis software - clitk.git/blob - segmentation/clitkExtractLung.ggo
ddc1fe71bb1c9a1b33b5c3cfa26651193bf837b0
[clitk.git] / segmentation / clitkExtractLung.ggo
1 #File clitkExtractLungs.ggo
2 package "clitkExtractLungs"
3 version "1.0"
4 purpose "Segment lungs in CT image. Need 'patient' mask."
5
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
14 section "I/O"
15
16 option "input"         i        "Input CT image filename"         string        yes
17 option "afdb"          a        "Output Anatomical Feature DB (Carina position)"  string  no
18 option "output"        o        "Output lungs mask filename"      string        yes
19 option "outputTrachea" t        "Output trachea mask filename"    string        no
20
21 section "Step 1 : Air remove"
22
23 option "lower"       -  "Initial lower threshold"                 double        no      
24 option "upper"       -  "Initial upper threshold"                 double        no      default="-300"
25 option "minSize"     -  "Minimum component size in voxels"        int           no      default="100"
26 option "remove1"     -  "Labels not to keep in air mask (lungs)"  int           no      multiple        default="2"
27 option "firstKeep1"  -  "First label to keep"                     int           no      default="1"
28 option "lastKeep1"   -  "Last label to keep"                      int           no      
29
30 section "Step 2 : find trachea"
31
32 option "skipslices"                  -  "Number of slices to skip before searching seed" int no default="0"
33 option "upperThresholdForTrachea"    -  "Initial upper threshold for trachea"  double   no  default="-900"
34 option "multiplierForTrachea"        -  "Multiplier for the region growing"    double   no  default="5"
35 option "thresholdStepSizeForTrachea" -  "Threshold step size"                  int      no  default="64"
36 option "seed"                        -  "Index of the trachea seed point"      int      no  multiple
37
38 section "Step 3 : auto extract lung"
39
40 option "bins"        -  "Number of bins to use for the Otsu thresholding"       int             no      default="500"   
41 option "remove2"     -  "Labels not to keep in air mask (gas)"    int           no      multiple
42 option "firstKeep2"  -  "First label to keep"                     int           no      default="1"
43 option "lastKeep2"   -  "Last label to keep"                      int           no      
44
45 section "Step 4 : remove trachea"
46
47 option "radius"      -  "Radius for dilation"                     int           no      default="1"
48 option "remove3"     -  "Labels not to keep in lungs mask (trachea)"    int             no      multiple
49 option "firstKeep3"  -  "First label to keep"                     int           no      default="1"
50 option "lastKeep3"   -  "Last label to keep"                      int           no      default="2"
51
52 section "Step 5 : [optional] openclose"
53 option "openclose"              -  "Perform an OpenClose operation"             flag off
54 option "opencloseRadius"        -  "OpenClose radius"                           int no default="1"
55
56 section "Step 6 : fill holes"
57 option "doNotFillHoles"         -  "Do not fill holes if set"                 flag on
58 option "dir"                    d  "Directions (axes) to perform filling (defaults to 2,1,0)"   int multiple no
59