CN101877785A - 一种基于混合预测的视频编码方法 - Google Patents

一种基于混合预测的视频编码方法 Download PDF

Info

Publication number
CN101877785A
CN101877785A CN 200910061790 CN200910061790A CN101877785A CN 101877785 A CN101877785 A CN 101877785A CN 200910061790 CN200910061790 CN 200910061790 CN 200910061790 A CN200910061790 A CN 200910061790A CN 101877785 A CN101877785 A CN 101877785A
Authority
CN
China
Prior art keywords
mode
hybrid predicting
inter
pattern
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200910061790
Other languages
English (en)
Inventor
祝志怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200910061790 priority Critical patent/CN101877785A/zh
Publication of CN101877785A publication Critical patent/CN101877785A/zh
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本发明属于信号处理中的视频编码技术领域,具体涉及一种预测方法。本发明提供了一种视频编码技术中的混合预测方法,适用于MPEG、H.26x和AVS等视频编码标准,通过分析视频图像和预测残差的分布特性,将一种帧间预测模式和一种帧内预测模式的信息相结合,作为一种新型混合预测模式对视频序列进行预测,该结合能够打破现有视频编码技术中将时域相关性和空域相关性独立考虑的格局,提高预测图像精度,从而提高压缩效率。

Description

一种基于混合预测的视频编码方法
技术领域
本发明属于信号处理中的视频编解码技术领域,具体涉及一种预测方法。
背景技术
目前主流视频压缩标准主要包括活动图像专家组(Moving Picture ExpertGroup)制定的MPEG系列标准,国际电信联盟(InternationalTelecommunication Union)制定的H.26x系列标准,以及我国具有自主知识产权的先进音视频编码标准(Advanced Audio/Video Standard,AVS)。主流视频压缩标准中通过帧内预测和帧间预测来减少视频图像的空间冗余和时间冗余,它们利用像素间的相关性对当前像素进行预测,已达到压缩目的。帧内预测一般在不规则或者运动幅度大的情况下作为宏块的预测模式,而帧间预测一般在平稳运动的情况下作为宏块的预测模式,而一个宏块到底是用帧内预测还是帧间预测取决于整个宏块失真和码率的综合考虑,这种方法的缺点是对于某些特殊的视频序列,无论是使用帧内预测还是用帧间预测均不能达到较好的预测效果,阻碍了编码效率的进一步提高。
发明内容
为解决现有技术中存在的问题,本发明提出一种能够达到更加准确预测的混合预测模式,其步骤包括:
1.混合预测模式的确定。
1.1针对非I帧图像,对每个宏块进行预测时,将现有的帧内预测模式和帧间预测模式进行组合,每个模式对作为可能出现的混合预测模式。
1.2对于每一种可能的混合模式对,将其在该混合模式中帧内预测模式的预测值和帧间预测模式的预测值按照加权系数进行组合。
1.3同时将混合模式下的其它帧内预测信息和帧间预测信息进行结合,进入率失真循环进行模式选择。
1.4在率失真循环下,统计这些可能的混合预测模式被宏块选择为最终预测模式的出现概率。
1.5出现概率最高的混合预测模式被确定为最终的混合预测模式加入到率失真循环,作为一种新的预测模式对宏块进行预测。
2.加权系数的确定。
2.1对于混合预测模式,将帧内预测模式的预测值和帧间预测模式的预测值在一定范围内,以一定数值为间隔,将预测值进行加权运算。
2.2将加权运算后的预测值结合混合预测模式的其他开销得出各种加权值下采用该混合模式需要的总开销。
2.3选取开销最低的加权系数作为混合预测模式里采用的加权系数。
具体实施方式
以下以AVS标准为例,具体说明本发明的较佳实施方式。步骤如下:
1.混合预测模式的确定。
1.1AVS标准中有5种帧内预测模式,即Intra_8×8_Vertical、Intra_8×8_Horizontal、Intra_8×8_DC、Intra_8×8_Down_Left和Intra_8×8_Down_Right,同时帧间预测时一个16×16宏块可以被分为16×16、16×8、8×16、8×8以及Skip模式进行预测,因此可能出现的混合预测模式对为25对。
1.2将1.1中得到的每种帧内预测和帧间预测的预测值按照以下公式进行组合:
CPM ( x , y ) = Intra ( x , y ) * W 1 + Inter ( x , y ) * W 2 + R > > Shift
W1+W2=(1<<Shift)
R=1<<(Shift-1)
这里CPM(x,y)、Intra(x,y)、Inter(x,y)分别表示像素在位置(x,y)下的混合预测值,帧内预测值,帧间预测值,W1和W2分别是帧内预测的加权系数和帧间预测的加权系数,R用来进行四舍五入,一般情况下Shift等于4,R等于8。
1.3将1.2中得到的混合预测模式下的预测值带来的代价,同时结合帧内预测下模式信息带来的开销,以及帧间模式下运动矢量信息带来的开销,在率失真循环下对该混合模式进行选择。
1.4在率失真循环下,得到Intra_8×8_DC模式和Inter_P_16×16模式被选择为当前宏块最佳模式的概率最高,因此将这两种模式的组合作为新的混合预测模式。
1.5将这种混合预测模式,在视频序列每帧图像进行预测时作为一种新的可选预测模式进行模式选择,以确定率失真代价最小的模式,即最佳模式。
2.加权系数的确定。
2.1对于混合预测模式,将帧内预测模式的预测值和帧间预测模式的预测值在1/16到15/16范围内,以1/16为间隔,将预测值进行加权运算。
2.2将加权运算后的预测值结合混合预测模式的其他开销得出各种加权值下采用该混合模式需要的总开销。
2.3最终确定当帧内预测的加权系数为2/16,帧间预测的加权系数为14/16时,混合预测模式能够达到最佳预测。

Claims (4)

1.一种视频编解码技术中的新型预测方法,其特征在于:将一种帧间预测模式和一种帧内预测模式的信息相结合,作为一种新型混合预测模式,从而提高运行速度。
2.如权利要求1所述方法,其特征在于:针对非I帧图像,对每个宏块进行预测时,将现有的帧内预测模式和帧间预测模式进行组合,每个模式对作为可能出现的混合预测模式。
3.如权利要求1所述方法,其特征在于:对于每一种可能的混合模式对,将其在该混合模式中帧内预测模式的预测值和帧间预测模式的预测值按照加权系数进行结合,选择出现概率最高的混合预测模式为最终的新混合预测模式。
4.如权利要求1所述方法,其特征在于:对于混合预测模式,将帧内预测模式的预测值和帧间预测模式的预测值在一定范围内,以一定数值为间隔,将预测值进行加权运算,选取开销最低的加权系数作为混合预测模式里采用的加权系数。
CN 200910061790 2009-04-29 2009-04-29 一种基于混合预测的视频编码方法 Pending CN101877785A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910061790 CN101877785A (zh) 2009-04-29 2009-04-29 一种基于混合预测的视频编码方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910061790 CN101877785A (zh) 2009-04-29 2009-04-29 一种基于混合预测的视频编码方法

Publications (1)

Publication Number Publication Date
CN101877785A true CN101877785A (zh) 2010-11-03

Family

ID=43020235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910061790 Pending CN101877785A (zh) 2009-04-29 2009-04-29 一种基于混合预测的视频编码方法

Country Status (1)

Country Link
CN (1) CN101877785A (zh)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159306A1 (zh) * 2011-05-25 2012-11-29 深圳市融创天下科技股份有限公司 一种预测编码的方法及装置
CN107113425A (zh) * 2014-11-06 2017-08-29 三星电子株式会社 视频编码方法和设备以及视频解码方法和设备
WO2017144017A1 (en) * 2016-02-25 2017-08-31 Mediatek Inc. Method and apparatus of video coding
US9906786B2 (en) 2012-09-07 2018-02-27 Qualcomm Incorporated Weighted prediction mode for scalable video coding
CN107995489A (zh) * 2017-12-20 2018-05-04 北京大学深圳研究生院 一种用于p帧或b帧的帧内帧间组合预测方法
US10404989B2 (en) 2016-04-26 2019-09-03 Google Llc Hybrid prediction modes for video coding
WO2020098782A1 (en) * 2018-11-16 2020-05-22 Beijing Bytedance Network Technology Co., Ltd. Weights in combined inter intra prediction mode
WO2020134968A1 (zh) * 2018-12-28 2020-07-02 杭州海康威视数字技术股份有限公司 一种编解码方法及其设备
WO2020187328A1 (en) * 2019-03-21 2020-09-24 Beijing Bytedance Network Technology Co., Ltd. Signaling of combined intra-inter prediction
CN112437299A (zh) * 2018-09-21 2021-03-02 华为技术有限公司 一种帧间预测方法和装置
WO2021052506A1 (en) * 2019-09-22 2021-03-25 Beijing Bytedance Network Technology Co., Ltd. Transform unit based combined inter intra prediction
CN112655218A (zh) * 2018-09-21 2021-04-13 华为技术有限公司 一种帧间预测方法和装置
CN112956199A (zh) * 2018-11-06 2021-06-11 北京字节跳动网络技术有限公司 帧内预测的简化参数推导
US11140386B2 (en) 2018-11-22 2021-10-05 Beijing Bytedance Network Technology Co., Ltd. Coordination method for sub-block based inter prediction
US11277624B2 (en) 2018-11-12 2022-03-15 Beijing Bytedance Network Technology Co., Ltd. Bandwidth control methods for inter prediction
US11438581B2 (en) 2019-03-24 2022-09-06 Beijing Bytedance Network Technology Co., Ltd. Conditions in parameter derivation for intra prediction
US11509923B1 (en) 2019-03-06 2022-11-22 Beijing Bytedance Network Technology Co., Ltd. Usage of converted uni-prediction candidate
US11595687B2 (en) 2018-12-07 2023-02-28 Beijing Bytedance Network Technology Co., Ltd. Context-based intra prediction
US11652984B2 (en) * 2018-11-16 2023-05-16 Qualcomm Incorporated Position-dependent intra-inter prediction combination in video coding
US11729405B2 (en) 2019-02-24 2023-08-15 Beijing Bytedance Network Technology Co., Ltd. Parameter derivation for intra prediction
US11831875B2 (en) 2018-11-16 2023-11-28 Qualcomm Incorporated Position-dependent intra-inter prediction combination in video coding
US11838539B2 (en) 2018-10-22 2023-12-05 Beijing Bytedance Network Technology Co., Ltd Utilization of refined motion vector
US11871025B2 (en) 2019-08-13 2024-01-09 Beijing Bytedance Network Technology Co., Ltd Motion precision in sub-block based inter prediction
US11902507B2 (en) 2018-12-01 2024-02-13 Beijing Bytedance Network Technology Co., Ltd Parameter derivation for intra prediction
US11956465B2 (en) 2018-11-20 2024-04-09 Beijing Bytedance Network Technology Co., Ltd Difference calculation based on partial position

Cited By (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238391B (zh) * 2011-05-25 2016-12-07 深圳市云宙多媒体技术有限公司 一种预测编码方法、装置
WO2012159306A1 (zh) * 2011-05-25 2012-11-29 深圳市融创天下科技股份有限公司 一种预测编码的方法及装置
US9906786B2 (en) 2012-09-07 2018-02-27 Qualcomm Incorporated Weighted prediction mode for scalable video coding
US10666940B2 (en) 2014-11-06 2020-05-26 Samsung Electronics Co., Ltd. Video encoding method and apparatus, and video decoding method and apparatus
CN107113425A (zh) * 2014-11-06 2017-08-29 三星电子株式会社 视频编码方法和设备以及视频解码方法和设备
GB2564310B (en) * 2016-02-25 2021-08-18 Mediatek Inc Method and apparatus of video coding
GB2564310A (en) * 2016-02-25 2019-01-09 Mediatek Inc Method and apparatus of video coding
WO2017144017A1 (en) * 2016-02-25 2017-08-31 Mediatek Inc. Method and apparatus of video coding
US10404989B2 (en) 2016-04-26 2019-09-03 Google Llc Hybrid prediction modes for video coding
WO2019119910A1 (zh) * 2017-12-20 2019-06-27 北京大学深圳研究生院 一种用于p帧或b帧的帧内帧间组合预测方法
CN107995489A (zh) * 2017-12-20 2018-05-04 北京大学深圳研究生院 一种用于p帧或b帧的帧内帧间组合预测方法
US11051027B2 (en) * 2017-12-20 2021-06-29 Peking University Shenzhen Graduate School Intra-frame and inter-frame combined prediction method for P frames or B frames
CN112437299A (zh) * 2018-09-21 2021-03-02 华为技术有限公司 一种帧间预测方法和装置
CN112437299B (zh) * 2018-09-21 2022-03-29 华为技术有限公司 一种帧间预测方法、装置及存储介质
US11647207B2 (en) 2018-09-21 2023-05-09 Huawei Technologies Co., Ltd. Inter prediction method and apparatus
CN112655218B (zh) * 2018-09-21 2022-04-29 华为技术有限公司 一种帧间预测方法和装置
CN112655218A (zh) * 2018-09-21 2021-04-13 华为技术有限公司 一种帧间预测方法和装置
US11889108B2 (en) 2018-10-22 2024-01-30 Beijing Bytedance Network Technology Co., Ltd Gradient computation in bi-directional optical flow
US11838539B2 (en) 2018-10-22 2023-12-05 Beijing Bytedance Network Technology Co., Ltd Utilization of refined motion vector
US11930185B2 (en) 2018-11-06 2024-03-12 Beijing Bytedance Network Technology Co., Ltd. Multi-parameters based intra prediction
CN112956199A (zh) * 2018-11-06 2021-06-11 北京字节跳动网络技术有限公司 帧内预测的简化参数推导
US11438598B2 (en) 2018-11-06 2022-09-06 Beijing Bytedance Network Technology Co., Ltd. Simplified parameter derivation for intra prediction
US11277624B2 (en) 2018-11-12 2022-03-15 Beijing Bytedance Network Technology Co., Ltd. Bandwidth control methods for inter prediction
US11284088B2 (en) 2018-11-12 2022-03-22 Beijing Bytedance Network Technology Co., Ltd. Using combined inter intra prediction in video processing
US11843725B2 (en) 2018-11-12 2023-12-12 Beijing Bytedance Network Technology Co., Ltd Using combined inter intra prediction in video processing
US11956449B2 (en) 2018-11-12 2024-04-09 Beijing Bytedance Network Technology Co., Ltd. Simplification of combined inter-intra prediction
US11516480B2 (en) 2018-11-12 2022-11-29 Beijing Bytedance Network Technology Co., Ltd. Simplification of combined inter-intra prediction
US11831875B2 (en) 2018-11-16 2023-11-28 Qualcomm Incorporated Position-dependent intra-inter prediction combination in video coding
CN111630858A (zh) * 2018-11-16 2020-09-04 北京字节跳动网络技术有限公司 组合帧间帧内预测模式中的权重
CN111630858B (zh) * 2018-11-16 2024-03-29 北京字节跳动网络技术有限公司 组合帧间帧内预测模式中的权重
WO2020098782A1 (en) * 2018-11-16 2020-05-22 Beijing Bytedance Network Technology Co., Ltd. Weights in combined inter intra prediction mode
US11652984B2 (en) * 2018-11-16 2023-05-16 Qualcomm Incorporated Position-dependent intra-inter prediction combination in video coding
US11956465B2 (en) 2018-11-20 2024-04-09 Beijing Bytedance Network Technology Co., Ltd Difference calculation based on partial position
US11431964B2 (en) 2018-11-22 2022-08-30 Beijing Bytedance Network Technology Co., Ltd. Coordination method for sub-block based inter prediction
US11632541B2 (en) 2018-11-22 2023-04-18 Beijing Bytedance Network Technology Co., Ltd. Using collocated blocks in sub-block temporal motion vector prediction mode
US11671587B2 (en) 2018-11-22 2023-06-06 Beijing Bytedance Network Technology Co., Ltd Coordination method for sub-block based inter prediction
US11140386B2 (en) 2018-11-22 2021-10-05 Beijing Bytedance Network Technology Co., Ltd. Coordination method for sub-block based inter prediction
US11902507B2 (en) 2018-12-01 2024-02-13 Beijing Bytedance Network Technology Co., Ltd Parameter derivation for intra prediction
US11595687B2 (en) 2018-12-07 2023-02-28 Beijing Bytedance Network Technology Co., Ltd. Context-based intra prediction
WO2020134969A1 (zh) * 2018-12-28 2020-07-02 杭州海康威视数字技术股份有限公司 一种编解码方法及其设备
WO2020134968A1 (zh) * 2018-12-28 2020-07-02 杭州海康威视数字技术股份有限公司 一种编解码方法及其设备
US11729405B2 (en) 2019-02-24 2023-08-15 Beijing Bytedance Network Technology Co., Ltd. Parameter derivation for intra prediction
US11509923B1 (en) 2019-03-06 2022-11-22 Beijing Bytedance Network Technology Co., Ltd. Usage of converted uni-prediction candidate
US11930165B2 (en) 2019-03-06 2024-03-12 Beijing Bytedance Network Technology Co., Ltd Size dependent inter coding
US11876993B2 (en) 2019-03-21 2024-01-16 Beijing Bytedance Network Technology Co., Ltd Signaling of combined intra-inter prediction
US11425406B2 (en) 2019-03-21 2022-08-23 Beijing Bytedance Network Technology Co., Ltd. Weighting processing of combined intra-inter prediction
US11330257B2 (en) 2019-03-21 2022-05-10 Beijing Bytedance Network Technology Co., Ltd. Extended application of combined intra-inter prediction
WO2020187328A1 (en) * 2019-03-21 2020-09-24 Beijing Bytedance Network Technology Co., Ltd. Signaling of combined intra-inter prediction
US11438581B2 (en) 2019-03-24 2022-09-06 Beijing Bytedance Network Technology Co., Ltd. Conditions in parameter derivation for intra prediction
US11871025B2 (en) 2019-08-13 2024-01-09 Beijing Bytedance Network Technology Co., Ltd Motion precision in sub-block based inter prediction
US11695946B2 (en) 2019-09-22 2023-07-04 Beijing Bytedance Network Technology Co., Ltd Reference picture resampling in video processing
WO2021052506A1 (en) * 2019-09-22 2021-03-25 Beijing Bytedance Network Technology Co., Ltd. Transform unit based combined inter intra prediction

Similar Documents

Publication Publication Date Title
CN101877785A (zh) 一种基于混合预测的视频编码方法
CN103188496B (zh) 基于运动矢量分布预测的快速运动估计视频编码方法
CN105187837B (zh) 执行帧内预测的视频解码/编码方法和装置
CN105704495B (zh) 时间运动矢量预测的方法与装置
CN104038764B (zh) 一种h.264到h.265的视频转码方法及转码器
CN102301716B (zh) 解码代表画面序列的流的方法,编码画面序列的方法以及编码的数据结构
CN107071430A (zh) 视频解码设备
CN101022555B (zh) 帧间预测编码的模式快速选择方法
CN104333756B (zh) 基于时域相关性的hevc预测模式快速选择方法
CN101783957A (zh) 一种视频预测编码方法和装置
CN107888929A (zh) 视频编码解码方法、设备以及生成和存储比特流的方法
CN104883565A (zh) 一种高效视频编码的帧内预测模式决策方法及装置
CN104811729B (zh) 一种视频多参考帧编码方法
CN101401436B (zh) 帧内预测模式选择方法及装置、运动图像编码方法及装置
CN101304529A (zh) 宏块模式的选择方法和装置
CN101562750B (zh) 视频编码快速模式选择装置及方法
CN102186081A (zh) 一种基于梯度向量的h.264帧内模式选择方法
CN101895761B (zh) 一种快速帧内预测算法
CN103384327A (zh) 基于自适应阈值的avs快速模式选择算法
CN102946533B (zh) 视频编码
CN101867818B (zh) 宏块模式的选择方法和装置
CN101883275A (zh) 视频编码方法
CN100558169C (zh) 视频转码中帧间模式的快速选择方法
CN102984524A (zh) 一种基于图层分解的视频编解码方法
CN101783949B (zh) 一种skip块模式选择方法

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Zhu Zhiyi

Document name: Notification of Publication of the Application for Invention

DD01 Delivery of document by public notice

Addressee: Zhu Zhiyi

Document name: Notification of before Expiration of Request of Examination as to Substance

DD01 Delivery of document by public notice

Addressee: Zhu Zhiyi

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101103