vconcat
import { vconcat } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst
FUNCTIONvconcat
RETURN TYPEvoid
std::vector<cv::Mat> matrices = { cv::Mat(1, 4, CV_8UC1, cv::Scalar(1)),
cv::Mat(1, 4, CV_8UC1, cv::Scalar(2)),
cv::Mat(1, 4, CV_8UC1, cv::Scalar(3)),};
cv::Mat out;
cv::vconcat( matrices, out );
//out:
//[1, 1, 1, 1;
// 2, 2, 2, 2;
// 3, 3, 3, 3]
vconcat(src: MatVector, dst: Mat): void;srcinput array or vector of matrices. all of the matrices must have the same number of cols and the same depth
dstOutput destination, filled by the native operation. output array. It has the same number of cols and depth as the src, and the sum of rows of the src. same depth.
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.