
H码率控制论文:基于H的码率控制算法研究.doc
8页H码率控制论文:基于H的码率控制算法研究———————————————————————————————— 作者:———————————————————————————————— 日期: 【中文摘要】视频压缩编码的主要目标就是在带宽、比特率受限的条件下,尽量使编码失真最小为了获得最优的压缩效率,确保编码数据在信道上成功传输,同时在接收端得到最正确的视频质量,编码过程中就少不了率失真优化和码率控制技术码率控制的就是调整编码输出码流,保证信道带宽的充分利用,同时尽可能到达高平稳的图像质量本文首先介绍了H.264编码器的构造及原理与以往的编码标准相比,H.264采用了多种新技术,主要包括:帧内/帧间预测、整数变换与量化、熵编码及去方块滤波,使得其编码效率有所提高其次探讨了码率控制的原理,并分析了当前经典的码率控制算法TM5、TMN8和VM8最后对H.264的码率控制算法JVT-G012进展深入研究,在此根底上发现其存在的几点缺乏之处:初始QP的选取仅仅取决于每像素的比特数(bpp)或是根据经历估计,没有考虑帧的复杂度,不够准确;图像复杂度MAD的估计仅仅利用了相邻帧或宏块间的时间相关性,即在进展预测时只考虑到了图像的全局运动,而忽略了其局部运动;在进展目标比特分配时只是简单的平均分配,完全没有考虑到当前帧或宏块的复杂度。
对此,本文作了如下改良:提出了基于bpp和I帧复杂的初始量化参数的选取算法该方法在原算法根据bpp计算出来的初始量化参数的根底上,引入了不同序列的第一个I帧的复杂度对最正确初始量化参数的影响,通过大量实验统计,得出初始量化参数与bpp及I帧复杂度的函数关系改良算法使得初始量化参数的选取更加合理,编码后得到的图像PSNR值及码率控制两方面均优于原算法提出了结合MAD和反映图像位置信息的梯度来估计图像复杂度的算法,使得图像复杂度能够有效地反映出其全局运动和局部运动实验证明,改良后的算法使得在一样的编码质量下,码率控制更加准确在新的图像复杂度估计的根底上,根据编码帧的相对复杂度进展目标比特数的分配实验说明,与原算法中的平均分配剩余比特数相比,该算法在使码率控制更加准确的同时也使得编码后图像的PSNR值波动较小英文摘要】’s encoding system. Compared with the previous coding standards, H.264 adopts many new technologies, including intra-frame and inter-frame prediction, integer transform and quantization, entropy coding and deblocking filter, which make the coding efficiency increase.Secondly,discuss the principle of rate control are, and analyze the classic rate control algorithms TMN8 and TM5, VM8.Finally, study the rate control algorithm JVT-G012 that is usually sued in H.264 deeply, and find some deficiencies in JVT-G012, mainly including: Initial QP selection just depends on the bits per pixel (bpp) or accords to experience estimates, without considering the complexity of frame, is not precise enough; MAD estimation of image complexity only makes use of the temporal correlation that exists between the adjacent frames or macro blocks, namely, the estimation only considers global motion of images, while ignoring their local motion; Average distribution is used in the allocation of target bits, without considering the complexity of current frame or the macro block. This paper presents the following improvements for these deficiencies:Put forward a selection algorithm of initial quantization parameter based on bpp and the complexity of I-frame. The algorithm introduces the influence of the first I-frame’s complexity of different sequences’to the best initial quantization parameter, on the basis of the initial quantization parameter computed by the original algorithm. Then get the initial quantization parameter as a function of bpp and the complexity of I-frame through a lot of experiments statistics. The improved algorithm makes the initial quantization parameter selection more reasonable, the PSNR of coded images and bit rate control are better than the original algorithm.An algorithm to estimate the image complexity is proposed, combining MAD and gradient, the image complexity can be effectively reflect its global motion and local motion. The experiments show that the improved algorithm can control rate more accurately in the same coding quality.Based on the new image complexity, allocate the number of target bits according to relative complexity of encoding frame. Experiment results show that rate control is more accurate, and the fluctuation of PSNR is small.【关键词】H.264码率控制 JVT-G012 图像复杂度 MAD预测【英文关键词】H.264 rate control JVT-G012 image complexity MAD prediction【目录】基于H.264的码率控制算法研究论文摘要3-5Abstract5-7第一章 绪论11-181.1 研究背景及意义111.2 视频编码的根本原理11-131.3 视频编码技术的开展及现状13-151.4 码率控制概述15-161.5 论文研究内容及构造安排16-17 论文研究内容16 论文构造安排16-171.6 本章小结17-18第二章 H.264 视频压缩编码标准18-282.1 H.264 视频编码标准的产生背景及应用18-192.2 H.264 的编码构造及其原理19-202.3 H.264 编码技术分析20-27 多模式的帧内预测20-22 精细的帧间预测22-24 整数变换和量化24-25 熵编码25-26 去方块滤波26-272.4 本章小结27-28第三章 码率控制算法研究28-483.1 码率控制的原理28-293.2 常用的码率控制算法模型29-37 MPEG-2 测试模型TM5 码率控制算法29-33 MPEG-4 VM8 码率控制算法33-34 H.263 TMN8 码率控制算法34-373.3 H.264 的码率控制算法37-47 率失真模型37-38 拉格朗日优化算法38-39 JVT-G012 码率控制算法39-47.1 根本概念39-40.2 算法流程40-41.3 GOP 层码率控制41-42.4 帧层码率控制42-45.5 根本单元层码率控制45-473.4 本章小结47-48第四章 基于 H.264 的码率控制算法研究及改良策略48-634.1 H.264 码率控制算法研究48-494.2 初始 QP 选取的改良策略49-54 本文的改良算法49-51 实验结果与分析51-544.3 图像复杂度估计的改良策略54-58 本文的改良算法55-57 实验结果与分析57-584.4 基于图像复杂度的目标比特分配策略58-61 基于帧复杂度的目标比特分配59-60 实验结果及分析60-614.5 本章小结61-63第五章 总结与展望63-655.1 总结63-645.2 展望64-65参考文献65-69作者在攻读硕士学位期间发表的学术论文69-70致谢70。
