Click or drag to resize
CvInvokeCheckRange Method
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: (
public static bool CheckRange(
	IInputArray arr,
	bool quiet,
	ref Point pos,
	double minVal,
	double maxVal


Type: Emgu.CVIInputArray
The array to check
Type: SystemBoolean
The flag indicating whether the functions quietly return false when the array elements are out of range, or they throw an exception
Type: System.DrawingPoint
This will be filled with the position of the first outlier
Type: SystemDouble
The inclusive lower boundary of valid values range
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