1 #File clitkImageArithm.ggo
2 package "clitkImageArithm"
4 purpose "Perform an arithmetic operation (+-*/ ...) using two images or using an image and a scalar value."
7 option "config" - "Config file" string no
8 option "verbose" v "Verbose" flag off
9 option "imagetypes" - "Display allowed image types" flag off
11 option "input1" i "Input first image filename" string yes
12 option "input2" j "Input second image filename" string no
13 option "output" o "Output image filename" string yes
15 option "scalar" s "Scalar value" double no
16 option "operation" t "Type of operation : \n With another image : 0=add*, 1=multiply, 2=divide,\n 3=max, 4=min, 5=absdiff, 6=squareddiff, 7=difference*, 8=relativ diff\n; For 'scalar' : 0=add*, 1=multiply*, 2=inverse,\n 3=max, 4=min 5=absval 6=squareval\n 7=log 8=exp 9=sqrt 10=EPID 11=divide* 12=normalize (divide by max) 13=-ln(I/IO)**; \n* operations supported with vector fields as inputs. \n** for fluence image, if pixel value == 0, consider value=0.5" int default="0" no
17 option "pixelValue" - "Default value for NaN/Inf" double default="0.0" no
19 option "setFloatOutput" f "Set output to float pixel type" flag off
21 #option "binary" b "Mask for binary operation" string no