]> Creatis software - clitk.git/blobdiff - tools/clitkBinarizeImage.ggo
With ITK 5, add itkReadRawBytesAfterSwappingMacro and itkWriteRawBytesAfterSwappingMacro
[clitk.git] / tools / clitkBinarizeImage.ggo
index c974fe4a1888022b622a97a5e431315433c73367..3808d33f30967b4e51ba60caeac87ca71771bf2b 100644 (file)
@@ -1,15 +1,20 @@
 #File clitkBinarizeImage.ggo
-Package "clitkBinarizeImage"
+package "clitkBinarizeImage"
 version "1.0"
 purpose ""
 
 option "config"                -       "Config file"                     string        no
-option "imagetypes"    -       "Verbose available image type"    flag          off
 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 "inside"        -       "Inside value"                    double        no      default="1"
-option "outside"       -       "Outside value"                   double        no      default="0"
+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"  no default="both"
+
+
+option "percentage"                p   "Percentage of total pixels values (in %)" double no