Operators Functions

NI Vision for LabWindows/CVI Function

Operators Functions

Operator functions allow you to perform arithmetic or logical operations between two images or between an image and a constant.

The following table lists the Operators functions. The functions in the Operators class are grouped according to the types of operations they perform. The first column contains the name of the class. The second column contains names of function subclasses. The third column contains names of individual function panels. Each Operators function panel represents one function.


Arithmetic Functions

The following functions are available only with a licensed version of NI Vision.

Arithmetic functions allow you to perform arithmetic operations between two images or between an image and a constant.

Class Subclass LabWindows/CVI Equivalent Function Name
OperatorsArithmeticAbsolute DifferenceimaqAbsoluteDifference
OperatorsArithmeticAbsolute Difference ConstantimaqAbsoluteDifferenceConstant
OperatorsArithmeticAddimaqAdd
OperatorsArithmeticAdd ConstantimaqAddConstant
OperatorsArithmeticAverageimaqAverage
OperatorsArithmeticAverage ConstantimaqAverageConstant
OperatorsArithmeticDivide 2imaqDivide2
OperatorsArithmeticDivide Constant 2imaqDivideConstant2
OperatorsArithmeticMaximaqMax
OperatorsArithmeticMax ConstantimaqMaxConstant
OperatorsArithmeticMinimaqMin
OperatorsArithmeticMin ConstantimaqMinConstant
OperatorsArithmeticModuloimaqModulo
OperatorsArithmeticModulo ConstantimaqModuloConstant
OperatorsArithmeticMultiply DivideimaqMulDiv
OperatorsArithmeticMultiplyimaqMultiply
OperatorsArithmeticMultiply ConstantimaqMultiplyConstant
OperatorsArithmeticSubtractimaqSubtract
OperatorsArithmeticSubtract ConstantimaqSubtractConstant

Logical Functions

The following functions are available only with a licensed version of NI Vision.

Logical functions allow you to perform logic operations between two images or between an image and a constant.

Class Subclass LabWindows/CVI Equivalent Function Name
OperatorsLogicalAndimaqAnd
OperatorsLogicalAnd ConstantimaqAndConstant
OperatorsLogicalCompareimaqCompare
OperatorsLogicalCompare ConstantimaqCompareConstant
OperatorsLogicalLogical DifferenceimaqLogicalDifference
OperatorsLogicalLogical Difference ConstantimaqLogicalDifferenceConstant
OperatorsLogicalNandimaqNand
OperatorsLogicalNand ConstantimaqNandConstant
OperatorsLogicalNorimaqNor
OperatorsLogicalNor ConstantimaqNorConstant
OperatorsLogicalOrimaqOr
OperatorsLogicalOr ConstantimaqOrConstant
OperatorsLogicalXnorimaqXnor
OperatorsLogicalXnor ConstantimaqXnorConstant
OperatorsLogicalXorimaqXor
OperatorsLogicalXor ConstantimaqXorConstant