pub fn bgr2_yuv(src: &impl GMatTraitConst) -> Result<GMat>Expand description
Converts an image from BGR color space to YUV color space.
The function converts an input image from BGR color space to YUV. The conventional ranges for B, G, and R channel values are 0 to 255.
Output image must be 8-bit unsigned 3-channel image [CV_8UC3].
Note: Function textual ID is “org.opencv.imgproc.colorconvert.bgr2yuv”
§Parameters
- src: input image: 8-bit unsigned 3-channel image [CV_8UC3].
§See also
YUV2BGR