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.
1 | initial version |
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.