Function opencv::gapi::split4

source ·
pub fn split4(src: &GMat) -> Result<Tuple<(GMat, GMat, GMat, GMat)>>
Expand description

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

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

All output matrices must be of [CV_8UC1] type.

The function merge4 does the reverse operation.

Note:

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

Parameters

  • src: input [CV_8UC4] matrix.

See also

split3, merge3, merge4