Rank: 1264 based on 52 downloads (last 30 days) and 1 file submitted
photo

Da Yu

E-mail
Company/University
TU-Berlin, Germany

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Da
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Nov 2004 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu graphics export, graphics, 420, yuv frame, cif, utilities 52 8
  • 5.0
5.0 | 5 ratings
Comments and Ratings on Da's Files View all
Updated File Comment by Comments Rating
05 Feb 2012 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu MechtEngineer

elena, I just use the File>import function in MATLAB. This can also generate the code for you to use to import a particular file in the future.

20 Jan 2012 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu elena

I have matlab 7.0.1 and unfortunately i can't find functions for yuv, e.g i want to load yuv file into matlab and i cannot find the appropriate function, help? thank you

19 Oct 2011 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu MechtEngineer

"idxFrame" can be entered as a vector containing the frame numbers you desire to be extracted from the yuv movie.

e.g. idxFrame = 200:250; would extract frames 200 to 250 from the yuv file.

19 Oct 2011 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu MechtEngineer

"idxFrame" is the frame number within the YUV 4:2:0 video you want extracted to an RGB image. Thus, each time you run the function loadFileYuv, it will open the YUV file, extract the specified frame from the video file in the fileName string, and close the YUV file.

For sample YUV 4:2:0 files, use the Video Trace Library at http://trace.eas.asu.edu/yuv/index.html

A versatile and extremely reliable YUV player is located here: http://www.yuvplayer.com/index.html
It is now freeware, as evidenced by here: http://www.yuvplayer.com/register.html

19 Aug 2011 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu MechtEngineer

Currently the program lacks an example of how to use the code.

e.g. in the file, loadFileYuv.m, the function call is:
function [mov,imgRgb] = loadFileYuv(fileName, width, height, idxFrame)
What is idxFrame? I thought it might be frames per second, but the code seems to indicate it is some sort of structure. Does this mean the YUV video file needs to be loaded into MATLAB as a variable before this subroutine is used?

It seems like this code may work well, but it just needs an example so most people can use it!! Any help would be appreciated.

Top Tags Applied by Da
420, cif, export, graphics, graphics export
Files Tagged by Da
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 Nov 2004 Convert YUV CIF 4:2:0 video file to image files Load the YUV file, and convert it to 2D image file (matrix form). Author: Da Yu graphics export, graphics, 420, yuv frame, cif, utilities 52 8
  • 5.0
5.0 | 5 ratings

Contact us at files@mathworks.com