inRangebyScalar function

Mat inRangebyScalar(
  1. InputArray src,
  2. Scalar lowerb,
  3. Scalar upperb, {
  4. OutputArray? dst,
})

InRangeWithScalar checks if array elements lie between the elements of two Scalars

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga48af0ab51e36436c5d04340e036ce981

Implementation

Mat inRangebyScalar(
  InputArray src,
  Scalar lowerb,
  Scalar upperb, {
  OutputArray? dst,
}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.Mat_InRangeWithScalar(src.ref, lowerb.ref, upperb.ref, dst!.ref));
  return dst;
}