The present invention relates to video processing. In particular, the present invention relates to apparatus and method for filter-unit based in-loop filtering including sample adaptive offset and adaptive loop filter.
In a video coding system, video data are subject to various processing such as prediction, transform, quantization, and deblocking. Along the processing path in the video coding system, noise may be introduced and characteristics of the processed video data may be altered from the original video data due to the operations applied to video data. For example, the mean value of the processed video may be shifted. Intensity shift may cause visual impairment or artifacts, which will become noticeable especially when the intensity shift varies from picture to picture. Therefore, the pixel intensity shift has to be carefully compensated or restored to reduce the artifacts. Some intensity offset schemes have been used in the field. For example, an intensity offset scheme, termed as sample adaptive offset (SAO), classifies each pixel in the processed video data into one of multiple categories according to a context selected. The SAO scheme usually requires incorporating SAO information in the video bitstream, such as partition information to divide a picture or slice into blocks and the SAO offset values for each block so that a decoder can operate properly. Besides SAO, adaptive loop filter (ALF) is another type of in-loop filter often applied to the reconstructed video to improve video quality. Similarly, ALF information such as partition information and filter parameters has to be incorporated in the video bitstream so that a decoder can operate properly.
In a conventional coding system, picture-level in-loop filtering is often applied, where the same filter parameters are shared by all blocks in the picture. While the picture-level in-loop filtering is simple, it lacks adaptivity to local characteristics of the picture. It is desirable to develop an in-loop filtering scheme that can adapt to local characteristics of the picture. The in-loop filtering scheme with local adaptivity may require more bandwidth to convey filter information. Accordingly, it is also desirable to develop syntax that can convey filter information efficiently and/or flexibly.
Methods for filter-unit based in-loop filtering in a video decoder and encoder are disclosed. The method for filter-unit based in-loop filtering in a video decoder incorporating an embodiment according to the present invention comprises receiving a video bitstream corresponding to compressed video, wherein FU (Filter Unit) based in-loop filtering is used in a reconstruction loop associated with the compressed video; deriving reconstructed video from the video bitstream, wherein the reconstructed video is partitioned into one or more FUs; determining a filter index from the video bitstream for each of said one or more FUs; determining filter parameters from a filter parameter set according to the filter index for said each of said one or more FUs; and applying in-loop filtering to said each of said one or more FUs based on the filter parameters. In the corresponding encoder, the method incorporates the respective syntax information in the video bitstream.
In another embodiment according to the present invention, the method for filter-unit based in-loop filtering in a video decoder comprises deriving a FU size from the video bitstream; partitioning the reconstructed video into FUs according to the FU size; and applying the in-loop filtering to the FUs. A first flag may be incorporated in the video bitstream to indicate a syntax mode for incorporating FU size in the video bitstream. If the syntax mode is a direct mode, the FU size is determined according to direct size information incorporated in the video bitstream. If the syntax mode is a ratio mode, the FU size is determined according to the FU-size ratio in the video bitstream and minimum FU size. In the corresponding encoder, the method incorporates the respective syntax information in the video bitstream.
In yet another embodiment according to the present invention, the method for filter-unit based in-loop filtering in a video decoder comprises deriving a merge flag from the video bitstream for each of the FUs, wherein the merge flag indicates whether said each of the FUs is merged with a neighboring FU; receiving a merge index from the video bitstream if the merge flag indicates that said each of the FUs is merged, wherein filter parameters are determined are shared with the neighboring FU indicated by the merge index; receiving the filter parameters from the video bitstream if the merge flag indicates that said each of the FUs is not merged; and applying the in-loop filtering to said each of the FUs using the filter parameters. In the corresponding encoder, the method incorporates the respective syntax information in the video bitstream.
A method for filter-unit based in-loop filtering in a video decoder and encoder for color video is also disclosed. The method for filter-unit based in-loop filtering according to an embodiment of the present invention incorporates filter syntax in the video bitstream by interleaving the color-component filter syntax for the FUs.
In High-Efficiency Video Coding (HEVC), several in-loop filtering tools have been included to improve video quality. For example, a technique named Adaptive Offset (AO) is introduced to compensate the offset of reconstructed video and AO is applied inside the reconstruction loop. A method and system for offset compensation is disclosed in U.S. Non-Provisional patent application Ser. No. 13/158,427, filed on Jun. 12, 2011, entitled “Apparatus and Method of Sample Adaptive Offset for Video Coding”. The method classifies each pixel into one of multiple categories and applies intensity shift compensation or restoration to processed video data based on the category of each pixel. The above AO technique is termed as Sample Adaptive Offset (SAO). Besides SAO, Adaptive Loop Filter (ALF) has also been introduced in HEVC to improve video quality. ALF applies spatial filter to reconstructed video inside the reconstruction loop. Both SAO and ALF are considered as in-loop filtering in this disclosure.
In order to facilitate in-loop filtering, information associated with in-loop filtering process may have to be incorporated in the bitstream syntax. The syntax associated with in-loop filtering is often incorporated in a higher level, such as a sequence level or a picture level, for many blocks to share so as to reduce the bit rate for the related syntax. While incorporating the in-loop filtering information in a high level may reduce the bit rate for the related syntax, such method may not be able to quickly adapt to local variations within a picture. Some improved schemes have been reported to provide a certain degree of local adaptivity. For example, SAO may use quadtree to adaptively partition a picture or a picture area into smaller blocks and SAO is applied to each leaf block. On the other hand, ALF may use group flag to provide localization.
It is desirable to develop a technique that can provide more dynamic adaptation to allow in-loop filtering process performed based on local characteristics of the picture. An embodiment according to the present invention uses filter-unit based syntax instead of picture-level syntax. Filter unit (FU) is a processing unit used for in-loop filtering process, which may be different from the coding unit (CU) used in HEVC. In U.S. Non-Provisional patent application Ser. No. 13/093,068, filed on Apr. 25, 2011, entitled “Method and Apparatus of Adaptive Loop Filtering”, FU-based ALF is disclosed which allows each FU to select one of a filter set as a candidate. In one example, a picture 100 may be divided into filter units having the same size. When the picture size is not divisible according to the FU size, some FUs at the end of row/column of the picture may be smaller.
After a picture 100 is divided into FUs, a filter set (also called filter parameter set) consisting of multiple candidate filters may be determined to adapt to local characteristics of the picture for the in-loop filtering process.
The FU size information may be incorporated using alf_fu_size_param( ) as shown in
If FU merge is allowed, neighboring FUs having similar characteristics may share the same candidate filter in order to improve coding efficiency. One example to convey FU merge information is to transmit the number of consecutive FUs that are merged, where the number of consecutive FUs merged is termed as run. In U.S. Non-Provisional patent application Ser. No. 13/311,953, filed on Dec. 6, 2011, entitled “Apparatus and Method of Sample Adaptive Offset for Luma and Chroma Components”, FU merge representation based on run is disclosed. An exemplary syntax design for FU structure, sao_alf_unit(rx, ry, c) is shown in
While the exemplary syntax design in
When the picture-level in-loop filtering syntax is used, the syntax is always incorporated in the picture or a higher level. For color video, syntax in the picture level may be used to allow the picture use individual in-loop filtering information for each color component or allow the chrominance (chroma) components to share in-loop filtering information with the luminance (luma) component. The syntax of FU-based in-loop filtering for color video may incorporate information associated with the luma component for the whole picture followed by information associated with the chroma components for the whole picture. Therefore, the in-loop filtering process for a chroma FU may have to wait after information for all luma FUs of the picture has been received. In order to reduce latency, an embodiment according to the present invention utilizes interleaved syntax for color video using FU-based in-loop filtering.
When FU-based in-loop filtering is allowed, a flag in the slice level, picture level or sequence level may be used to adaptively select FU-based or picture-based in-loop filtering according to a selection flag in the slice level, picture level or sequence level. In one embodiment according to the present invention, the selection flag can be used along with the filter syntax interleaving for color video. An exemplary syntax arrangement using filter syntax interleaving and selection flag is shown in
Embodiment of syntax for in-loop filter according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, with reference to
The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
The present invention is a Continuation of pending U.S. patent application Ser. No. 13/825,061, filed Mar. 19, 2013, which is a National Stage Application of PCT Serial No. PCT/CN2011/085170, filed Dec. 31, 2011, which claims priority to U.S. Provisional Patent Application, Ser. No. 61/429,313, filed Jan. 3, 2011, entitled “MediaTek's Adaptive Loop Filter”, U.S. Provisional Patent Application, Ser. No. 61/498,949, filed Jun. 20, 2011, entitled “LCU-based Syntax for Sample Adaptive Offset”, U.S. Provisional Patent Application, Ser. No. 61/503,870, filed Jul. 1, 2011, entitled “LCU-based Syntax for Sample Adaptive Offset”, U.S. Provisional Patent Application, Ser. No. 61/549,931, filed Oct. 21, 2011, entitled “Filter Unit Adaptation for Adaptive Loop Filter and Sample Adaptive Offset”. The applications are hereby incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
6301299 | Sita et al. | Oct 2001 | B1 |
7379501 | Lainema | May 2008 | B2 |
8116379 | Dang | Feb 2012 | B2 |
8537895 | Dang | Sep 2013 | B2 |
8638852 | Karczewicz et al. | Jan 2014 | B2 |
8885730 | Narroschke et al. | Nov 2014 | B2 |
9001899 | He | Apr 2015 | B2 |
9374586 | He | Jun 2016 | B2 |
9571861 | Siekmann | Feb 2017 | B2 |
20040008899 | Tourapis | Jan 2004 | A1 |
20040076333 | Zhang et al. | Apr 2004 | A1 |
20050213593 | Anderson | Sep 2005 | A1 |
20060227883 | Citro | Oct 2006 | A1 |
20070076797 | Lee | Apr 2007 | A1 |
20070189390 | Pappas et al. | Aug 2007 | A1 |
20070217502 | Ammar et al. | Sep 2007 | A1 |
20080013845 | Fukuhara et al. | Jan 2008 | A1 |
20080130754 | Winger | Jun 2008 | A1 |
20080170615 | Sekiguchi et al. | Jul 2008 | A1 |
20090097575 | Teng | Apr 2009 | A1 |
20090129478 | Meroth | May 2009 | A1 |
20090175349 | Ye et al. | Jul 2009 | A1 |
20090196342 | Divorra Escoda et al. | Aug 2009 | A1 |
20090245382 | Ekman | Oct 2009 | A1 |
20100061645 | Wilkins et al. | Mar 2010 | A1 |
20100086051 | Park et al. | Apr 2010 | A1 |
20100135387 | Divorra Escoda | Jun 2010 | A1 |
20100239002 | Park | Sep 2010 | A1 |
20100322303 | Wada et al. | Dec 2010 | A1 |
20100329361 | Choi et al. | Dec 2010 | A1 |
20120008676 | Lee | Jan 2012 | A1 |
20120039383 | Huang | Feb 2012 | A1 |
20120201311 | Sole et al. | Aug 2012 | A1 |
20130022117 | Lou | Jan 2013 | A1 |
20130034159 | Siekmann | Feb 2013 | A1 |
20130142262 | Ye et al. | Jun 2013 | A1 |
20140003522 | Park | Jan 2014 | A1 |
20150305648 | Udupa et al. | Oct 2015 | A1 |
20170163982 | Fu et al. | Jun 2017 | A1 |
Number | Date | Country |
---|---|---|
1615645 | May 2005 | CN |
101072351 | Nov 2007 | CN |
101502118 | Aug 2009 | CN |
101517909 | Aug 2009 | CN |
101919253 | Dec 2010 | CN |
101926175 | Dec 2010 | CN |
1 841 230 | Oct 2007 | EP |
2 109 322 | Oct 2009 | EP |
2 375 747 | Oct 2011 | EP |
2 790 409 | Nov 2014 | EP |
10-2010-0109459 | Oct 2010 | KR |
WO-2011005317 | Jan 2011 | WO |
2013059461 | Apr 2013 | WO |
Entry |
---|
McCann, K., et al.; “Samsung's Response to the Call for Proposals on Video Compression Technology;” Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 Wp3 and ISO/IEC JTC1/SC29/WG11; Apr. 2010; pp. 1-42. |
Tsai, C.Y., et al.; “TE10 subtest2—Coding Unit Synchronous Picture Quadtree-Based Adaptive Loop Filter;” Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 Wp3 and ISO/IEC JTC1/SC29/WG11; Oct. 2010; pp. 1-12. |
Ikai, T., et al.; “Region-Based Adaptive Loop Filter Using Two-Dimensional Feature;” Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 Wp3 and ISO/IEC JTC1/SC29/WG11; Jan. 2011; pp. 1-11. |
Nakamura, et al.; “Coding Order of Luma and Chroma Intra Prediction Modes;” JCT-VC of ITU-T SG16 and ISO/ECT JTC1/SC29/WG11 6th Meeting: Torino, Jul. 14-22, 2011 Document: JTCVC-F094. |
Chujoh, et al.; “Block-Based Adaptive Loop Filter;” 35. VCEG Meeting; 85. MPEG Meeting; Jul. 16, 2008-Jul. 18, 2008; Berlin; (Video Coding Experts Group of ITU-T SG 16), Jul. 17, 2008, XP030003583 ISSN: 000-0096. |
Number | Date | Country | |
---|---|---|---|
20180109785 A1 | Apr 2018 | US |
Number | Date | Country | |
---|---|---|---|
61549931 | Oct 2011 | US | |
61503870 | Jul 2011 | US | |
61498949 | Jun 2011 | US | |
61429313 | Jan 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13825061 | US | |
Child | 15841645 | US |