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: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static bool CheckRange(
IInputArray arr,
bool quiet,
ref Point pos,
double minVal,
double maxVal
)
Public Shared Function CheckRange (
arr As IInputArray,
quiet As Boolean,
ByRef pos As Point,
minVal As Double,
maxVal As Double
) As Boolean
public:
static bool CheckRange(
IInputArray^ arr,
bool quiet,
Point% pos,
double minVal,
double maxVal
)
static member CheckRange :
arr : IInputArray *
quiet : bool *
pos : Point byref *
minVal : float *
maxVal : float -> bool
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:
BooleanIf quiet, return true if all values are in range
See Also