.MASK REFERENCE FILE: MAS002
[Enter mask reference file containing values between 0.0
and 1.0 (inclusive)]
.IMAGE (OVERWITTEN!) FILE: PIC001
[Enter name of image/volume file to be masked.]
NOTES
The image/volume will be overwritten by the masked one.
Effects of the mask: Values in the file are
A. Unchanged wherever the mask file has the value 1.0
B. Changed to the file average "AV" wherever the
mask file has the value 0.0
C. Altered at the mask edges wherever the value is
between 0 and 1, according to the following
formula:
NEW(K,I) = [OLD(K,I) - OLDAV] * MASK(K,I) + OLDAV
where: "NEW" is the masked image/volume
"OLD" is the unmasked image/volume
"MASK" is the continuous-valued mask
function
"OLDAV" is the average value of the old,
unmasked image/volume.