This program evaluates the statistics of an image within a masked region of the image. Possible outputs are a summary statistics and a histogram of the values.
input image to be analyzed. For supported file types see Plugin type: 3dimage/io
mask image to use to restrict the analysis. For supported file types see Plugin type: 3dimage/io
File to write the summary statistics to as plain text.
File to write the histogram to
verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are:
|info:||Low level messages|
|trace:||Function call trace|
|fail:||Report test failures|
|fatal:||Report only fatal errors|
print copyright information
print this help
print a short help
print the version number and exit
Name of the structure the statistics are evaluated for
Number of pixels the mask should at least contain.
number of histogram bins to be used
lower bound for the histogram mapping. All values below this value will be mapped into the lowest bin. If this parameter is equal or larger than hmax, the histogram range is evaluated automatically.
hpper bound for the histogram mapping. All values above this valuewill be mapped into the highest bin. If this parameter is equal or smaller than hmin, the histogram range is evaluated automatically.
Maxiumum number of threads to use for processing,This number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation).
evaluate the summary statistics on the input and a histogram with 10 bins and automtically evaluated boundaries. Save summary in summary.txt and the histogram in hist.txt
mia-3dimagestatistics-in-mask --image image.v.gz --mask mask.v.gz --summary summary.txt --histogram hist.txt