Method CheckRange
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CheckRange(InputArray, bool)
checks that each matrix element is within the specified range.
public static bool CheckRange(InputArray src, bool quiet = true)
Parameters
srcInputArrayThe array to check
quietboolThe flag indicating whether the functions quietly return false when the array elements are out of range, or they throw an exception.
Returns
CheckRange(InputArray, bool, out Point, double, double)
checks that each matrix element is within the specified range.
public static bool CheckRange(InputArray src, bool quiet, out Point pos, double minVal = -1.7976931348623157E+308, double maxVal = 1.7976931348623157E+308)
Parameters
srcInputArrayThe array to check
quietboolThe flag indicating whether the functions quietly return false when the array elements are out of range, or they throw an exception.
posPointThe optional output parameter, where the position of the first outlier is stored.
minValdoubleThe inclusive lower boundary of valid values range
maxValdoubleThe exclusive upper boundary of valid values range