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
"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.
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.