XVista manual page

NAME

mul - to multiply image files

SYNOPSIS

mul file1 [file2] [const=] [div=] [box=] [outfile=]

DESCRIPTION

This routine computes the product of the data in file1.fts and (if specified) file2.fts. The full evaluation is

output = (const*file1*file2) / (div)

Note that a 32 bit integer buffer is used for each pixel. However the input and output data are written as 16 bit signed integers. To multiply by a non-integral quantity, one must use both constand div.

The box switch restricts the range of the division to the area of the image(s) inside the specified box.

The resultant image is written into file1.fts unless overridden by the outfile option

SEE ALSO

div