In newer version of OPENCV
there is a built in function can be used to do YUV
to RGB
conversion
cvtColor(src,dst,CV_YUV2BGR_YUY2);
specify the YUV
format after the underscore, like this CV_YUYV2BGR_xxxx
More Related Contents:
- Getting started with OpenCV 2.4 and MinGW on Windows 7
- OpenCV with Network Cameras
- strptime() equivalent on Windows?
- How can I clear console
- How to link opencv in QtCreator and use Qt library
- Export all symbols when creating a DLL
- How do I calculate the week number given a date?
- boost_1_60_0 .zip installation in windows
- cv::Mat to QImage and back
- How do I open an .exe from another C++ .exe?
- Win32 programming hiding console window
- Installing C++ Libraries on OS X
- Prevent user process from being killed with “End Process” from Process Explorer
- Parsing strings of user input using the cparse library from git
- How to get screenshot of a window as bitmap object in C++?
- Microsecond resolution timestamps on Windows
- Read process memory of a process does not return everything
- Video Stabilization with OpenCV
- How do I implement dragging a window using its client area?
- What is the purpose of the _chkstk() function?
- How do I add the MinGW bin directory to my system path?
- Programmatically access CPU fan on a laptop? (Windows)
- What’s the differences between .dll , .lib, .h files?
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- Equivalent to cvSetImageROI in the OpenCV C++ interface
- OpenCV on Mac is not opening USB web camera
- libgmp-10.dll is missing
- Displacement Map Filter in OpenCV
- Where can I get windows.h for Mac?
- How to execute another exe from a C++ program in Windows