资源简介

matlab编写的h.264,压缩和解压缩avi格式视频,压缩效果较好,适用于学习

资源截图

代码片段和文件信息

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%This Function DECODE gets Encoded information from encoder Side_Info and%
%using the old image decodes the image by H.264 Std. For the Current Block%
%specified by (ij) based on the prediction mentioned in Side_info the   %
%corresponding reconstruction is Done.                                     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function blk_im=decode(Side_Infoim_oldrecons_imijrblk cblkN)


%initialisation for Temporal Prediction
W=2*N; % width of search window
%Replicate the image along borders to be used for inter Prediction
im_old1 = double(padarray(im_old[W/2 W/2]‘replicate‘));
%im_new1 = double(padarray(im_new[W/2 W/2]‘replicate‘)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件     1331314  2020-09-28 03:36  ant_maze.avi
     文件        1598  2020-09-28 03:36  decode.m
     文件         622  2020-09-28 03:36  embed.m
     文件         979  2020-09-28 03:36  embed_bit.m
     文件        2444  2020-09-28 03:36  Encode.m
     文件     1709039  2020-09-28 03:36  H.264 Algorithm Reference for Coding.pdf
     文件       15454  2020-09-28 03:36  h264_ModeDesc.m
     文件        1566  2020-09-28 03:36  inter_cons.m
     文件         909  2020-09-28 03:36  inter_recons.m
     文件        9101  2020-09-28 03:36  intra_cons.m
     文件        6559  2020-09-28 03:36  intra_recons.m
     文件        1312  2020-09-28 03:36  license.txt
     文件        1287  2020-09-28 03:36  read_files.m
     文件        1133  2020-09-28 03:36  read_video.m
     文件      494617  2020-09-28 03:36  Real time data hiding by exploiting the IPCM macroblocks.pdf
     文件         548  2020-09-28 03:36  recover.m
     文件         790  2020-09-28 03:36  recover_bit.m
     文件        1394  2020-09-28 03:36  rgb2yuv.m

评论

共有 条评论