2015-01-29 12:54:50 -0600 | received badge | ● Necromancer (source) |
2015-01-07 17:50:57 -0600 | commented answer | Mat using YUV 422 Video Which are your values for the width and height of the original video ? |
2015-01-07 17:48:37 -0600 | answered a question | Mat using YUV 422 Video Hi Michael! Probably the best option to this problem, is separate the different channels of your videoline (Y,U and V). Something like this: Mat yuv422_DDR_RAM = {99, bc, 12, bc, 99, bc, ...} Mat y = {99,12,99,...} Mat u = {bc,bc,...} Mat v = {bc,...} After this, you can calculate the histogram of channel Y, using the OpenCV functions and the object cv::Mat y. Repeat the process to channel U and channel V. If you want the original image you must resize cv::Mat u and cv::Mat v to the same values of width and height of cv::Mat y. After the resizing process you can merge the objects Mat y, u and v. Cheers, Victor |
2015-01-07 17:15:43 -0600 | commented question | How to read yuv video? Hi Seungjun, Do you know what's the values of width, height? Your file have any header, footer, etc...? What's your chroma subsampling, is 4:4:4? |
2015-01-07 14:47:23 -0600 | answered a question | Cannot read a 10-bit, 3-channel encoded video file as 10-bit Hi Nate! I had the same problem, and I created a solution using OpenCV's functions. Do you want know the solution, or this problem is no longer important?
In my case, I received raw data (uncompress video, and the data was in an array of char) from multiples camera feeds (this scenario involved channels Y, U and V separated, different values of chroma subsampling and different values of bit rate). When the Bit Depth was equal to 10-bit I had problems with OpenCV. Using To get a solution for this problem, I made some conversions on video data. But remember I worked with uncompressed video data, the video didn't have any codec. Cheers, Victor |