.MASK FILE: MASK000
[Enter name of mask file containing values between 0.0
and 1.0 (inclusive)]
.IMAGE (
[Enter name of image/volume to be masked. This
image/volume file will be overwritten by the masked
output image. Non-statistical header values from this file will be retained.]
NOTES
The image/volume will be overwritten by the masked one.
Effects of the mask: Values in the masked 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 masked image/volume.
'OLD' is unmasked image/volume.
'MASK' is continuous-valued mask function
'OLDAV' is average value of old,
unmasked image/volume.