[go: up one dir, main page]

CN109889829A - Fast sample adaptive compensation for 360 video - Google Patents

Fast sample adaptive compensation for 360 video Download PDF

Info

Publication number
CN109889829A
CN109889829A CN201910094768.2A CN201910094768A CN109889829A CN 109889829 A CN109889829 A CN 109889829A CN 201910094768 A CN201910094768 A CN 201910094768A CN 109889829 A CN109889829 A CN 109889829A
Authority
CN
China
Prior art keywords
video
projection
ctu
sao
threshold
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
CN201910094768.2A
Other languages
Chinese (zh)
Other versions
CN109889829B (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.)
Shenzhen Xiaoyu Interactive Co.,Ltd.
Original Assignee
North China University of Technology
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 North China University of Technology filed Critical North China University of Technology
Priority to CN201910094768.2A priority Critical patent/CN109889829B/en
Publication of CN109889829A publication Critical patent/CN109889829A/en
Application granted granted Critical
Publication of CN109889829B publication Critical patent/CN109889829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

一种在高效视频编码(HEVC)中针对360度视频的SAO的方法,包括:对360度视频执行ERP投影,以获得ERP投影视频;对所述ERP投影视频中的当前帧的CTU执行帧内预测或帧间预测,以确定最佳RD‑cost;将所述CTU的RD‑cost与阈值进行比较以判断是否执行SAO,其中,所述阈值是至少部分地基于针对所述ERP投影视频的量化参数和ERP投影权重来确定的,并且其中,所述ERP投影权重是至少部分地基于所述ERP投影视频的高度中的CTU数量以及所述CTU在所述ERP投影视频的当前帧中的位置来确定的。

A method for SAO for 360-degree video in High Efficiency Video Coding (HEVC), comprising: performing ERP projection on the 360-degree video to obtain an ERP projection video; performing intra-frame on a CTU of a current frame in the ERP projection video prediction or inter prediction to determine the optimal RD-cost; comparing the RD-cost of the CTU to a threshold to determine whether to perform SAO, wherein the threshold is based at least in part on quantization for the ERP projection video parameters and ERP projection weights, and wherein the ERP projection weights are based at least in part on the number of CTUs in the height of the ERP projection video and the position of the CTUs in the current frame of the ERP projection video definite.

Description

The point self-adapted compensation of the quick sample product of 360 degree of videos
Technical field
The present invention relates to images and field of video processing, more specifically, are related to the needle in efficient video coding (HEVC) Compensation (SAO) point self-adapted to the quick sample product of 360 degree of videos.
Background technique
In April, 2010, the two big world video encoding standard tissue VCEG and MPEG set up video compress joint group JCT- VC (Joint collaborative Team on Video Coding) develops efficient video coding HEVC (High together Efficiency video coding) standard, also referred to as H.265.HEVC standard main target is and previous generation standard H.264/AVC the raising for realizing significantly code efficiency, in particular for high-resolution video sequence.Its target is identical Code rate is reduced to the 50% of H.264 standard under video quality (PSNR).
With regard to the current stage, HEVC still continues to use the hybrid encoding frame for H.264 beginning to use.Interframe and intra prediction are compiled Code: the correlation of time-domain and spatial domain is eliminated.Transition coding: transition coding is carried out to eliminate spatial coherence to residual error.Entropy Coding: statistical redundancy is eliminated.HEVC will put forth effort to study new encoding tool or technology, mention in hybrid encoding frame High video compression efficiency.
Currently, the new features of many codings proposed in the discussion of JCT-VC tissue, it is possible to HEVC mark can be added In standard, the specific document of each discussion can be obtained from http://wftp3.itu.int.
The first edition of HEVC standard [4] is completed in the January, 2013.And in April, 2013, in October, 2014 With 4 phases of the moons in 2015 after 3 versions of publication, these versions can be obtained easily from network, and the application will be upper Three versions for stating HEVC standard are incorporated in this specification as background technique of the invention.
In HEVC, due to still using block-based hybrid encoding frame, there is still a need for processing blocking artifacts, vibration Bell effect etc..In order to reduce influence of such distortion to video quality, HEVC uses loop filtering technology (In-loop Filtering) comprising deblocking filtering (Deblocking filtering) and pixel samples adaptive equalization (Dample Adaptive Offset, SAO).SAO is one of many new technologies of HEVC [5].As shown in Figure 1, SAO is located at deblocking filtering After device.SAO is classified and is counted, offset value calculation to each pixel of each coding tree unit (CTU), and selection is best SAO type, and will be in SAO type and offset write-in code stream.Then, deviant is added to each pixel of reconstructed frame, To reduce the distortion between reconstructed frame and primitive frame.SAO significant can improve subjective and objective video quality [5].SAO is mainly by three It is grouped as: statistical collection, SAO type decision and SAO filtering, as shown in Figure 2.
Statistical collection: there are mainly two types of the offset types for needing statistical collection process by SAO: boundary compensation (EO) and sideband It compensates (BO).For EO type, there are four types of EO subtype (0 ° of EO, 90 ° of EO, 45 ° of 135 ° of EO and EO).According to classifying rules Classify to each EO subtype, and calculates the pixel number in each classification and distortion summation.For BO type, image pixel intensities 32 sidebands are divided into, and are classified according to classifying rules to 32 sidebands, and calculate the pixel in each classification Number and distortion summation.The classifying rules of EO and BO is as shown in Figure 2.
SAO type decision: four kinds of SAO types: EO, BO, OFF and MERGE be can choose, wherein OFF expression is not applied SAO realizes that MERGE indicates that SAO parameter directly makes for a block in video code flow by a switch parameter Which with the SAO of the block of top or left side, at this moment only need to identify the SAO parameter for using adjacent block.It is received according to statistics The information of collection, SAO type decision calculate the optimal compensation of each SAO type by quick rate-distortion optimization (RDO) process [6] Value, and select optimal SAO type.
SAO filtering: each pixel of CTU is classified and is compensated according to the best SAO type of acquisition and deviant.
Fig. 2 shows that SAO process consists of three parts: statistical collection, SAO type decision and SAO filtering.[16] it has studied The computation complexity of each section.The result shows that statistical collection accounts for about 82%, the SAO type decision and SAO of SAO total processing time Filtering is respectively 11% and 7%.Complicated statistical collection process is to restrict the principal element of SAO processing speed.
In virtual reality system, multiple cameras are spliced balling-up for capturing 360 degree of scenes, the scene then shot 360 degree of videos of shape format.Any scene that user can freely be watched in 360 degree of scenes by headset equipment is shown (HMD) and experience on the spot in person [1] is obtained.360 degree of videos are a kind of new video coding contents.Although 360 degree of videos are Just popular and 360 degree of videos are spherical videos after HEVC standard proposition, and still [2] have been proposed under HEVC standard 360 degree of video coding frameworks.In typical 360 degree of video compress frames, spherical video needs to be converted to before encoding flat Plane video, planar video need to be converted to spherical video [3] in encoded.Conversion regime is known as projecting.It has been proposed a variety of Projection format, for example, rectangular projections (ERP) is waited, the equivalent projection (AEP) of adjustment, cubic projection (CMP), isogonism cube Figure projection (EAC), truncation square pyramid projection (TSP), compact octahedra projection (COHP), compact icosahedron projection (CISP) etc..When selecting ERP as projection format, the cataloged procedure of 360 degree of videos includes: that original video is projected as ERP Projection format, and encoding and decoding are executed to ERP projection video, it is to rebuild by the reconstruction video of ERP projection format again back projection Video.Projection process is essential for 360 degree of Video codings.Projection format as intermediate form influences 360 degree of views The coding efficiency of frequency.In fact, not yet determining which kind of projection format has forced coding performance at present.But ERP is made extensively With being the default form of 360 degree of videos.Therefore, the characteristics of mainly studying ERP projection format herein.
Compared with planar video, 360 degree of videos have different characteristics, the optimal parameter of existing SAO fast algorithm and Process is not suitable for 360 degree of videos.In this application, the characteristics of being based on 360 degree of videos proposes a kind of for 360 degree of videos Quick SAO algorithm.
The application is the improvement to existing HEVC agreement, in order to enable those skilled in the art can fully understand this hair It is bright, the citation of a variety of concepts referred in the application is appended below, these documents are incorporated herein on the whole and conduct A part of present specification.
1.B.Luo, F.Xu, C.Richardt and J.Yong, " 360 ° of Parallax360:Stereoscopic Scene Representation for Head-Motion Parallax, " in IEEE Transactions on Visualization and Computer Graphics, vol.24, no.4, pp.1545-1553, April 2018.
2.Y.Y, E.Alshina, J.Boyce, " Algorithm descriptions of projection format Conversion and video quality metrics in 360Lib ", Joint Video Exploration Team 16 WP of of ITU-T SG 3 and ISO/IEC JTC 1/SC 29/WG 11, JVET-H1004,7th Meeting, July 2017.
3.W.Zou, F.Yang and S.Wan, " Perceptual video quality metric for Compression artefacts:from two-dimensional to omnidirectional, " in IET Inage Processing, vol.12, no.3, pp. 374-381,3 2018.
4.Sullivan, Gary J., et al. " Overview of the high efficiency video Coding (HEVC) standard. " Circuits and Systems for Video Technology, IEEE Transactions on 22.12 (2012): 1649-1668.
5.C.-M.Fu, E.Alshina, A.Alshin, Y.-W.Huang, C.-Y.Chen, C.-Y.Tsai, C.-W.Hsu, S.-M. Lei, J.-H.Park, and W.-J.Han, " Sample adaptive offset in the HEVC Standard, " Circuits and Systems for Video Technology, IEEE Transactions on, Vol.22, no.12, pp.1755-1764,2012.
6.Zhang M, Bai H, Lin C, et al.Texture Characteristics Based Fast Coding Unit Partition in HEVC Intra Coding, Data Compression Conference.IEEE, 2015: 477-477.
7.Z.Zhengyong, C.Zhiyun and P.Peng, " A fast SAO algorithm based on Coding unit partition for HEVC, " 2015 6th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, 2015, pp.392-395.
8.J.Joo, Y.Choi and K.Lee, " Fast sample adaptive offset encoding Algorithm for HEVC based on intra prediction mode, " 2013 IEEE Third International Conference on Consumer Electronics Berlin (ICCE-Berlin), Berlin, 2013, pp.50-53.
9.T.Y.Kuo, H.Chiu and F.Amirul, " Fast sample adaptive offset encoding For HEVC, " 2016 IEEE International Conference on Consumer Electronics-Taiwan (ICCE-TW), Nantou, 2016, pp.1-2.
10.S.Yin, X.Zhang and Z.Gao, " Efficient SAO coding algorithm for x265 Encoder, " 2015 Visual Communications and Image Processing (VCIP), Singapore, 2015, pp.1-4.
11.S.E.Gendy, A.Shalaby and M.S.Sayed, " Fast parameter estimation Algorithm for sample adaptive offset in HEVC encoder, " 2015 Visual Communications and Image Processing (VCIP), Singapore, 2015, pp.1-4.
12.K.Yang, S.Wan, Y.Gong, Y.Yang and Y.Feng, " Fast sample adaptive offset For H.265/HEVC based on temporal dependency, " 2016 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA), Jeju, 2016, pp.1-4.
13.Sungjei Kim, Jinwoo Jeong, Jeong-Mee Moon and Yong-HWan Kim, " Fast sample adaptive offset parameter estimation algorithm based on early Termination for HEVC encoder, " 2017 IEEE International Conference on Consumer Electronics (ICCE), Las Vegas, NV, 2017, pp.241-242.
14.W.Zhang and C.Guo, " Design and implementation of parallel Algorithms for sample adaptive offset in HEVC based on GPU, " 2016 Sixth International Conference on Information Science and Technology (ICIST), Dalian, 2016, pp.181-187.
15.Y.Wang, X.Guo, Y.Lu, X.Fan and D.Zhao, " GPU-based optimization for Sample adaptive offset in HEVC, " 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, 2016, pp.829-833.
16.Y.Choi and J.Joo, " Exploration of Practical HEVC/H.265 Sample Adaptive offset Encoding Policies, " in IEEE Signal Processing Letters, vol.22, No.4, pp.465-468, April 2015.
17.Y.Li, J.Xu and Z.Chen, " Spherical domain rate-distortion Optimization for 360-degree video coding, " 2017 IEEE International Conference On Multimedia and Expo (ICME), Hong Kong, 2017, pp.709-714.
18.Y.Sun and L.Yu, " Coding optimization based on weighted-to- Spherically-uniform quality metric for 360 video, " 2017 IEEE Visual Communications and Image Processing (VCIP), St.Petersburg, FL, 2017, pp.1-4.
19.Jill Boyce, Elena Alshina, Adeel Abbas, " JVET common test conditions And evaluation procedures for 360 ° of video ", Joint Video Exploration Team (JVET) of 16 WP of ITU-T SG 3 and ISO/IEC JTC 1/SC 29/WG 11, JVET-H1030,8th Meeting, Oct.2017.
20.X.Xiu, Y.He, Y.Ye and B.Vishwanath, " An evaluation framework for 360- Degtee video compression, " 2017 IEEE Visual Communications and Image Processing (VCIP), St. Petersburg, FL, 2017, pp.1-4.
21.H.Bai, C.Zhu and Y.Zhao, " Optimized Multiple Description Lattice Vector Quantization for Wavelet Image Coding, " in IEEE Transactions on Circuits and Systems for Video Technology, vol.17, no.7, pp.912-917, July 2007.
22.C.Yeh, Z.Zhang, M.Chen and C.Lin, " HEVC Intra Frame Coding Based on Convolutional Neural Network, " in IEEE Access, vol.6, pp.50087-50095,2018.
23.L.Chang, Z.Liu, L.Wang and X.Li, " Enhance the HEVC Fast Intra CU Mode Decision Based on Convolutional Neural Network by Corner Power Estimation, " 2018 Data Compression Conference, Snowbird, UT, 2018, pp.400-400.
24.T.Katayama, K.Kuroda, W.Shi, T.Song and T.Shimamoto, " Low-complexity Intra coding algorithm based on convolutional neural network for HEVC, " 2018 International Conference on Information and Computer Technologies (ICICT), DeKalb, IL, 2018, pp. 115-118.
25.G.Bjontegaard, " Calculation of average PSNR differences between RD- Curves, " ITU-T VCEG-M33,2001.
Summary of the invention
The present invention is directed to the characteristic of 360 degree of videos, proposes a kind of quick SAO method for 360 degree of videos.It is mentioned The SAO process of algorithm improvement out on the basis of retaining entire SAO process increases simplified SAO process.By being based on After the SAO of threshold value executes decision, simplified SAO process can be used, this will greatly reduce the time of statistic gathering, thus Reduce the computation complexity of SAO.
According to an aspect of the present invention, it proposes one kind to be directed to 360 degree of videos in efficient video coding (HEVC) The method of sampling point adaptive equalization (SAO), this method comprises:
Projection is executed to 360 degree of videos, to obtain projection video;
Intra prediction or inter-prediction are executed to the coding tree unit (CTU) of the present frame in the ERP projection video, with Determine best RD-cost;
The RD-cost of the CTU is compared with threshold value to judge whether to execute SAO,
Wherein, the threshold value is at least partially based on quantization parameter and projection weight for the projection video come really Fixed, and wherein, the projection weight is at least partially based on CTU quantity and institute in the height of the projection video Position of the CTU in the present frame of the projection video is stated to determine.
According to a further aspect of the present invention, the method further includes: if it is determined that not executing SAO, then at least Not to CTU exercise boundary compensation (EO) and sideband compensation (BO);If it is determined that executing SAO, then executed for the CTU One of OFF or MERGE operation.
According to a further aspect of the present invention, wherein the threshold value is based at least partially at least one of following: described Project weight with 2 for the e of the logarithm or quantization parameter at bottom power, or combinations thereof.
According to a further aspect of the present invention, wherein only for the top 1/4 and lower section 1/4 in the projection video Height, the RD-cost of the CTU is compared with threshold value to judge whether to execute SAO.
A kind of efficient video coding (HEVC) hardware coder according to another aspect, is suitable for being directed to 360 degree of videos Sampling point adaptive equalization (SAO), the encoder are configured as executing the above method.
The invention proposes one kind to using method as mentioned or encoder as mentioned to compile according to another aspect, The decoder that 360 video flowings of code are decoded.
The invention proposes a kind of for executing the computer program product of the above method according to another aspect,.
According to another aspect, the invention proposes a kind of equipment that can be used for coding and decoding video, the equipment include: one or Multiple processors;Memory, wherein being stored with computer code, the computer code is real when being executed by the processor The existing above method.
It is described according to another aspect, to be projected as waiting rectangular projections (ERP).
Detailed description of the invention
Fig. 1 shows one embodiment of the encoder block diagram of HEVC.
Fig. 2 shows the brief block diagrams of the SAO in HEVC.
Fig. 3 shows the weight distribution of ERP projection.
Fig. 4 shows the method flow diagram of the various aspects according to present disclosure.
Fig. 5 shows the schematic diagram of the equipment for coding and decoding video of the various aspects according to present disclosure.
Specific embodiment
Various schemes are described referring now to the drawings.In the following description, it in order to explain, elaborates multiple specific thin Section is in order to provide the thorough understanding to one or more schemes.It may be evident, however, that also can without these specific details Enough realize these schemes.
As used in this specification, term " component ", " module ", " system " etc. are intended to refer to related to computer Entity, such as, but not limited to, hardware, firmware, the combination of hardware and software, software or software in execution.For example, Component can be but not limited to: process, processor, object, the executable (executable), execution run on a processor Thread, program, and/or computer.For example, the application program and the calculating equipment run on the computing device is ok It is component.One or more components can be located in executive process and/or execution thread, and component can be located at a meter On calculation machine and/or it is distributed on two or more computers.In addition, these components can from have be stored thereon it is each The various computer-readable mediums of kind data structure execute.Component can be communicated by means of locally and/or remotely process, example If basis has the signal of one or more data groupings, for example, from by means of signal and local system, distributed system In another component interaction and/or with interacted by means of signal with other systems on the network of such as internet etc one The data of a component.
The present invention is directed to the characteristic of 360 degree of videos, proposes a kind of quick SAO method for 360 degree of videos.It is mentioned The SAO process of algorithm improvement out on the basis of retaining entire SAO process increases simplified SAO process.By being based on After the SAO of threshold value executes decision, it can choose and execute routine SAO process as defined in HEVC or select not executing SAO or only hold Row MERGE processing, to realize simplified SAO process, this will greatly reduce the time of statistic gathering, to reduce The computation complexity of SAO.
I. algorithm is summarized
Weight (weight) in (1) 360 degree of video
360 degree of videos are a kind of spherical videos, are that 360 degree of videos and the maximum of conventional video are distinguished.In order to be marked in HEVC Standard is lower to encode 360 degree of videos, it is necessary to project to 360 degree of videos in planar video.Although projection video and conventional video are all Planar video, but projection video has the distortion and stretching of spherical video.Therefore, the evaluating objective quality index of conventional video PSNR is not suitable for projection video.WS-PSNR is proposed as the objective quality assessment index [18] of projection video.WS-PSNR is Projection video designs weight, and projection video is smaller in the weight of distortion and stretch zones, and vice versa, then passes through weighted average Method calculates WS-PSNR.WS-PSNR is commented by the objective quality that joint video exploration team (JVET) is recognized as 360 degree of video qualities Estimate index.Therefore, weight is the maximum difference between projection video and conventional video.
Wherein (i, j) indicates that location of pixels, height indicate the height of video.Fig. 3 shows ERP weight distribution.Color It is deeper, closer to 0.Color is more shallow, closer to 1.Region0 is defined as the two poles of the earth near zone, and weight is small;Region1 is defined as The region of equator, weight are big.As shown in figure 3, Region0 includes upper 1/4 region and lower 1/4 region of video; Region1 represents 1/2 region of centre of video.
(2)RD-cost
In HEVC, through-rate aberration optimizing (RDO) [17] recursively calculates intra prediction and frame in HEVC standard Between the optimum prediction mode predicted and best CU divide.
J=D+ λ R (2)
Wherein D indicates that the distortion in current prediction mode, R expression encode all information in current prediction mode Required bit number, λ is Lagrange factor, and J indicates Lagrangian cost (RD-cost).RD-cost is smaller, prediction The code efficiency of mode is higher, and RD-cost is bigger, and the code efficiency of prediction mode is lower.
(3) algorithm proposed
In one embodiment of the invention, setting threshold value (Threshold) is to predefine whether execute SAO process. SAO process is executed as RD-cost > Threshold does not otherwise execute SAO process.By being skipped at SAO based on threshold value Reason, can greatly reduce encoding calculation amount.
In one embodiment of the invention, it is used to determine whether that the threshold value for executing SAO process is at least partially based on It is determined for quantization parameter and ERP the projection weight of 360 degree of videos.
In one embodiment of the invention, quantization parameter has influence for the judgement for whether executing SAO.According to experiment Statistics, with the increase of quantization parameter, CTU does not apply the probability of SAO to increase;With the increase of quantization parameter, same CTU's RD-cost also increases.Therefore, quantization parameter is considered in threshold value, whether threshold value that can be set is to executing SAO and sentence It is fixed more accurate.
In the embodiment of an example and not restrictive, it may be considered that the power of the e of quantization parameter.
In one embodiment of the invention, the weight of projection video has influence for the judgement for whether executing SAO.By It is projected in ERP used herein, therefore the weight is also referred to as ERP projection weight.Under study for action, inventor notices pair In the weight of ERP projection, in Region0 the weight of CTU close to 0, therefore in Region0 CTU distortion to final video quality It influences little.Therefore, consider that the weight of projection video has met the projection of ERP projection in the judgement for whether executing SAO The characteristics of video, so that the judgement not will cause the decline of coded video quality.
In the embodiment of an example of the invention and not restrictive, inventor proposes following weight set-up mode:
Wherein (x, y) indicates the position of CTU, and m is the CTU quantity in video height, and weight (x, y) indicates the institute of CTU There is the average weight of pixel.Therefore, the weight of different location is different, and the distortion of CTU is to video quality in Region1 Influence will influence of the distortion to video quality much smaller than CTU in Region0.Therefore, the CTU in Region1 is carried out detailed Thin decision simultaneously carries out a kind of method that rough decision is adaptation projection video characteristic to the CTU in Region0.
In one embodiment of the invention, inventor is according to the weight modification threshold value of different latitude (correspond to y value).Hair Bright people usesTo indicate the scale factor of different latitude.Latitude is bigger, and the factor is bigger.
In the embodiment of an example and not restrictive, threshold value setting as shown in the following Table 1 is given.
Table 1.ERP projection video improved threshold value at different Q P
Wherein, α and 1- α respectively indicates the percentage of fixed threshold and variable thresholding, and QP is quantization parameter.
In one embodiment of the invention, inventor considers the power of the e of quantization parameter.For example, in another example and In non-limiting embodiment, threshold value can determine as follows:
In one embodiment of the invention, as described above, inventor notices the distortion pair of the CTU in Region0 The influence of video quality will be much smaller than influence of the distortion of CTU in Region1 to video quality.Therefore in order to reduce by SAO Ensure video quality while caused calculation amount, it can be only for the Region0 in ERP projection video (i.e. above present frame 1/4 and lower section 1/4 height) Lai Jinhang aforesaid operations, and to the Region1 region of 1/2 height (present frame among) still into The processing of SAO as defined in row HEVC agreement.
In one embodiment of the invention, since the calculation amount of MERGE operation is smaller, aforesaid operations are being carried out When, it may be considered that when meeting threshold condition (being, for example, less than threshold value), executes MERGE operation or do not execute SAO operation (OFF Operation).
Fig. 4 shows the method flow diagram of the various aspects according to present disclosure.This method is used to compile in efficient video The sampling point adaptive equalization (SAO) of 360 degree of videos is directed in code (HEVC).
According to one embodiment, this method comprises: to rectangular projections (ERP) such as 360 degree of videos execution, to obtain ERP projection video.It should be readily apparent to one skilled in the art that other projecting methods other than ERP can be executed, specifically Projecting method is not focus of the invention.
According to another embodiment, this method further include: to the coding tree unit of the present frame in the ERP projection video (CTU) intra prediction or inter-prediction are executed, with the best RD-cost of determination.
According to another embodiment, this method further include: being compared the RD-cost of CTU with threshold value to judge whether Execute SAO, wherein the threshold value be at least partially based on for ERP projection video quantization parameter and ERP projection weight come Determining, and wherein, the ERP projection weight is at least partially based on the CTU number in the height of the ERP projection video Amount and CTU position in the present frame of the ERP projection video determines.
According to another embodiment, if it is decided that do not execute SAO, then at least do not compensate (EO) to the CTU exercise boundary (BO) is compensated with sideband;If it is determined that and execute SAO, then for the CTU execute OFF or MERGE operation one of.
According to another embodiment, the threshold value is based at least partially at least one of following: the ERP projects weight With 2 for the e of the logarithm or quantization parameter at bottom power, or combinations thereof.
It will be described only for the height of top 1/4 and lower section 1/4 in ERP projection video according to another embodiment The RD-cost of CTU is compared to judge whether to execute SAO with threshold value.
Fig. 5 shows the schematic diagram of the equipment for coding and decoding video of the various aspects according to present disclosure.Such as Fig. 5 Shown, which may include one or more processors and memory, and computer code is stored in the memory, described Computer code is realized when being executed by the processor and is directed to 360 in efficient video coding (HEVC) as described herein Spend the method for the sampling point adaptive equalization (SAO) of video.
The encoder that present disclosure can also relate to for realizing above-mentioned coding method according to another aspect,.The coding Device can be specialized hardware.
Present disclosure can also relate to what corresponding 360 video flowings to after coding were decoded according to another aspect, Decoder.
Present disclosure can also relate to execute the computer program product of methods described herein according to another aspect,.
When implemented in hardware, video encoder can use general processor, digital signal processor (DSP), dedicated collection At circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components are designed as executing any combination thereof of function described herein, Lai Shixian or execution.General processor It can be microprocessor, but alternatively, which is also possible to any conventional processor, controller, microcontroller Or state machine.Processor also can be implemented as calculating the combination of equipment, for example, the combination of DSP and microprocessor, multiple micro- places Manage the combination of device, the combination or any other such structure of one or more microprocessors and DSP core.In addition, at least one A processor may include that can operate to execute one or more modules of above-mentioned one or more steps and/or operation.
When with hardware circuits such as ASIC, FPGA to realize video encoder, may include be configured as executing it is various The various circuit blocks of function.Those skilled in the art can be according to the various constraint conditions applied over the whole system come with various These circuits of mode design and implementation, to realize various functions disclosed in this invention.
Although aforementioned open file discusses exemplary arrangement and/or embodiment, it should be noted that being wanted without departing substantially from by right In the case where the scheme for the description for asking book to define and/or the range of embodiment, many change and modification can be made herein.And And although in the singular describe or require the scheme and/or embodiment element, it is also contemplated that plural number feelings Condition is limited to odd number unless expressly stated.In addition, all or part of any scheme and/or embodiment can with it is any its Its scheme and/or all or part of of embodiment are used in combination, unless showing different.

Claims (9)

1.一种在高效视频编码(HEVC)中针对360度视频的样点自适应补偿(SAO)的方法,包括:1. A method of sample adaptive compensation (SAO) for 360-degree video in High Efficiency Video Coding (HEVC), comprising: 对所述360度视频执行投影,以获得投影视频;performing projection on the 360-degree video to obtain a projection video; 对所述投影视频中的当前帧的编码树单元(CTU)执行帧内预测或帧间预测,以确定最佳RD-cost;performing intra-frame prediction or inter-frame prediction on the coding tree unit (CTU) of the current frame in the projected video to determine the best RD-cost; 将所述CTU的RD-cost与阈值进行比较以判断是否执行SAO,comparing the RD-cost of the CTU with a threshold to determine whether to perform SAO, 其中,所述阈值是至少部分地基于针对所述投影视频的量化参数和投影权重来确定的,并且其中,所述投影权重是至少部分地基于所述投影视频的高度中的CTU数量以及所述CTU在所述投影视频的当前帧中的位置来确定的。wherein the threshold is determined based at least in part on a quantization parameter and a projection weight for the projected video, and wherein the projection weight is based at least in part on the number of CTUs in the height of the projected video and the The position of the CTU in the current frame of the projected video is determined. 2.如权利要求1所述的方法,进一步包括:2. The method of claim 1, further comprising: 如果判定不执行SAO,则至少不对所述CTU执行边界补偿(EO)和边带补偿(BO);If it is determined not to perform SAO, at least not perform boundary compensation (EO) and sideband compensation (BO) for the CTU; 如果判定执行SAO,则针对对所述CTU执行OFF或MERGE操作之一。If it is determined to perform SAO, one of OFF or MERGE operations is performed for the CTU. 3.如权利要求1或2所述的方法,其中,所述阈值至少部分地基于以下至少一项:所述投影权重的以2为底的对数,或所述量化参数的e的幂,或其组合。3. The method of claim 1 or 2, wherein the threshold is based, at least in part, on at least one of: the base-2 logarithm of the projection weight, or the quantization parameter raised to a power of e, or a combination thereof. 4.如权利要求1-3中任一项所述的方法,其中,仅针对所述投影视频中的上方1/4和下方1/4的高度,将所述CTU的RD-cost与阈值进行比较以判断是否执行SAO。4. The method of any one of claims 1-3, wherein the RD-cost of the CTU is compared with a threshold for only the upper 1/4 and lower 1/4 heights in the projected video. Compare to determine whether to perform SAO. 5.一种高效视频编码(HEVC)硬件编码器,其适于针对360度视频的样点自适应补偿(SAO),所述编码器被配置为:5. A High Efficiency Video Coding (HEVC) hardware encoder adapted for Sample Adaptive Compensation (SAO) for 360-degree video, the encoder being configured to: 对所述360度视频执行投影,以获得投影视频;performing projection on the 360-degree video to obtain a projection video; 对所述投影视频中的当前帧的编码树单元(CTU)执行帧内预测或帧间预测,以确定最佳RD-cost;performing intra-frame prediction or inter-frame prediction on the coding tree unit (CTU) of the current frame in the projected video to determine the best RD-cost; 将所述CTU的RD-cost与阈值进行比较以判断是否执行SAO,comparing the RD-cost of the CTU with a threshold to determine whether to perform SAO, 其中,所述阈值是至少部分地基于针对所述投影视频的量化参数和投影权重来确定的,并且其中,所述投影权重是至少部分地基于所述投影视频的高度中的CTU数量以及所述CTU在所述投影视频的当前帧中的位置来确定的。wherein the threshold is determined based at least in part on a quantization parameter and a projection weight for the projected video, and wherein the projection weight is based at least in part on the number of CTUs in the height of the projected video and the The position of the CTU in the current frame of the projected video is determined. 6.一种对使用如权利要求1-4中任一项所述的方法或如权利要求5所述的编码器进行编码的360视频流进行解码的解码器。6. A decoder for decoding a 360 video stream encoded using the method of any of claims 1-4 or the encoder of claim 5. 7.一种用于执行权利要求1-4中任一项所述的方法的计算机程序产品。7. A computer program product for performing the method of any of claims 1-4. 8.一种可用于视频编解码的设备,该设备包括:8. A device that can be used for video encoding and decoding, the device comprising: 一个或多个处理器;one or more processors; 存储器,其中存储有计算机代码,所述计算机代码当由所述处理器执行时,实现在高效视频编码(HEVC)中针对360度视频的样点自适应补偿(SAO)的方法,所述方法包括:a memory having stored therein computer code that, when executed by the processor, implements a method of Sample Adaptive Compensation (SAO) for 360-degree video in High Efficiency Video Coding (HEVC), the method comprising : 对所述360度视频执行投影,以获得投影视频;performing projection on the 360-degree video to obtain a projection video; 对所述ERP投影视频中的当前帧的编码树单元(CTU)执行帧内预测或帧间预测,以确定最佳RD-cost;performing intra-frame prediction or inter-frame prediction on the coding tree unit (CTU) of the current frame in the ERP projection video to determine the best RD-cost; 将所述CTU的RD-cost与阈值进行比较以判断是否执行SAO,comparing the RD-cost of the CTU with a threshold to determine whether to perform SAO, 其中,所述阈值是至少部分地基于针对所述投影视频的量化参数和投影权重来确定的,并且其中,所述投影权重是至少部分地基于所述投影视频的高度中的CTU数量以及所述CTU在所述投影视频的当前帧中的位置来确定的。wherein the threshold is determined based at least in part on a quantization parameter and a projection weight for the projected video, and wherein the projection weight is based at least in part on the number of CTUs in the height of the projected video and the The position of the CTU in the current frame of the projected video is determined. 9.如权利要求1-4中任一项所述的方法,其中,所述投影为等矩形投影(ERP)。9. The method of any of claims 1-4, wherein the projection is an equirectangular projection (ERP).
CN201910094768.2A 2019-01-23 2019-01-23 Fast sample adaptive compensation for 360 degree video Active CN109889829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910094768.2A CN109889829B (en) 2019-01-23 2019-01-23 Fast sample adaptive compensation for 360 degree video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910094768.2A CN109889829B (en) 2019-01-23 2019-01-23 Fast sample adaptive compensation for 360 degree video

Publications (2)

Publication Number Publication Date
CN109889829A true CN109889829A (en) 2019-06-14
CN109889829B CN109889829B (en) 2022-08-09

Family

ID=66927466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910094768.2A Active CN109889829B (en) 2019-01-23 2019-01-23 Fast sample adaptive compensation for 360 degree video

Country Status (1)

Country Link
CN (1) CN109889829B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636293A (en) * 2019-09-27 2019-12-31 腾讯科技(深圳)有限公司 Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, storage medium, and electronic apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140192869A1 (en) * 2013-01-04 2014-07-10 Canon Kabushiki Kaisha Method, device, computer program, and information storage means for encoding or decoding a video sequence
CN108293136A (en) * 2015-09-23 2018-07-17 诺基亚技术有限公司 Method, apparatus and computer program product for encoding 360 degree of panoramic videos
US20180278936A1 (en) * 2017-03-23 2018-09-27 Qualcomm Incorporated Adaptive parameters for coding of 360-degree video
CN108924554A (en) * 2018-07-13 2018-11-30 宁波大学 A kind of panorama video code Rate-distortion optimization method of spherical shape weighting structures similarity
CN109089115A (en) * 2018-05-28 2018-12-25 北方工业大学 The adaptive QP compensation and CU high-speed decision of 360 degree of Video codings

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140192869A1 (en) * 2013-01-04 2014-07-10 Canon Kabushiki Kaisha Method, device, computer program, and information storage means for encoding or decoding a video sequence
CN108293136A (en) * 2015-09-23 2018-07-17 诺基亚技术有限公司 Method, apparatus and computer program product for encoding 360 degree of panoramic videos
US20180278936A1 (en) * 2017-03-23 2018-09-27 Qualcomm Incorporated Adaptive parameters for coding of 360-degree video
CN109089115A (en) * 2018-05-28 2018-12-25 北方工业大学 The adaptive QP compensation and CU high-speed decision of 360 degree of Video codings
CN108924554A (en) * 2018-07-13 2018-11-30 宁波大学 A kind of panorama video code Rate-distortion optimization method of spherical shape weighting structures similarity

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636293A (en) * 2019-09-27 2019-12-31 腾讯科技(深圳)有限公司 Video encoding method, video decoding method, video encoding apparatus, video decoding apparatus, storage medium, and electronic apparatus
CN110636293B (en) * 2019-09-27 2024-03-15 腾讯科技(深圳)有限公司 Video encoding and decoding methods and devices, storage medium and electronic device

Also Published As

Publication number Publication date
CN109889829B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN101710993B (en) Block-based self-adaptive super-resolution video processing method and system
JP5535625B2 (en) Method and apparatus for adaptive reference filtering
EP3709644A1 (en) Method for image processing and apparatus for implementing the same
KR102287414B1 (en) Low Complexity Mixed Domain Cooperative In-Loop Filter for Lossy Video Coding
JP5554831B2 (en) Distortion weighting
CN108605143A (en) Method and apparatus for non-locally adaptive in-loop filter in video coding
US20140321552A1 (en) Optimization of Deblocking Filter Parameters
WO2010078759A1 (en) Method for image temporal and spatial resolution processing based on code rate control
US20110194615A1 (en) Video sequence encoding system and algorithms
CN104937937A (en) Video coding method and related video coding apparatus using at least assessed visual quality
TW202103495A (en) Method for decoding image data, method for encoding image data and non-transitory computer-readable storage medium storing encoded video information
CN113592746B (en) Method for enhancing quality of compressed video by fusing space-time information from coarse to fine
CN108235025B (en) Lagrange multiplier optimization method of self-adaptive inter-frame reference structure
US20170374361A1 (en) Method and System Of Controlling A Video Content System
Amirpour et al. A real-time video quality metric for HTTP adaptive streaming
EP3629580A1 (en) Method for image processing and apparatus for implementing the same
CN104093022B (en) A rate-distortion optimization method and device
Yang et al. Content adaptive spatial–temporal rescaling for video coding optimization
CN109889829A (en) Fast sample adaptive compensation for 360 video
US8369423B2 (en) Method and device for coding
CN110868593A (en) Fast Division of Video CU Based on Regional Decision Tree
Sinha et al. Region-of-interest based compressed domain video transcoding scheme
Costa et al. Coding efficiency and time evaluation of apple A15 bionic chipset HEVC encoder
CN113411575B (en) Image processing apparatus, method, and storage medium for performing quality-optimized deblocking
KR101247024B1 (en) Method of motion estimation and compensation using in-loop preprocessing filtering

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
OL01 Intention to license declared
OL01 Intention to license declared
OL02 Intention to license withdrawn
OL02 Intention to license withdrawn
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250318

Address after: 230000 B-1015, wo Yuan Garden, 81 Ganquan Road, Shushan District, Hefei, Anhui.

Patentee after: HEFEI MINGLONG ELECTRONIC TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100144 Beijing City, Shijingshan District Jin Yuan Zhuang Road No. 5, North China University of Technology

Patentee before: NORTH CHINA University OF TECHNOLOGY

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250610

Address after: 518000 Guangdong Province Shenzhen City Nanshan District Shahhe Street Xiangshan Street Community Qiaocheng East Road 99 Industrial Building 503

Patentee after: Shenzhen Xiaoyu Interactive Co.,Ltd.

Country or region after: China

Address before: Ganquan road Shushan District of Hefei City, Anhui Province, Jiangmen 230000 Business Garden No. 81 floor B-1015

Patentee before: HEFEI MINGLONG ELECTRONIC TECHNOLOGY Co.,Ltd.

Country or region before: China