How to convert YUY2 images to RGB images in MATLAB?
Thank you for the reply. But when I had used the following syntax, I got the error as unexpected MATLAB expression. The syntax was,vid = videoinput('winvideo',camera,vinfo.SupportedFormats{format});Can you please help me with this?
Kanchan Kesari
2010-09-03 15:05:03
@Kanchan: The code in the file description is an alternative solution taken from the linked newsgroup post. To use the code in the submission itself, download the submission and look at the `YUY2toRGB` function.
gnovice
2010-09-03 15:32:59