Image Arithmetic Single Frame ( IAImageArithmeticSF )
Parameters:
Name |
Short Name |
Type |
Description |
Type |
type |
string |
A+B, A-B, B-A, A*B, A/B, B/A, "MASK with A","MASK with B", AND, OR, XOR |
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:
Performs arithmetic operations between all images of the series A and the first image of image B by creating a new image, with equal frame number to A. Basic pixel-by-pixel calculations (add, subtract, multiply, divide, mask and binary operators) with two images. Division by zero is masked. Use division by binarized images 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.
Image B does not have to be linked to Image A, but must have the same x,y dimensions.
Mathematica usage:
*types= A+B, A-B, B-A, A*B, A/B, B/A, "MASK with A","MASK with B", AND, OR, XOR