option "writeStep" w "Write image at each step" flag off
option "verboseOption" - "Display options values" flag off
option "verboseWarningOff" - "Do not display warning" flag off
+option "verboseMemory" - "Display memory usage" flag off
section "I/O"
-option "patient" p "Input patient mask filename" string yes
-option "patientBG" - "Patient Background" int default="0" no
-option "bones" b "Input bones mask filename" string yes
-option "bonesBG" - "Bones Background" int default="0" no
-option "lung" l "Input lung mask filename" string yes
-option "lungBG" - "Lung Background" int default="0" no
-option "lungLeft" - "Lung Left value" int default="1" no
-option "lungRight" - "Lung Right value" int default="2" no
-option "trachea" t "Input trachea mask filename" string yes
-option "tracheaBG" - "Trachea Background" int default="0" no
+option "input" i "Input CT filename" string yes
+option "output" o "Output lungs mask filename" string yes
+option "afdb" a "Input Anatomical Feature DB (needs Patient, Lungs, Trachea, VertebralBody)" string no
+option "relpos" - "List of filenames for relativeposition operations" string no multiple
-option "output" o "Output lungs mask filename" string yes
+option "useBones" - "If set : do use bones mask (when image is not injected)" flag off
+option "maxAntSpine" - "Distance max to anterior part of the VertebralBody (spine) in mm" double no default="10"
-section "Step 1 : Left/Right limits with lungs"
-
-option "spacing" - "Intermediate resampling spacing" double no default="6"
-option "fuzzy1" - "Fuzzy relative position threshold" double no default="0.6"
-
-section "Step 2 : Ant/Post limits with bones"
-
-option "fuzzy2" - "Fuzzy relative position threshold" double no default="0.6"