CN107948659B - HEVC-SCC Adaptive Energy Consumption Control Strategy for Game Video Content - Google Patents
HEVC-SCC Adaptive Energy Consumption Control Strategy for Game Video Content Download PDFInfo
- Publication number
- CN107948659B CN107948659B CN201711167098.XA CN201711167098A CN107948659B CN 107948659 B CN107948659 B CN 107948659B CN 201711167098 A CN201711167098 A CN 201711167098A CN 107948659 B CN107948659 B CN 107948659B
- Authority
- CN
- China
- Prior art keywords
- jud
- value
- block
- image
- game video
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/625—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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 an image region, e.g. an object
- H04N19/176—Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/186—Methods 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)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
技术领域technical field
本发明涉及视频编码技术领域,特别是涉及一种针对Screen Content的编码标准(HEVC的扩展SCC)的能耗控制策略。The present invention relates to the technical field of video coding, in particular to a power consumption control strategy for a coding standard of Screen Content (extended SCC of HEVC).
背景技术Background technique
SC图像特指由计算机产生的图像,近年来随着视频内容的不断发展使得SC图像越来越深入人们的生活。2014年1月,MPEG Requirements subgroup发布了对screen contentcoding的需求(即Call for Proposals,CfP),并最终在2014年7月发布了HEVC ScreenContent Coding(HEVC-SCC)的第一份草案。主要是在HEVC的基础上加入了四个新的编码工具:Intra Block Copy;Palette Mode(调色板模式);Adaptive Colour Transform;Adaptive Motion Vector Resolution.SC images specifically refer to images generated by computers. In recent years, with the continuous development of video content, SC images have become more and more deeply embedded in people's lives. In January 2014, the MPEG Requirements subgroup published requirements for screen contentcoding (ie Call for Proposals, CfP), and finally published the first draft of HEVC ScreenContent Coding (HEVC-SCC) in July 2014. Mainly, four new coding tools are added on the basis of HEVC: Intra Block Copy; Palette Mode (palette mode); Adaptive Colour Transform; Adaptive Motion Vector Resolution.
相比于自然图像,SC图像的颜色种类会少得多,也就是在一定区域内的像素值往往有较大的重复性和相似性。如果能进行适当的量化,一个编码单元(CU)中的颜色往往能表现为少数几个峰值。调色板模式就是针对SC的这一特性而设计的编码器,它会分析CU中的各个像素并对其进行量化,选择出几种具有代表性的颜色生成调色板,并对每种颜色赋予一个指针。每个代表色都有RGB或YUV三种成分组成。在量化过后不属于代表色的个别颜色被标注为escape pixel,这些像素值及其指针会被直接编码。调色板中的指针映射回CU,将CU中的像素用指针值来表示形成一个CU颜色指针图,并对这个图进行遍历扫描以及熵编码。但是调色板模式的复杂度较高,特别是面对颜色种类较为复杂的情况,如逼真的游戏和动画电影,混合图像中的自然图像部分,调色板的生成和预测都会更加困难。Compared with natural images, SC images have much fewer color types, that is, pixel values in a certain area tend to have greater repetition and similarity. With proper quantization, colors in a coding unit (CU) tend to appear as a few peaks. The palette mode is an encoder designed for this feature of SC. It analyzes and quantifies each pixel in the CU, selects several representative colors to generate a palette, and evaluates each color. assign a pointer. Each representative color is composed of three components, RGB or YUV. Individual colors that do not belong to representative colors after quantization are marked as escape pixels, and these pixel values and their pointers are directly encoded. The pointers in the palette are mapped back to the CU, the pixels in the CU are represented by pointer values to form a CU color pointer map, and the map is traversed, scanned and entropy encoded. However, the complexity of the palette mode is high, especially in the face of more complex color types, such as realistic games and animated movies, and the natural image parts in the mixed image, the generation and prediction of the palette will be more difficult.
现在,游戏直播这一视频内容变得越来越受欢迎,但还没有人对游戏这一SC视频内容进行过实验,因此本发明这对游戏视频内容提出一种快速算法。Now, the video content of game live broadcast is becoming more and more popular, but no one has conducted experiments on the SC video content of games, so the present invention proposes a fast algorithm for game video content.
发明内容SUMMARY OF THE INVENTION
本发明目的是为提供一种针对游戏视频内容的HEVC-SCC自适应能耗控制策略,依据对特定的测试序列进行判别,判别出颜色复杂的区域(类似自然图像)和非常平坦的区域,并对这两种区域关闭调色板模式的策略算法。The purpose of the present invention is to provide a HEVC-SCC adaptive energy consumption control strategy for game video content, according to the discrimination of a specific test sequence, to discriminate areas with complex colors (similar to natural images) and very flat areas, and The strategy algorithm to turn off palette mode for both regions.
本发明的一种针对游戏视频内容的HEVC-SCC自适应能耗控制策略,包括以下步骤:A HEVC-SCC adaptive energy consumption control strategy for game video content of the present invention includes the following steps:
步骤1,输入待处理游戏视频序列图像;
步骤2,获取游戏视频序列图像图像的亮度信息;
步骤3,将游戏视频序列的每一帧图像平均分割为8×8大小的图像块;Step 3: Divide each frame image of the game video sequence into image blocks of 8×8 size on average;
步骤4,对每个块进行DCT变换来衡量其颜色复杂度,得到DCT系数的绝对值a;
步骤5,定义两个参数i和k;i为常数,是一个阈值,用于和a进行比较,k表示一个块的平坦程度;Step 5, define two parameters i and k; i is a constant, which is a threshold for comparison with a, and k represents the flatness of a block;
步骤6,判断是否满足0≤a≤i,若0≤a≤i,即当a为0或非常小时,执行步骤7;Step 6, judge whether 0≤a≤i is satisfied, if 0≤a≤i, that is, when a is 0 or very small, execute step 7;
步骤7,k值累积1;若绝对值a大于i,k值保持不变;Step 7, the k value accumulates 1; if the absolute value a is greater than i, the k value remains unchanged;
步骤8,计算与一帧图像内所有k值的平均值aveK相关的上门限upK和下门限lowK;具体公式如下:Step 8: Calculate the upper threshold upK and the lower threshold lowK related to the average value aveK of all k values in one frame of image; the specific formula is as follows:
其中,α和β表示两个权重值,pixX,pixY分别表示一帧图像的横向像素点个数和纵向像素点个数,k1+k2+…+knum代表了这一帧中所有8×8块对应的k值,num表示一帧图像内8x8块的个数;Among them, α and β represent two weight values, pixX, pixY respectively represent the number of horizontal pixels and vertical pixels of a frame of image, k 1 +k 2 +…+k num represents all 8 in this frame The k value corresponding to the ×8 block, num represents the number of 8x8 blocks in one frame of image;
步骤9,设定一个块的对应输出值为Judb,所有的Judb形成判别矩阵;Judb的具体计算公式为:Step 9: Set the corresponding output value of a block to Jud b , and all Jud b form a discriminant matrix; the specific calculation formula of Jud b is:
将k与upK,lowK相比较:当一个8x8块的k值大于upK,则此块对应输出值Judb为0;当一个块的k值小于lowK,则对应输出值Judb为1;Compare k with upK and lowK: when the k value of an 8x8 block is greater than upK, the corresponding output value Jud b of this block is 0; when the k value of a block is less than lowK, the corresponding output value Jud b is 1;
步骤10,根据输入CU的大小融合判别矩阵中的元素Judb:融合方式为对所有Judb进行加权平均;CU的平坦程度计算公式如下:Step 10: According to the size of the input CU, the elements Jud b in the judgment matrix are fused: the fusion method is to perform a weighted average on all Jud b ; the calculation formula of the flatness of the CU is as follows:
其中,Scu×Scu表示CU的大小,n表示此CU有几个8x8的块,m表示融合以后的数,也就是此CU的平坦程度;Among them, S cu × S cu represents the size of the CU, n represents that the CU has several 8x8 blocks, and m represents the number after fusion, that is, the flatness of the CU;
步骤11,判断是否满足0<m<1;Step 11, judge whether 0<m<1 is satisfied;
步骤12,若满足0<m<1,则启用默认调色板模式;若不满足,即当前m为1或0时,则执行步骤13,关闭调色板模式。In
与现有技术相比,本发明的针对游戏视频内容的HEVC-SCC自适应能耗控制策略,该算法能够提高对于SC图像编码的编码速率,在不太影响编码质量的前提下减少编码时间。Compared with the prior art, the HEVC-SCC adaptive energy consumption control strategy for game video content of the present invention can improve the coding rate for SC image coding and reduce coding time without affecting coding quality.
附图说明Description of drawings
图一为本发明的针对游戏视频内容的HEVC-SCC自适应能耗控制策略的整体流程图。FIG. 1 is an overall flow chart of the HEVC-SCC adaptive energy consumption control strategy for game video content according to the present invention.
具体实施方式Detailed ways
下面将结合附图对本发明的实施方式作进一步的详细描述。The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
本发明的整体思路判断图像的颜色复杂度,对颜色复杂度较高的区域和极度平坦的区域跳过调色板模式,反之则可启用默认调色板模式。The overall idea of the present invention determines the color complexity of the image, skips the palette mode for areas with high color complexity and extremely flat areas, and enables the default palette mode otherwise.
如图1所示,在一个具体实施例中,收集各种类型的游戏视频测试序列,分别对第一步收集的序列进行开启和关闭默认调色板模式的实验并记录;本发明包括以下步骤:As shown in Figure 1, in a specific embodiment, various types of game video test sequences are collected, and the sequences collected in the first step are respectively subjected to an experiment of turning on and off the default palette mode and recording; the present invention includes the following steps :
步骤1,输入待处理图像;
步骤2,获取图像的亮度信息;
步骤3,将图像分为8x8的块;Step 3, divide the image into 8x8 blocks;
步骤4,对每个块进行DCT变换来衡量其颜色复杂度,得到DCT系数的绝对值a;
步骤5,定义两个参数i和k;i为常数,是一个阈值,用于和a进行比较,k表示一个块的平坦程度;Step 5, define two parameters i and k; i is a constant, which is a threshold for comparison with a, and k represents the flatness of a block;
步骤6,判断是否满足0≤a≤i。若0≤a≤i,即当a为0或非常小时,执行步骤7,Step 6, judge whether 0≤a≤i is satisfied. If 0≤a≤i, that is, when a is 0 or very small, go to step 7,
步骤7,k值累计到1;若绝对值a大于i,k值保持不变;Step 7, the k value is accumulated to 1; if the absolute value a is greater than i, the k value remains unchanged;
步骤8,计算与一帧图像内所有k值的平均值aveK相关的上门限upK和下门限lowK;具体公式如下:Step 8: Calculate the upper threshold upK and the lower threshold lowK related to the average value aveK of all k values in one frame of image; the specific formula is as follows:
其中,α和β表示两个权重值,pixX,pixY分别表示一帧图像的横向像素点个数和纵向像素点个数,k1+k2+…+knum代表了这一帧中所有8×8块对应的k值,num表示一帧图像内8x8块的个数;Among them, α and β represent two weight values, pixX, pixY respectively represent the number of horizontal pixels and vertical pixels of a frame of image, k 1 +k 2 +…+k num represents all 8 in this frame The k value corresponding to the ×8 block, num represents the number of 8x8 blocks in one frame of image;
步骤9,设定一个块的对应输出值为Judb,所有的Judb形成判别矩阵;Judb的具体计算公式为:Step 9: Set the corresponding output value of a block to Jud b , and all Jud b form a discriminant matrix; the specific calculation formula of Jud b is:
将k与upK,lowK相比较:当一个8x8块的k值大于upK,则此块对应输出值Judb为0;当一个块的k值小于lowK,则对应输出值Judb为1;Compare k with upK and lowK: when the k value of an 8x8 block is greater than upK, the corresponding output value Jud b of this block is 0; when the k value of a block is less than lowK, the corresponding output value Jud b is 1;
步骤10,根据输入CU的大小融合判别矩阵中的元素Judb:融合方式为对所有Judb进行加权平均;CU的平坦程度计算公式如下:Step 10: According to the size of the input CU, the elements Jud b in the judgment matrix are fused: the fusion method is to perform a weighted average on all Jud b ; the calculation formula of the flatness of the CU is as follows:
其中,Scu×Scu表示CU的大小,n表示此CU有几个8x8的块,m表示融合以后的数,也就是此CU的平坦程度;Among them, S cu × S cu represents the size of the CU, n represents that the CU has several 8x8 blocks, and m represents the number after fusion, that is, the flatness of the CU;
步骤11,判断是否满足0<m<1;Step 11, judge whether 0<m<1 is satisfied;
步骤12,若满足0<m<1,则启用默认调色板模式;若不满足,即当前m为1或0时(由上述步骤所知,m不可能大于1或小于0),则执行步骤13,关闭调色板模式(跳过调色板模式)。
以下是有关实验的描述。实验中所使用的编码器是HM-16.6+SCM-5.0,实验平台为Intel Core i7 CPU-2.67GHz,6G RAM。实验条件使用all-intra-main-scc配置文件。QP设置为22,27,32,37。常数值i设为8,aveKup和aveKlow设为62和48,所以参数thdK值为55。当aveK≥55,α设为0.7;当aveK<55,α设为0.75,β设为0.1。如表1和表2所示为测试序列。表1的测试序列全部为游戏视频序列,表2的测试序列是公开的测试序列。实验结果如表3、表4所示。Below is a description of the experiments. The encoder used in the experiment is HM-16.6+SCM-5.0, and the experimental platform is Intel Core i7 CPU-2.67GHz, 6G RAM. Experimental conditions use the all-intra-main-scc configuration file. QP is set to 22, 27, 32, 37. The constant value i is set to 8, aveK up and aveK low are set to 62 and 48, so the parameter thdK is 55. When aveK≥55, α is set to 0.7; when aveK<55, α is set to 0.75, and β is set to 0.1. Test sequences are shown in Tables 1 and 2. The test sequences in Table 1 are all game video sequences, and the test sequences in Table 2 are public test sequences. The experimental results are shown in Table 3 and Table 4.
表1、游戏视频序列Table 1. Game video sequences
表2、公开的测试视频序列Table 2. Public test video sequences
表3、游戏视频序列实验结果Table 3. Experimental results of game video sequences
表4、公开测试视频序列实验结果Table 4. Experimental results of public test video sequences
所有测试序列的BDPSNR差距都在0.01dB以下。对游戏测试序列集,本发明与开启默认调色板模式相比,BDPSNR平均差0.0259dB,时间节省15.715%;对公开的测试序列集,BDPSNR平均差0.0402dB,时间节省8.319%。实验结果较好。The BDPSNR gap of all test sequences is below 0.01dB. For the game test sequence set, the present invention has an average BDPSNR difference of 0.0259dB and a time saving of 15.715% compared with the default palette mode; for the public test sequence set, the BDPSNR average difference is 0.0402dB and a time saving of 8.319%. The experimental results are good.
本发明在进行调色板模式之前进行了一次基于视频内容的预判,对于视频内容较为复杂或接近于自然图像的部分,跳过调色板模式,在保证编码质量的前提下减少编码时间和所需能耗。The present invention performs a pre-judgment based on the video content before the palette mode, and skips the palette mode for the part of the video content that is more complex or close to a natural image, and reduces the coding time and time on the premise of ensuring the coding quality. required energy consumption.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711167098.XA CN107948659B (en) | 2017-11-21 | 2017-11-21 | HEVC-SCC Adaptive Energy Consumption Control Strategy for Game Video Content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711167098.XA CN107948659B (en) | 2017-11-21 | 2017-11-21 | HEVC-SCC Adaptive Energy Consumption Control Strategy for Game Video Content |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107948659A CN107948659A (en) | 2018-04-20 |
CN107948659B true CN107948659B (en) | 2020-07-31 |
Family
ID=61930502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711167098.XA Expired - Fee Related CN107948659B (en) | 2017-11-21 | 2017-11-21 | HEVC-SCC Adaptive Energy Consumption Control Strategy for Game Video Content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948659B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2521606A (en) * | 2013-12-20 | 2015-07-01 | Canon Kk | Method and apparatus for transition encoding in video coding and decoding |
KR102042085B1 (en) * | 2014-06-20 | 2019-11-08 | 에이치에프아이 이노베이션 인크. | Method of palette predictor signaling for video coding |
US20160234494A1 (en) * | 2015-02-10 | 2016-08-11 | Qualcomm Incorporated | Restriction on palette block size in video coding |
CN106534846B (en) * | 2016-11-18 | 2019-01-29 | 天津大学 | A kind of screen content and natural contents divide and fast encoding method |
CN107277509B (en) * | 2017-08-03 | 2019-10-25 | 重庆邮电大学 | A Fast Intra Prediction Method Based on Screen Content |
-
2017
- 2017-11-21 CN CN201711167098.XA patent/CN107948659B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN107948659A (en) | 2018-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lei et al. | Fast intra prediction based on content property analysis for low complexity HEVC-based screen content coding | |
CN104219525B (en) | Perception method for video coding based on conspicuousness and minimum discernable distortion | |
CN108495135B (en) | Quick coding method for screen content video coding | |
US9256924B2 (en) | Image processing device, moving-image processing device, video processing device, image processing method, video processing method, television receiver, program, and recording medium | |
CN110570420B (en) | No-reference contrast distortion image quality evaluation method | |
CN110717868B (en) | Video high dynamic range inverse tone mapping model construction, mapping method and device | |
CN104065962B (en) | The macroblock layer bit distribution optimization method that view-based access control model notes | |
Yang et al. | Spatiotemporal generative adversarial network-based dynamic texture synthesis for surveillance video coding | |
CN106296620B (en) | A kind of color rendition method based on histogram translation | |
DE102019218316A1 (en) | 3D RENDER-TO-VIDEO ENCODER PIPELINE FOR IMPROVED VISUAL QUALITY AND LOW LATENCY | |
CN101534432A (en) | Method for controlling code rate based on human eye sensing model | |
CN102663682B (en) | Adaptive image enhancement method based on interesting area | |
Gautam et al. | Efficient color image contrast enhancement using range limited bi-histogram equalization with adaptive gamma correction | |
CN107609603A (en) | A kind of image matching method of multiple color spaces difference fusion | |
Lei et al. | An algorithm of skin detection based on texture | |
CN106604029B (en) | A kind of bit rate control method of the moving region detection based on HEVC | |
CN103024384A (en) | Method and device for encoding and decoding videos | |
CN107948659B (en) | HEVC-SCC Adaptive Energy Consumption Control Strategy for Game Video Content | |
CN105812796B (en) | A kind of SCC interframe encodes unit candidate prediction modes reduction method | |
CN102685491B (en) | Method and system for realizing video coding | |
CN102800061B (en) | The quick self-adapted optimization method of digital picture under high illumination | |
CN105791825B (en) | A kind of screen picture coding method based on H.264 with hsv color quantization | |
CN105631812B (en) | Control method and control device for color enhancement of display image | |
JP5303399B2 (en) | Moving picture bit depth reduction apparatus and program | |
CN102800060B (en) | The quick self-adapted optimization method of digital picture under low-light (level) |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200731 Termination date: 20211121 |
|
CF01 | Termination of patent right due to non-payment of annual fee |