Click or drag to resize
CvInvokeCheckRange Method
http://www.emgu.com
Check that every array element is neither NaN nor +- inf. The functions also check that each value is between minVal and maxVal. in the case of multi-channel arrays each channel is processed independently. If some values are out of range, position of the first outlier is stored in pos, and then the functions either return false (when quiet=true) or throw an exception.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static bool CheckRange(
	IInputArray arr,
	bool quiet,
	ref Point pos,
	double minVal,
	double maxVal
)

Parameters

arr
Type: Emgu.CVIInputArray
The array to check
quiet
Type: SystemBoolean
The flag indicating whether the functions quietly return false when the array elements are out of range, or they throw an exception
pos
Type: System.DrawingPoint
This will be filled with the position of the first outlier
minVal
Type: SystemDouble
The inclusive lower boundary of valid values range
maxVal
Type: SystemDouble
The exclusive upper boundary of valid values range

Return Value

Type: Boolean
If quiet, return true if all values are in range
See Also