Image math
Applies a mathematical operation to all pixels of the input image stack.
Description
Applies a mathematical operation to all pixels of the input image stack. Operations that can be performed are: Absolute, Add, Divide, Multiply, Square, Squareroot, Subtract
Parameters
Parameter | Description |
---|---|
Input image | Image from workspace to apply calculation to. This image can be of any bit depth. |
Apply to input image | When selected, the post-operation image will overwrite the input image in the workspace. Otherwise, the image will be saved to the workspace with the name specified by the "Output image" parameter. |
Output image | If "Apply to input image" is not selected, the post-operation image will be saved to the workspace with this name. |
Output 32-bit image | When enabled, the calculation will be performed on 32-bit float values. This is useful if the calculation is likely to create negative or decimal values. The output image will also be stored in the workspace as a 32-bit float image. |
Calculation | Controls the mathematical operation being applied to all pixels of this image. Choices are: Absolute, Add, Divide, Multiply, Square, Squareroot, Subtract |
Value source | For calculations that require a specific value (i.e. addition, subtraction, etc.) this parameter controls how the value is defined:
|
Image for measurement | If "Value source" is set to "Image measurement value", this is the image that the measurement will be taken from. It can be any image in the workspace, not necessarily the image to which the math operation is being applied. |
Measurement | If "Value source" is set to "Image measurement value", this is the measurement associated with the image specified by "Image for measurement" that will be used in the calculation. |
Value | If "Value source" is set to "Fixed value", this is the value that will be used in the calculation. |