WO2016183814A1 - Coded block flag coding using cross-component correlation - Google Patents
Coded block flag coding using cross-component correlation Download PDFInfo
- Publication number
- WO2016183814A1 WO2016183814A1 PCT/CN2015/079350 CN2015079350W WO2016183814A1 WO 2016183814 A1 WO2016183814 A1 WO 2016183814A1 CN 2015079350 W CN2015079350 W CN 2015079350W WO 2016183814 A1 WO2016183814 A1 WO 2016183814A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- numsig
- cbf
- zero
- inferred
- coded
- 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.)
- Ceased
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/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
-
- 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/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- 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/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- 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/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/96—Tree coding, e.g. quad-tree coding
Definitions
- the invention relates generally to image and video processing.
- the presented invention relates to image and video coding.
- an image block is first intra/inter predicted, and then the residual signal is transform coded.
- a coded block flag is first signaled to indicate the significance of the entire transform block. If CBF is not zero, then the transform coefficients are coded; else, the transform coefficients are inferred to be all zero.
- the CBF flag is usually independently signaled for each color component.
- a root CBF flag is used to indicate whether transform coefficients of all color components are zero. If root CBF is zero, then the CBF flags and transform coefficients of all color components are inferred to be zero. If root CBF is not zero, then it indicates that at least one CBF flag in one color component is not zero. So, for example, in YUV color format, if root CBF is not zero and CBF flag in U and V components are both zero, then the CBF flag for Y component is not explicitly coded and is inferred to be not zero. However, when U and V components are not both zero, the CBF flag for Y component should always be explicitly signaled.
- CABAC Context Based Binary Arithmetic Coding
- CBF coded block flag
- Fig. 1 is a diagram illustrating an example of Y component CBF coding depending on the number of significant coefficients in U and V components.
- CBF signaling for one color component depends on the number of significant coefficients in the other color components.
- the YUV format is used as example in the following description. The same methods can be applied to other formats as well. It also should be noted that the proposed methods can be applied to any transform method or transform skip. In the case of transform skip, the coefficients in a transform block are the quantized residual signal.
- CBF_Y, CBF_U, CBF_V denote the CBF of Y, U and V component, respectively.
- NumSig_Y, NumSig_U, NumSig_V denote the number of significant coefficients in Y, U and V component, respectively.
- coding of CBF_Y depends on NumSig_U and NumSig_V. For examples:
- CBF_Y is not explicitly coded, and is inferred to be not zero.
- CBF_Y is not explicitly coded, and is inferred to be not zero.
- f (NumSig_U, NumSig_V) NumSig_U+NumSig_V.
- coding of CBF_V depends on the NumSig_U. For examples:
- coding of CBF_U depends on the NumSig_V. For examples:
- context modeling in coding of CBF_Y depends on NumSig_U and NumSig_V. In other words, depending on different values of NumSig_U and NumSig_V, different context models are chosen for CABAC coding of CBF_Y. For examples:
- f (NumSig_U, NumSig_V) TH
- f (NumSig_U, NumSig_V) NumSig_U+NumSig_V.
- context modeling in coding of CBF_V depends on the NumSig_U. In other words, depending on different values of NumSig_U, different context models are chosen to code CBF_V. For examples:
- context modeling in coding of CBF_U depends on the NumSig_V. In other words, depending on different values of NumSig_V, different context models are chosen to code CBF_U. For examples:
- the number TH in the above description can be a predefined value in both encoder and decoder or can be signaled to decoder.
- Embodiments of CBF coding according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both.
- an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein.
- An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein.
- DSP Digital Signal Processor
- the invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA) .
- processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention.
- the software code or firmware codes may be developed in different programming languages and different format or style.
- the software code may also be compiled for different target platform.
- different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Method for coding of CBF is proposed. CBF signaling for one color component depends on the number of significant coefficients in the other color components.
Description
The invention relates generally to image and video processing. In particular, the presented invention relates to image and video coding.
In a typical hybrid video codec, e.g. H. 264 and HEVC, an image block is first intra/inter predicted, and then the residual signal is transform coded. In the transform coding stage, a coded block flag (CBF) is first signaled to indicate the significance of the entire transform block. If CBF is not zero, then the transform coefficients are coded; else, the transform coefficients are inferred to be all zero.
The CBF flag is usually independently signaled for each color component. A root CBF flag is used to indicate whether transform coefficients of all color components are zero. If root CBF is zero, then the CBF flags and transform coefficients of all color components are inferred to be zero. If root CBF is not zero, then it indicates that at least one CBF flag in one color component is not zero. So, for example, in YUV color format, if root CBF is not zero and CBF flag in U and V components are both zero, then the CBF flag for Y component is not explicitly coded and is inferred to be not zero. However, when U and V components are not both zero, the CBF flag for Y component should always be explicitly signaled.
When coding the CBF flag, usually arithmetic coding is adopted. Typically the Context Based Binary Arithmetic Coding (CABAC) is used.
SUMMARY
Methods of coded block flag (CBF) coding are proposed. In which, CBF signaling for one color component depends on the number of significant coefficients
in the other color components.
Other aspects and features of the invention will become apparent to those with ordinary skill in the art upon review of the following descriptions of specific embodiments.
BRIEF DESCRIPTION OF DRAWINGS
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Fig. 1 is a diagram illustrating an example of Y component CBF coding depending on the number of significant coefficients in U and V components.
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In the proposed methods, CBF signaling for one color component depends on the number of significant coefficients in the other color components. Without loss of generality, the YUV format is used as example in the following description. The same methods can be applied to other formats as well. It also should be noted that the proposed methods can be applied to any transform method or transform skip. In the case of transform skip, the coefficients in a transform block are the quantized residual signal.
For simplicity, let CBF_Y, CBF_U, CBF_V denote the CBF of Y, U and V component, respectively. Also, let NumSig_Y, NumSig_U, NumSig_V denote the number of significant coefficients in Y, U and V component, respectively.
In one embodiment, coding of CBF_Y depends on NumSig_U and NumSig_V. For examples:
1) If NumSig_U > TH &&NumSig_V > TH, then CBF_Y is not
explicitly coded, and is inferred to be not zero.
2) If NumSig_U > TH || NumSig_V > TH, then CBF_Y is not explicitly coded, and is inferred to be not zero.
3) If f (NumSig_U, NumSig_V) > TH, then CBF_Y is not explicitly coded, and is inferred to be not zero. f () is a function of NumSig_U and NumSig_V, e.g. f (NumSig_U, NumSig_V) = NumSig_U+NumSig_V.
In still another embodiment, coding of CBF_V depends on the NumSig_U. For examples:
1) If NumSig_U > TH, then CBF_V is not explicitly coded, and is inferred to be not zero.
2) If f (NumSig_U) > TH, then CBF_V is not explicitly coded, and is inferred to be not zero. f () is a function of NumSig_U
In still another embodiment, coding of CBF_U depends on the NumSig_V. For examples:
1) If NumSig_V > TH, then CBF_U is not explicitly coded, and is inferred to be not zero.
2) If f (NumSig_V) > TH, then CBF_U is not explicitly coded, and is inferred to be not zero. f () is a function of NumSig_V
In still another embodiment, context modeling in coding of CBF_Y depends on NumSig_U and NumSig_V. In other words, depending on different values of NumSig_U and NumSig_V, different context models are chosen for CABAC coding of CBF_Y. For examples:
1) If NumSig_U > TH &&NumSig_V > TH, use a predefined context model; Else, use other context models.
2) If NumSig_U > TH || NumSig_V > TH, use a predefined context model; Else, use other context models.
3) If f (NumSig_U, NumSig_V) > TH, use a predefined context model, Else, use other context models. f () is a function of NumSig_U and NumSig_V, e.g. f (NumSig_U, NumSig_V) = NumSig_U+NumSig_V.
In still another embodiment, context modeling in coding of CBF_V depends on the NumSig_U. In other words, depending on different values of NumSig_U, different context models are chosen to code CBF_V. For examples:
1) If NumSig_U > TH, use a predefined context model; Else, use other context models.
2) If f (NumSig_U) > TH, use a predefined context model; Else, use other context models. f () is a function of NumSig_U.
In still another embodiment, context modeling in coding of CBF_U depends on the NumSig_V. In other words, depending on different values of NumSig_V, different context models are chosen to code CBF_U. For examples:
1) If NumSig_V > TH, use a predefined context model; Else, use other context models.
2) If f (NumSig_V) > TH, use a predefined context model; Else, use other context models. f () is a function of NumSig_V.
The number TH in the above description can be a predefined value in both encoder and decoder or can be signaled to decoder.
The methods described above can be used in a video encoder as well as in a video decoder. Embodiments of CBF coding according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA) . These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware codes may be developed in different programming languages and different format or style. The software code may also be compiled for different target platform. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
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. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art) . Therefore, the scope of the appended claims
should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Claims (11)
- A method of CBF coding, in which CBF signaling for one color component depends on the number of significant coefficients in the other color components.
- The method as claim in claim 1, wherein CBF_Y signaling depends on the number of significant coefficients in U and V components, wherein1) if NumSig_U > TH && NumSig_V > TH, then CBF_Y is not explicitly coded, and is inferred to be not zero;2) if NumSig_U > TH || NumSig_V > TH, then CBF_Y is not explicitly coded, and is inferred to be not zero;3) if f (NumSig_U, NumSig_V) > TH, then CBF_Y is not explicitly coded, and is inferred to be not zero; f is a function of NumSig_U and NumSig_V, e.g. f (NumSig_U, NumSig_V) = NumSig_U+NumSig_V.
- The method as claimed in claim 1, wherein context modeling in CABAC coding of CBF_Y depends on the NumSig_U and NumSig_V, wherein1) NumSig_U > TH && NumSig_V > TH, use a predefined context model; Else, use other context models;2) NumSig_U > TH || NumSig_V > TH, use a predefined context model; Else, use other context models;3) If f (NumSig_U, NumSig_V) > TH, use a predefined context model, Else, use other context models; f () is a function of NumSig_U and NumSig_V, e.g. f (NumSig_U, NumSig_V) = NumSig_U+NumSig_V.
- The method as claim in claim 1, wherein CBF_V signaling depends on the number of significant coefficients in U component, wherein1) if NumSig_U > TH, then CBF_V is not explicitly coded, and is inferred to be not zero;2) if NumSig_U > TH, then CBF_V is not explicitly coded, and is inferred to be not zero;3) if f (NumSig_U) > TH, then CBF_V is not explicitly coded, and is inferred to be not zero; f is a function of NumSig_U.
- The method as claim in claim 1, wherein CBF_U signaling depends on the number of significant coefficients in V component, wherein1) if NumSig_V > TH, then CBF_U is not explicitly coded, and is inferred to be not zero;2) if NumSig_V > TH, then CBF_U is not explicitly coded, and is inferred to be not zero;3) if f (NumSig_V) > TH, then CBF_U is not explicitly coded, and is inferred to be not zero; f is a function of NumSig_V.
- The method as claimed in claim 1, wherein context modeling in CABAC coding of CBF_V depends on the NumSig_U, wherein1) NumSig_U > TH, use a predefined context model; Else, use other context models;2) If f (NumSig_U) > TH, use a predefined context model, Else, use other context models; f () is a function of NumSig_U.
- The method as claimed in claim 1, wherein context modeling in CABAC coding of CBF_U depends on the NumSig_V, wherein1) NumSig_V > TH, use a predefined context model; Else, use other context models;2) If f (NumSig_V) > TH, use a predefined context model, Else, use other context models; f () is a function of NumSig_V.
- The method as claimed in claim 2~ claim 7, the value TH can be predefined at both encoder and decoder.
- The method as claimed in claim 2~ claim 7, the value TH can be coded at sequence level, view level, picture level, slice level, or other levels.
- The method as claimed in claim 1, wherein one or more syntax elements can be used to signal whether the proposed CBF coding method is used; the syntax element can be coded.
- The method as claimed in claim 10, wherein the syntax elements can be explicitly transmitted in the sequence level, view level, picture level, slice level, or other levels; for example, it can be coded in VPS, SPS, PPS, APS, slice header, LCU et al.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/079350 WO2016183814A1 (en) | 2015-05-20 | 2015-05-20 | Coded block flag coding using cross-component correlation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/079350 WO2016183814A1 (en) | 2015-05-20 | 2015-05-20 | Coded block flag coding using cross-component correlation |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016183814A1 true WO2016183814A1 (en) | 2016-11-24 |
Family
ID=57319147
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/079350 Ceased WO2016183814A1 (en) | 2015-05-20 | 2015-05-20 | Coded block flag coding using cross-component correlation |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2016183814A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103227917A (en) * | 2012-01-31 | 2013-07-31 | 华为技术有限公司 | Decoding method and device |
| WO2013142784A2 (en) * | 2012-03-23 | 2013-09-26 | Qualcomm Incorporated | Coded block flag inference in video coding |
| CN103583048A (en) * | 2011-06-30 | 2014-02-12 | 松下电器产业株式会社 | Image decoding method, image encoding method, image decoding device, image encoding device, and image encoding/decoding device |
| CN104471934A (en) * | 2012-07-02 | 2015-03-25 | 三星电子株式会社 | Method and device for entropy encoding video and method and device for entropy decoding video |
-
2015
- 2015-05-20 WO PCT/CN2015/079350 patent/WO2016183814A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103583048A (en) * | 2011-06-30 | 2014-02-12 | 松下电器产业株式会社 | Image decoding method, image encoding method, image decoding device, image encoding device, and image encoding/decoding device |
| CN103227917A (en) * | 2012-01-31 | 2013-07-31 | 华为技术有限公司 | Decoding method and device |
| WO2013142784A2 (en) * | 2012-03-23 | 2013-09-26 | Qualcomm Incorporated | Coded block flag inference in video coding |
| CN104471934A (en) * | 2012-07-02 | 2015-03-25 | 三星电子株式会社 | Method and device for entropy encoding video and method and device for entropy decoding video |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017173593A1 (en) | Separate coding secondary transform syntax elements for different color components | |
| US10554974B2 (en) | Method and apparatus enabling adaptive multiple transform for chroma transport blocks using control flags | |
| US11930174B2 (en) | Method and apparatus of luma-chroma separated coding tree coding with constraints | |
| US10334281B2 (en) | Method of conditional binary tree block partitioning structure for video and image coding | |
| WO2017139937A1 (en) | Advanced linear model prediction for chroma coding | |
| WO2015100522A1 (en) | Methods for inter-component residual prediction | |
| US10531122B2 (en) | Method and apparatus for coded block flag coding in high efficiency video coding | |
| US10390050B2 (en) | Method of video coding using separate coding tree for luma and chroma | |
| US10506234B2 (en) | Method of run-length coding for palette predictor | |
| WO2017143467A1 (en) | Localized luma mode prediction inheritance for chroma coding | |
| WO2016090568A1 (en) | Binary tree block partitioning structure | |
| WO2018049594A1 (en) | Methods of encoder decision for quad-tree plus binary tree structure | |
| WO2015180014A1 (en) | An improved merge candidate list construction method for intra block copy | |
| WO2017219342A1 (en) | Methods of signaling quantization parameter for quad-tree plus binary tree structure | |
| WO2013067687A1 (en) | Residue quad tree depth for chroma components | |
| WO2015139203A1 (en) | Dlt signaling in 3d video coding | |
| WO2016115708A1 (en) | Methods for chroma component coding with separate intra prediction mode | |
| WO2016115728A1 (en) | Improved escape value coding methods | |
| WO2015192372A1 (en) | A simplified method for illumination compensation in multi-view and 3d video coding | |
| CN108141601B (en) | Method, apparatus and readable medium for encoding and decoding a sequence of pictures | |
| WO2013102299A1 (en) | Residue quad tree depth for chroma components | |
| WO2016065538A1 (en) | Guided cross-component prediction | |
| WO2015180166A1 (en) | Improved intra prediction mode coding | |
| WO2016115736A1 (en) | Additional intra prediction modes using cross-chroma-component prediction | |
| WO2016183814A1 (en) | Coded block flag coding using cross-component correlation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15892193 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15892193 Country of ref document: EP Kind code of ref document: A1 |