FS M - Find Statistics - within Mask

(7/31/13)

PURPOSE

To compute and print out the values of some statistical parameters (i.e. minimum, maximum, average, and standard deviation) of an image/volume within an area defined by a mask.   Example.

SEE ALSO

FS [Find Statistics]
MM [Mask Multiplication]
MO [Create Model image]

USAGE

.OPERATION: FS M [max],[min],[avg],[std]

[Find image info. This operation can return up to 4 optional register variables which contain:
Variable Example Receives
First [max] Maximum density in file
Second [min] Minimum density in file
Third [avg] Average density in file
Fourth [std] Standard deviation

.INPUT FILE NAME OR TEMPLATE (E.G. STK@****): IMG001
[Enter name of image file to be analyzed. If this is a whole stack then results are reported for all of the images in the stack.]

If the input file name contains a template for a set of images SPIDER asks:


.FILE NUMBERS OR SELECTION DOC. FILE NAME: SEL_DOC_001
[Enter the file numbers to be substituted into the file name template or name of a selection document file that contains the file numbers in the first register column.]

.MASK FILE: MSK001
[Enter name of file containing mask. Same mask is used for all images.]

NOTES

  1. The values of maximum and minimum density, average, and standard deviation are computed for those pixels only where the mask has values larger than 0.5.

  2. Mask file has to have exactly the same dimensions as input file.

  3. Deviation is obtained using number of pixels -1.

SUBROUTINES

NORMM

CALLER

UTIL1