Image Arithmetic In Place ( IAImageAritmeticsIP )
Parameters:
Name |
Short Name |
Type |
Description |
Type |
type |
string |
+, -, *, /, MASK, AND, OR, XOR. Mask is multiplication followed by division by a binarized image. |
Frame range |
framerange |
string |
Set a range for partial processing of the image series as "start-end". Set "All" or leave blank to process all frames of the image series normally. |
Description:
Two operand arithmetic operation in place. Basic pixel-by-pixel calculations (add, subtract, multiply, divide, mask and binary operators) with two images. Image A is replaced with the result. Division by zero is masked. Use division by binarized images or "MASK" for masking. The "MASK" operation is multiplication followed by division by a binarized image. This sets pixels (in Image A) corresponding to zero in the binary image (Image B) to undefined (Null on NAN), so MASKed value. Timing is obtained from Image A.
Binary logical operators (AND, OR, XOR) are performed trivially between binary images. For non-binary images negative pixels are set to zero, and bitwise logical operations are performed on 32-bit integer values.
Mathematica usage:
*types= + - * / MASK