min
import { min } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc1, src2, dst
FUNCTIONmin
RETURN TYPEvoid
Calculates per-element minimum of two arrays or an array and a scalar.
The function cv::min calculates the per-element minimum of two arrays:
\texttt{dst} (I)= \min ( \texttt{src1} (I), \texttt{src2} (I))
or array and a scalar:
\texttt{dst} (I)= \min ( \texttt{src1} (I), \texttt{value} )
See: max, compare, inRange, minMaxLoc
min(src1: Mat, src2: Mat, dst: Mat): void;src1first input array.
src2second input array of the same size and type as src1.
dstOutput destination, filled by the native operation. output array of the same size and type as src1.
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.