gapi_concatVert
import { gapi_concatVert } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Applies vertical concatenation to given matrices.
The function vertically concatenates two GMat matrices (with the same number of cols).
GMat A = { 1, 7,
2, 8,
3, 9 };
GMat B = { 4, 10,
5, 11,
6, 12 };
GMat C = gapi::concatVert(A, B);
//C:
//[1, 7;
// 2, 8;
// 3, 9;
// 4, 10;
// 5, 11;
// 6, 12]
Output matrix must the same number of cols and depth as the src1 and src2, and the sum of rows of the src1 and src2.
Supported matrix data types are CV_8UC1, CV_8UC3, CV_16UC1, CV_16SC1, CV_32FC1.
Note: Function textual ID is "org.opencv.imgproc.transform.concatVert"
See: concatHor
gapi_concatVert(src1: GMat, src2: GMat): GMat;src1first input matrix to be considered for vertical concatenation.
src2second input matrix to be considered for vertical concatenation.
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.