Checks every element of input array for invalid values
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool CheckArray( CvArr arr, CheckArrFlag flags, double minVal, double maxVal )
Parameters
- arr
- Type: OpenCvSharpCvArr
The array to check. - flags
- Type: OpenCvSharpCheckArrFlag
The operation flags - minVal
- Type: SystemDouble
The inclusive lower boundary of valid values range. It is used only if CV_CHECK_RANGE is set. - maxVal
- Type: SystemDouble
The exclusive upper boundary of valid values range. It is used only if CV_CHECK_RANGE is set.
Return Value
Type: Booleanreturns nonzero if the check succeeded, i.e. all elements are valid and within the range, and zero otherwise.
See Also