checkRange function
(bool, Point)
checkRange(
- InputArray a, {
- bool quiet = true,
- double minVal = -CV_F64_MAX,
- double maxVal = CV_F64_MAX,
CheckRange checks every element of an input array for invalid values.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga2bd19d89cae59361416736f87e3c7a64
Implementation
(bool, Point) checkRange(
InputArray a, {
bool quiet = true,
double minVal = -CV_F64_MAX,
double maxVal = CV_F64_MAX,
}) {
return cvRunArena<(bool, Point)>((arena) {
final pos = calloc<ccore.Point>();
final rval = arena<ffi.Bool>();
cvRun(() => ccore.Mat_CheckRange(a.ref, quiet, pos, minVal, maxVal, rval));
return (rval.value, Point.fromPointer(pos));
});
}