#File clitkImageStatistics.ggo
package "clitkImageStatistics"
-version "1.0"
-purpose "Compute statistics on an image, or on part of an image specified by a mask and label(s)"
+version "2.0"
+#This tool supports multiple images on the input, or even 4D, but all images must be of the same type and dimensions.
+purpose "Compute statistics on an image, or on part of an image specified by a mask and label(s). The tool also supports multichannel images, which is useful, e.g., for vector fields. All channels are processed (separately) by default, but only one channel may be chosen."
-option "config" - "Config file" string no
-option "verbose" v "Verbose" flag off
+option "config" - "Config file" string no
+option "verbose" v "Verbose" flag off
-option "input" i "Input image filename" string yes
-option "mask" m "Mask image filename (uchar)" string no
-option "label" l "Label(s) in the mask image to consider" int no multiple default="1"
-option "histogram" - "Compute histogram, allows median calculation" string no
-option "bins" - "Number of histogram bins" int no default="100"
-option "lower" - "Lower histogram bound" double no default="-1000"
-option "upper" - "Upper histogram bound" double no default="1000"
+option "input" i "Input image filename" string no multiple
+option "channel" c "Image channel to be used in statistics (-1 to process all channels)" int no default="-1"
+option "mask" m "Mask image filename (uchar)" string no
+option "label" l "Label(s) in the mask image to consider" int no multiple default="1"
+option "localize" - "With verbose, write the index coordinates of the max and min" flag off
+option "histogram" - "Compute histogram, allows median calculation" string no
+option "dvhistogram" - "Compute dose volume histogram" string no
+option "bins" - "Number of histogram bins" int no default="100"
+option "lower" - "Lower histogram bound" double no default="-1000"
+option "upper" - "Upper histogram bound" double no default="1000"
+
+option "allow_resize" r "Resize mask if different from input" flag off