Previous: Selected data processing facilities
Up: Selected data processing facilities
Next: CADD/CSUB/CDIV/CMULT - image/scalar arithmetic
Previous Page: Selected data processing facilities
Next Page: CADD/CSUB/CDIV/CMULT - image/scalar arithmetic
These programs perform the basic arithmetic operations on images, in all cases producing an image of the same type and shape as the two input images. They will operate on Integer*2, Integer*4, Real*4 and unsigned 2 byte integers (U*2) images. Raw CCD images are in U*2 format.
Each requires three, the first input image, the second input image and the output image. If omitted, they will be prompted for.
Adam:> SUB R1 R10 T1
ADD is the ``smartest'' of the programs at present. If it produces a result that can not fit into the data format, it will prompt you for an appropriate BSCALE factor. The other programs simply truncate the result.