next up previous contents index
Next: The MACROS / LOG Up: The IMAGE PROCESSING (GENERAL) Previous: The MATHS Sub-Menu


Example of Dividing One Image by Another

As an example of a typical binary operation on images, the division of image1.dat by image2.dat will be used. (Exactly the same logic applies to other binary operation on images.)

The following steps can be used:

  1. Enter the IMAGE PROCESSING (GENERAL) Interface.
  2. Use the INPUT command to input data from image2.dat
  3. Use the EXCHANGE command to place the data in the ``memory''.
  4. Use the INPUT command to input data from image1.dat
  5. Use the MATHS command to enter the MATHS sub-menu.
  6. Use the DIVIDE command to divide the current data by the ``memory'' data.

The result is left in the current data array, and the image2.dat data is left in the memory.

Note: The images can be input in the reverse order, but an additional EXCHANGE command will be necessary, so that the division is in the correct sense.

The same logic applies to the subtraction of two images. With the image addition and multiplication the order is not important.


next up previous contents index
Next: The MACROS / LOG Up: The IMAGE PROCESSING (GENERAL) Previous: The MATHS Sub-Menu
Andrew Hammersley
2004-01-09