meta data for this page
  •  

ImageMath

The “Image”Math” module reads in two images, an “input” image and an “operation” image. The two are combined mathematically. For example, in the image below, the links show that the image on the left of the ImageMath module is the “input” image and the image on the top is the “op” image.

The ”operation” selected is “div”, or divide. The output image will be the input image divided by the op image.

The other mathematical operations are to “add”, “subtract”, and “multiply”. The operations of “max” and “min” will compare each pixel with the other image and output the max or min value. The “mod” (modulation) computes the ratio of the difference of the max and min, divided by the sum.

If two “scale_factors” are entered then the two images are scaled individually before the mathematical operation is applied.

If only one image is attached, the operation is performed between the input image and the entered “values”.