Methods and apparatus for determining partitioning constraint parameters for coding image and video data

WO2024217211A1PCT designated stage expired Publication Date: 2024-10-24MEDIATEK INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082582
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-21
Filing Date
2024-03-20
Publication Date
2024-10-24

Smart Images

  • Figure CN2024082582_24102024_PF_FP_ABST
    Figure CN2024082582_24102024_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus for determining partitioning constraint parameters for coding image and video data s are disclosed. According to the method, input data associated with a current block region in a current picture are received, where the input data include pixel data for the current block region to be encoded at an encoder side or encoded data associated with the current block region to be decoded at a decoder side. The current block region is partitioned into one or more coding blocks with a plurality of constraint parameters, where the plurality of constraint parameters is derived depending on block partition information associated with one or more reference block regions from one or more spatial neighbouring blocks in the current picture, one or more temporal corresponding blocks in one or more coded reference pictures, or both. Said one or more coding blocks are encoded or decoded.
Need to check novelty before this filing date? Find Prior Art

Description

METHODS AND APPARATUS FOR DETERMINING PARTITIONING CONSTRAINT PARAMETERS FOR CODING IMAGE AND VIDEO DATA

[0001] CROSS REFERENCE TO RELATED APPLICATIONS

[0002] The present invention is a non-Provisional Application of and claims priority to U.S. Provisional Patent Application No. 63 / 497,477, filed on April 21, 2023. The U. S. Provisional Patent Application is hereby incorporated by reference in its entirety.FIELD OF THE INVENTION

[0003] The present invention relates to video coding system. In particular, the present invention relates to determining partitioning constraint parameters for coding image and video data so as to improve coding efficiency for signalling syntax elements associated with block partition.BACKGROUND

[0004] Versatile video coding (VVC) is the latest international video coding standard developed by the Joint Video Experts Team (JVET) of the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG) . The standard has been published as an ISO standard: ISO / IEC 23090-3: 2021, Information technology -Coded representation of immersive media -Part 3: Versatile video coding, published Feb. 2021. VVC is developed based on its predecessor HEVC (High Efficiency Video Coding) by adding more coding tools to improve coding efficiency and also to handle various types of video sources including 3-dimensional (3D) video signals.

[0005] Fig. 1A illustrates an exemplary adaptive Inter / Intra video encoding system incorporating loop processing. For Intra Prediction 110, the prediction data is derived based on previously coded video data in the current picture. For Inter Prediction 112, Motion Estimation (ME) is performed at the encoder side and Motion Compensation (MC) is performed based on the result of ME to provide prediction data derived from other picture (s) and motion data. Switch 114 selects Intra Prediction 110 or Inter Prediction 112 and the selected prediction data is supplied to Adder 116 to form prediction errors, also called residues. The prediction error is then processed by Transform (T) 118 followed by Quantization (Q) 120. The transformed and quantized residues are then coded by Entropy Encoder 122 to be included in a video bitstream corresponding to the compressed video data. The bitstream associated with the transform coefficients is then packed  with side information such as motion and coding modes associated with Intra prediction and Inter prediction, and other information such as parameters associated with loop filters applied to underlying image area. The side information associated with Intra Prediction 110, Inter prediction 112 and in-loop filter 130, is provided to Entropy Encoder 122 as shown in Fig. 1A. When an Inter-prediction mode is used, a reference picture or pictures have to be reconstructed at the encoder end as well. Consequently, the transformed and quantized residues are processed by Inverse Quantization (IQ) 124 and Inverse Transformation (IT) 126 to recover the residues. The residues are then added back to prediction data 136 at Reconstruction (REC) 128 to reconstruct video data. The reconstructed video data may be stored in Reference Picture Buffer 134 and used for prediction of other frames.

[0006] As shown in Fig. 1A, incoming video data undergoes a series of processing in the encoding system. The reconstructed video data from REC 128 may be subject to various impairments due to a series of processing. Accordingly, in-loop filter 130 is often applied to the reconstructed video data before the reconstructed video data are stored in the Reference Picture Buffer 134 in order to improve video quality. For example, deblocking filter (DF) , Sample Adaptive Offset (SAO) and Adaptive Loop Filter (ALF) may be used. The loop filter information may need to be incorporated in the bitstream so that a decoder can properly recover the required information. Therefore, loop filter information is also provided to Entropy Encoder 122 for incorporation into the bitstream. In Fig. 1A, Loop filter 130 is applied to the reconstructed video before the reconstructed samples are stored in the reference picture buffer 134. The system in Fig. 1A is intended to illustrate an exemplary structure of a typical video encoder. It may correspond to the High Efficiency Video Coding (HEVC) system, VP8, VP9, H. 264 or VVC.

[0007] The decoder, as shown in Fig. 1B, can use similar or portion of the same functional blocks as the encoder except for Transform 118 and Quantization 120 since the decoder only needs Inverse Quantization 124 and Inverse Transform 126. Instead of Entropy Encoder 122, the decoder uses an Entropy Decoder 140 to decode the video bitstream into quantized transform coefficients and needed coding information (e.g. ILPF information, Intra prediction information and Inter prediction information) . The Intra prediction 150 at the decoder side does not need to perform the mode search. Instead, the decoder only needs to generate Intra prediction according to Intra prediction information received from the Entropy Decoder 140. Furthermore, for Inter prediction, the decoder only needs to perform motion compensation (MC 152) according to Inter prediction  information received from the Entropy Decoder 140 without the need for motion estimation.

[0008] In VVC, the Sequence Parameter Set (SPS) and the Picture Parameter Set (PPS) contain high-level syntax elements that apply to entire coded video sequences and pictures, respectively. The picture Header (PH) and Slice Header (SH) contain high-level syntax elements that apply to a current coded picture and a current coded slice, respectively.

[0009] In VVC, a coded picture is partitioned into non-overlapped square block regions represented by the associated coding tree units (CTUs) . A coded picture can be represented by a collection of slices, each comprising an integer number of CTUs. The individual CTUs in a slice are processed in raster-scan order. A bi-predictive (B) slice may be decoded using intra prediction or inter prediction with at most two motion vectors and reference indices to predict the sample values of each block. A predictive (P) slice is decoded using intra prediction or inter prediction with at most one motion vector and reference index to predict the sample values of each block. An intra (I) slice is decoded using intra prediction only.

[0010] In VVC, each CTU can be partitioned into one or multiple non-overlapped coding units (CUs) using a quaternary tree (QT) with nested Multi-Type-Tree (MTT) structure. The partitioning information is signalled by a coding tree syntax structure, where each CTU is treated as the root of a coding tree. The CTUs may be first partitioned by the quaternary tree (a. k. a. quadtree) structure, as shown in Fig. 2A. Then the quaternary tree leaf nodes can be further partitioned by a MTT structure, as shown in Fig. 2B –Fig. 2E. There are four splitting types in multi-type tree structure: vertical binary splitting (SPLIT_BT_VER) in Fig. 2B, horizontal binary splitting (SPLIT_BT_HOR) in Fig. 2C, vertical ternary splitting (SPLIT_TT_VER) in Fig. 2D, and horizontal ternary splitting (SPLIT_TT_HOR) in Fig. 2E. Each quadtree child node may be further split into smaller coding tree nodes using any one of five split types in Fig. 2. However, each multi-type-tree child node is only allowed to be further split by one of four MTT split types. The coding tree leaf nodes correspond to the coding units (CUs) . Fig. 3 provides an example of a CTU recursively partitioned by QT with the nested MTT, where the bold block edges represent quadtree partitioning and the remaining edges represent multi-type tree partitioning.

[0011] Each CU contains one or more prediction units (PUs) . The prediction unit, together with the associated CU syntax, works as a basic unit for signalling the predictor information. The specified prediction process is employed to predict the values of the associated pixel samples inside the PU. Each CU may contain one or more transform units (TUs) for representing the  prediction residual blocks. A transform unit (TU) is comprised of one transform block (TB) of luma samples and two corresponding transform blocks of chroma samples. Each TB corresponds to one residual block of samples from one colour component. An integer transform is applied to a transform block. The level values of quantized coefficients together with other side information are entropy coded in the bitstream. The terms coding tree block (CTB) , coding block (CB) , prediction block (PB) , and transform block (TB) are defined to specify the 2-D sample array of one colour component associated with CTU, CU, PU, and TU, respectively. Thus, a CTU consists of one luma CTB, two chroma CTBs, and associated syntax elements. A similar relationship is valid for CU, PU, and TU.

[0012] In VVC, an intra dual tree mode can be employed for coding intra slices. When the intra dual tree mode is applied, the luma CTB is partitioned into CUs by one coding tree structure, and the two chroma CTBs are partitioned into chroma CUs by another coding tree structure. There are two coding tree syntax structures thus signalled for luma and chroma, respectively, in a CTU. As a result, each CU consists of either one coding block from the luma component or two coding blocks, respectively from the two chroma components, when the intra dual tree mode is applied.

[0013] Fig. 4 illustrates the signalling mechanism of the partition splitting information in quadtree with nested multi-type tree coding tree structure. For each coding tree node, a first flag (split_cu_flag) is signaled to indicate whether the node is further partitioned. If the first flag indicates that a current coding tree node shall be further partitioned, a second flag (split_qt_flag) is signaled to indicate whether a QT partitioning mode or a MTT partitioning mode shall be used for partitioning the current node. When a node is partitioned with MTT partitioning mode, a third flag (mtt_split_cu_vertical_flag) is signalled to indicate the splitting direction, and then a fourth flag (mtt_split_cu_binary_flag) is signalled to indicate whether the split is a binary split or a ternary split. Based on the values of mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag, the multi-type tree slitting mode (MttSplitMode) of a coding tree node is derived as shown in Table 1.

[0014] Table 1. MttSplitMode derviation based on multi-type tree syntax elements

[0015] The following partitioning constraint parameters are defined for the quadtree with nested multi-type tree coding tree scheme. These parameters are specified by SPS syntax elements and can be further refined by picture header syntax elements.

[0016] CTU size: the root node size of a quaternary tree

[0017] MinQTSize: the minimum allowed quaternary tree leaf node size

[0018] MaxBtSize: the maximum allowed binary tree root node size

[0019] MaxTtSize: the maximum allowed ternary tree root node size

[0020] MaxMttDepth: the maximum allowed hierarchy depth of multi-type tree splitting from a quadtree leaf

[0021] MinCbSize: the minimum allowed coding block node size

[0022] Joint Video Expert Team (JVET) of ITU-T SG16 WP3 and ISO / IEC JTC1 / SC29 / WG11 are currently in the process of exploring the next-generation video coding standard. Some promising new coding tools have been adopted into Enhanced Compression Model 4 (ECM 8) (M. Coban, et al., “Algorithm description of Enhanced Compression Model 8 (ECM 8) , ” Joint Video Expert Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29, Doc. JVET-AC2025, 29th Meeting, by teleconference, 11–20 January 2023) to further improve VVC.

[0023] In the present invention, methods and apparatus to determine partitioning constraint parameters for coding image and video data so as to improve coding efficiency for signalling syntax elements associated with block partition are disclosed.

[0024] BRIEF SUMMARY OF THE INVENTION

[0025] A method and apparatus for determining partitioning constraint parameters for coding image and video data so as to improve coding efficiency for signalling syntax elements associated with block partition are disclosed. According to the method, input data associated with a current block region in a current picture are received, wherein the input data comprise pixel data  for the current block region to be encoded at an encoder side or encoded data associated with the current block region to be decoded at a decoder side. The current block region is partitioned into one or more coding blocks with a plurality of constraint parameters, wherein the plurality of constraint parameters is derived depending on block partition information associated with one or more reference block regions from one or more spatial neighbouring blocks in the current picture, one or more temporal corresponding blocks in one or more coded reference pictures, or both. Said one or more coding blocks are encoded or decoded.

[0026] In one embodiment, values of the plurality of constraint parameters for said partitioning the current block region are updated depending on the block partition information associated with one or more coded reference block regions.

[0027] In one embodiment, said one or more spatial neighbouring blocks comprise an above neighbouring block, a left neighbouring block, a top-right neighbouring block, or a top-left neighbouring block of a current block, or a combination thereof. In another embodiment, said one or more spatial neighbouring blocks comprise one or more spatially non-adjacent Coding Tree Units (CTUs) from one or more coded regions in the current picture.

[0028] In one embodiment, said one or more temporal corresponding blocks comprise one or more collocated blocks with or without motion compensation in said one or more coded reference pictures in a current reference picture list. In one embodiment, one coded reference picture selected corresponds to a collocated picture specified for the current picture.

[0029] In one embodiment, the plurality of constraint parameters comprises one or more maximum partition depth parameters or one or more minimum partition depth parameters associated with block partition. In one embodiment, the block partition corresponds to quaternary tree (QT) partition or nested Multi-Type-Tree (MTT) partition. In one embodiment, when the block partition corresponds to the nested MTT partition, signalling or parsing a coding unit partition flag is skipped if a current partition depth is equal to a maximum partition depth. In another embodiment, when the block partition corresponds to the QT partition, signalling or parsing a coding unit partition flag is skipped if a current partition depth is equal to a maximum partition depth or less than a minimum partition depth. In another embodiment, said one or more maximum partition depth parameters for the current block region correspond to one or more offset or threshold values added to corresponding one or more previous maximum partition depth parameters respectively, and wherein said one or more previous maximum partition depth  parameters are associated with said one or more reference block regions from said one or more spatial neighbouring blocks in the current picture, said one or more temporal corresponding blocks in said one or more coded reference pictures, or both.

[0030] In one embodiment, one or more syntax elements are signalled or parsed to indicate a selected reference block from one or more candidate reference blocks for deriving or predicting one or more constraint parameters of the plurality of constraint parameters enforced for the current block region.

[0031] In one embodiment, the plurality of constraint parameters comprises MinQtSize, MaxBtSize, MaxTtSize, MaxMttDepth, MinCbSize, MaxQtDepth, MinQtDepth, MinWidth, MinHeight, BtEnabedFlag, TtEnabledFlag, HorEnabledFlag, VerEnabledFlag, or a combination thereof.

[0032] In one embodiment, the plurality of constraint parameters is derived from block partition information associated with an above reference block and a left reference block.

[0033] In one embodiment, the plurality of constraint parameters is derived from block partition information associated with an above reference block, a left reference block and a temporal reference block.

[0034] In one embodiment, the current block region corresponds to one Coding Tree Unit (CTU) .

[0035] In one embodiment, one or more syntax elements in one or more high-level syntax sets are signalled or parsed to indicate whether the plurality of constraint parameters is derived depending on the block partition information associated with said one or more reference block regions from said one or more spatial neighbouring blocks in the current picture, said one or more temporal corresponding blocks in said one or more coded reference pictures, or both. In one embodiment, the high-level syntax sets comprise SPS (Sequence Parameter Set) , PPS (Picture Parameter Set) , PH (Picture Header) , SH (Slice Header) , or a combination thereof.BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Fig. 1A illustrates an exemplary adaptive Inter / Intra video coding system incorporating loop processing.

[0037] Fig. 1B illustrates a corresponding decoder for the encoder in Fig. 1A.

[0038] Fig. 2A illustrates an example of a CTU partitioned by the quaternary tree (a. k. a.  quadtree) structure.

[0039] Fig. 2B –Fig. 2E illustrate examples of partitioning the quaternary tree leaf nodes of Fig. 2A by a Multi-Type-Tree (MTT) structure, for vertical binary splitting (SPLIT_BT_VER) in Fig. 2B, horizontal binary splitting (SPLIT_BT_HOR) in Fig. 2C, vertical ternary splitting (SPLIT_TT_VER) in Fig. 2D, and horizontal ternary splitting (SPLIT_TT_HOR) in Fig. 2E.

[0040] Fig. 3 provides an example of a CTU recursively partitioned by QT with the nested MTT, where the bold block edges represent quadtree partitioning and the remaining edges represent multi-type tree partitioning.

[0041] Fig. 4 illustrates the signalling mechanism of the partition splitting information in quadtree with nested multi-type tree coding tree structure.

[0042] Fig. 5 illustrates a flowchart of an exemplary video coding system that determines partitioning constraint parameters for coding image and video data so according to an embodiment of the present invention.DETAILED DESCRIPTION OF THE INVENTION

[0043] It will be readily understood that the components of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of the embodiments of the systems and methods of the present invention, as represented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. References throughout this specification to “one embodiment, ” “an embodiment, ” or similar language mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment.

[0044] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, well-known structures, or operations are not shown or described in detail to avoid obscuring aspects of the invention. The illustrated  embodiments of the invention will be best understood by reference to the drawings, wherein like parts are designated by like numerals throughout. The following description is intended only by way of example, and simply illustrates certain selected embodiments of apparatus and methods that are consistent with the invention as claimed herein.

[0045] In order to improve the coding efficiency, determining partitioning constraint parameters for coding image and video data are disclosed.

[0046] In VVC and ECM 8, the values of constraint parameters for partitioning CUs are signalled in the SPS and can be overridden by the PH of a current picture. The signalled set of constraint parameters are applied to the entire current picture for partitioning each CTU into one or more CUs.

[0047] In the present invention, a new method is disclosed for adaptively adjusting the values of constraint parameters for partitioning image or video block regions with respect to the contents of local image or video data. In the proposed method, a plurality of constraint parameters enforced for partitioning a current block region into one or more coding blocks can be derived by considering block partition information on one or more reference block regions from one or more spatial neighbouring blocks in a current picture and / or one or more temporal corresponding blocks in one or more coded reference pictures. A video coder can derive the updated values for the plurality of constraint parameters for partitioning the current block region by considering partition information associated with one or more coded reference block regions. In this way, the constraint parameters enforced for partitioning each block region can be efficiently adjusted according to the contents of local image or video regions.

[0048] In the proposed method, said current block region may correspond to a coding tree unit or a coding tree node as defined in VVC and ECM. In some embodiments, the spatial neighbouring reference blocks may comprise an above neighbouring block and a left neighbouring block. In some embodiments, the spatial neighbouring reference blocks may further comprise the top-right neighbouring block and the top-left neighbouring block of the current block. In some embodiments, the reference blocks may further comprise some spatially non-adjacent CTUs from the coded regions in a current picture. In some embodiments, the temporal reference blocks correspond to one or more collocated blocks with or without motion compensation in one or more pictures in the current reference picture list. In some specific embodiments, the selected reference picture corresponds to the collocated picture specified for the current input picture. When the  current block region corresponds to a coding tree unit, the temporal reference block may be the collocated CTU in the selected reference picture. When the current block region corresponds to a coding tree node, the temporal reference block may be the collocated CTU or one or more block regions in the selected reference picture.

[0049] Said plurality of constraint parameters may comprise MinQtSize, MaxBtSize, MaxTtSize, MaxMttDepth, MinCbSize, MaxQtDepth, MinQtDepth, MinWidth, MinHeight, BtEnabedFlag, TtEnabledFlag, HorEnabledFlag, VerEnabledFlag, or a combination thereof, with semantics defined as follows:

[0050] MinQtSize specifies the minimum allowed size (width or height) of a quadtree leaf in the current block region.

[0051] MaxBtSize specifies the maximum allowed size (width or height) of a coding block that can be split by a BT split in the current block region.

[0052] MaxTtSize specifies the maximum allowed size (width or height) of a coding block that can be split by a TT split in the current block region.

[0053] MaxMttDepth specifies the maximum allowed depth of a coding block resulting from multi-type tree splitting of a quadtree leaf in the current block region.

[0054] MinCbSize specifies the minimum allowed size (width or height) of a coding block in the current block region.

[0055] MinQtDepth specifies the minimum allowed quadtree tree depth of a coding block in the current block region starting from the current CTU.

[0056] MaxQtDepth specifies the maximum allowed quadtree tree depth of a coding block in the current block region starting from the current CTU.

[0057] MinWidth specifies the minimum allowed partition width in the current block region.

[0058] MinHeight specifies the minimum allowed partition height in the current block region.

[0059] BtEnabledFlag equal to 1 specifies that the BT split is enabled in the current block region and equal to 0 specifies that the BT split is disabled in the current block region.

[0060] TtEnabledFlag equal to 1 specifies the TT split is enabled in the current block region and equal to 0 specifies the TT split is disabled in the current block region.

[0061] HorEnabledFlag equal to 1 specifies the horizontal split is enabled in the current block region and equal to 0 specifies the horizontal split is disabled in the current block region.

[0062] VerEnabledFlag equal to 1 specifies the vertical split is enabled in the current block region  and equal to 0 specifies the vertical split is disabled in the current block region.

[0063] The constraint parameters for the current block region may be derived or predicted by the partition information in the selected one or more reference blocks. For example, BtEnabedFlag and TtEnabedFlag for the current block may be determined by considering partition information on BT and TT split statistics in the reference block (s) . In some embodiments, BtEnabedFlag or TtEnabedFlag is set to 0 when a BT or TT split is not used in all selected one or more reference blocks. Similarly, HorEnabledFlag and VerEnabledFlag for the current block may be determined by considering partition information on horizontal and vertical split statistics in the reference block (s) . In some embodiments, HorEnabedFlag or VerEnabedFlag is set to 0 when a horizontal or vertical split is not used in all selected one or more reference blocks.

[0064] In the proposed method, some variables can be further defined to characterize partition information in a coded block region, as follows:

[0065] MinQtSizeUsed specifies the minimum size (width or height) of a quadtree leaf present in a block region.

[0066] MaxBtSizeUsed specifies the maximum size (width or height) of a quadtree leaf that is first further split by a BT split in a block region.

[0067] MaxTtSizeUsed specifies the maximum size (width or height) of a quadtree leaf that is first further split by a TT split in a block region.

[0068] MaxMttDepthUsed specifies the maximum depth of a coding block resulting from multi-type tree splitting of a quadtree leaf in a block region.

[0069] MinCbSizeUsed specifies the minimum size (width or height) of a coding block in a block region.

[0070] MinQtDepthUsed specifies the minimum quadtree tree depth of a coding block in a block region starting from the current CTU.

[0071] MaxQtDepthUsed specifies the maximum quadtree tree depth of a coding block in a block region starting from the current CTU.

[0072] MinWidthUsed specifies the minimum width of a coding block in a block region.

[0073] MinHeightUsed specifies the minimum height of a coding block in a block region.

[0074] BtUsededFlag equal to 1 specifies that the BT split is used for partitioning a current block region and equal to 0 specifies that the BT split is not used for partitioning a current block region.

[0075] TtUsedFlag equal to 1 specifies that the TT split is used for partitioning a current block region and equal to 0 specifies that the TT split is not used for partitioning current block region.

[0076] HorUsedFlag equal to 1 specifies that the horizontal split is used for partitioning a current block region and equal to 0 specifies that the horizontal split is not used for partitioning a current block region.

[0077] VerUsedFlag equal to 1 specifies that the vertical split is used for partitioning a current block region and equal to 0 specifies that the vertical split is not used for partitioning a current block region.

[0078] In the proposed method, these variables related to the statistics of a coded block region may also be utilized as constraint parameters for partitioning a current block region. For example, when HorUsedFlag equal to 1 is specified for a current block region, it is constrained that at least one block in the current block region shall be partitioned by a horizontal split.

[0079] The constraint parameters for a current block region may be derived or predicted according to the related variables on partition statistics in the selected one or more reference blocks. As mentioned earlier, the plurality of constraint parameters can be derived by considering block partition information associated with one or more reference block regions from one or more spatial neighboring blocks in a current picture and / or one or more temporal corresponding blocks in one or more coded reference pictures. Therefore, the selected one or more reference blocks may correspond to one or more reference block regions from one or more spatial neighboring blocks in a current picture and / or one or more temporal corresponding blocks in one or more coded reference pictures. For example, the values of the constraint parameters for a current block region may be derived from the values of the corresponding variables in the selected reference block, as follows: MaxMttDepthcur = MaxMttDepthUsedref + TmaxMTD, MaxQtDepthcur = MaxQtDepthUsedref + TmaxQTD, MinQtDepthcur = MinQtDepthUsedref + TminQTD,

[0080] wherein TmaxMTD, TminQTD, and TmaxQTD are offset values determined by some pre-defined rules. The offset values are also referred as threshold values in this disclosure.

[0081] For another example, the values of the constraint parameters for a current block region may be derived from the values of the corresponding variables in the selected reference block, as follows: MinQtSizecur = MinQtSizeUsedref >> TminQTS, MaxBtSizecur = MaxBtSizeUsedref >> TmaxBTS, MaxTtSizecur = MaxTtSizeUsedref >> TmaxTTS, MinCbSizecur = MinCbSizeUsedref >> TminCS, MinWidthcur = MinWidthUsedref >> TminW, MinHeightcur = MinHeightUsedref >> TminH,

[0082] wherein TminQTS, TmaxBTS, TmaxTTS, TminCS, TminW, and TminH are scaling factors determined by some pre-defined rules and “>>” indicates a bit-wise shift operation. A bitwise down-shift operation is performed when a scaling factor is a positive number. A bitwise up-shift operation is performed, otherwise.

[0083] In some embodiments, a video coder may utilize more than one reference block to derive or predict the constraint parameters for a current block region. For one example, a video coder may utilize partition statistics from one above neighbouring reference block, refA, and one left neighbouring reference block, refL, to derive or predict the constraint parameters for a current block region, as follow: MaxMttDepthcur = Max (MaxMttDepthUsedrefA, MaxMttDepthUsedrefL ) , MaxQtDepthcur = Max (MaxQtDepthUsedrefA, MaxQtDepthUsedrefL ) , MinQtDepthcur = Min (MinQtDepthUsedrefA, MinQtDepthUsedrefL ) , MinQtSizecur = Min (MinQtSizeUsedrefA, MinQtSizeUsedrefL ) , MaxBtSizecur = Max (MaxBtSizeUsedrefA, MaxBtSizeUsedrefL ) , MaxTtSizecur = Max (MaxTtSizeUsedrefA, MaxTtSizeUsedrefL ) , MinCbSizecur = Min (MinCbSizeUsedrefA, MinCbSizeUsedrefL ) , MinWidthcur = Min (MinWidthUsedrefA, MinWidthUsedrefL ) , MinHeightcur = Min (MinHeightUsedrefA, MinHeightUsedrefL ) ,

[0084] For another example, a video coder may further utilize partition statistics from a temporal reference block, refT, to derive or predict the constraint parameters for a current block region, as follow: MaxMttDepthcur = Max (MaxMttDepthUsedrefA, MaxMttDepthUsedrefL,  MaxMttDepthUsedrefT ) , MaxQtDepthcur = Max (MaxQtDepthUsedrefA, MaxQtDepthUsedrefL,  MaxQtDepthUsedrefT ) , MinQtDepthcur = Min (MinQtDepthUsedrefA, MinQtDepthUsedrefL ,  MinQtDepthUsedrefT) , MinQtSizecur = Min (MinQtSizeUsedrefA, MinQtSizeUsedrefL, MinQtSizeUsedrefT) , MaxBtSizecur = Max (MaxBtSizeUsedrefA, MaxBtSizeUsedrefL, MaxBtSizeUsedrefT ) , MaxTtSizecur = Max (MaxTtSizeUsedrefA, MaxTtSizeUsedrefL, MaxTtSizeUsedrefT ) , MinCbSizecur = Min (MinCbSizeUsedrefA, MinCbSizeUsedrefL, MinCbSizeUsedrefT ) , MinWidthcur = Min (MinWidthUsedrefA, MinWidthUsedrefL, MinWidthUsedrefT) , MinHeightcur = Min (MinHeightUsedrefA, MinHeightUsedrefL, MinHeightUsedrefT ) .

[0085] In some embodiments, a video coder may just utilize partition information of one selected reference block to predict or derive a collection of constraint parameters for partitioning a current block region. In one method, a video coder may predict or derive the collection of constraint parameters for the current block region by copying the corresponding parameter values in the selected reference block. For example, a video coder may determine the values of MaxQtDepth and MinCbSize for a current block region according to the values of the corresponding parameters in the selected reference block by setting MaxQtDepthcur and MinCbSizecur equal to MaxQtDepthref and MinCbSizeref, respectively. In another method, a video coder may predict or derive the collection of constraint parameters for the current block region according to the values of corresponding variables on related partition statistics in the selected reference block. For example, a video coder may determine the values of MaxQtDepth and MinCbSize for a current block region according to the values of the corresponding variables MaxQtDepthUsed and MinCbSizeUsed in the selected reference block by setting MaxQtDepthcur equal to MaxQtDepthUsedref and MinCbSizecur equal to MinCbSizeUsedref.

[0086] In the proposed method, a video coder may determine a value of a constraint parameter further by considering the QP information in the current block region and the selected reference block (s) . For example, a video coder may set the value of TminCS dependent on QP information in the current block region and the selected reference block (s) . In one embodiment, a video coder may set TminCS equal to 1 when the QP value associated with the current block region is less than the QP value associated with the selected reference block by more than a specified threshold.

[0087] In some embodiments, a video coder may further comprise signalling one or more  syntax elements to indicate the selected reference block from the candidate reference blocks for deriving or predicting a collection of constraint parameters enforced for a current block region. In some specific embodiments, the video coder may further comprise creating a candidate reference CTU list including all reference CTUs that can be used for deriving or predicting the collection of constraint parameters enforced for partitioning a current CTU. The video coder may further comprise signalling one or more syntax elements to indicate the selected reference CTU index in the candidate reference CTU list for deriving the collection of constraint parameters enforced for partitioning the current CTU. In some embodiments, the candidate reference CTU list may comprise the above neighbouring CTU, the left neighbouring CTU, the top-left neighbouring CTU, the top-right neighbouring CTU, the temporal collocated CTU, or a combination thereof. The candidate reference CTU list may further comprise some spatially non-adjacent CTUs from the coded regions in a current picture. In some embodiments, a video coder may use different reference CTU lists for different collections of constraint parameters. For example, a video coder may only use spatial reference blocks for one collection of constraint parameters and only use temporal reference blocks for another collection of constraints parameters for partitioning a current block region.

[0088] Alternatively, the constraint parameters for a current block region may be derived by the related constraint parameters signalled in a current picture header. For examples, MinQTSize, MaxBtSize, MaxTtSize, MaxMttDepth, and MinCbSize may be set equal to the corresponding parameter values specified in the picture header. When MaxMttDepth is greater than 0, BtEnabedFlag and TtEnabedFlag HorEnabledFlag and VerEnabledFlag are all set to true. Otherwise, they are all set to false. In some embodiments, the video coder may further comprise signalling one or more syntax elements to indicate if a collection of constraint parameters for a current block region are derived from partition information on the selected one or more reference block or derived according to one or more pre-defined parameter settings, wherein one or more pre-defined parameter settings comprise the parameter setting derived by a current picture header.

[0089] In the proposed method, a video coder may signal further syntax information for deriving the constraint parameters for the current block region. For example, a video coder may further signal syntax information for deriving some of the constraint parameters enforced for partitioning a current CTU. In some embodiments, a video coder may signal one or more syntax elements for deriving MaxMttDepth, MaxQtDepth, or MinCbSize enforced for a current CTU.  Alternatively, a video coder may direct derive some of the constraint parameters for the current block region from the current picture header or from partition information on the selected one or more reference blocks. In some embodiments, a video coder may support more than one method for deriving some of the constraint parameters for partitioning a current CTU. The video coder may further comprise signalling syntax information to indicate the selected method from candidate methods for deriving a collection of constraint parameters enforced for partitioning a current CTU. In some specific embodiments, a video coder may signal one or more syntax elements to indicate if syntax information is further signalled for the current CTU and the collection of constraint parameters are derived by syntax information further signalled for the current CTU.

[0090] In some embodiments, a video coder may still need to obey the partitioning constraint parameters specified by a current picture header for deriving the constraint parameters for a current block region. In some other embodiments, a video coder may simply override the partitioning constraint parameters specified by a current picture header for deriving the constraint parameters for a current block region.

[0091] The proposed method may further comprise signalling one or more syntax elements in one or more high-level syntax sets to indicate whether the proposed method is enabled or disable in a current video data unit, wherein the high-level syntax sets may comprise SPS, PPS, PH, SH, or a combination thereof.

[0092] Any of the foregoing proposed methods can be implemented in encoders and / or decoders. For example, any of the proposed methods can be implemented in a CU partitioning module of an encoder, and / or a CU partitioning module of a decoder. Alternatively, any of the proposed methods can be implemented as a circuit integrated to the CU partitioning module of the encoder and / or the CU partitioning module of the decoder. The proposed aspects, methods and related embodiments can be implemented individually or jointly in an image and video coding system. With respect to the reference video encoder / decoder in Fig. 1A / Fig. 1B, the block partitioning is not explicitly shown. However, it is understood that the block partitioning can be performed before the video data are provided to the Intra Pred. 110 / Inter Pred. 112 units at the encoder side. Alternatively, the block partitioning can be performed in the Intra Pred. 110 / Inter Pred. 112 units or in a unit coupled to the Intra Pred. 110 / Inter Pred. 112 units. At the decoder side, the reconstructed blocks from REC 128 can be assembled to CTU according to the block partitioning parameters. Again the block partitioning can be implemented after REC 128.  Alternatively, the block partitioning can be performed in Intra pred. 150 / MC 152 or in a unit coupled to Intra pred. 150 / MC 152.

[0093] Fig. 5 illustrates a flowchart of an exemplary video coding system that determines partitioning constraint parameters for coding image and video data so according to an embodiment of the present invention. The steps shown in the flowchart may be implemented as program codes executable on one or more processors (e.g., one or more CPUs) at the encoder side. The steps shown in the flowchart may also be implemented based hardware such as one or more electronic devices or processors arranged to perform the steps in the flowchart. According to the method, input data associated with a current block region in a current picture are received in step 510, wherein the input data comprise pixel data for the current block region to be encoded at an encoder side or encoded data associated with the current block region to be decoded at a decoder side. The current block region is partitioned into one or more coding blocks with a plurality of constraint parameters in step 520, wherein the plurality of constraint parameters is derived depending on block partition information associated with one or more reference block regions from one or more spatial neighbouring blocks in the current picture, one or more temporal corresponding blocks in one or more coded reference pictures, or both. Said one or more coding blocks are encoded or decoded in step 530.

[0094] The flowchart shown is intended to illustrate an example of video coding according to the present invention. A person skilled in the art may modify each step, re-arranges the steps, split a step, or combine steps to practice the present invention without departing from the spirit of the present invention. In the disclosure, specific syntax and semantics have been used to illustrate examples to implement embodiments of the present invention. A skilled person may practice the present invention by substituting the syntax and semantics with equivalent syntax and semantics without departing from the spirit of the present invention.

[0095] The above description is presented to enable a person of ordinary skill in the art to practice the present invention as provided in the context of a particular application and its requirement. Various modifications to the described embodiments will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed. In the above detailed description, various specific details are illustrated  in order to provide a thorough understanding of the present invention. Nevertheless, it will be understood by those skilled in the art that the present invention may be practiced.

[0096] Embodiment of 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 one or more circuit circuits integrated into a video compression chip or program code integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program code 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 code may be developed in different programming languages and different formats or styles. The software code may also be compiled for different target platforms. 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.

[0097] 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.

Claims

1.A method of video coding, the method comprising:receiving input data associated with a current block region in a current picture, wherein the input data comprise pixel data for the current block region to be encoded at an encoder side or encoded data associated with the current block region to be decoded at a decoder side;partitioning the current block region into one or more coding blocks with a plurality of constraint parameters, wherein the plurality of constraint parameters is derived depending on block partition information associated with one or more reference block regions from one or more spatial neighbouring blocks in the current picture, one or more temporal corresponding blocks in one or more coded reference pictures, or both; andencoding or decoding said one or more coding blocks.2.The method of Claim 1, wherein values of the plurality of constraint parameters for said partitioning the current block region are updated depending on the block partition information associated with one or more coded reference block regions.3.The method of Claim 1, wherein said one or more spatial neighbouring blocks comprise an above neighbouring block, a left neighbouring block, a top-right neighbouring block, or a top-left neighbouring block of a current block, or a combination thereof.4.The method of Claim 1, wherein said one or more spatial neighbouring blocks comprise one or more spatially non-adjacent Coding Tree Units (CTUs) from one or more coded regions in the current picture.5.The method of Claim 1, wherein said one or more temporal corresponding blocks comprise one or more collocated blocks with or without motion compensation in said one or more coded reference pictures in a current reference picture list.6.The method of Claim 1, wherein one coded reference picture selected corresponds to a collocated picture specified for the current picture.7.The method of Claim 1, wherein the plurality of constraint parameters comprises one or more maximum partition depth parameters or one or more minimum partition depth parameters related to block partition.8.The method of Claim 7, wherein the block partition corresponds to quaternary tree (QT)  partition or nested Multi-Type-Tree (MTT) partition.9.The method of Claim 8, wherein when the block partition corresponds to the nested MTT partition, signalling or parsing a coding unit partition flag is skipped if a current partition depth is equal to a maximum partition depth.10.The method of Claim 8, wherein when the block partition corresponds to the QT partition, signalling or parsing a coding unit partition flag is skipped if a current partition depth is equal to a maximum partition depth or less than a minimum partition depth.11.The method of Claim 7, wherein said one or more maximum partition depth parameters for the current block region correspond to one or more offset or threshold values added to corresponding one or more previous maximum partition depth parameters respectively, and wherein said one or more previous maximum partition depth parameters are associated with said one or more reference block regions from said one or more spatial neighbouring blocks in the current picture, said one or more temporal corresponding blocks in said one or more coded reference pictures, or both.12.The method of Claim 1, wherein one or more syntax elements are signalled or parsed to indicate a selected reference block from one or more candidate reference blocks for deriving or predicting one or more constraint parameters of the plurality of constraint parameters enforced for the current block region.13.The method of Claim 1, wherein the plurality of constraint parameters comprises MinQtSize, MaxBtSize, MaxTtSize, MaxMttDepth, MinCbSize, MaxQtDepth, MinQtDepth, MinWidth, MinHeight, BtEnabedFlag, TtEnabledFlag, HorEnabledFlag, VerEnabledFlag, or a combination thereof.14.The method of Claim 1, wherein the plurality of constraint parameters is derived from block partition information associated with an above reference block and a left reference block.15.The method of Claim 1, wherein the plurality of constraint parameters is derived from block partition information associated with an above reference block, a left reference block and a temporal reference block.16.The method of Claim 1, wherein the current block region corresponds to one Coding Tree Unit (CTU) .17.The method of Claim 1, wherein one or more syntax elements in one or more high-level syntax sets are signalled or parsed to indicate whether the plurality of constraint parameters is  derived depending on the block partition information associated with said one or more reference block regions from said one or more spatial neighbouring blocks in the current picture, said one or more temporal corresponding blocks in said one or more coded reference pictures, or both.18.The method of Claim 17, wherein the high-level syntax sets comprise SPS (Sequence Parameter Set) , PPS (Picture Parameter Set) , PH (Picture Header) , SH (Slice Header) , or a combination thereof.19.An apparatus for video coding, the apparatus comprising one or more electronics or processors arranged to:receive input data associated with a current block region in a current picture, wherein the input data comprise pixel data for the current block region to be encoded at an encoder side or encoded data associated with the current block region to be decoded at a decoder side;partition the current block region into one or more coding blocks with a plurality of constraint parameters, wherein the plurality of constraint parameters is derived depending on block partition information associated with one or more reference block regions from one or more spatial neighbouring blocks in the current picture, one or more temporal corresponding blocks in one or more coded reference pictures, or both; andencode or decode said one or more coding blocks.

Citation Information

Patent Citations

  • Signaling of syntax elements in video coding

    CN115668941A

  • Partitioning with High Level Constraint

    US20210211665A1

  • Video encoding or decoding methods and apparatuses related to high-level information signaling

    WO2021136375A1

  • Method, apparatus and system for encoding and decoding a block of video samples

    WO2021232088A1