Function opencv::gapi::concat_vert_1

source ·
pub fn concat_vert_1(v: &Vector<GMat>) -> Result<GMat>
Expand description

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”

Parameters

  • src1: first input matrix to be considered for vertical concatenation.
  • src2: second input matrix to be considered for vertical concatenation.

See also

concatHor

Overloaded parameters

The function vertically concatenates given number of GMat matrices (with the same number of columns). Output matrix must the same number of columns and depth as the input matrices, and the sum of rows of input matrices.

  • v: vector of input matrices to be concatenated vertically.