broadcast
import { broadcast } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, shape, dst
FUNCTIONbroadcast
RETURN TYPEvoid
Broadcast the given Mat to the given shape.
broadcast(src: Mat, shape: Mat, dst: Mat): void;srcinput array
shapetarget shape. Should be a list of CV_32S numbers. Note that negative values are not supported.
dstOutput destination, filled by the native operation. output array that has the given shape
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.