gapi_threshold1
import { gapi_threshold1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, maxval, type_
FUNCTIONgapi_threshold1
RETURN TYPEtuple_GMat_and_GScalar
This function applicable for all threshold types except cv::THRESH_OTSU and cv::THRESH_TRIANGLE
Note: Function textual ID is "org.opencv.core.matrixop.thresholdOT"
gapi_threshold1(src: GMat, maxval: GScalar, type_: number): tuple_GMat_and_GScalar;srcsrc argument (GMat).
maxvalmaxval argument (GScalar).
type_type argument (number).
Returns
The tuple_GMat_and_GScalar result.
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.