Skip to content

gapi_merge3

gapifunctionOpenCV 5.0.0
import { gapi_merge3 } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSsrc1, src2, src3
FUNCTIONgapi_merge3
RETURN TYPEGMat
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates one 3-channel matrix out of 3 single-channel ones.

The function merges several matrices to make a single multi-channel matrix. That is, each element of the output matrix will be a concatenation of the elements of the input matrices, where elements of i-th input matrix are treated as mv[i].channels()-element vectors. Output matrix must be of CV_8UC3 type.

The function split3 does the reverse operation.

Note: - Function textual ID is "org.opencv.core.transform.merge3"

See: merge4, split4, split3

gapi_merge3(src1: GMat, src2: GMat, src3: GMat): GMat;
src1

first input CV_8UC1 matrix to be merged.

src2

second input CV_8UC1 matrix to be merged.

src3

third input CV_8UC1 matrix to be merged.

Returns

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.