This program sets to Xvista variables mn and mn_file1 where file1 is the filename specified in the command line. It also sets the variable std_dev to the standard deviation of the file.
The nozero option tells the program to ignore pixels whose value equals zero from the calculation of the mean.
The program puts a line to stdout similar to the following:
mean=10.16 rms=9.89 sum=3169 npixels=312
mn alflyr circle=1
-
Computes the mean of file alflyr.fts over the region
defined by circle number
1.