]> Creatis software - clitk.git/blob - segmentation/clitkDecomposeAndReconstruct.ggo
a hopefully better option parser for vv
[clitk.git] / segmentation / clitkDecomposeAndReconstruct.ggo
1 #File clitkDecomposeAndReconstruct.ggo
2 package "clitkDecomposeAndReconstruct"
3 version "1.0"
4 purpose "Decompose through erosion, and reconstruct through dilation. Erode a binary image to decompose into different labels, keeping a record of the eroded regions (=erosion padding value). Dilate all labels of a label image  separately, only dilating the marked regions (erosion padding value)."
5
6 option "config"         -       "Config file"                     string        no
7 option "verbose"        v       "Verbose"                         flag          off
8
9 section "I/O"
10
11 option "input"          i       "Input image filename"            string        yes
12 option "output"         o       "Output image filename"           string        yes
13
14 section "Parameters"
15         
16 option "type"           t       "0=Erode to decompose(binary image) , 1=Dilate to reconstuct(label image) , 2= 1(0(x))"                 int             no      default="0"
17 option "full"           f       "Use full connectivity (1 side connected enough)"                               flag            on
18 option "fg"             -       "0: Foreground value (erode only this label)"                                   float           no                              
19 option "bg"             -       "1: Background value (ignore this label)"                                       float           no      default="0"             
20 option "pad"            -       "0,1: The erosion padding value"                                                float           no      default="-1"            
21 option "bound"          b       "0-1: Set borders to foreground"                                                flag            off 
22 option "radius"         r       "Use binary ball element with given radius"                                     int             no      multiple        default="1"             
23 option "new"            n       "0,2: Erode till at least n new labels appear"                                  int             no      default="1"             
24 option "max"            -       "1,2: Consider only the n largest labels (rest will be put to fg)"              int             no      default="10"            
25 option "min"            -       "0,2: Minimum number of erosions"                                               int             no      default="1"             
26 option "minSize"        -       "0,2: Minimum object size"                                              int             no      default="10"