Click or drag to resize
CvInvokecvCheckArr Method
http://www.emgu.com
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.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static int cvCheckArr(
	IntPtr arr,
	CheckType flags,
	double minVal,
	double maxVal
)

Parameters

arr
Type: SystemIntPtr
The array to check.
flags
Type: Emgu.CV.CvEnumCheckType
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 neither NaN nor Infinity. CHECK_QUIET - if set, the function does not raises an error if an element is invalid or out of range
minVal
Type: SystemDouble
The inclusive lower boundary of valid values range. It is used only if CHECK_RANGE is set.
maxVal
Type: SystemDouble
The exclusive upper boundary of valid values range. It is used only if CHECK_RANGE is set.

Return Value

Type: Int32
Returns nonzero if the check succeeded, i.e. all elements are valid and within the range, and zero otherwise. In the latter case if CV_CHECK_QUIET flag is not set, the function raises runtime error.
See Also