FArithmetic Control Reference 15.0
Enumerations

Enumerations

enum  TArithmeticOperation {
  OP_ADD_IMAGES = 0 , OP_MULTIPLY_IMAGES = 1 , OP_SUBTRACT_IMAGES = 2 , OP_DIVIDE_IMAGES = 3 ,
  OP_SUBTRACT_IMAGES_ABS = 4 , OP_AND_IMAGES = 5 , OP_OR_IMAGES = 6 , OP_XOR_IMAGES = 7 ,
  OP_ADD_IMAGE_CONST = 8 , OP_MULTIPLY_IMAGE_CONST = 9 , OP_SUBTRACT_IMAGE_CONST = 10 , OP_DIVIDE_IMAGE_CONST = 11 ,
  OP_SUBTRACT_IMAGE_CONST_ABS = 12 , OP_AND_IMAGE_CONST = 13 , OP_OR_IMAGE_CONST = 14 , OP_XOR_IMAGE_CONST = 15 ,
  OP_UPSHIFT_IMAGE_CONST = 16 , OP_DOWNSHIFT_IMAGE_CONST = 17 , OP_ABS_IMAGE = 18 , OP_SQUARE_IMAGE = 19 ,
  OP_SQUAREROOT_IMAGE = 20 , OP_NEGATE_IMAGE = 21
}
 Determines which operation is applied to the input image(s) when the Execute method is called. More...
 

Detailed Description

Enumeration Type Documentation

◆ TArithmeticOperation

Determines which operation is applied to the input image(s) when the Execute method is called.

Supported platforms:
Win32
Win64
Related Topics:
Operation
Enumerator
OP_ADD_IMAGES 

Adds the two images.
ImageIn1 + ImageIn2.

OP_MULTIPLY_IMAGES 

Multiplies the two images.
ImageIn1 * ImageIn2.

OP_SUBTRACT_IMAGES 

Subtract the second image by the first image.
ImageIn2 - ImageIn1.

OP_DIVIDE_IMAGES 

Divide the second image by the first image.
ImageIn2 / ImageIn1.

OP_SUBTRACT_IMAGES_ABS 

Calculates the absolute value of the subtraction of the two images.
|ImageIn1 - ImageIn2|.

OP_AND_IMAGES 

AND operation of the two images.
ImageIn1 & ImageIn2.

OP_OR_IMAGES 

OR operation of the two images.
ImageIn1 | ImageIn2.

OP_XOR_IMAGES 

XOR operation of the two images.
ImageIn1 ^ ImageIn2.

OP_ADD_IMAGE_CONST 

Adds an absolute term to the first image.
ImageIn1 + Const.

Related Topics:
ConstR, ConstG, ConstB
OP_MULTIPLY_IMAGE_CONST 

Multiplies the first image by an absolute term.
ImageIn1 * Const.

Related Topics:
ConstR, ConstG, ConstB
OP_SUBTRACT_IMAGE_CONST 

Subtract the first image by an absolute term.
ImageIn1 - Const.

Related Topics:
ConstR, ConstG, ConstB
OP_DIVIDE_IMAGE_CONST 

Divide the first image by an absolute term.
ImageIn1 / Const.

Related Topics:
ConstR, ConstG, ConstB
OP_SUBTRACT_IMAGE_CONST_ABS 

Calculates the absolute value of the subtraction of the first image and a constant value.
|ImageIn1 - Const|.

Related Topics:
ConstR, ConstG, ConstB
OP_AND_IMAGE_CONST 

AND operation of the first image and a constant value.
ImageIn1 & Const.

Related Topics:
ConstR, ConstG, ConstB
OP_OR_IMAGE_CONST 

OR operation of the first image and a constant value.
ImageIn1 | Const.

Related Topics:
ConstR, ConstG, ConstB
OP_XOR_IMAGE_CONST 

XOR operation of the first image and a constant value.
ImageIn1 ^ Const.

Related Topics:
ConstR, ConstG, ConstB
OP_UPSHIFT_IMAGE_CONST 

Upshift the first image by an absolute term.
ImageIn1 << Const.

Related Topics:
ConstR, ConstG, ConstB
OP_DOWNSHIFT_IMAGE_CONST 

Downshift the first image by an absolute term.
ImageIn1 >> Const.

Related Topics:
ConstR, ConstG, ConstB
OP_ABS_IMAGE 

Calculate the absolute value of the first image.
|ImageIn1|.

OP_SQUARE_IMAGE 

Calculate the square of the first image.
ImageIn1 * ImageIn1.

OP_SQUAREROOT_IMAGE 

Calculate the square root of the first image.
sqrt(ImageIn1).

OP_NEGATE_IMAGE 

Negate first image.
~ImageIn1.