HOME GUIDE OPERATIONS DOCS FAQ TECHNIQUES FORMATS INSTALL NEW TIPS WEB Wadsworth Labs

MM C - Mask Multiplication - Continuous

(4/19/97)

PURPOSE

Apply mask with soft edges to image/volume.

SEE ALSO

MA [Mask - image/volume with a circular mask]
MM [Mask Multiplication]

USAGE

.OPERATION: MM C

.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

  1. The image/volume will be overwritten by the masked one.

  2. 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.

SUBROUTINES

MASKMU

CALLER

UTIL2

© Copyright Notice /       Enquiries: spider@wadsworth.org