Converting NV12 to RGB (blackberry)

asked 2015-07-09 10:58:44 -0500

kokiri gravatar image

I've got a NV12 Image, which I want to convert to RGB.

src = Mat(height,width,CV_8UC1, imagebuffer,stride) cvtColor(src,src, CV_YUV2RGB_NV12)

It doesnt look anything like it should! Omitting the cvtColor line leads to a grayscale image.

edit retag flag offensive close merge delete