Recent wince in the USB camera photo below, use the camera output is YUY2 format, for the convenience of use to convert BMP, according to the online search YUY2 turn the formula for the transformation of RGB, with examples of Internet is right, but with photographed is wrong, the camera seems to be no problem, use someone else's software can camera and capture, found photographed YUY2 data bit number is smaller than length x width x 2, personal feeling is misplaced, beg you,
Another is partitioned the YUY2 data? Examples are points of single and double line store display online, I this seems to be points and four blocks, is there a related note, I read in YUY2 is 16 bits of data, then according to the given width after convert RGB in DC
CodePudding user response:
Please do not repeat questions from http://bbs.csdn.net/topics/390592085