HOME GUIDE OPERATIONS DOCS FAQ TECHNIQUES FORMATS INSTALL NEW TIPS WEB LINKS WADSWORTH

AD F - Add two images with factors

(3/24/03)

PURPOSE

Adds the value in the first image times a factor to the value in he second image times a factor i.e. P3 = P1 * factor1 + P2 * factor2. The sum is placed in an output file.

SEE ALSO

AD [Add images]
AD R [Add two images with ratio]
AR [Arithmetic operation]

USAGE

.OPERATION: AD F

.INPUT FILE: PIC001
[Enter the name of the first file to be added. (Header positions from this file are transferred to output.)]

.NEXT INPUT FILE: PIC002
[Enter the name of the next file to be added. Can be same as first input file.]

.FACTORS FOR FIRST & SECOND FILES: X1, 1-X1

.OUTPUT FILE: PIC999
[Enter the name of the output file. Can be same as either input file]

NOTES

  1. Only works for files with the same dimensions.

  2. Does not work for Fourier files.

SUBROUTINES

UTIL2SUP, ADDFAC

CALLER

UTIL2

© Copyright Notice /       Enquiries: spider@wadsworth.org

BACK TO SPIDER BACK TO WADSWORTH