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 |
---|---|---|---|
Operators | Arithmetic | Absolute Difference | imaqAbsoluteDifference |
Operators | Arithmetic | Absolute Difference Constant | imaqAbsoluteDifferenceConstant |
Operators | Arithmetic | Add | imaqAdd |
Operators | Arithmetic | Add Constant | imaqAddConstant |
Operators | Arithmetic | Average | imaqAverage |
Operators | Arithmetic | Average Constant | imaqAverageConstant |
Operators | Arithmetic | Divide 2 | imaqDivide2 |
Operators | Arithmetic | Divide Constant 2 | imaqDivideConstant2 |
Operators | Arithmetic | Max | imaqMax |
Operators | Arithmetic | Max Constant | imaqMaxConstant |
Operators | Arithmetic | Min | imaqMin |
Operators | Arithmetic | Min Constant | imaqMinConstant |
Operators | Arithmetic | Modulo | imaqModulo |
Operators | Arithmetic | Modulo Constant | imaqModuloConstant |
Operators | Arithmetic | Multiply Divide | imaqMulDiv |
Operators | Arithmetic | Multiply | imaqMultiply |
Operators | Arithmetic | Multiply Constant | imaqMultiplyConstant |
Operators | Arithmetic | Subtract | imaqSubtract |
Operators | Arithmetic | Subtract Constant | imaqSubtractConstant |
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 |
---|---|---|---|
Operators | Logical | And | imaqAnd |
Operators | Logical | And Constant | imaqAndConstant |
Operators | Logical | Compare | imaqCompare |
Operators | Logical | Compare Constant | imaqCompareConstant |
Operators | Logical | Logical Difference | imaqLogicalDifference |
Operators | Logical | Logical Difference Constant | imaqLogicalDifferenceConstant |
Operators | Logical | Nand | imaqNand |
Operators | Logical | Nand Constant | imaqNandConstant |
Operators | Logical | Nor | imaqNor |
Operators | Logical | Nor Constant | imaqNorConstant |
Operators | Logical | Or | imaqOr |
Operators | Logical | Or Constant | imaqOrConstant |
Operators | Logical | Xnor | imaqXnor |
Operators | Logical | Xnor Constant | imaqXnorConstant |
Operators | Logical | Xor | imaqXor |
Operators | Logical | Xor Constant | imaqXorConstant |