EArithmeticLogicOperation Enum

Supported arithmetic or logic pixel-wise operators.

Namespace: Euresys::Open_eVision

EArithmeticLogicOperation_Copy
Sheer copy.
EArithmeticLogicOperation_Invert
Complement. (*)
EArithmeticLogicOperation_Add
Saturated addition. (*)
EArithmeticLogicOperation_Subtract
Saturated subtraction. (*)
EArithmeticLogicOperation_Multiply
Saturated multiplication. (*)
EArithmeticLogicOperation_Divide
Saturated division. (*)
EArithmeticLogicOperation_Modulo
Modulo. (*)
EArithmeticLogicOperation_ShiftLeft
Arithmetic left shift (multiplication by a power of 2). (*)
EArithmeticLogicOperation_ShiftRight
Arithmetic right shift (division by a power of 2). (*)
EArithmeticLogicOperation_ScaledAdd
Non saturating addition ((left + right) / 2). (*)
EArithmeticLogicOperation_ScaledSubtract
Non saturating subtraction ((left + complemented right) / 2). (*)
EArithmeticLogicOperation_ScaledMultiply
Non saturating multiplication (left * right / 256 in the BW8 case, and left * right / 65,536 in the BW16 one). (*)
EArithmeticLogicOperation_ScaledDivide
Non saturating division (256 * left / right in the BW8 case, and 65,536 * left / right in the BW16 one). (*)
EArithmeticLogicOperation_BitwiseAnd
Bitwise AND.
EArithmeticLogicOperation_BitwiseOr
Bitwise OR.
EArithmeticLogicOperation_BitwiseXor
Bitwise exclusive OR.
EArithmeticLogicOperation_LogicalAnd
Logical AND (non zero is true). (*)
EArithmeticLogicOperation_LogicalOr
Logical OR (non zero is true). (*)
EArithmeticLogicOperation_LogicalXor
Logical exclusive OR (non zero is true). (*)
EArithmeticLogicOperation_Min
Minimum. (*)
EArithmeticLogicOperation_Max
Maximum. (*)
EArithmeticLogicOperation_SetZero
Copy the right operand where the left operand is zero.
EArithmeticLogicOperation_SetNonZero
Copy the right operand where the left operand is non zero.
EArithmeticLogicOperation_Equal
Equality comparison. (*)
EArithmeticLogicOperation_NotEqual
Non equality comparison. (*)
EArithmeticLogicOperation_GreaterOrEqual
"Greater or equal" comparison. (*)
EArithmeticLogicOperation_LesserOrEqual
"Lesser or equal" comparison.
EArithmeticLogicOperation_Greater
"Greater" comparison. (*)
EArithmeticLogicOperation_Lesser
"Lesser" comparison. (*)
EArithmeticLogicOperation_Compare
Absolute value of the difference. (*)
EArithmeticLogicOperation_Overlay
Overlay of one image onto a source image giving a destination image. (See note at the end of the topic). (*) (**)
EArithmeticLogicOperation_BitwiseNot
EArithmeticLogicOperation_Average

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.

EArithmeticLogicOperation Enum

Supported arithmetic or logic pixel-wise operators.

Namespace: Euresys.Open_eVision

Copy
Sheer copy.
Invert
Complement. (*)
Add
Saturated addition. (*)
Subtract
Saturated subtraction. (*)
Multiply
Saturated multiplication. (*)
Divide
Saturated division. (*)
Modulo
Modulo. (*)
ShiftLeft
Arithmetic left shift (multiplication by a power of 2). (*)
ShiftRight
Arithmetic right shift (division by a power of 2). (*)
ScaledAdd
Non saturating addition ((left + right) / 2). (*)
ScaledSubtract
Non saturating subtraction ((left + complemented right) / 2). (*)
ScaledMultiply
Non saturating multiplication (left * right / 256 in the BW8 case, and left * right / 65,536 in the BW16 one). (*)
ScaledDivide
Non saturating division (256 * left / right in the BW8 case, and 65,536 * left / right in the BW16 one). (*)
BitwiseAnd
Bitwise AND.
BitwiseOr
Bitwise OR.
BitwiseXor
Bitwise exclusive OR.
LogicalAnd
Logical AND (non zero is true). (*)
LogicalOr
Logical OR (non zero is true). (*)
LogicalXor
Logical exclusive OR (non zero is true). (*)
Min
Minimum. (*)
Max
Maximum. (*)
SetZero
Copy the right operand where the left operand is zero.
SetNonZero
Copy the right operand where the left operand is non zero.
Equal
Equality comparison. (*)
NotEqual
Non equality comparison. (*)
GreaterOrEqual
"Greater or equal" comparison. (*)
LesserOrEqual
"Lesser or equal" comparison.
Greater
"Greater" comparison. (*)
Lesser
"Lesser" comparison. (*)
Compare
Absolute value of the difference. (*)
Overlay
Overlay of one image onto a source image giving a destination image. (See note at the end of the topic). (*) (**)
BitwiseNot
Same as Invert.
Average
Same as ScaledAdd. (*)

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.