Purpose: Produce Means and Standard Deviation statistical IMG files.

Format:   IMGSTATS    input file    mean file    std dev file    kernel size

Notes:     The  IMGSTATS  statement produces 2 floating point IMG output files of means and standard deviation statistics.  The  input file  parameter must be a valid IMG file. The  kernel size  parameter be an odd integer of 3 or greater.


getfile $inpfile “Select an input IMG file”
getfile $mfile “Select an output Means file”
getfile $sdfile “Select an output Std Dev file”

imgstats $inpfile $mfile $sdfile 3