gapi_min
import { gapi_min } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
gapi_pixelwise
Calculates per-element minimum of two matrices.
The function min calculates the per-element minimum of two matrices of the same size, number of channels and depth:
\texttt{dst} (I)= \min ( \texttt{src1} (I), \texttt{src2} (I))
where I is a multi-dimensional index of matrix elements. In case of
multi-channel matrices, each channel is processed independently.
Output matrix must be of the same size and depth as src1.
Supported input matrix data types are CV_8UC1, CV_8UC3, CV_16UC1, CV_16SC1, CV_32FC1.
Note: Function textual ID is "org.opencv.core.matrixop.min"
See: max, cmpEQ, cmpLT, cmpLE
gapi_min(src1: GMat, src2: GMat): GMat;src1first input matrix.
src2second input matrix of the same size and depth as src1.
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.