gapi_cmpGT1
import { gapi_cmpGT1 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
gapi_math
Performs the per-element comparison of two matrices checking if elements from first matrix are greater compare to elements in second.
The function compares elements of two matrices src1 and src2 of the same size:
\texttt{dst} (I) = \texttt{src1} (I) > \texttt{src2} (I)
When the comparison result is true, the corresponding element of output array is set to 255. The comparison operations can be replaced with the equivalent matrix expressions:
\texttt{dst} = \texttt{src1} > \texttt{src2}
Output matrix of depth CV_8U must have the same size and the same number of channels as
the input matrices/matrix.
Supported input matrix data types are CV_8UC1, CV_16UC1, CV_16SC1, CV_32FC1.
Note: Function textual ID is "org.opencv.core.pixelwise.compare.cmpGT"
See: min, max, threshold, cmpLE, cmpGE, cmpLT
gapi_cmpGT1(src1: GMat, src2: GScalar): GMat;src1first input matrix.
src2second input matrix/scalar of the same depth as first input matrix.
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.