Foundation (Arithmetic.dll) 15.0
Enumerations

Enumerations

enum  CVBARI_LOG_MODE {
  CVBARI_LOG_SUBTRACTIONNOOVERFLOW = 0 , CVBARI_LOG_ADDITIONNOOVERFLOW = 1 , CVBARI_LOG_SUBTRACTIONWITHOVERFLOW = 2 , CVBARI_LOG_ADDITIONWITHOVERFLOW = 3 ,
  CVBARI_LOG_AND = 5 , CVBARI_LOG_OR = 6 , CVBARI_LOG_XOR = 7
}
 Operations on the image. More...
 
enum  CVBARI_MULDIV_MODE { CVBARI_MULTIPLICATION = 0 , CVBARI_DIVISION = 1 }
 Multiplication and division operation on the image. More...
 
enum  CVBARI_RETURNCODE {
  CVBARI_INVALID_INIMAGE1 = -1 , CVBARI_INVALID_INIMAGE2 = -2 , CVBARI_INCOMPATIBLE_DATATYPES = -3 , CVBARI_INCOMPATIBLE_WIDTH_OR_HEIGHT = -4 ,
  CVBARI_INIMAGE_PIXELACCESS_FAILED = -5 , CVBARI_OUTIMAGE_CREATION_FAILED = -6 , CVBARI_OUTIMAGE_PIXELACCESS_FAILED = -7 , CVBARI_INVALID_MODE_PARAMETER = -9 ,
  CVBARI_INVALID_INPLANE1 = -10 , CVBARI_INVALID_INPLANE2 = -11
}
 General error codes.

All the functions reject any incorrect or invalid images when they are called. A check is run to ensure that the input images have the correct data format, and to see whether they are of the same width and height. Another check determines whether the required access to input and output images is possible. The functions use a return value of the HRESULT type to inform the user of potential problems. More...
 

Detailed Description

Enumeration Type Documentation

◆ CVBARI_LOG_MODE

Operations on the image.

Supported platforms:
Win32
Win64
Linux
Enumerator
CVBARI_LOG_SUBTRACTIONNOOVERFLOW 

Subtraction without overflow (values < 0 ==> set to 0).

CVBARI_LOG_ADDITIONNOOVERFLOW 

Addition without overflow (values > 255 ==> set to 255).

CVBARI_LOG_SUBTRACTIONWITHOVERFLOW 

Subtraction with overflow.

CVBARI_LOG_ADDITIONWITHOVERFLOW 

Subtraction with overflow.

CVBARI_LOG_AND 

AND-Operation.

CVBARI_LOG_OR 

OR-Operation.

CVBARI_LOG_XOR 

XOR-Operation.

◆ CVBARI_MULDIV_MODE

Multiplication and division operation on the image.

Supported platforms:
Win32
Win64
Linux
Enumerator
CVBARI_MULTIPLICATION 

Multiplication.

CVBARI_DIVISION 

Division.

◆ CVBARI_RETURNCODE

General error codes.

All the functions reject any incorrect or invalid images when they are called. A check is run to ensure that the input images have the correct data format, and to see whether they are of the same width and height. Another check determines whether the required access to input and output images is possible. The functions use a return value of the HRESULT type to inform the user of potential problems.

Supported platforms:
Win32
Win64
Linux
Enumerator
CVBARI_INVALID_INIMAGE1 

InImage1 invalid.

CVBARI_INVALID_INIMAGE2 

InImage2 invalid.

CVBARI_INCOMPATIBLE_DATATYPES 

Incorrect data type for input images.

CVBARI_INCOMPATIBLE_WIDTH_OR_HEIGHT 

InImage1 and InImage2 are of different sizes.

CVBARI_INIMAGE_PIXELACCESS_FAILED 

Image access to InImage1 or InImage2 not possible.

CVBARI_OUTIMAGE_CREATION_FAILED 

OutImage cannot be created.

CVBARI_OUTIMAGE_PIXELACCESS_FAILED 

Image access to OutImage not possible.

CVBARI_INVALID_MODE_PARAMETER 

Invalid mode selected.

CVBARI_INVALID_INPLANE1 

InPlane1 not compatible with dimension of InImage1.

CVBARI_INVALID_INPLANE2 

InPlane2 not compatible with dimension of InImage2.