pub fn merge4(
src1: &impl GMatTraitConst,
src2: &impl GMatTraitConst,
src3: &impl GMatTraitConst,
src4: &impl GMatTraitConst,
) -> Result<GMat>
Expand description
Creates one 4-channel matrix out of 4 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_8UC4] type.
The function split4 does the reverse operation.
Note:
- Function textual ID is “org.opencv.core.transform.merge4”
§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.
- src4: fourth input [CV_8UC1] matrix to be merged.
§See also
merge3, split4, split3