gapi_split4
import { gapi_split4 } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc
FUNCTIONgapi_split4
RETURN TYPEtuple_GMat_and_GMat_and_GMat_and_GMat
Divides a 4-channel matrix into 4 single-channel matrices.
The function splits a 4-channel matrix into 4 single-channel matrices:
\texttt{mv} [c](I) = \texttt{src} (I)_c
All output matrices must be of CV_8UC1 type.
The function merge4 does the reverse operation.
Note: - Function textual ID is "org.opencv.core.transform.split4"
See: split3, merge3, merge4
gapi_split4(src: GMat): tuple_GMat_and_GMat_and_GMat_and_GMat;srcinput
CV_8UC4matrix.
Returns
The tuple_GMat_and_GMat_and_GMat_and_GMat result.
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.