OIV.ImageViz.Engines.ArithmeticAndLogic Namespaces |
The Arithmetics Operations category contains operations between two images or between an image and a constant as addition, subtraction, multiplication, division, minimum or maximum.
Namespace | Description |
---|---|
OIV.ImageViz.Engines.ArithmeticAndLogic.ArithmeticOperations | The Arithmetics Operations category contains operations between two images or between an image and a constant as sum, difference, blending, minimum or maximum. |
OIV.ImageViz.Engines.ArithmeticAndLogic.LogicalOperations | The Logical Operations category contains logical operations between two images or between an image and a constant as union, intersection, complementary. |
There are four rules governing arithmetic image types. The principle is to provide the smallest type without loss of precision.
In the case of OIV.ImageViz.Engines.ArithmeticAndLogic.ArithmeticOperations.SoArithmeticValueProcessing, the type of the output image is deducted from the type of the input image and the smallest type able to contain the inputValue without loss of precision.
This rule is used for addition, subtraction and division operations.
This rule is used for multiplication operation. Please, note that some operators with a single input also use this rule taking the same type for both headers row and column. For instance, OIV.ImageViz.Engines.EdgeDetection.Gradient.SoGradientOperatorProcessing2d and OIV.ImageViz.Engines.EdgeDetection.Gradient.SoGradientOperatorProcessing3d engines follow also this rule.