Skip to content

Statistics

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

statistics

Purpose

This utility calculates some statistical information (avg, stddev, min & max) about images or volumes. The statistical output is processable directly bygnuplot. Statistics can be restricted to a masked area.

Usage


$ statistics [input] ...


Parameters

  • `` Input file, may be a selfile containing images or volume, or it may an individual image or volume
  • `` Save the statistics in an output docfile
  • `` Do not produce on screen information
  • `` Avoid applying the header when the image is read
  • `` Generates a mask with the given specifications. SeeMask for details
  • `` Show statistics with a shorter form
  • `` Also show the angles stored in the image headers
  • `` Save the masks generated for the selected regions with names:mask2D and`mask3D`

Examples and notes

Calculate statistics for all images in a selfile, including only those pixels inside a mask, and also showing the angles:


$ statistics -i g0ta.sel -mask mask.xmp  -show_angles



Format: Name ZxYxX min max avg stddev <rot tilt psi>
g0ta00001.xmp      40x 40    0.00972   23.13958  6.0062671  4.5024815  0.000e+00  0.000e+00  0.000e+00
g0ta00002.xmp      40x 40     0.0135  22.979053  6.1273956  4.3232908   -0.02195  7.1752858 -4.4213557
g0ta00003.xmp      40x 40    0.00052  23.075073  6.1548462  4.4185324  50.484497  13.192568  5.3582182
g0ta00004.xmp      40x 40    0.00284  22.968636  6.0893946  4.4305935  112.27727  2.2592173 -4.9685431
g0ta00005.xmp      40x 40    0.00311  23.040869  5.9709911   4.457603   175.3855 -1.5951099  4.1586528
g0ta00006.xmp      40x 40    0.01608  23.165062  6.0627551  4.5187697  231.51004  8.5219421 -1.4227229
g0ta00007.xmp      40x 40    0.01642  23.122177  6.0572343  4.4896326  290.15482  11.689285  1.9614701
g0ta00008.xmp      40x 40    0.01199  22.956175  6.1088805  4.4206181  339.80527  5.4582701  6.3777609
g0ta00009.xmp      40x 40    0.00074  23.491722  6.0448518  4.4466472    0.77749  23.060038    0.16307
g0ta00010.xmp      40x 40     0.0024  23.398567  6.0779767  4.4056931  31.529181  5.6837187 -5.0035334
==================================================
Total number of images/volumes: 10
                             0.00773  23.133692  6.0700593  4.4413862


--Main.SjorsScheres - 24 Apr 2007

Clone this wiki locally