Click or drag to resize
SoArithmeticImageProcessingArithmeticOperators Enumeration

Namespace: OIV.ImageViz.Engines.ArithmeticAndLogic.ArithmeticOperations
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public enum ArithmeticOperators
Members
  Member nameValueDescription
ADD0

The ADD arithmetic operator adds two images and .

The formula is:

Remarks:

  • Overflows may occur.

  • Be careful with negative values and the way they are visualized.

See also: OIV.ImageViz.Engines.ArithmeticAndLogic.ArithmeticOperations.SoArithmeticValueProcessing, OIV.ImageViz.Engines.ArithmeticAndLogic.LogicalOperations.SoLogicalImageProcessing, SoAbsoluteImageProcessing.

SUBTRACT1

The SUBTRACT arithmetic operator subtract an image from .

The formula is:

Remarks:

  • Overflows may occur.

  • The result of a subtraction between two binary images is a short integer image; this operation is not equivalent to a logical difference.

  • Be careful with negative values and the way they are visualized.

MULTIPLY2

The MULTIPLY arithmetic operator multiplies an image by another .

The formula is:

Remarks:

  • Overflows may occur.

  • Be careful with negative values and the way they are visualized.

  • Multiplying a binary image by a grayscale image is equivalent to a masking operation.

DIVIDE3

The DIVIDE arithmetic operator divides an image by another .

The formula is:

Remarks:

  • Overflows may occur.

  • Be careful with negative values and the way they are visualized.

  • If then

MINIMUM4

The MINIMUM arithmetic operator computes the minimum value between two images and .

The formula is:

For binary images, the MINIMUM operator is equivalent to a logical AND.

MAXIMUM5

The MAXIMUM arithmetic operator computes the maximum value between two images and .

The formula is:

For binary images, the MAXIMUM operator is equivalent to a logical OR.

Remarks