CN107147911A - Method and device for fast inter-frame coding mode selection based on local brightness compensation LIC - Google Patents

Method and device for fast inter-frame coding mode selection based on local brightness compensation LIC Download PDF

Info

Publication number
CN107147911A
CN107147911A CN201710541886.4A CN201710541886A CN107147911A CN 107147911 A CN107147911 A CN 107147911A CN 201710541886 A CN201710541886 A CN 201710541886A CN 107147911 A CN107147911 A CN 107147911A
Authority
CN
China
Prior art keywords
lic
unit
current coded
patterns
coding unit
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.)
Granted
Application number
CN201710541886.4A
Other languages
Chinese (zh)
Other versions
CN107147911B (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.)
Central South University
Original Assignee
Central South University
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 Central South University filed Critical Central South University
Priority to CN201710541886.4A priority Critical patent/CN107147911B/en
Publication of CN107147911A publication Critical patent/CN107147911A/en
Application granted granted Critical
Publication of CN107147911B publication Critical patent/CN107147911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a kind of quick interframe coding mode selection method and device that LIC is compensated based on local luminance, the brightness variation characteristic and temporal correlation that the program obtains video sequence by the current coded unit CU of the video histograms that CU is matched with reference frame shift to an earlier date anticipation and go out that LIC encoding block need not be carried out, skip unnecessary and time-consuming LIC selection courses, the computation complexity of coding is reduced, the scramble time is reduced;The present invention is simple and easy to apply, is conducive to the Industry Promotion of video encoding standard of new generation.

Description

基于局部亮度补偿LIC的快速帧间编码模式选择方法及装置Method and device for fast inter-frame coding mode selection based on local brightness compensation LIC

技术领域technical field

本发明属于视频编码领域,特别涉及一种基于局部亮度补偿LIC的快速帧间编码模式选择方法及装置。The invention belongs to the field of video coding, in particular to a fast inter-frame coding mode selection method and device based on local brightness compensation LIC.

背景技术Background technique

LIC(Local Illumination Compensation)是一种用于图像亮度变化的线性模型,使用缩放因子a和偏移b对原像素进行亮度补偿,并且针对每个帧间编码单元(CU)自适应地启用或禁用。最近,新一代视频编码标准的制定引入了大量的新型编码工具,LIC技术则是其中之一。LIC (Local Illumination Compensation) is a linear model for image brightness changes, using scaling factor a and offset b to compensate the brightness of the original pixel, and adaptively enable or disable for each inter coding unit (CU) . Recently, the establishment of a new generation of video coding standards has introduced a large number of new coding tools, and LIC technology is one of them.

近年来,随着高清、超高清视频(分辨率达4K×2K、8K×4K)应用逐步走进人们的视野,视频压缩技术受到了巨大的挑战,视频压缩编码标准体系也得到了迅猛发展,此外,各式各样的视频应用也随着网络和存储技术的发展不断涌现,如今,数字视频广播、移动无线视频、远程检测、医学成像和便携摄影等,都已走进人们的生活,大众对于视频质量的要求也越来越高,因此,视频应用的多样化和高清化趋势对于比H.265/HEVC编码效率更高的下一代视频编码标准提出了更强烈的要求。正是在这样的背景下,ITU-T VCEG的VCEG(视频编码专家组)和ISO/IEC的MPEG(动态图像专家组)于2016年成立了视频编码探究联合小组JVET(Joint Video Exploration Team),旨在探讨新一代视频编码标准的研发和制定。In recent years, with the application of high-definition and ultra-high-definition video (resolution up to 4K×2K, 8K×4K) gradually entering people’s field of vision, video compression technology has been greatly challenged, and the video compression coding standard system has also been developed rapidly. In addition, various video applications are also emerging with the development of network and storage technologies. Today, digital video broadcasting, mobile wireless video, remote detection, medical imaging and portable photography have all entered people's lives. The requirements for video quality are also getting higher and higher. Therefore, the diversification of video applications and the trend of high-definition have put forward stronger requirements for the next-generation video coding standard with higher coding efficiency than H.265/HEVC. It is against this background that the VCEG (Video Coding Experts Group) of ITU-T VCEG and the MPEG (Motion Picture Experts Group) of ISO/IEC established the JVET (Joint Video Exploration Team) in 2016. The purpose is to explore the development and formulation of a new generation of video coding standards.

新一代的视频编码标准依旧采用混合编码框架,包括变换、量化、熵编码、帧内预测、帧间预测以及环路滤波等模块,但是,为了提高视频压缩率,该标准采用QTBT(Quadtreeplus binary tree)的划分结构,取代了HEVC的四叉树划分。在QTBT结构下,去掉了多种划分类型如CU、PU和TU分离观念,支持更弹性的CU划分类型来更好的匹配视频数据的局部特征,同时在各个模块引入了一系列相当耗时的新型编码工具,例如基于Affine的merge技术,基于FRUC的merge技术,局部亮度补偿技术,简称LIC(Local IlluminationCompensation)等,这些提高压缩率的改进大幅度提高了编码器的计算复杂度,不利于新一代视频编码标准的产业化推广。因此,在保证视频主观质量下降可忽略不计的情况下优化编码器并减少编码时间是视频编解码领域亟待研究和解决的问题之一。The new generation of video coding standards still uses a hybrid coding framework, including modules such as transform, quantization, entropy coding, intra-frame prediction, inter-frame prediction, and loop filtering. However, in order to improve the video compression rate, the standard uses QTBT (Quadtreeplus binary tree ) partition structure, replacing the quadtree partition of HEVC. Under the QTBT structure, a variety of division types such as CU, PU and TU separation concepts are removed, and more flexible CU division types are supported to better match the local characteristics of video data. At the same time, a series of time-consuming procedures are introduced in each module. New coding tools, such as Affine-based merge technology, FRUC-based merge technology, local brightness compensation technology, referred to as LIC (Local Illumination Compensation), etc., these improvements to improve the compression rate have greatly increased the computational complexity of the encoder, which is not conducive to new The industrial promotion of a generation of video coding standards. Therefore, optimizing the encoder and reducing the encoding time while ensuring that the subjective quality of the video is negligible is one of the problems to be studied and solved in the field of video encoding and decoding.

新一代视频编码标准引入的LIC技术主要通过图像亮度变化特征和率失真函数判断当前编码块是否进行布局亮度补偿。主要分为两个步骤,第一步,若当前帧与其参考帧之间没有明显的亮度变化时,则整个帧均不进行LIC。为了识别这种情况,编码器在图像进行编码之前计算出当前帧与参考帧之间的直方图差,若所有像素值的差之和小于给定的阈值,则无需对当前帧进行LIC;否则,对当前帧进行LIC;The LIC technology introduced by the new generation of video coding standards mainly judges whether the current coding block performs layout brightness compensation through the image brightness change characteristics and the rate-distortion function. It is mainly divided into two steps. In the first step, if there is no obvious brightness change between the current frame and its reference frame, no LIC is performed on the entire frame. In order to identify this situation, the encoder calculates the histogram difference between the current frame and the reference frame before encoding the image. If the sum of the differences of all pixel values is less than a given threshold, there is no need to perform LIC on the current frame; otherwise , perform LIC on the current frame;

在帧间预测过程中,编码器会对2Nx2N、FRUC merge、IMV 2Nx2N这三种模式进行无LIC和有LIC两次操作,通过比较率失真函数RD Cost选择当前编码块的LIC模式(是或否),若是,则通过使用当前CU块及其参考块的相邻样本,采用最小二乘法计算出参数a和b。更具体地说,如图1所示,使用参考块和当前块的相邻像素的1/2下采样点进行计算,获取LIC参数并对当前块所有像素点进行补偿再进行帧间预测。否则,无需补偿而直接进行帧间预测即可。During the inter-frame prediction process, the encoder will perform two operations on the three modes of 2Nx2N, FRUC merge, and IMV 2Nx2N without LIC and with LIC, and select the LIC mode of the current encoding block by comparing the rate-distortion function RD Cost (yes or no ), if so, the parameters a and b are calculated by using the least squares method by using the adjacent samples of the current CU block and its reference block. More specifically, as shown in FIG. 1 , the reference block and the 1/2 downsampled points of the adjacent pixels of the current block are used for calculation, and the LIC parameters are obtained and all pixels of the current block are compensated for inter-frame prediction. Otherwise, inter prediction can be performed directly without compensation.

通过对新一代视频编码标准的参考软件JEM的测试分析发现,在Lowdelay配置下,LIC技术的编码时间占总编码时间的30%~35%,因此,如果能通过相关信息提前预测出是否进行LIC模式,从而避免不必要的判断选择过程将大大提高新一代视频编码标准的编码效率。Through the test and analysis of the reference software JEM of the new generation of video coding standards, it is found that under the Lowdelay configuration, the coding time of LIC technology accounts for 30% to 35% of the total coding time. mode, so as to avoid unnecessary judgment and selection process will greatly improve the coding efficiency of the new generation of video coding standards.

发明内容Contents of the invention

本发明的目的在于提供了一种基于局部亮度补偿LIC的快速帧间编码模式选择方法及装置,通过视频的亮度变化特征和时空相关性提前预判出无需进行LIC的编码块,跳过不必要且耗时的LIC选择过程,降低编码的计算复杂度,减少编码时间。The object of the present invention is to provide a fast inter-frame coding mode selection method and device based on local brightness compensation LIC, which can predict in advance the coding blocks that do not need to perform LIC through the brightness change characteristics of the video and the temporal-spatial correlation, and skip unnecessary coding blocks. And the time-consuming LIC selection process reduces the computational complexity of encoding and reduces encoding time.

一种基于局部亮度补偿LIC的快速帧间编码模式选择方法,所有视频帧中的编码单元依次进行无LIC的Affine Merge模式、普通Merge模式、FRUC Merge模式和2N×2N模式,获得每个模式下编码单元的率失真代价,选择最小率失真代价对应的模式作为编码单元的编码模式;若当前编码单元所在帧的LIC模式标志位为真,则当前编码单元继续进行有LIC的FRUC Merge模式和2N×2N模式,获取当前编码单元CU与参考帧匹配编码单元CU之间的亮度值残差和SumPixelSAD与亮度直方图的差值之和SumHistSAD,若当前编码单元CU中的亮度值残差率小于设定第一阈值或者当前编码单元CU中的直方图差值率小于设定第二阈值,则当前编码单元跳过LIC模式;A fast inter-frame coding mode selection method based on local brightness compensation LIC. The coding units in all video frames sequentially perform Affine Merge mode without LIC, normal Merge mode, FRUC Merge mode and 2N×2N mode to obtain The rate-distortion cost of the coding unit, select the mode corresponding to the minimum rate-distortion cost as the coding mode of the coding unit; if the LIC mode flag bit of the frame where the current coding unit is located is true, the current coding unit continues to perform FRUC Merge mode with LIC and 2N ×2N mode, to obtain the sum of the luminance value residual between the current coding unit CU and the reference frame matching CU and the difference between SumPixel SAD and the luminance histogram SumHist SAD , if the luminance value residual rate in the current coding unit CU Less than the set first threshold or the histogram difference rate in the current coding unit CU is less than the set second threshold, the current coding unit skips the LIC mode;

所述参考帧匹配编码单元CU是利用当前编码单元在所选编码模式下的运动矢量MV,对参考帧同位块进行运动补偿得到的编码单元,所述同位块是指处于参考帧中,且位置和当前编码单元在当前帧中的位置一样的编码单元;The reference frame matching coding unit CU is a coding unit obtained by performing motion compensation on the co-located block of the reference frame by using the motion vector MV of the current coding unit in the selected coding mode. A coding unit at the same position as the current coding unit in the current frame;

所述当前编码单元CU与参考帧匹配编码单元CU之间的亮度值残差和SumPixelSAD是通过对当前编码单元CU与参考帧匹配编码单元CU之间对应像素点之间的像素值之差求和获得;The luminance value residual and SumPixel SAD between the current coding unit CU and the reference frame matching coding unit CU are obtained by calculating the difference between the pixel values of the corresponding pixel points between the current coding unit CU and the reference frame matching coding unit CU and get;

所述当前编码单元CU与参考帧匹配编码单元CU之间的亮度直方图的差值之和是通过对当前编码单元CU与参考帧匹配编码单元CU之间对应灰度级之间的直方图值之差求和获得;The sum of the difference of the brightness histogram between the current coding unit CU and the reference frame matching coding unit CU is obtained by matching the histogram value between the corresponding gray levels between the current coding unit CU and the reference frame matching coding unit CU The sum of the differences is obtained;

WCU为当前编码单元CU中的像素点个数,第一阈值取值为1-10,第二阈值取值为0-2。W CU is the number of pixels in the current coding unit CU, the value of the first threshold is 1-10, and the value of the second threshold is 0-2.

进一步地,在进行LIC模式前,先计算当前编码单元CU的相邻编码单元的LIC标志位为真的总数量再判断是否满足:若满足,则当前编码单元CU跳过LIC模式,否则,当前编码单元继续进行有LIC的FRUC Merge模式和2N×2N模式;Further, before performing the LIC mode, first calculate the total number of true LIC flags of the adjacent coding units of the current coding unit CU Then judge whether it is satisfied: If it is satisfied, the current coding unit CU skips the LIC mode, otherwise, the current coding unit continues to perform the FRUC Merge mode and 2N×2N mode with LIC;

其中,CUx表示当前编码单元的相邻单元,x∈{Left、AboveLeft、Above、Col},CULeft、CUAboveLeft、CUAbove、CUCol分别代表当前编码单元的左邻块、左上邻块、上邻块以及同位块,所述同位块是指处于参考帧中,且位置和当前编码单元在当前帧中的位置一样的编码单元;f(CUx)表示当前编码单元的相邻单元的LIC标志位,若为真,取值为1,否则,取值为0。Among them, CU x represents the adjacent unit of the current coding unit, x∈{Left, AboveLeft, Above, Col}, CU Left , CU AboveLeft , CU Above , and CU Col respectively represent the left adjacent block, upper left adjacent block, Upper adjacent block and co-located block, the co-located block refers to the coding unit that is in the reference frame and has the same position as the current coding unit in the current frame; f(CU x ) represents the LIC of the adjacent unit of the current coding unit The flag, if true, takes the value 1, otherwise, takes the value 0.

进一步地,当前编码单元进行有LIC的FRUC Merge模式和2N×2N模式后,再接着进行无LIC的IMV_2N×2N模式,获得所有模式下对应的率失真代价,并以最小率失真代价对应的模式作为最佳模式;若最佳模式为经过LIC处理的模式,且相邻编码单元LIC标志位为真的总数量不为0,则当前编码单元继续进行有LIC的IMV_2N×2N模式;否则,当前编码单元跳过有LIC的IMV_2N×2N模式。Furthermore, after the current coding unit performs the FRUC Merge mode with LIC and the 2N×2N mode, it then performs the IMV_2N×2N mode without LIC to obtain the corresponding rate-distortion costs in all modes, and use the mode corresponding to the minimum rate-distortion cost As the best mode; if the best mode is the mode processed by LIC, and the LIC flag bit of the adjacent coding unit is true, the total number If it is not 0, the current coding unit continues the IMV_2N×2N mode with LIC; otherwise, the current coding unit skips the IMV_2N×2N mode with LIC.

一种基于局部亮度补偿LIC的快速帧间编码模式选择装置,包括:A fast inter-frame coding mode selection device based on local brightness compensation LIC, comprising:

率失真代价计算单元,用于对所有视频帧中的编码单元依次进行无LIC的AffineMerge模式、普通Merge模式、FRUC Merge模式和2N×2N模式,获得每个模式下编码单元的率失真代价;The rate-distortion cost calculation unit is used to sequentially perform LIC-free AffineMerge mode, normal Merge mode, FRUC Merge mode and 2N×2N mode on the coding units in all video frames, and obtain the rate-distortion cost of the coding units in each mode;

选择单元,通过选择最小率失真代价对应的模式作为编码单元的编码模式;Selecting the unit by selecting the mode corresponding to the minimum rate-distortion cost as the coding mode of the coding unit;

跳过单元,若当前编码单元所在帧的LIC模式标志位为真时,按照以下规则判断当前编码单元是否跳过LIC模式:Skip the unit, if the LIC mode flag of the frame where the current coding unit is located is true, judge whether the current coding unit skips the LIC mode according to the following rules:

若当前编码单元CU中的亮度值残差率小于设定第一阈值或者当前编码单元CU中的直方图差值率小于设定第二阈值,则当前编码单元跳过LIC模式;If the luminance value residual rate in the current coding unit CU Less than the set first threshold or the histogram difference rate in the current coding unit CU is less than the set second threshold, the current coding unit skips the LIC mode;

其中,SumPixelSAD和SumHistSAD分别表示当前编码单元CU与参考帧匹配编码单元CU之间的亮度值残差和与亮度直方图的差值之和;Among them, SumPixel SAD and SumHist SAD respectively represent the sum of the difference between the brightness value residual and the brightness histogram between the current coding unit CU and the reference frame matching coding unit CU;

所述参考帧匹配编码单元CU是利用当前编码单元在所选编码模式下的运动矢量MV,对参考帧同位块进行运动补偿得到的编码单元,所述同位块是指处于参考帧中,且位置和当前编码单元在当前帧中的位置一样的编码单元;The reference frame matching coding unit CU is a coding unit obtained by performing motion compensation on the co-located block of the reference frame by using the motion vector MV of the current coding unit in the selected coding mode. A coding unit at the same position as the current coding unit in the current frame;

所述当前编码单元CU与参考帧匹配编码单元CU之间的亮度值残差和SumPixelSAD是通过对当前编码单元CU与参考帧匹配编码单元CU之间对应像素点之间的像素值之差求和获得;The luminance value residual and SumPixel SAD between the current coding unit CU and the reference frame matching coding unit CU are obtained by calculating the difference between the pixel values of the corresponding pixel points between the current coding unit CU and the reference frame matching coding unit CU and get;

所述当前编码单元CU与参考帧匹配编码单元CU之间的亮度直方图的差值之和SumHistSAD是通过对当前编码单元CU与参考帧匹配编码单元CU之间对应灰度级之间的直方图值之差求和获得;The sum of the difference SumHist SAD of the luminance histogram between the current coding unit CU and the reference frame matching coding unit CU is obtained by matching the histogram between the corresponding gray levels between the current coding unit CU and the reference frame matching coding unit CU The sum of the difference between the graph values is obtained;

WCU为当前编码单元CU中的像素点个数,第一阈值取值为1-10,第二阈值取值为0-2。W CU is the number of pixels in the current coding unit CU, the value of the first threshold is 1-10, and the value of the second threshold is 0-2.

进一步地,在进行LIC模式前,通过统计当前编码单元CU的相邻编码单元的LIC标志位为真的总数量并判断是否为0,若为0,则当前编码单元CU跳过LIC模式,否则,当前编码单元继续进行有LIC的FRUC Merge模式和2N×2N模式。Further, before performing the LIC mode, by counting the total number of true LIC flags of the adjacent coding units of the current coding unit CU and judge Whether it is 0, if it is 0, the current coding unit CU skips the LIC mode, otherwise, the current coding unit continues to perform the FRUC Merge mode and 2N×2N mode with LIC.

进一步地,还包括最佳模式选取单元,若选取的最佳模式属于经过LIC处理的模式,且相邻编码单元LIC标志位为真的总数量不为0,则当前编码单元继续进行有LIC的IMV_2N×2N模式,否则,跳过LIC的IMV_2N×2N模式;Further, it also includes the best mode selection unit, if the selected best mode belongs to the mode processed by LIC, and the total number of adjacent coding unit LIC flags is true If it is not 0, the current coding unit continues to perform the IMV_2N×2N mode with LIC, otherwise, skip the IMV_2N×2N mode with LIC;

所述最佳模式选取单元是在当前编码单元进行有LIC的FRUC Merge模式和2N×2N模式后,再接着进行无LIC的IMV_2N×2N模式,获得所有模式下对应的率失真代价,并以最小率失真代价对应的模式选出最佳模式。The optimal mode selection unit performs the FRUC Merge mode with LIC and the 2N×2N mode in the current coding unit, and then performs the IMV_2N×2N mode without LIC to obtain the corresponding rate-distortion costs in all modes, and use the minimum The mode corresponding to the rate-distortion cost is used to select the best mode.

有益效果Beneficial effect

本发明提供了一种基于局部亮度补偿LIC的快速帧间编码模式选择方法及装置,该方案通过视频的亮度变化特征和时空相关性提前预判出无需进行LIC的编码块,跳过不必要且耗时的LIC选择过程,降低编码的计算复杂度,减少编码时间;具体体现在以下几点:The present invention provides a fast inter-frame coding mode selection method and device based on local brightness compensation LIC. The scheme predicts in advance the coding blocks that do not need to perform LIC through the brightness change characteristics of the video and the temporal-spatial correlation, and skips unnecessary and The time-consuming LIC selection process reduces the computational complexity of encoding and reduces encoding time; specifically reflected in the following points:

1.利用当前编码单元CU与参考帧匹配块的直方图获得视频序列的亮度变化特征,避免编码流程中耗时的LIC模式选择过程,减少编码时间;1. Use the histogram of the current coding unit CU and the matching block of the reference frame to obtain the brightness change characteristics of the video sequence, avoid the time-consuming LIC mode selection process in the coding process, and reduce the coding time;

2.利用视频序列的时空相关性避免编码流程中耗时的LIC模式选择过程,降低了新一代视频编码的计算复杂度,大幅度地提升了编码效率;2. Utilize the temporal and spatial correlation of video sequences to avoid the time-consuming LIC mode selection process in the encoding process, reduce the computational complexity of the new generation of video encoding, and greatly improve the encoding efficiency;

3.利用非IMV模式得到的最佳LIC模式信息避免IMV_2N×2N模式中不必要的LIC模式选择过程,提高编码效率;3. Use the best LIC mode information obtained in non-IMV mode to avoid unnecessary LIC mode selection process in IMV_2N×2N mode and improve coding efficiency;

4.本发明简单易行,有利于新一代视频编码标准的产业化推广。4. The present invention is simple and easy to implement, and is beneficial to the industrial promotion of the new generation of video coding standards.

附图说明Description of drawings

图1为获取LIC参数的相邻像素示意图;Fig. 1 is the adjacent pixel schematic diagram of obtaining LIC parameter;

图2为本发明的整体流程图。Fig. 2 is the overall flow chart of the present invention.

具体实施方式detailed description

下面将结合附图和实施例对本发明做进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

为减少编码时间,提高工作效率,本发明具体采用的技术方案为:首先判断当前块所在图像帧是否需要进行LIC模式的选择,若是,则首先计算当前块与参考帧匹配块的亮度直方图之差的和SumHistSAD以及亮度值残差的和SumPixelSAD,若SumHistSAD/WCU0或者SumPixelSAD/WCU1,则认为当前块与参考帧匹配块亮度变化不明显,则提前判定当前块无需进行亮度补偿,并跳过LIC模式选择过程。其次,若非IMV中最佳模式的LIC模式为否,则跳过IMV模式的LIC模式选择过程。另外,根据视频序列的时空相关性,获取当前块的相邻块和同位块对其LIC模式进行预判,若其相邻块和同位块的LIC模式均为否,则认为当前块的LIC模式也为否,直接跳过耗时的LIC模式选择过程。In order to reduce encoding time and improve work efficiency, the technical solution specifically adopted in the present invention is: firstly judge whether the image frame where the current block is located needs to select the LIC mode; The SumHist SAD of the difference and the SumPixel SAD of the luminance value residual, if SumHist SAD /W CU0 or SumPixel SAD /W CU1 , it is considered that the brightness change of the current block and the reference frame matching block is not obvious, and the advance It is determined that brightness compensation is not required for the current block, and the LIC mode selection process is skipped. Second, if the LIC mode that is not the best mode in IMV is No, the LIC mode selection process of the IMV mode is skipped. In addition, according to the temporal-spatial correlation of the video sequence, the adjacent blocks and co-located blocks of the current block are obtained to predict the LIC mode of the current block. Also for No, directly skip the time-consuming LIC mode selection process.

一种基于局部亮度补偿LIC的快速帧间编码模式选择装置,包括:A fast inter-frame coding mode selection device based on local brightness compensation LIC, comprising:

率失真代价计算单元,用于对所有视频帧中的编码单元依次进行无LIC的AffineMerge模式、普通Merge模式、FRUC Merge模式和2N×2N模式,获得每个模式下编码单元的率失真代价;The rate-distortion cost calculation unit is used to sequentially perform LIC-free AffineMerge mode, normal Merge mode, FRUC Merge mode and 2N×2N mode on the coding units in all video frames, and obtain the rate-distortion cost of the coding units in each mode;

选择单元,通过选择最小率失真代价对应的模式作为编码单元的编码模式;Selecting the unit by selecting the mode corresponding to the minimum rate-distortion cost as the coding mode of the coding unit;

跳过单元,若当前编码单元所在帧的LIC模式标志位为真时,按照以下规则判断当前编码单元是否跳过LIC模式:Skip the unit, if the LIC mode flag of the frame where the current coding unit is located is true, judge whether the current coding unit skips the LIC mode according to the following rules:

若当前编码单元CU中的亮度值残差率小于设定第一阈值或者当前编码单元CU中的直方图差值率小于设定第二阈值,则当前编码单元跳过LIC模式;If the luminance value residual rate in the current coding unit CU Less than the set first threshold or the histogram difference rate in the current coding unit CU is less than the set second threshold, the current coding unit skips the LIC mode;

其中,SumPixelSAD和SumHistSAD分别表示当前编码单元CU与参考帧匹配编码单元CU之间的亮度值残差和与亮度直方图的差值之和;Among them, SumPixel SAD and SumHist SAD respectively represent the sum of the difference between the brightness value residual and the brightness histogram between the current coding unit CU and the reference frame matching coding unit CU;

所述参考帧匹配编码单元CU是利用当前编码单元CU在所选编码模式下的运动矢量MV,对参考帧同位块进行运动补偿得到的编码单元,所述同位块是指处于参考帧中,且位置和当前编码单元在当前帧中的位置一样的编码单元;The reference frame matching coding unit CU is a coding unit obtained by performing motion compensation on the co-located block of the reference frame by using the motion vector MV of the current coding unit CU in the selected coding mode, the co-located block refers to being in the reference frame, and A coding unit whose position is the same as that of the current coding unit in the current frame;

所述当前编码单元CU与参考帧匹配编码单元CU之间的亮度值残差和SumPixelSAD是通过对当前编码单元CU与参考帧匹配编码单元CU之间对应像素点之间的像素值之差求和获得;The luminance value residual and SumPixel SAD between the current coding unit CU and the reference frame matching coding unit CU are obtained by calculating the difference between the pixel values of the corresponding pixel points between the current coding unit CU and the reference frame matching coding unit CU and get;

所述当前编码单元CU与参考帧匹配编码单元CU之间的亮度直方图的差值之和SumHistSAD是通过对当前编码单元CU与参考帧匹配编码单元CU之间对应灰度级之间的直方图值之差求和获得;The sum of the difference SumHist SAD of the luminance histogram between the current coding unit CU and the reference frame matching coding unit CU is obtained by matching the histogram between the corresponding gray levels between the current coding unit CU and the reference frame matching coding unit CU The sum of the difference between the graph values is obtained;

WCU为当前编码单元CU中的像素点个数,第一阈值取值为1-10,第二阈值取值为0-2。W CU is the number of pixels in the current coding unit CU, the value of the first threshold is 1-10, and the value of the second threshold is 0-2.

在进行LIC模式前,通过统计当前编码单元CU的相邻编码单元的LIC标志位为真的总数量并判断是否为0,若为0,则当前编码单元CU跳过LIC模式,否则,当前编码单元继续进行有LIC的FRUC Merge模式和2N×2N模式。Before performing the LIC mode, by counting the total number of LIC flags of the adjacent coding units of the current coding unit CU that are true and judge Whether it is 0, if it is 0, the current coding unit CU skips the LIC mode, otherwise, the current coding unit continues to perform the FRUC Merge mode and 2N×2N mode with LIC.

还包括最佳模式选取单元,若选取的最佳模式属于经过LIC处理的模式,且相邻编码单元LIC标志位为真的总数量不为0,则当前编码单元继续进行有LIC的IMV_2N×2N模式,否则,跳过LIC的IMV_2N×2N模式;Also includes the best mode selection unit, if the selected best mode belongs to the mode processed by LIC, and the total number of adjacent coding unit LIC flags is true If it is not 0, the current coding unit continues to perform the IMV_2N×2N mode with LIC, otherwise, skip the IMV_2N×2N mode with LIC;

所述最佳模式选取单元是在当前编码单元进行有LIC的FRUC Merge模式和2N×2N模式后,再接着进行无LIC的IMV_2N×2N模式,获得所有模式下对应的率失真代价,并以最小率失真代价对应的模式选出最佳模式。The optimal mode selection unit performs the FRUC Merge mode with LIC and the 2N×2N mode in the current coding unit, and then performs the IMV_2N×2N mode without LIC to obtain the corresponding rate-distortion costs in all modes, and use the minimum The mode corresponding to the rate-distortion cost is used to select the best mode.

实施例一Embodiment one

一种基于局部亮度补偿LIC的快速帧间编码模式选择方法,包括以下步骤:A fast inter-frame coding mode selection method based on local brightness compensation LIC, comprising the following steps:

步骤一:在帧间预测中,JEM编码器依次进行无LIC(无LIC:未进行局部亮度补偿)的Affine Merge、普通Merge、FRUC Merge和2N×2N模式,然后根据率失真代价决策出一个最佳模式;Step 1: In inter-frame prediction, the JEM encoder sequentially performs Affine Merge, normal Merge, FRUC Merge and 2N×2N modes without LIC (no LIC: no local brightness compensation), and then decides the best value according to the rate-distortion cost. best mode;

步骤二:首先获取当前编码单元CU所在图像帧的LIC模式标志位,以此来初始化当前块的LIC标志位Cur_ICFlag,若Cur_ICFlag=true,则继续步骤三;否则,转到步骤八;Step 2: First obtain the LIC mode flag bit of the image frame where the current coding unit CU is located, so as to initialize the LIC flag bit Cur_IC Flag of the current block, if Cur_IC Flag =true, then continue to step 3; otherwise, go to step 8;

步骤三:利用步骤一中得到的最佳模式获取运动矢量MV,然后对参考帧同位块进行运动补偿,即根据该MV对同位块进行平移得到当前CU的匹配块RefCU;Step 3: Use the best mode obtained in step 1 to obtain the motion vector MV, and then perform motion compensation on the co-located block of the reference frame, that is, translate the co-located block according to the MV to obtain the matching block RefCU of the current CU;

步骤四:利用步骤三获得的匹配块RefCU,获取当前块和匹配块中各个像素点的亮度值。据此生成亮度直方图CurrHist[NPel]、RefHist[NPel],其中,NPel为视频序列中亮度的最大取值,由于测试序列中亮度取值范围为0~255,故算法中取值为255。另外,通过Step 4: Use the matching block RefCU obtained in Step 3 to obtain the brightness values of each pixel in the current block and the matching block. According to this, the brightness histograms CurrHist[N Pel ] and RefHist[N Pel ] are generated, where N Pel is the maximum value of the brightness in the video sequence. Since the range of brightness in the test sequence is 0-255, the value in the algorithm is for 255. Additionally, by

计算当前块与匹配块亮度值残差的和SumPixelSAD,式中CurrCU[i]、RefCU[i]分别为当前块和匹配块的像素值,WCU为CU尺寸,即像素点数。Calculate the SumPixel SAD of the luminance value residuals between the current block and the matching block, where CurrCU[i] and RefCU[i] are the pixel values of the current block and the matching block respectively, and W CU is the CU size, that is, the number of pixels.

另外,直方图生成方式如下In addition, the histogram is generated as follows

Hist[i]=∑f(x,y,i)(x,y)∈CU,i∈[0,NPel]Hist[i]=∑f(x,y,i)(x,y)∈CU,i∈[0,N Pel ]

其中,Pixel_value(x,y)为当前编码单元CU中坐标点为(x,y)处的像素值。Wherein, Pixel_value(x, y) is the pixel value at the coordinate point (x, y) in the current coding unit CU.

步骤五:利用步骤四生成的直方图CurrHist[NPel]、RefHist[NPel],通过Step 5: Using the histograms CurrHist[N Pel ] and RefHist[N Pel ] generated in step 4, pass

计算当前块与匹配块亮度直方图之差的和SumHistSADCompute the SumHist SAD of the differences between the brightness histograms of the current block and the matching block.

步骤六:利用步骤四和步骤五计算所得的SumPixelSAD和SumHistSAD进行如下判断,若满足两式中的任意一个,则认为当前编码单元CU与匹配块亮度变化不明显,无需进行局部亮度补偿,赋值Cur_ICFlag=false并转到步骤八;否则,Cur_ICFlag维持原取值,即为真,并继续下一步骤Step 6: Use the SumPixel SAD and SumHist SAD calculated in Step 4 and Step 5 to make the following judgments. If any one of the two formulas is satisfied, it is considered that the brightness change between the current coding unit CU and the matching block is not obvious, and local brightness compensation is not required. Assign Cur_IC Flag = false and go to step eight; otherwise, Cur_IC Flag maintains the original value, which is true, and continues to the next step

SumHistSAD/WCU0 SumHist SAD /W CU0

SumPixelSAD/WCU1 SumPixel SAD /W CU1

式中,λ0、λ1为阈值(经过大量实验统计,当取λ0=0.5、λ1=5时编码效果最佳),WCU为当前CU尺寸,即像素点数。In the formula, λ 0 and λ 1 are the thresholds (through a large number of experimental statistics, when λ 0 =0.5, λ 1 =5, the encoding effect is the best), and W CU is the current CU size, that is, the number of pixels.

步骤七:编码器进行有LIC(有LIC:进行局部亮度补偿)的FRUC Merge模式和2N×2N模式,并根据率失真代价决策出最佳模式。Step 7: The encoder performs FRUC Merge mode and 2N×2N mode with LIC (with LIC: for local brightness compensation), and decides the best mode according to the rate-distortion cost.

步骤八:编码器进行无LIC的整像素IMV_2N×2N模式,依然根据率失真代价决策出最佳模式并获取该最佳模式的LIC信息IC_Flag_temp。然后根据Cur_ICFlag选择后续操作,若Cur_ICFlag=true,则进行下一步骤,否则,转到步骤十一。Step 8: The encoder performs an integer-pixel IMV_2N×2N mode without LIC, still determines the best mode according to the rate-distortion cost, and obtains the LIC information IC_Flag_temp of the best mode. Then select the follow-up operation according to Cur_IC Flag , if Cur_IC Flag =true, proceed to the next step, otherwise, go to step eleven.

步骤九:根据步骤八获得的IC_Flag_temp,若为真,直接进行下一步骤,否则,转到步骤十一,认为当前编码单元CU无需进行LIC模式选择过程,并赋值Cur_ICFlag=false,Step 9: According to the IC_Flag_temp obtained in step 8, if it is true, go to the next step directly, otherwise, go to step 11, consider that the current coding unit CU does not need to perform the LIC mode selection process, and assign Cur_IC Flag = false,

步骤十:编码器进行有LIC的IMV_2N×2N模式。Step 10: The encoder performs IMV_2N×2N mode with LIC.

步骤十一:结束当前算法并进行后续其他模式的判断。Step 11: End the current algorithm and make subsequent judgments on other modes.

实施例二Embodiment two

一种基于局部亮度补偿LIC的快速帧间编码模式选择方法,包括以下步骤:A fast inter-frame coding mode selection method based on local brightness compensation LIC, comprising the following steps:

步骤一:在帧间预测中,JEM编码器依次进行无LIC(无LIC:未进行局部亮度补偿)的Affine Merge、普通Merge、FRUC Merge和2N×2N模式,然后根据率失真代价决策出一个最佳模式;Step 1: In inter-frame prediction, the JEM encoder sequentially performs Affine Merge, normal Merge, FRUC Merge and 2N×2N modes without LIC (no LIC: no local brightness compensation), and then decides the best value according to the rate-distortion cost. best mode;

步骤二:首先获取当前编码单元CU的LIC模式标志位,以此来初始化当前块的LIC标志位Cur_ICFlag,若Cur_ICFlag=true,则继续步骤三;否则,转到步骤九;Step 2: first obtain the LIC mode flag bit of the current coding unit CU, so as to initialize the LIC flag bit Cur_IC Flag of the current block, if Cur_IC Flag =true, continue to step 3; otherwise, go to step 9;

步骤三:利用步骤一中得到的最佳模式获取运动矢量MV,然后对参考帧同位块进行运动补偿,即根据该MV对同位块进行平移得到当前编码单元CU的匹配块RefCU;Step 3: Use the best mode obtained in step 1 to obtain the motion vector MV, and then perform motion compensation on the co-located block of the reference frame, that is, translate the co-located block according to the MV to obtain the matching block RefCU of the current coding unit CU;

步骤四:利用步骤三获得的匹配块RefCU,获取当前编码单元和匹配块中各个像素点的亮度值。据此生成亮度直方图CurrHist[NPel]、RefHist[NPel],其中,NPel为视频序列中亮度的最大取值,由于测试序列中亮度取值范围为0~255,故算法中取值为255。另外,通过Step 4: Use the matching block RefCU obtained in Step 3 to obtain the brightness value of each pixel in the current coding unit and the matching block. According to this, the brightness histograms CurrHist[N Pel ] and RefHist[N Pel ] are generated, where N Pel is the maximum value of the brightness in the video sequence. Since the range of brightness in the test sequence is 0-255, the value in the algorithm is for 255. Additionally, by

计算当前编码单元CU与匹配块亮度值残差的和SumPixelSAD,式中CurrCU[i]、RefCU[i]分别为当前编码单元CU和匹配块的像素值,WCU为CU尺寸,即像素点数。Calculate the SumPixel SAD of the residual difference between the luminance value of the current coding unit CU and the matching block, where CurrCU[i] and RefCU[i] are the pixel values of the current coding unit CU and the matching block respectively, and W CU is the CU size, that is, the number of pixels .

另外,直方图生成方式如下In addition, the histogram is generated as follows

Hist[i]=∑f(x,y,i)(x,y)∈CU,i∈[0,NPel]Hist[i]=∑f(x,y,i)(x,y)∈CU,i∈[0,N Pel ]

其中,Pixel_value(x,y)为当前编码单元CU中坐标点为(x,y)处的像素值。Wherein, Pixel_value(x, y) is the pixel value at the coordinate point (x, y) in the current coding unit CU.

步骤五:利用步骤四生成的直方图CurrHist[NPel]、RefHist[NPel],通过Step 5: Using the histograms CurrHist[N Pel ] and RefHist[N Pel ] generated in step 4, pass

计算当前编码单元CU与匹配块亮度直方图之差的和SumHistSADCalculate the sum SumHist SAD of the differences between the current coding unit CU and the brightness histogram of the matching block.

步骤六:利用步骤四和步骤五计算所得的SumPixelSAD和SumHistSAD进行如下判断,若满足以下两式中的任意一个,则认为当前编码单元CU与匹配块亮度变化不明显,无需进行局部亮度补偿,赋值Cur_ICFlag=false并转到步骤九;否则,Cur_ICFlag维持原取值,即为真,并继续下一步骤;Step 6: Use the SumPixel SAD and SumHist SAD calculated in Step 4 and Step 5 to make the following judgments. If any of the following two formulas is satisfied, it is considered that the brightness change between the current coding unit CU and the matching block is not obvious, and local brightness compensation is not required. , assign value Cur_IC Flag =false and go to step 9; otherwise, Cur_IC Flag maintains the original value, which is true, and continues to the next step;

SumHistSAD/WCU0 SumHist SAD /W CU0

SumPixelSAD/WCU1 SumPixel SAD /W CU1

式中,λ0、λ1为阈值(经过大量实验统计,当取λ0=0.5、λ1=5时编码效果最佳),WCU为当前CU尺寸,即像素点数。In the formula, λ 0 and λ 1 are the thresholds (through a large number of experimental statistics, when λ 0 =0.5, λ 1 =5, the encoding effect is the best), and W CU is the current CU size, that is, the number of pixels.

步骤七:若步骤六中的公式均不满足,获取当前编码单元CU的上方、左方、左上方、以及参考帧同位块CUAbove、CULeft、CUAboveLeft、CUCol。这些相邻块和同位块均已经完成编码,可以获得其LIC标志位ICFlag(标志着某CU块是否进行局部亮度补偿),根据Step 7: If none of the formulas in step 6 are satisfied, obtain the top, left, and top left of the current coding unit CU, and the co-located blocks CU Above , CU Left , CU AboveLeft , and CU Col of the reference frame. These adjacent blocks and co-located blocks have been encoded, and their LIC flag bit IC Flag (indicating whether a CU block performs local brightness compensation) can be obtained, according to

其中,CUx∈{CUAbove、CULeft、CUAboveLeft、CUCol},计算得到当前编码单元CU的LIC模式标志位Cur_ICFlag。若Cur_ICFlag=true,进行下一步骤,否则,转到步骤九。Wherein, CU x ∈ {CU Above , CU Left , CU AboveLeft , CU Col }, the LIC mode flag Cur_IC Flag of the current coding unit CU is calculated. If Cur_IC Flag = true, proceed to the next step, otherwise, go to step nine.

步骤八:编码器进行有LIC(有LIC:进行局部亮度补偿)的FRUC Merge模式和2N×2N模式,并根据率失真代价决策出最佳模式。Step 8: The encoder performs FRUC Merge mode and 2N×2N mode with LIC (with LIC: for local brightness compensation), and determines the best mode according to the rate-distortion cost.

步骤九:编码器进行无LIC的整像素IMV_2N×2N模式,依然根据率失真代价决策出最佳模式并获取该最佳模式的LIC信息IC_Flag_temp。然后根据Cur_ICFlag选择后续操作,若Cur_ICFlag=true,则进行下一步骤,否则,转到步骤十一。Step 9: The encoder performs an integer-pixel IMV_2N×2N mode without LIC, still determines the best mode according to the rate-distortion cost, and obtains the LIC information IC_Flag_temp of the best mode. Then select the follow-up operation according to Cur_IC Flag , if Cur_IC Flag =true, proceed to the next step, otherwise, go to step eleven.

步骤十:编码器进行有LIC的IMV_2N×2N模式。Step 10: The encoder performs IMV_2N×2N mode with LIC.

步骤十一:结束当前算法并进行后续其他模式的判断。Step 11: End the current algorithm and make subsequent judgments on other modes.

实施例三Embodiment Three

一种基于局部亮度补偿LIC的快速帧间编码模式选择方法,具体过程如图2所示,包括以下步骤:A fast inter-frame coding mode selection method based on local brightness compensation LIC, the specific process is as shown in Figure 2, including the following steps:

步骤一:在帧间预测中,JEM编码器依次进行无LIC(无LIC:未进行局部亮度补偿)的Affine Merge、普通Merge、FRUC Merge和2N×2N模式,然后根据率失真代价决策出一个最佳模式;Step 1: In inter-frame prediction, the JEM encoder sequentially performs Affine Merge, normal Merge, FRUC Merge and 2N×2N modes without LIC (no LIC: no local brightness compensation), and then decides the best value according to the rate-distortion cost. best mode;

步骤二:首先获取当前CU的LIC模式标志位,以此来初始化当前块的LIC标志位Cur_ICFlag,若Cur_ICFlag=true,则继续步骤三;否则,转到步骤九;Step 2: first obtain the LIC mode flag of the current CU, so as to initialize the LIC flag Cur_IC Flag of the current block, if Cur_IC Flag = true, then continue to step 3; otherwise, go to step 9;

步骤三:利用步骤一中得到的最佳模式获取运动矢量MV,然后对参考帧同位块进行运动补偿,即根据该MV对同位块进行平移得到当前CU的匹配块RefCU;Step 3: Use the best mode obtained in step 1 to obtain the motion vector MV, and then perform motion compensation on the co-located block of the reference frame, that is, translate the co-located block according to the MV to obtain the matching block RefCU of the current CU;

步骤四:利用步骤三获得的匹配块RefCU,获取当前块和匹配块中各个像素点的亮度值。据此生成亮度直方图CurrHist[NPel]、RefHist[NPel],其中,NPel为视频序列中亮度的最大取值,由于测试序列中亮度取值范围为0~255,故算法中取值为255。另外,通过Step 4: Use the matching block RefCU obtained in Step 3 to obtain the brightness values of each pixel in the current block and the matching block. According to this, the brightness histograms CurrHist[N Pel ] and RefHist[N Pel ] are generated, where N Pel is the maximum value of the brightness in the video sequence. for 255. Additionally, by

计算当前块与匹配块亮度值残差的和SumPixelSAD,式中CurrCU[i]、RefCU[i]分别为当前块和匹配块的像素值,WCU为CU尺寸,即像素点数。Calculate the SumPixel SAD of the luminance value residuals between the current block and the matching block, where CurrCU[i] and RefCU[i] are the pixel values of the current block and the matching block respectively, and W CU is the CU size, that is, the number of pixels.

另外,直方图生成方式如下In addition, the histogram is generated as follows

Hist[i]=∑f(x,y,i)(x,y)∈CU,i∈[0,NPel]Hist[i]=∑f(x,y,i)(x,y)∈CU,i∈[0,N Pel ]

其中,Pixel_value(x,y)为当前CU中坐标点为(x,y)处的像素值。Wherein, Pixel_value(x, y) is the pixel value at the coordinate point (x, y) in the current CU.

步骤五:利用步骤四生成的直方图CurrHist[NPel]、RefHist[NPel],通过Step 5: Using the histograms CurrHist[N Pel ] and RefHist[N Pel ] generated in step 4, pass

计算当前块与匹配块亮度直方图之差的和SumHistSADCompute the SumHist SAD of the differences between the brightness histograms of the current block and the matching block.

步骤六:利用步骤四和步骤五计算所得的SumPixelSAD和SumHistSAD进行如下判断,若满足两式中的任意一个,则认为当前编码单元CU与匹配块亮度变化不明显,无需进行局部亮度补偿,赋值Cur_ICFlag=false并转到步骤九;否则,Cur_ICFlag维持原取值,即为真,并继续下一步骤;Step 6: Use the SumPixel SAD and SumHist SAD calculated in Step 4 and Step 5 to make the following judgments. If any one of the two formulas is satisfied, it is considered that the brightness change between the current coding unit CU and the matching block is not obvious, and local brightness compensation is not required. Assign value Cur_IC Flag =false and go to step nine; otherwise, Cur_IC Flag maintains the original value, which is true, and continues to the next step;

SumHistSAD/WCU0 SumHist SAD /W CU0

SumPixelSAD/WCU1 SumPixel SAD /W CU1

式中,λ0、λ1为阈值(经过大量实验统计,当取λ0=0.5、λ1=5时编码效果最佳),WCU为当前CU尺寸,即像素点数。In the formula, λ 0 and λ 1 are the thresholds (after a lot of experimental statistics, when λ 0 =0.5 and λ 1 =5, the encoding effect is the best), and W CU is the current CU size, that is, the number of pixels.

步骤七:若步骤六中的公式均不满足,则获取当前CU的上方、左方、左上方、以及参考帧同位块CUAbove、CULeft、CUAboveLeft、CUCol。这些相邻块和同位块均已经完成编码,可以获得其LIC标志位ICFlag(标志着某CU块是否进行局部亮度补偿),根据Step 7: If none of the formulas in step 6 is satisfied, obtain the upper, left, upper left of the current CU, and the co-located blocks CU Above , CU Left , CU AboveLeft , and CU Col of the reference frame. These adjacent blocks and co-located blocks have been encoded, and their LIC flag bit IC Flag (indicating whether a CU block performs local brightness compensation) can be obtained, according to

其中,CUx∈{CUAbove、CULeft、CUAboveLeft、CUCol},计算得到当前编码单元CU的LIC模式标志位Cur_ICFlag。若Cur_ICFlag=true,进行下一步骤,否则,转到步骤九。Wherein, CU x ∈ {CU Above , CU Left , CU AboveLeft , CU Col }, the LIC mode flag Cur_IC Flag of the current coding unit CU is calculated. If Cur_IC Flag = true, proceed to the next step, otherwise, go to step nine.

步骤八:编码器进行有LIC(有LIC:进行局部亮度补偿)的FRUC Merge模式和2N×2N模式,并根据率失真代价决策出最佳模式。Step 8: The encoder performs FRUC Merge mode and 2N×2N mode with LIC (with LIC: for local brightness compensation), and determines the best mode according to the rate-distortion cost.

步骤九:编码器进行无LIC的整像素IMV_2N×2N模式,依然根据率失真代价决策出最佳模式并获取该最佳模式的LIC信息IC_Flag_temp。然后根据Cur_ICFlag选择后续操作,若Cur_ICFlag=true,则进行下一步骤,否则,转到步骤十二。Step 9: The encoder performs an integer-pixel IMV_2N×2N mode without LIC, still determines the best mode according to the rate-distortion cost, and obtains the LIC information IC_Flag_temp of the best mode. Then select the follow-up operation according to Cur_IC Flag , if Cur_IC Flag =true, proceed to the next step, otherwise, go to step 12.

步骤十:根据步骤九获得的IC_Flag_temp,若为真,直接进行下一步骤,否则,转到步骤十二,认为当前编码单元CU无需进行LIC模式选择过程,并赋值Cur_ICFlag=false;Step 10: According to the IC_Flag_temp obtained in step 9, if it is true, go to the next step directly, otherwise, go to step 12, consider that the current coding unit CU does not need to perform the LIC mode selection process, and assign Cur_IC Flag = false;

步骤十一:编码器进行有LIC的IMV_2N×2N模式。Step 11: The encoder performs IMV_2N×2N mode with LIC.

步骤十二:结束当前算法并进行后续其他模式的判断。Step 12: End the current algorithm and make subsequent judgments on other modes.

在实例中所述的块即为编码单元。The blocks described in the examples are coding units.

为了验证本发明的正确性以及有效性,基于参考软件JEM4.0在Visual Studio2015软件上实现实施例三所述方法。所有实验的具体编码参数的配置选用JEM标准配置文件:encoder_lowdelay_jvet10.cfg以及对应测试序列的标准配置文件。In order to verify the correctness and effectiveness of the present invention, the method described in Embodiment 3 is implemented on the Visual Studio 2015 software based on the reference software JEM4.0. The configuration of the specific encoding parameters of all experiments uses the JEM standard configuration file: encoder_lowdelay_jvet10.cfg and the standard configuration file corresponding to the test sequence.

为了验证算法性能的好坏,采用BDBR(Bjotegaard Delta Bit rate)以及ΔT两个指标来进行评估。其中,BDBR是用来评估算法对视频质量的影响,BDBR越大说明算法对视频质量的影响越大,即算法的性能越差,其主要是通过设置四组不同的量化参数QP以获取四组不同Bits以及PSNR来进行计算。ΔT则是反映当前算法对编码器效率的提升,其计算公式如下所示:In order to verify the performance of the algorithm, two indicators, BDBR (Bjotegaard Delta Bit rate) and ΔT, are used for evaluation. Among them, BDBR is used to evaluate the impact of the algorithm on the video quality. The larger the BDBR, the greater the impact of the algorithm on the video quality, that is, the worse the performance of the algorithm. It is mainly obtained by setting four sets of different quantization parameters QP. Different Bits and PSNR are used for calculation. ΔT reflects the improvement of the encoder efficiency by the current algorithm, and its calculation formula is as follows:

其中,Torg代表使用不加任何快速算法的原始编码器编码所使用的时间,Tnew代表加快速算法后编码所需时间,ΔT则代表加快速算法后编码器在效率上提升的百分比。Among them, T org represents the encoding time of the original encoder without any fast algorithm, T new represents the time required for encoding after the fast algorithm is accelerated, and ΔT represents the percentage of encoder efficiency improvement after the fast algorithm is accelerated.

通过实验仿真,实验结果如表1所示,ΔBits%为与传统的编码器相比比特率变化百分比,ΔPSNR/dB为与传统的编码器相比峰值信噪比变化。Through experimental simulation, the experimental results are shown in Table 1, ΔBits% is the percentage change of the bit rate compared with the traditional encoder, and ΔPSNR/dB is the change of the peak signal-to-noise ratio compared with the traditional encoder.

表1实验结果Table 1 Experimental results

根据实验仿真结果表1可知:应用本发明所述方法后,编码时间降低了24%,而BDBR上升仅为0.49。由此实验结果可以看出,本发明在保证视频主观质量的前提下,大幅度地提高了编码效率,达到了本发明的目的。According to Table 1 of the experimental simulation results, it can be seen that after applying the method of the present invention, the encoding time is reduced by 24%, while the increase of BDBR is only 0.49. From the experimental results, it can be seen that the present invention greatly improves the coding efficiency under the premise of ensuring the subjective quality of the video, and achieves the purpose of the present invention.

本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention belongs can make various modifications or supplements to the described specific embodiments or adopt similar methods to replace them, but they will not deviate from the spirit of the present invention or go beyond the definition of the appended claims range.

Claims (6)

1. the coding list in a kind of quick interframe coding mode selection method that LIC is compensated based on local luminance, all frame of video Member carries out no LIC Affine Merge patterns, common Merge patterns, FRUC Merge patterns and 2N × 2N patterns successively, obtains The rate distortion costs of coding unit under each pattern are obtained, the corresponding pattern of minimum rate distortion costs are selected as the volume of coding unit Pattern;If the LIC mode flags position of frame where current coded unit is true, current coded unit proceeds have LIC's FRUC Merge patterns and 2N × 2N patterns, it is characterised in that obtain current coded unit CU and match coding unit with reference frame Brightness value residual sum SumPixel between CUSADWith the difference sum SumHist of brightness histogramSADIf, current coded unit Brightness value residual error rate, in CULess than the histogram difference rate in setting first threshold or current coded unit CULess than Second Threshold is set, then current coded unit skips LIC patterns;
Reference frame matching coding unit CU is the motion vector MV under selected coding mode using current coded unit, right Reference frame carries out the obtained coding unit of motion compensation with position block, and the same position block refers to be in reference frame, and position and works as The same coding unit in the position of preceding coding unit in the current frame;
The current coded unit CU matches the brightness value residual sum SumPixel between coding unit CU with reference frameSADIt is logical Cross and the difference summation of the pixel value between coding unit CU between corresponding pixel points is matched to current coded unit CU and reference frame obtain ;
The difference sum that the current coded unit CU matches the brightness histogram between coding unit CU with reference frame is to pass through The difference summation that the histogram value between coding unit CU between corresponding grey scale level is matched to current coded unit CU and reference frame is obtained ;
WCUFor the pixel number in current coded unit CU, first threshold value is 1-10, and Second Threshold value is 0-2.
2. according to the method described in claim 1, it is characterised in that before LIC patterns are carried out, first calculate current coded unit CU Adjacent encoder unit LIC flag bits be genuine total quantityJudge whether to meet again:If full Foot, then current coded unit CU skips LIC patterns, otherwise, and current coded unit proceeds the FRUCMerge patterns for having LIC With 2N × 2N patterns;
<mrow> <msub> <mi>Cur</mi> <mrow> <msub> <mi>IC</mi> <mrow> <mi>F</mi> <mi>l</mi> <mi>a</mi> <mi>g</mi> </mrow> </msub> </mrow> </msub> <mo>=</mo> <mi>&amp;Sigma;</mi> <mi>f</mi> <mrow> <mo>(</mo> <msub> <mi>CU</mi> <mi>x</mi> </msub> <mo>)</mo> </mrow> </mrow>
Wherein, CUxRepresent the adjacent cells of current coded unit, x ∈ { Left, AboveLeft, Above, Col }, CULeft、 CUAboveLeft、CUAbove、CUColThe left adjacent block of current coded unit, upper left adjacent block, upper adjacent block are represented respectively and with position block, institute Same position block is stated to refer to be in reference frame, and the coding unit as the position of position and current coded unit in the current frame;f (CUx) represent current coded unit adjacent cells LIC flag bits, if very, value is 1, otherwise, value is 0.
3. method according to claim 2, it is characterised in that current coded unit carries out the FRUC Merge moulds for having LIC After formula and 2N × 2N patterns, followed by IMV_2N × 2N patterns without LIC of progress, corresponding rate distortion generation under all patterns is obtained Valency, and optimal mode is used as using the corresponding pattern of minimum rate distortion costs;If optimal mode is the pattern handled by LIC, and Adjacent encoder unit LIC flag bits are genuine total quantityIt is not 0, then current coded unit proceeds have LIC's IMV_2N × 2N patterns;Otherwise, current coded unit skips LIC IMV_2N × 2N patterns.
4. a kind of quick interframe encoding mode selection device that LIC is compensated based on local luminance, it is characterised in that including:
Rate distortion costs computing unit, the Affine for carrying out no LIC successively to the coding unit in all frame of video Merge patterns, common Merge patterns, FRUC Merge patterns and 2N × 2N patterns, obtain the rate of coding unit under each pattern Distortion cost;
Selecting unit, by selecting the corresponding pattern of minimum rate distortion costs as the coding mode of coding unit;
Unit is skipped, if the LIC mode flags position of frame where current coded unit is true, is currently compiled according to following rule judgment Whether code unit skips LIC patterns:
If the brightness value residual error rate, in current coded unit CULess than setting first threshold or current coded unit Histogram difference rate in CULess than Second Threshold is set, then current coded unit skips LIC patterns;
Wherein, SumPixelSADAnd SumHistSADRespectively represent current coded unit CU matched with reference frame coding unit CU it Between brightness value residual sum and brightness histogram difference sum;
Reference frame matching coding unit CU is the motion vector MV under selected coding mode using current coded unit, right Reference frame carries out the obtained coding unit of motion compensation with position block, and the same position block refers to be in reference frame, and position and works as The same coding unit in the position of preceding coding unit in the current frame;
The current coded unit CU matches the brightness value residual sum SumPixel between coding unit CU with reference frameSADIt is logical Cross and the difference summation of the pixel value between coding unit CU between corresponding pixel points is matched to current coded unit CU and reference frame obtain ;
The current coded unit CU matches the difference sum of the brightness histogram between coding unit CU with reference frame SumHistSADIt is by matching the Nogata between coding unit CU between corresponding grey scale level with reference frame to current coded unit CU The difference summation of map values is obtained;
WCUFor the pixel number in current coded unit CU, first threshold value is 1-10, and Second Threshold value is 0-2.
5. device according to claim 4, it is characterised in that before LIC patterns are carried out, by counting current coded unit The LIC flag bits of CU adjacent encoder unit are genuine total quantityAnd judgeWhether it is 0, if 0, then Current coded unit CU skips LIC patterns, otherwise, and current coded unit proceeds FRUC Merge patterns and the 2N for having LIC × 2N patterns.
6. device according to claim 5, it is characterised in that also choose unit including optimal mode, if that chooses is optimal Pattern belongs to the pattern handled by LIC, and adjacent encoder unit LIC flag bits are genuine total quantityIt is not 0, then Current coded unit proceeds the IMV_2N × 2N patterns for having LIC, otherwise, skips LIC IMV_2N × 2N patterns;
It is the FRUC Merge patterns and 2N × 2N patterns for having LIC in current coded unit progress that the optimal mode, which chooses unit, Afterwards, followed by IMV_2N × 2N patterns without LIC of progress, corresponding rate distortion costs under all patterns are obtained, and with minimum rate The corresponding pattern of distortion cost selects optimal mode.
CN201710541886.4A 2017-07-05 2017-07-05 Method and device for fast inter-frame coding mode selection based on local luminance compensation LIC Active CN107147911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710541886.4A CN107147911B (en) 2017-07-05 2017-07-05 Method and device for fast inter-frame coding mode selection based on local luminance compensation LIC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710541886.4A CN107147911B (en) 2017-07-05 2017-07-05 Method and device for fast inter-frame coding mode selection based on local luminance compensation LIC

Publications (2)

Publication Number Publication Date
CN107147911A true CN107147911A (en) 2017-09-08
CN107147911B CN107147911B (en) 2019-07-26

Family

ID=59785001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710541886.4A Active CN107147911B (en) 2017-07-05 2017-07-05 Method and device for fast inter-frame coding mode selection based on local luminance compensation LIC

Country Status (1)

Country Link
CN (1) CN107147911B (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174204A (en) * 2018-03-06 2018-06-15 中南大学 A fast mode selection method between frames based on decision tree
CN111031319A (en) * 2019-12-13 2020-04-17 浙江大华技术股份有限公司 Local illumination compensation prediction method, terminal equipment and computer storage medium
WO2020143838A1 (en) * 2019-01-13 2020-07-16 Beijing Bytedance Network Technology Co., Ltd. Harmonization between overlapped block motion compensation and other tools
WO2020147745A1 (en) * 2019-01-15 2020-07-23 Beijing Bytedance Network Technology Co., Ltd. Motion candidate lists that use local illumination compensation
WO2020151764A1 (en) * 2019-01-27 2020-07-30 Beijing Bytedance Network Technology Co., Ltd. Improved method for local illumination compensation
WO2020155791A1 (en) * 2019-02-01 2020-08-06 华为技术有限公司 Inter-frame prediction method and device
CN111656787A (en) * 2018-01-26 2020-09-11 交互数字Vc控股公司 Lighting compensation flags in framerate upconversion with template matching
WO2020182194A1 (en) * 2019-03-14 2020-09-17 华为技术有限公司 Inter-frame prediction method and related device
CN111698515A (en) * 2019-03-14 2020-09-22 华为技术有限公司 Method and related device for inter-frame prediction
CN111698502A (en) * 2020-06-19 2020-09-22 中南大学 VVC (variable visual code) -based affine motion estimation acceleration method and device and storage medium
WO2020233600A1 (en) * 2019-05-20 2020-11-26 Beijing Bytedance Network Technology Co., Ltd. Simplified local illumination compensation
CN112868240A (en) * 2018-10-23 2021-05-28 北京字节跳动网络技术有限公司 Collocated localized illumination compensation and modified inter-frame prediction codec
CN112868239A (en) * 2018-10-23 2021-05-28 北京字节跳动网络技术有限公司 Collocated local illumination compensation and intra block copy codec
CN112911301A (en) * 2019-12-03 2021-06-04 咪咕文化科技有限公司 Local brightness compensation method and device and computer readable storage medium
CN113170152A (en) * 2019-01-18 2021-07-23 华为技术有限公司 Method and apparatus for local illumination compensation for predictive coding
CN113170166A (en) * 2018-12-30 2021-07-23 北京字节跳动网络技术有限公司 Conditional application of inter-prediction with geometric partitioning in video processing
US20210250587A1 (en) 2018-10-31 2021-08-12 Beijing Bytedance Network Technology Co., Ltd. Overlapped block motion compensation with derived motion information from neighbors
CN113841405A (en) * 2019-05-21 2021-12-24 华为技术有限公司 Method and apparatus for local illumination compensation for inter-frame prediction
WO2022116246A1 (en) * 2020-12-03 2022-06-09 Oppo广东移动通信有限公司 Inter-frame prediction method, video encoding and decoding method, apparatus, and medium
US11483550B2 (en) 2019-01-17 2022-10-25 Beijing Bytedance Network Technology Co., Ltd. Use of virtual candidate prediction and weighted prediction in video processing
US11509927B2 (en) 2019-01-15 2022-11-22 Beijing Bytedance Network Technology Co., Ltd. Weighted prediction in video coding
US11570450B2 (en) 2018-11-06 2023-01-31 Beijing Bytedance Network Technology Co., Ltd. Using inter prediction with geometric partitioning for video processing
US11902560B2 (en) 2018-05-09 2024-02-13 Interdigital Vc Holdings, Inc. Motion compensation for video encoding and decoding
US12058362B2 (en) 2019-02-01 2024-08-06 Huawei Technologies Co., Ltd. Inter prediction method and apparatus
US12137204B2 (en) 2019-03-25 2024-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image component prediction method, encoder, decoder, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090003455A1 (en) * 2007-06-26 2009-01-01 Do-Young Joung Method and apparatus for illumination compensation in multi-view video coding
EP2165544A2 (en) * 2007-06-25 2010-03-24 Samsung Electronics Co., Ltd. Method and apparatus for illumination compensation in multi-view video coding
CN102215389A (en) * 2010-04-09 2011-10-12 华为技术有限公司 Video coding and decoding methods and devices capable of realizing local luminance compensation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2165544A2 (en) * 2007-06-25 2010-03-24 Samsung Electronics Co., Ltd. Method and apparatus for illumination compensation in multi-view video coding
CN101715652A (en) * 2007-06-25 2010-05-26 三星电子株式会社 Method and apparatus for illumination compensation in multi-view video coding
US20090003455A1 (en) * 2007-06-26 2009-01-01 Do-Young Joung Method and apparatus for illumination compensation in multi-view video coding
CN102215389A (en) * 2010-04-09 2011-10-12 华为技术有限公司 Video coding and decoding methods and devices capable of realizing local luminance compensation

Cited By (53)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111656787A (en) * 2018-01-26 2020-09-11 交互数字Vc控股公司 Lighting compensation flags in framerate upconversion with template matching
US12212771B2 (en) 2018-01-26 2025-01-28 Interdigital Vc Holdings, Inc. Illumination compensation flag in frame rate up-conversion with template matching
US11563966B2 (en) 2018-01-26 2023-01-24 Interdigital Vc Holdings, Inc. Illumination compensation flag in frame rate up-conversion with template matching
CN108174204A (en) * 2018-03-06 2018-06-15 中南大学 A fast mode selection method between frames based on decision tree
US11902560B2 (en) 2018-05-09 2024-02-13 Interdigital Vc Holdings, Inc. Motion compensation for video encoding and decoding
CN113287317B (en) * 2018-10-23 2023-04-28 北京字节跳动网络技术有限公司 Juxtaposed local illumination compensation and modified inter-frame codec tool
US11758124B2 (en) 2018-10-23 2023-09-12 Beijing Bytedance Network Technology Co., Ltd Harmonized local illumination compensation and modified inter coding tools
US11659162B2 (en) 2018-10-23 2023-05-23 Beijing Bytedance Network Technology Co., Ltd Video processing using local illumination compensation
CN113287317A (en) * 2018-10-23 2021-08-20 北京字节跳动网络技术有限公司 Collocated local illumination compensation and modified interframe coding and decoding tool
US12069248B2 (en) 2018-10-23 2024-08-20 Beijing Bytedance Technology Network Co., Ltd. Video processing using local illumination compensation
US11470307B2 (en) 2018-10-23 2022-10-11 Beijing Bytedance Network Technology Co., Ltd. Harmonized local illumination compensation and intra block copy coding
CN112868240A (en) * 2018-10-23 2021-05-28 北京字节跳动网络技术有限公司 Collocated localized illumination compensation and modified inter-frame prediction codec
CN112868239A (en) * 2018-10-23 2021-05-28 北京字节跳动网络技术有限公司 Collocated local illumination compensation and intra block copy codec
US11405607B2 (en) 2018-10-23 2022-08-02 Beijing Bytedance Network Technology Co., Ltd. Harmonization between local illumination compensation and inter prediction coding
CN112913247A (en) * 2018-10-23 2021-06-04 北京字节跳动网络技术有限公司 Video processing using local illumination compensation
US11284069B2 (en) 2018-10-23 2022-03-22 Beijing Bytedance Network Technology Co., Ltd. Harmonized local illumination compensation and modified inter prediction coding
US11895328B2 (en) 2018-10-31 2024-02-06 Beijing Bytedance Network Technology Co., Ltd Overlapped block motion compensation
US11936905B2 (en) 2018-10-31 2024-03-19 Beijing Bytedance Network Technology Co., Ltd Overlapped block motion compensation with derived motion information from neighbors
US20210250587A1 (en) 2018-10-31 2021-08-12 Beijing Bytedance Network Technology Co., Ltd. Overlapped block motion compensation with derived motion information from neighbors
US11611763B2 (en) 2018-11-06 2023-03-21 Beijing Bytedance Network Technology Co., Ltd. Extensions of inter prediction with geometric partitioning
US11570450B2 (en) 2018-11-06 2023-01-31 Beijing Bytedance Network Technology Co., Ltd. Using inter prediction with geometric partitioning for video processing
CN113170166A (en) * 2018-12-30 2021-07-23 北京字节跳动网络技术有限公司 Conditional application of inter-prediction with geometric partitioning in video processing
US11956431B2 (en) 2018-12-30 2024-04-09 Beijing Bytedance Network Technology Co., Ltd Conditional application of inter prediction with geometric partitioning in video processing
CN113170166B (en) * 2018-12-30 2023-06-09 北京字节跳动网络技术有限公司 Use of inter prediction with geometric partitioning in video processing
CN113366831B (en) * 2019-01-13 2024-04-05 北京字节跳动网络技术有限公司 Coordination between overlapped block motion compensation and other tools
WO2020143838A1 (en) * 2019-01-13 2020-07-16 Beijing Bytedance Network Technology Co., Ltd. Harmonization between overlapped block motion compensation and other tools
CN113366831A (en) * 2019-01-13 2021-09-07 北京字节跳动网络技术有限公司 Coordination between overlapped block motion compensation and other tools
WO2020147745A1 (en) * 2019-01-15 2020-07-23 Beijing Bytedance Network Technology Co., Ltd. Motion candidate lists that use local illumination compensation
US11509927B2 (en) 2019-01-15 2022-11-22 Beijing Bytedance Network Technology Co., Ltd. Weighted prediction in video coding
US12088837B2 (en) 2019-01-15 2024-09-10 Beijing Bytedance Network Technology Co., Ltd. Weighted prediction in video coding
US11483550B2 (en) 2019-01-17 2022-10-25 Beijing Bytedance Network Technology Co., Ltd. Use of virtual candidate prediction and weighted prediction in video processing
CN113170152B (en) * 2019-01-18 2023-07-07 华为技术有限公司 Method and apparatus for local luma compensation for predictive coding
CN113170152A (en) * 2019-01-18 2021-07-23 华为技术有限公司 Method and apparatus for local illumination compensation for predictive coding
US11985304B2 (en) 2019-01-18 2024-05-14 Huawei Technologies Co., Ltd. Method and apparatus of local illumination compensation for predictive coding
CN113302917B (en) * 2019-01-27 2023-12-01 北京字节跳动网络技术有限公司 Improved methods for local illumination compensation
US12212769B2 (en) 2019-01-27 2025-01-28 Beijing Bytedance Network Technology Co., Ltd. Method for local illumination compensation
WO2020151764A1 (en) * 2019-01-27 2020-07-30 Beijing Bytedance Network Technology Co., Ltd. Improved method for local illumination compensation
CN113302917A (en) * 2019-01-27 2021-08-24 北京字节跳动网络技术有限公司 Improved method for local illumination compensation
WO2020155791A1 (en) * 2019-02-01 2020-08-06 华为技术有限公司 Inter-frame prediction method and device
US12058362B2 (en) 2019-02-01 2024-08-06 Huawei Technologies Co., Ltd. Inter prediction method and apparatus
US12069288B2 (en) 2019-03-14 2024-08-20 Huawei Technologies Co., Ltd. Inter prediction method and related apparatus
CN111698515A (en) * 2019-03-14 2020-09-22 华为技术有限公司 Method and related device for inter-frame prediction
WO2020182194A1 (en) * 2019-03-14 2020-09-17 华为技术有限公司 Inter-frame prediction method and related device
US12137204B2 (en) 2019-03-25 2024-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image component prediction method, encoder, decoder, and storage medium
WO2020233600A1 (en) * 2019-05-20 2020-11-26 Beijing Bytedance Network Technology Co., Ltd. Simplified local illumination compensation
CN113841405A (en) * 2019-05-21 2021-12-24 华为技术有限公司 Method and apparatus for local illumination compensation for inter-frame prediction
US12058338B2 (en) 2019-05-21 2024-08-06 Huawei Technologies Co., Ltd. Method and apparatus of local illumination compensation for inter prediction
CN113841405B (en) * 2019-05-21 2023-10-10 华为技术有限公司 Method and apparatus for local illumination compensation for inter prediction
CN112911301B (en) * 2019-12-03 2023-04-28 咪咕文化科技有限公司 Local brightness compensation method and device and computer readable storage medium
CN112911301A (en) * 2019-12-03 2021-06-04 咪咕文化科技有限公司 Local brightness compensation method and device and computer readable storage medium
CN111031319A (en) * 2019-12-13 2020-04-17 浙江大华技术股份有限公司 Local illumination compensation prediction method, terminal equipment and computer storage medium
CN111698502A (en) * 2020-06-19 2020-09-22 中南大学 VVC (variable visual code) -based affine motion estimation acceleration method and device and storage medium
WO2022116246A1 (en) * 2020-12-03 2022-06-09 Oppo广东移动通信有限公司 Inter-frame prediction method, video encoding and decoding method, apparatus, and medium

Also Published As

Publication number Publication date
CN107147911B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN107147911B (en) Method and device for fast inter-frame coding mode selection based on local luminance compensation LIC
CN108495135B (en) Quick coding method for screen content video coding
CN105306944B (en) Chromatic component Forecasting Methodology in hybrid video coding standard
CN104796694B (en) Optimization intraframe video coding method based on video texture information
CN107396102B (en) A kind of inter-frame mode fast selecting method and device based on Merge technological movement vector
CN103248895B (en) A kind of quick mode method of estimation for HEVC intraframe coding
CN108322745B (en) Fast selecting method in a kind of frame based on inseparable quadratic transformation mode
CN107087200B (en) Skip coding mode advanced decision method for high-efficiency video coding standard
CN103384325A (en) Quick inter-frame prediction mode selection method for AVS-M video coding
CN108174204B (en) Decision tree-based inter-frame rapid mode selection method
CN101888546B (en) A kind of method of estimation and device
CN108712648A (en) A kind of quick inner frame coding method of deep video
CN106131554A (en) The HEVC point self-adapted compensation method of quick sample product based on major side direction
CN102186081B (en) H.264 intra-frame mode selection method based on gradient vector
CN105898332B (en) For the fast deep figure frame mode decision method of 3D-HEVC coding standards
CN101304529A (en) Method and device for selecting macroblock mode
CN102075757B (en) Video foreground object coding method by taking boundary detection as motion estimation reference
CN107222742B (en) Method and device for fast selection of Merge mode in video coding based on spatiotemporal correlation
CN107018412A (en) A kind of DVC HEVC video transcoding methods based on key frame coding unit partition mode
CN101867818B (en) Selection method and device of macroblock mode
CN109151467B (en) Fast selection of inter-frame mode for screen content coding based on image block activity
WO2022116119A1 (en) Inter-frame predication method, encoder, decoder and storage medium
CN109889838A (en) A kind of HEVC fast encoding method based on ROI region
CN108322743A (en) Fast selecting method in a kind of frame of the inseparable quadratic transformation pattern based on pattern dependency characteristic
CN109089116A (en) A kind of determination method, device, equipment and the medium of Skip type of mb

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant