split

Description

Divides a multi-channel array into several single-channel arrays.

Signature

cv2.split(src[, mv]) → mv

Parameters

Explanation

This function splits a multi-channel array into separate single-channel arrays: \(\text{mv}[c](I) = \text{src}(I)_c\). This is most commonly used to split a color image into individual image planes for the B, G, and R channels.

Notes


References

Created with OpenCV 4.4.0