Ask Your Question

pravin's profile - activity

2019-01-21 20:54:51 -0600 received badge  Notable Question (source)
2017-08-25 05:08:48 -0600 received badge  Popular Question (source)
2015-09-15 07:41:59 -0600 asked a question How to convert RGB image to YUV 4:2:2 format using opencv?

Hi,

I have a color image loaded as below

Mat image; image = imread("c:\test.jpg", CV_LOAD_IMAGE_COLOR);

How to convert this image to YUV 422 format. There is an option to convert image to YUV 420 format using cvtColor function but no option for YUV 422. Kindly help.