Function opencv::gapi::y

source ·
pub fn y(frame: &GFrame) -> Result<GMat>
Expand description

Extracts Y plane from media frame.

Output image is 8-bit 1-channel image of [CV_8UC1].

Note: Function textual ID is “org.opencv.streaming.Y”

Parameters

  • frame: input media frame.