SoLogicalImageProcessingLogicalOperators Enumeration |
Namespace: OIV.ImageViz.Engines.ArithmeticAndLogic.LogicalOperations
Member name | Value | Description | |
---|---|---|---|
AND | 0 | The AND logical operator computes the logical and between two images and . On a binary image, it is equivalent to a minimum operation, or to the intersection of two sets, as it appears in the boolean table and the figure below. | |
OR | 1 | The OR logical operator computes the logical or between two images and . On a binary image, it is equivalent to a maximum operation, or to the union of two sets, as it appears in the boolean table of the figure. | |
XOR | 2 | The XOR logical operator is the exclusive or between two images and as described on the figure below. | |
NOR | 3 | The NOR logical operator is the not or of two images and . | |
NAND | 4 | The NAND logical operator is the not and of two images and . | |
NXOR | 5 | The NXOR logical operator is the logical equivalence, i.e. : Not of the exclusive or of two images and .\ The logical equivalence of two binary sets A and B is described in the boolean table of the figure below. | |
SUB | 6 | The SUB logical operator is the logical difference between images and as described on the figure below. Note that logical difference is the only non commutative logical operation, i.e. . |