Scalar Arithmetic (image-value math) ( IAArithmeticS )
Parameters:
Name |
Short Name |
Type |
Description |
Type |
type |
string |
+, -, *, /, POWER, ROOT, SQR, SQRT, LOG, EXP, AND, OR, XOR, NOT, MORPHDILATE, MORPHERODE |
Value |
value |
real |
|
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:
Calculates results of arithmetic operations for each pixel. For SQR, SQRT and NOT the operand is unised. SQR and SQRT are faster than using POWER and ROOT. Non-real or undetermined results are masked. MORPHDILATE MORPHERODE perform morphological reconstruction of the image decreased by value by dilation or erosion.
POWER, ROOT and LOG, warning for masking: masks have to be created as NAN (=0/0) values thus either using Image Arithmetic MASK operation or by multiplication and division using a binarized image. Infinite values created by division by zero appear also masked, but may gain finite values as rounding errors during LOG or POWER calculation.
Binary logical operators (AND, OR, XOR, NOT) are performed trivially for binary images. For non-binary images negative pixels are set to zero, and bitwise logical operations are performed on 32-bit integer values. The result of NOT is the negated least significant bit of the pixel value
Mathematica usage:
*types= +, -, *, /, POWER, ROOT, SQR, SQRT, LOG, EXP, AND, OR, XOR, NOT, MORPHDILATE, MORPHERODE