Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Converting NV12 to RGB (blackberry)

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.