Supported arithmetic or logic pixel-wise operators. More...


Static Public Attributes | |
| int | Copy = 0 |
| Sheer copy. | |
| int | Invert = 1 |
| Complement. | |
| int | Add = 2 |
| Saturated addition. | |
| int | Subtract = 3 |
| Saturated subtraction. | |
| int | Multiply = 4 |
| Saturated multiplication. | |
| int | Divide = 5 |
| Saturated division. | |
| int | Modulo = 6 |
| Modulo. | |
| int | ShiftLeft = 7 |
| Arithmetic left shift (multiplication by a power of 2). | |
| int | ShiftRight = 8 |
| Arithmetic right shift (division by a power of 2). | |
| int | ScaledAdd = 9 |
| Non saturating addition ((left + right) / 2). | |
| int | ScaledSubtract = 10 |
| Non saturating subtraction ((left + complemented right) / 2). | |
| int | ScaledMultiply = 11 |
| Non saturating multiplication (left * right / 256 in the BW8 case, and left * right / 65,536 in the BW16 one). | |
| int | ScaledDivide = 12 |
| Non saturating division (256 * left / right in the BW8 case, and 65,536 * left / right in the BW16 one). | |
| int | BitwiseAnd = 13 |
| Bitwise AND. | |
| int | BitwiseOr = 14 |
| Bitwise OR. | |
| int | BitwiseXor = 15 |
| Bitwise exclusive OR. | |
| int | LogicalAnd = 16 |
| Logical AND (non zero is true). | |
| int | LogicalOr = 17 |
| Logical OR (non zero is true). | |
| int | LogicalXor = 18 |
| Logical exclusive OR (non zero is true). | |
| int | Min = 19 |
| Minimum. | |
| int | Max = 20 |
| Maximum. | |
| int | SetZero = 21 |
| Copy the right operand where the left operand is zero. | |
| int | SetNonZero = 22 |
| Copy the right operand where the left operand is non zero. | |
| int | Equal = 23 |
| Equality comparison. | |
| int | NotEqual = 24 |
| Non equality comparison. | |
| int | GreaterOrEqual = 25 |
| "Greater or equal" comparison. | |
| int | LesserOrEqual = 26 |
| "Lesser or equal" comparison. | |
| int | Greater = 27 |
| "Greater" comparison. | |
| int | Lesser = 28 |
| "Lesser" comparison. | |
| int | Compare = 33 |
| Absolute value of the difference. | |
| int | Overlay = 34 |
| Overlay of one image onto a source image giving a destination image. | |
| int | BitwiseNot = 1 |
| Same as eVision.EArithmeticLogicOperation.Invert. | |
| int | Average = 9 |
| Same as eVision.EArithmeticLogicOperation.ScaledAdd. | |
Supported arithmetic or logic pixel-wise operators.
Remarks:
(*) Not applicable for the BW1 images/ROIs.
(**) In the overlay image, black pixels (0 valued) are considered as transparent. If a C24 image is used as overlay, all pixels (but the black ones) will be copied to the destination image. If a BW8 image is used as overlay, all non-black pixels will be converted to the color defined by the OverlayColor parameter before copy to the destination image. The destination image is always a C24 image. If no source image is given (only overlay and destination), the destination image is considered as the source image.
|
static |
Saturated addition.
(*)
|
static |
Same as eVision.EArithmeticLogicOperation.ScaledAdd.
(*)
|
static |
Bitwise AND.
|
static |
|
static |
Bitwise OR.
|
static |
Bitwise exclusive OR.
|
static |
Absolute value of the difference.
(*)
|
static |
Sheer copy.
|
static |
Saturated division.
(*)
|
static |
Equality comparison.
(*)
|
static |
"Greater" comparison.
(*)
|
static |
"Greater or equal" comparison.
(*)
|
static |
Complement.
(*)
|
static |
"Lesser" comparison.
(*)
|
static |
"Lesser or equal" comparison.
|
static |
Logical AND (non zero is true).
(*)
|
static |
Logical OR (non zero is true).
(*)
|
static |
Logical exclusive OR (non zero is true).
(*)
|
static |
Maximum.
(*)
|
static |
Minimum.
(*)
|
static |
Modulo.
(*)
|
static |
Saturated multiplication.
(*)
|
static |
Non equality comparison.
(*)
|
static |
Overlay of one image onto a source image giving a destination image.
(See note at the end of the topic). (*) (**)
|
static |
Non saturating addition ((left + right) / 2).
(*)
|
static |
Non saturating division (256 * left / right in the BW8 case, and 65,536 * left / right in the BW16 one).
(*)
|
static |
Non saturating multiplication (left * right / 256 in the BW8 case, and left * right / 65,536 in the BW16 one).
(*)
|
static |
Non saturating subtraction ((left + complemented right) / 2).
(*)
|
static |
Copy the right operand where the left operand is non zero.
|
static |
Copy the right operand where the left operand is zero.
|
static |
Arithmetic left shift (multiplication by a power of 2).
(*)
|
static |
Arithmetic right shift (division by a power of 2).
(*)
|
static |
Saturated subtraction.
(*)