Addition and Subtraction

The program add adds (or subtracts) two images in KUIM format. (see code)

Command Usage

add [options] infile1 infile2 outfile
    [-d]   Print debugging information
    [-a #] First image weight (1)
    [-b #] Second image weight (-1)

Example

gauss input1.im input2.im
add input1.im input2.im add.im
disp input1.im input2.im
disp add.im