摘要:
fid = fopen('foreman.yuv','rb');img= (uint8)(fread(fid,[352,288],'uint8'))';A = FREAD(FID,SIZE,PRECISION)Valid entries for SIZE are: N read N elements into a column vector. inf read to the end of the file. [M,N] read elements to fill an M-by-N matrix, in column order. N c 阅读全文