]> Creatis software - clitk.git/blob - segmentation/clitkExtractLung.ggo
e91a2eaed9c79344301337273ca49f55369acd47
[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 "patient"       p        "Input patient mask filename"     string        yes
18 option "patientBG"   -  "Patient Background"              int           default="0" no
19 option "afdb"          a        "Output Anatomical Feature DB (Carina position)"    string      no
20 option "output"        o        "Output lungs mask filename"      string        yes
21 option "outputTrachea" t        "Output trachea mask filename"    string        no
22
23 section "Step 1 : Air remove"
24
25 option "lower"       -  "Initial lower threshold"                 double        no      
26 option "upper"       -  "Initial upper threshold"                 double        no      default="-300"
27 option "minSize"     -  "Minimum component size in voxels"        int           no      default="100"
28 option "remove1"     -  "Labels not to keep in air mask (lungs)"  int           no      multiple        default="2"
29 option "firstKeep1"  -  "First label to keep"                     int           no      default="1"
30 option "lastKeep1"   -  "Last label to keep"                      int           no      
31
32 section "Step 2 : find trachea"
33
34 option "skipslices"                  -  "Number of slices to skip before searching seed" int no default="0"
35 option "upperThresholdForTrachea"    -  "Initial upper threshold for trachea"  double   no  default="-900"
36 option "multiplierForTrachea"        -  "Multiplier for the region growing"    double   no  default="5"
37 option "thresholdStepSizeForTrachea" -  "Threshold step size"                  int      no  default="64"
38 option "seed"                        -  "Index of the trachea seed point"      int      no  multiple
39
40 section "Step 3 : auto extract lung"
41
42 option "bins"        -  "Number of bins to use for the Otsu thresholding"       int             no      default="500"   
43 option "remove2"     -  "Labels not to keep in air mask (gas)"    int           no      multiple
44 option "firstKeep2"  -  "First label to keep"                     int           no      default="1"
45 option "lastKeep2"   -  "Last label to keep"                      int           no      
46
47 section "Step 4 : remove trachea"
48
49 option "radius"      -  "Radius for dilation"                     int           no      default="1"
50 option "remove3"     -  "Labels not to keep in lungs mask (trachea)"    int             no      multiple
51 option "firstKeep3"  -  "First label to keep"                     int           no      default="1"
52 option "lastKeep3"   -  "Last label to keep"                      int           no      default="2"
53