Function opencv::gapi::merge3

source ·
pub fn merge3(src1: &GMat, src2: &GMat, src3: &GMat) -> Result<GMat>
Expand description

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”

Parameters

  • 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.

See also

merge4, split4, split3