gapi_inRange
import { gapi_inRange } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Applies a range-level threshold to each matrix element.
The function applies range-level thresholding to a single- or multiple-channel matrix. It sets output pixel value to OxFF if the corresponding pixel value of input matrix is in specified range,or 0 otherwise.
Input and output matrices must be CV_8UC1.
Note: Function textual ID is "org.opencv.core.matrixop.inRange"
See: threshold
gapi_inRange(src: GMat, threshLow: GScalar, threshUp: GScalar): GMat;srcinput matrix (CV_8UC1).
threshLowlower boundary value.
threshUpupper boundary value.
The GMat result. Release returned native handles with using or delete(), including handles nested in results.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.