Image calculator
Description
Apply pixel-wise intensity calculations for two images of matching dimensions.Note: Images to be processed must have matching spatial dimensions and intensity bit-depths.
Parameters
- Input image 1
- Description: First image to be processed as part of calculation.
- Type: InputImageP
- Input image 2
- Description: Second image to be processed as part of calculation.
- Type: InputImageP
- Overwrite mode
- Description: Controls how the resultant image should be output.
- "Create new image" (default) will create a new image and save it to the workspace.
- "Overwrite image 1" will overwrite the first input image with the output image. The output image will retain all measurements from the first input image
- "Overwrite image 2" will overwrite the second input image with the output image. The output image will retain all measurements from the second input image - Type: ChoiceP
- Default value: Create new image
- Choices:
- Create new image
- Overwrite image 1
- Overwrite image 2
- Description: Controls how the resultant image should be output.
- Output image
- Description: Name of the output image created during the image calculation. This image will be added to the workspace.
- Type: OutputImageP
- Output 32-bit image
- Description: 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.
- Type: BooleanP
- Default value: false
- Calculation method
- Description: The calculation to apply to the two input images.
- Type: ChoiceP
- Default value: Add image 1 and image 2
- Choices:
- Add image 1 and image 2
- Difference of image 1 and image 2
- Divide image 1 by image 2
- Maximum of image 1 and image 2
- Mean of image 1 and image 2
- Minimum of image 1 and image 2
- Multiply image 1 and image 2
- Subtract image 2 from image 1
- Set NaN values to zero
- Description: If input images are 32-bit (or are being converted to 32-bit via "Output 32-bit image" option) the output image can contain NaN (not a number) values in place of any zeros.
- Type: BooleanP
- Default value: false