]> Creatis software - clitk.git/blobdiff - tools/clitkVectorArithm.ggo
added clitkVectorArithm tool (correction in commit)
[clitk.git] / tools / clitkVectorArithm.ggo
diff --git a/tools/clitkVectorArithm.ggo b/tools/clitkVectorArithm.ggo
new file mode 100644 (file)
index 0000000..5c7d65e
--- /dev/null
@@ -0,0 +1,21 @@
+#File  clitkVectorArithm.ggo
+package "clitkVectorArithm"
+version "1.0"
+purpose "Perform an arithmetic operation (+-*/ ...) using two images or using an image and a scalar value."
+
+
+option "config"      - "Config file"                     string   no
+option "verbose"     v         "Verbose"                         flag     off
+option "imagetypes"  -  "Display allowed image types"    flag     off
+
+option "input1"           i    "Input first image filename"      string   yes
+option "input2"           j    "Input second image filename"     string   no
+option "output"    o   "Output image filename"           string   yes
+
+option "scalar"           s    "Scalar value"            double   no
+option "operation" t   "Type of operation : \n With another image : 0=add, 1=multiply (dotproduct), 7=difference, 9=crossproduct\n; For 'scalar' : 0=add, 1=multiply, 5=absval (magnitude), 6=squared magnitude, 11=divide, 12=normalize"      int default="0" no 
+option "pixelValue" -  "Default value for NaN/Inf"     double   default="0.0"  no
+
+option "setFloatOutput" f "Set output to float pixel type" flag off
+
+#option "binary"   b    "Mask for binary operation"  string     no