insertChannel
import { insertChannel } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst, coi
FUNCTIONinsertChannel
RETURN TYPEvoid
Inserts a single channel to dst (coi is 0-based index)
See: mixChannels, merge
insertChannel(src: Mat, dst: Mat, coi: number): void;srcinput array
dstInput/output value, modified by the native operation. output array
coiindex of channel for insertion
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.