Check that every array element is neither NaN nor +- inf. The functions also check that each value is between min and max. 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 return false.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool CheckRange(
	double min,
	double max,
	ref Point position
)
Public Function CheckRange ( _
	min As Double, _
	max As Double, _
	ByRef position As Point _
) As Boolean
public:
bool CheckRange(
	double min, 
	double max, 
	Point% position
)

Parameters

min
Double
The inclusive lower boundary of valid values range
max
Double
The exclusive upper boundary of valid values range
position
Point%
This will be filled with the position of the first outlier

Return Value

True if all values are in range

See Also