HOME GUIDE OPERATIONS DOCS ERRORS FORMATS INSTALL NEW TIPS WEB SITES

MM C - Mask Multiplication - Continuous

(4/19/97)

PURPOSE

Apply mask with soft edges to images or volumes according to a reference file.

SEE ALSO

MA [mask]
MM [mask multiplication]

USAGE

.OPERATION: MM C

.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

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

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

SUBROUTINES

MASKMU

CALLER

UTIL2

© Copyright Notice /       Enquiries: spider@wadsworth.org