]> Creatis software - clitk.git/blobdiff - filters/clitkBinarizeImage.ggo
initial entry
[clitk.git] / filters / clitkBinarizeImage.ggo
index 41701b60fe9639ac08a18a5449f434540ecd8df6..6f9954882fb0eea73a3f1e47966307b34405f4b5 100644 (file)
@@ -1,19 +1,18 @@
 #File clitkBinarizeImage.ggo
-Package "clitkBinarizeImage"
+package "clitkBinarizeImage"
 version "1.0"
 purpose ""
 
 option "config"                -       "Config file"                     string        no
 option "verbose"       v       "Verbose"                         flag          off
-
 option "imagetypes"    -       "Display allowed image types"     flag          off
 
 option "input"         i       "Input image filename"            string        yes
 option "output"        o       "Output image filename"           string        yes
-option "lower"         l       "Lower intensity (default=min)"   double        no
-option "upper"         u       "Upper intensity (default=max)"   double        no
-option "fg"                    -       "Foreground (FG) value"           double        no      default="1"
-option "bg"                    -       "Background (BG) value"           double        no      default="0"
-option "setBG"                 -       "No FG, keep values from input"   flag          off
-option "setFG"                 -       "No BG, keep values from input"   flag          off
+option "lower"         l       "Lower intensity (default=min), fg is greater than this value"    double        no
+option "upper"         u       "Upper intensity (default=max), fg is lower than this value"      double        no
+
+option "fg"                    -       "Foreground (FG) or 'inside' value"               double        no      default="1"
+option "bg"                    -       "Background (BG) or 'ouside' value"               double        no      default="0"
+option "mode"          -       "Use FG and/or BG values (if FG, the BG is replaced by the input image values)" values="FG","BG","both"  default="both" required