基于H.264帧层码率控制算法的改进
Improvements on Frame_layer Rate Control for H.264
H.264/AVC采用的码率算法JVT-G012包括图像组(GOP)层码率控制、帧层码率控制和基本单元层码率控制。对其中的帧层码率控制算法进行分析,能发现在对P帧进行目标码率分配时原算法没有考虑图像本身的复杂度,不能适应场景或者运动不平稳的视频压缩。因此本文针对目标码率分配的不足进行算法改进,提出了依据前后两帧亮度分量差值的直方图(HOD)来进行图像复杂度的判断,并根据HOD设计出码率调整因子,同时考虑了P帧在GOP中不同位置的不同编码重要性,得到综合的目标码率分配算法。实验结果证明,与JVT-G012算法相比,考虑图像复杂度和不同位置编码重要性的新算法能得到更高的PSNR,输出码率控制更精确。
JVT-G012 is a kind of rate control algorithm, which is adopted by H.264/AVC, and includes GOP layer rate control, frame layer rate control and basic unit layer rate control. Analyzing the frame layer rate control algorithm, it can be found that the original algorithm does not consider the complexity of the image when it allocates the target bit for P frames, so it can’t adapt the unsmooth scene or movement changes. Therefore this paper improves the deficiencies in the target bit allocation algorithm, determines the image complexity based on the histogram of brightness difference between the before and after frames, designs a rate adjustment factor in accordance with HOD, then considers the different importance in coding of the P frame in different positions in the GOP, so a new integrated target bit allocation algorithm is proposed. Experimental results show that compared with the JVT-G012 algorithm, considering the image complexity and the importance of different locations, the new algorithm can obtain higher PSNR value and control the output bits more accurately.
罗娟
电视通信无线通信
H.264/AVC码率控制帧层码率分配图像复杂度HOD
H.264/AVCrate controlframe_layer bits allocationimage complexityHOD
罗娟.基于H.264帧层码率控制算法的改进[EB/OL].(2009-02-10)[2025-08-16].http://www.paper.edu.cn/releasepaper/content/200902-429.点此复制
评论