Checks that every array element is neither NaN nor Infinity. If CV_CHECK_RANGE is set, it also checks that every element is greater than or equal to minVal and less than maxVal.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static int cvCheckArr( IntPtr arr, CHECK_TYPE flags, double minVal, double maxVal )
Public Shared Function cvCheckArr ( _ arr As IntPtr, _ flags As CHECK_TYPE, _ minVal As Double, _ maxVal As Double _ ) As Integer
public: static int cvCheckArr( IntPtr arr, CHECK_TYPE flags, double minVal, double maxVal )
Parameters
- arr
- IntPtr
The array to check.
- flags
- CHECK_TYPE
The operation flags, CHECK_NAN_INFINITY or combination of CHECK_RANGE - if set, the function checks that every value of array is within [minVal,maxVal) range, otherwise it just checks that every element is neigther NaN nor Infinity. CHECK_QUIET - if set, the function does not raises an error if an element is invalid or out of range
- minVal
- Double
The inclusive lower boundary of valid values range. It is used only if CHECK_RANGE is set.
- maxVal
- Double
The exclusive upper boundary of valid values range. It is used only if CHECK_RANGE is set.