opencv::gapi

Function split3

Source
pub fn split3(src: &impl GMatTraitConst) -> Result<Tuple<(GMat, GMat, GMat)>>
Expand description

Divides a 3-channel matrix into 3 single-channel matrices.

The function splits a 3-channel matrix into 3 single-channel matrices: block formula

All output matrices must be of [CV_8UC1] type.

The function merge3 does the reverse operation.

Note:

  • Function textual ID is “org.opencv.core.transform.split3”

§Parameters

  • src: input [CV_8UC3] matrix.

§See also

split4, merge3, merge4