Multi-type tree depth extension for picture boundary processing

The multi-type tree partitioning method addresses the limitations of fixed partitioning in video coding by adapting boundary CTU/CU division, enhancing flexibility and efficiency in video coding.

JP7955461B2Active Publication Date: 2026-11-24HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2025182669
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-05-30
Filing Date
2025-10-29
Publication Date
2026-11-24
Estimated Expiration
2039-05-29

AI Technical Summary

Technical Problem

Existing video coding technologies face limitations in flexibility and efficiency when handling boundary CTUs/CUs due to fixed partitioning methods, leading to suboptimal compression and increased computational costs.

Method used

Implement a multi-type tree partitioning approach that allows for adaptive and flexible boundary partitioning by defining separate maximum depths for non-boundary and boundary CTUs/CUs, enabling more efficient hierarchical division and improved compression.

Benefits of technology

Enhances the flexibility and efficiency of video coding by optimizing boundary partitioning, reducing computational costs, and improving compression performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955461000002
    Figure 0007955461000002
  • Figure 0007955461000003
    Figure 0007955461000003
  • Figure 0007955461000004
    Figure 0007955461000004
Patent Text Reader

Abstract

To provide an apparatus and method for partitioning an image into coding units.SOLUTION: A picture is divided into hierarchically partitioned coding tree units (CTUs). Hierarchical partitioning includes multi-type partitioning, such as binary-tree or quad-tree splitting. For CTUs that are completely inside the picture and CTUs on the boundary, respective multi-type partition depths are selected. The present disclosure provides flexibility of multi-type partitioning at a boundary portion of an image.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of video processing, in particular to the topic commonly referred to as hybrid video coding and compression.

Background Art

[0002] The next-generation Versatile Video Coding (VVC) standard is the latest joint video project of the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG), standardization bodies that cooperate in a partnership known as the Joint Video Exploration Team (JVET).

[0003] Current block-based hybrid video codecs use predictive coding. Pictures of a video sequence are subdivided into blocks of pixels, which are then coded. Instead of coding the block pixel by pixel, the whole block is predicted using already encoded pixels that are spatially or temporally close to the block. The encoder further processes only the difference between the block and its prediction. The further processing usually comprises a transform of the block pixels into coefficients in the transform domain. The coefficients are then further compressed (e.g., by quantization) and may be further compacted (e.g., by entropy coding) to form the bitstream. The bitstream may further comprise any signaling information that allows the decoder to decode the encoded video. For example, the signaling may comprise settings related to encoder settings such as the size of the input pictures, the frame rate, quantization step indications, or the prediction that is applied to blocks of the picture.

[0004] The difference between a block and its prediction is known as the block residual. More specifically, each pixel in a block has a residual, which is the difference between its intensity level and its predicted intensity level. The intensity level of a pixel is called the pixel value or pixel value. The residuals of all pixels in a block are collectively called the block residual. In other words, a block has residuals, which are a set or matrix of residuals of all pixels in the block. The residuals are then transformed, quantized, and coded along with the signaling information. The coding can include various forms of fixed-length and variable-length coding, including arithmetic coding or other entropy coding types.

[0005] In block-based hybrid video coding, each picture is divided into sample blocks, and multiple blocks within a picture are aggregated to form slices of independently decodeable entities. The blocks to which prediction and / or transformation is applied are called coding units (CUs) or coding blocks (CBs). Coding units can have different sizes.

[0006] For example, in high-efficiency video coding (HEVC, also known as H.265), video frames are subdivided into coding tree units (CTUs, coding tree blocks, also called CTBs). A CTB is a block of disparately sized squares, e.g., 64x64 samples. Each CTB acts as the root of the coding tree, a block partitioned quadtree structure. A CTB can be further subdivided into coding blocks along the coding tree structure. For each coding block, a prediction type is determined. A coding block can be further divided into smaller transformation blocks to which transformations and quantization are applied.

[0007] Further details regarding the classification in HEVC can be found in V. Sze et al (Ed.), High Efficiency Video Coding (HEVC): Algorithms and Architectures, Springer, 2014, Chapter 3.2.

[0008] In addition, International Publication No. 2016 / 090568 demonstrates a binary tree structure for partitioning a unit into multiple smaller units using quadtree and binary tree structures. Thus, the root unit is first partitioned by a quadtree structure, and then the leaf nodes of the quadtree are further partitioned by a binary tree structure. [Prior art documents] [Patent Documents]

[0009] [Patent Document 1] International Publication No. 2016 / 090568 [Non-patent literature]

[0010] [Non-Patent Document 1] V. Sze et al (Ed.), High Efficiency Video Coding (HEVC): Algorithms and Architectures, Springer, 2014, Chapter 3.2 [Overview of the Initiative] [Means for solving the problem]

[0011] Embodiments of the present invention are defined by the features of the independent claims, and more preferred embodiments of the embodiments are defined by the features of the dependent claims.

[0012] In a general embodiment, the present disclosure provides an apparatus for dividing an image into coding units, the apparatus including a processing circuit. The apparatus subdivides an image into coding tree units CTUs, each including non-boundary CTUs having predetermined sizes in the horizontal and vertical directions, and boundary CTUs having portions of an image separated by horizontal or vertical image boundaries, wherein the portions have a size smaller than a predetermined size in a direction perpendicular to the image boundaries. The apparatus hierarchically divides the non-boundary CTUs and boundary CTUs into their respective coding units, the hierarchical division of non-boundary CTUs includes multi-type divisions having a non-boundary multi-type division maximum depth, where the division direction is either vertical or horizontal, and the hierarchical division of boundary CTUs includes multi-type divisions having a boundary multi-type division maximum depth.

[0013] This offers the advantage of increased flexibility in boundary demarcation.

[0014] In a further embodiment of this device, the maximum boundary multitype division depth is the sum of at least the adaptive boundary multitype division depth and a predefined multitype division depth, where the adaptive boundary multitype division depth is the depth of the multitype division where the division direction is the direction of the image boundary.

[0015] This enables adaptive determination of partition depth when using multi-type partitioning for boundary coding tree units or partition blocks.

[0016] For example, a predefined multi-type partitioning depth is equal to the maximum non-boundary multi-type partitioning depth.

[0017] This enables the reuse of the maximum depth of non-boundary multi-type partitioning.

[0018] In a further embodiment of the present apparatus, the sum further includes a function of a ratio between a size of a boundary partition block of a boundary CTU in a direction of an image boundary and a size thereof in a direction perpendicular to the image boundary, wherein the boundary partition block is a block with an adaptive boundary multi-type partition depth.

[0019] This achieves further increase of a maximum depth of multi-type boundary partition, thereby improving partition flexibility.

[0020] For example, the function is a binary logarithm.

[0021] This is beneficial to achieve a practical implementation.

[0022] In some further embodiments, a boundary multi-type partition maximum depth is predefined.

[0023] This facilitates reducing computational costs in determining hierarchical partition.

[0024] For example, the hierarchical partition of the boundary CTU further includes quad-tree partition.

[0025] This achieves flexible selection from various modes.

[0026] In a further embodiment of the present apparatus, a boundary multi-type partition maximum depth is greater than or equal to a non-boundary multi-type partition maximum depth.

[0027] This achieves increasing a possible boundary partition maximum depth.

[0028] Further provided is an apparatus for encoding images of a video sequence, comprising an apparatus for dividing the image into coding units, according to any of the examples and embodiments described above. The apparatus further comprises an image coding unit configured to encode coding units, and a bitstream forming unit configured to generate a bitstream containing the encoded coding units and segmentation information indicating how the coding tree units have been segmented.

[0029] In a further embodiment, the device for encoding the image includes a device for partitioning the image, the boundary multitype partitioning maximum depth is predefined, and the bitstream further includes an encoded sequence parameter set including the boundary multitype partitioning maximum depth.

[0030] A device for decoding images in a video sequence comprises: a bitstream parser for analyzing a bitstream containing encoded coding units; a device for determining the division of an image, according to any of the examples and embodiments described above; and an image decoding unit for decoding the encoded coding units based on the determined division of the image. Device for Further offerings will be provided.

[0031] In a further embodiment, the device for decoding the image includes a device for determining the division of the image, wherein the boundary multitype division maximum depth is predefined, the bitstream further includes an encoded sequence parameter set containing the boundary multitype division maximum depth, and the device for determining the division of the image is further configured to obtain a second multitype division maximum depth from the sequence parameter set.

[0032] In another general embodiment, a method for dividing an image into coding units is provided. The method includes the steps of: subdividing an image into coding tree units CTUs, each including a coding tree unit CTU having a non-boundary CTU having a predetermined size in the horizontal and vertical directions, and a bounding CTU having a portion of the image separated by a horizontal or vertical image boundary, wherein the portion has a size smaller than a predetermined size in a direction perpendicular to the image boundary; and hierarchically dividing the non-boundary CTUs and bounding CTUs into their respective coding units, wherein the hierarchical division of the non-boundary CTUs includes a multi-type division having a non-boundary multi-type division maximum depth, where the division direction is either vertical or horizontal, and the hierarchical division of the bounding CTUs includes a multi-type division having a bounding multi-type division maximum depth.

[0033] In a further embodiment of this method, the maximum boundary multitype division depth is the sum of at least the adaptive boundary multitype division depth and a predefined multitype division depth, where the adaptive boundary multitype division depth is the depth of the multitype division where the division direction is the direction of the image boundary.

[0034] For example, a predefined multi-type partitioning depth is equal to the maximum non-boundary multi-type partitioning depth.

[0035] In a further embodiment of this method, the total further includes a function of the ratio of the size of the boundary partition block of the boundary CTU in the direction of the image boundary and the direction perpendicular to the image boundary, where the boundary partition block is a block of adaptive boundary multitype partition depth.

[0036] For example, the function is a binary logarithm.

[0037] In another embodiment, the maximum depth of boundary multi-type partitioning is predefined.

[0038] In further embodiments, the hierarchical decomposition of the boundary CTU further includes quadtree decomposition.

[0039] For example, the maximum depth of the boundary multitype classification is greater than or equal to the maximum depth of the non-boundary multitype classification.

[0040] A method for encoding images of a video sequence is further provided, the method comprising: dividing the image into coding units according to any of the embodiments described above; an image coding step of encoding the coding units; and a bitstream forming step of generating a bitstream that includes the encoded coding units and segmentation information indicating how the coding tree units have been segmented.

[0041] In a further embodiment, the method for encoding the image includes a method for partitioning the image, the boundary multitype partitioning maximum depth is predefined, and the bitstream further includes an encoded sequence parameter set including the boundary multitype partitioning maximum depth.

[0042] A method for decoding images of a video sequence is further provided, the method comprising the steps of: analyzing a bitstream containing encoded coding units; determining the division of an image according to any of the embodiments described above; and decoding the encoded coding units based on the determined division of the image.

[0043] In a further embodiment, a method for decoding an image includes a method for determining the division of the image, wherein the boundary multitype division maximum depth is predefined, and the bitstream further includes an encoded sequence parameter set containing the boundary multitype division maximum depth, and the method for determining the division of the image further includes the step of obtaining a second multitype division maximum depth from the sequence parameter set.

[0044] In a further embodiment, the Disclosure provides a computer-readable medium that, when executed by a processing circuit, causes the processing circuit to perform a method for dividing an image into coding units, a method for encoding images in a video sequence, or a method for decoding images in a video sequence according to any of the embodiments described above.

[0045] Details of one or more embodiments are described in the accompanying drawings and the following description. Other features, purposes, and advantages will become apparent from the description, drawings, and claims.

[0046] The following embodiments of the present invention will be described in more detail with reference to the accompanying figures and drawings. [Brief explanation of the drawing]

[0047] [Figure 1] A block diagram shows an exemplary structure of a video encoder configured to carry out embodiments of the present invention. [Figure 2] This is a block diagram showing an exemplary structure of a video decoder configured to carry out embodiments of the present invention. [Figure 3] This is a schematic diagram showing an example of quadtree partitioning used by HEVC. [Figure 4] This diagram shows several modes for categorizing coding units. [Figure 5] This is a schematic diagram illustrating an example of quadtree / binary tree differentiation. [Figure 6] This is a schematic diagram showing a forced quadtree partition at the boundary. [Figure 7] This is a schematic diagram showing the binary tree partitioning at the boundary. [Figure 8] This is a block diagram of a device for dividing an image into coding units. [Figure 9] This is a schematic diagram showing the division of the boundary area. [Figure 10] This figure shows an example of boundary partitioning using binary tree partitioning. [Figure 11]This figure shows a further example of boundary partitioning using binary tree partitioning. [Figure 12] This figure shows a comparison of boundary demarcation using quadtree demarcation and binary tree demarcation. [Figure 13] This is a flowchart illustrating an embodiment of the maximum depth extension of a multi-type tree. [Figure 14] This block diagram shows an example of a video coding system configured to carry out embodiments of the present invention. [Figure 15] This is a schematic diagram of a video coding device. [Modes for carrying out the invention]

[0048] The present invention relates to dividing (i.e., segmenting) an image into smaller units for further processing. Such segmentation can be suitably used in coding and decoding still or video images. Illustrative video coders and decoders capable of performing segmentation according to this disclosure are described below.

[0049] Figure 1 shows an encoder 100 having an input for receiving an input block of frames or pictures of a video stream and an output for providing an encoded video bitstream. The term “frame” in this disclosure is used as a synonym for “picture.” However, it should be noted that this disclosure is also applicable to the field where interlacing is applied. Generally, a picture contains m × n pixels. These correspond to image samples and may each contain one or more color components. For simplicity, the following description refers to pixels meaning samples of luminance. However, it should be noted that the partitioning approach in this disclosure can be applied to any color component, including chrominance, or to components in a color space such as RGB. On the other hand, it may be beneficial to perform partitioning on only one component and apply the determined partitioning to more (or all) of the remaining components.

[0050] The encoder 100 is configured to apply segmentation, prediction, transformation, quantization, and entropy coding to the video stream.

[0051] In the splitting unit 110, the input video frame is further divided before coding. The blocks to be coded do not necessarily have the same size. A single picture may contain blocks of different sizes, and the block rasters of different pictures in a video sequence may also be different. In particular, each video image (picture) is initially subdivided into CTUs of the same fixed size. The CTU size may be fixed and predefined, for example, by standard. HEVC uses a size of 64x64. However, this disclosure is not limited to standard fixed sizes. It may be preferable to provide a CTU size that can be set in the encoder and provided as a signaling parameter in the bitstream. For example, different CTU sizes may be beneficial for each different picture size and / or content type. The CTU size may be signaled at any signaling level, for example, it may be common to the entire video sequence or a part of it (i.e., multiple pictures) or to each individual picture. In response to this, it may be signaled, for example, within the picture parameter set PPS, sequence parameter set SPS, video parameter set VPS, or similar parameter sets known from the current codec (H.264 / AVC, H.265 / HEVC). Alternatively, it may be specified in the slice header or at any other level. The CTU size may take a value other than 64x64. It may be a sample size of, for example, 128x128. In general, to perform hierarchical partitioning with a binary or quadtree, it is a power of 2, i.e., n is an integer greater than 2. n It may be beneficial to provide the CTU size in the format of [this format].

[0052] The partitioning of a picture into CTUs and the partitioning of a CTU into CUs are shown in Figure 3 from V. Sze et al (Ed.), High Efficiency Video Coding (HEVC): Algorithms and Architectures, Springer, 2014. The partitioning follows a quadtree structure to adapt to various local characteristics. On the left, Figure 3 shows the CTUs hierarchically partitioned according to the quadtree structure on the right. In particular, the coding tree defines the syntax that specifies the subdivision of a CTU into CUs. Similar to a CTU, a CU consists of square blocks of samples and syntax associated with these sample blocks. Thus, partitioning is performed hierarchically, starting from a CTU (hierarchical depth 0) which may be subdivided into four CUs (in the quadtree) at a hierarchical depth of 1, but does not necessarily have to be subdivided. In Figure 3, the CTU is further divided into CU8 and 16 at the first hierarchical depth (level), which are not further divided and thus form leaves of the quadtree, and two further CUs that are further divided into CUs at hierarchical depth 2 (CUs at depth 2). In particular, the CU at depth 1 in the upper left is further subdivided into CU1, 2, and 7 at depth 2, which form leaves of the quadtree, and another CU that is further subdivided into CU3, 4, 5, and 6 at depth 3, which are all leaves. Similarly, the CU at depth 1 in the lower left is further subdivided into CU13, 14, and 15 at depth 2, which are also leaves of the quadtree, and the remaining CUs that are further subdivided into CU9, 10, 11, and 12 at level 3, which are all leaves and therefore not further divided.

[0053] An example syntax for quadtree splitting in HEVC is shown in Table 1 below.

[0054] [Table 1]

[0055] Specifically, at the CTU level, a flag named split_cu_flag is included in the bitstream, indicating whether a complete CTU forms a CU or whether it is divided into four equally sized blocks corresponding to square sample blocks. If the CTU is divided, for each resulting block, another split_cu_flag is sent, specifying whether the block represents a CU or whether it is further divided into four equally sized blocks. This hierarchical subdivision continues until no further subdivisions are possible for the resulting blocks. The minimum size of a CU is signaled in the sequence parameter set and can range from 8x8 luma samples to within the size of the CTU. Once the minimum CU size is reached in the process of hierarchical subdivision, no split flag is sent for the corresponding blocks, and instead, it is assumed that these blocks will not be further divided. The maximum range of supported CU sizes is utilized so that CUs ranging from 8x8 to 64x64 samples can be used in typical HEVC encoder settings. CUs within a CTU are coded in depth-first order. This coding order is also called a z-scan. It ensures that for each CU except those located at the top or left boundary of the slice, all samples above and to the left of the CU are already coded, so that the corresponding samples can be used for intra-prediction, and the associated coding parameters can be used to predict the coding parameters of the current CU.

[0056] In other words, split_cu_flag[x0][y0] specifies whether the coding unit is split into coding units having half the size horizontally and vertically. The array index x0,y0 specifies the position (x0,y0) of the top-left luma sample of the coding block in question relative to the top-left luma sample of the picture. If split_cu_flag[x0][y0] does not exist, the following applies to the decoder: If log2CbSize (a parameter specifying the coding block size) is greater than MinCbLog2SizeY (a parameter specifying the minimum configurable coding unit size), then the value of split_cu_flag[x0][y0] is presumed to be equal to 1. Otherwise (log2CbSize is equal to MinCbLog2SizeY), the value of split_cu_flag[x0][y0] is presumed to be equal to 0.

[0057] The array CtDepth[x][y] specifies the coding tree depth of the Luma coding block covering position (x,y). If split_cu_flag[x0][y0] is equal to 0, then CtDepth[x][y] is presumed to be equal to cqtDepth for x=x0..x0+nCbS-1 and y=y0..y0+nCbS-1.

[0058] In VVC (Variable-Purpose Video Coding), segmentation structures, including quadtree (QT) segmentation and multi-type (binary / ternary / asymmetric binary type) tree (BT / TT / ABT) segmentation structures, replace the concept of multiple segmentation unit types. In other words, the new segmentation structures eliminate the separation of the concepts of CU (coding unit), PU (prediction unit), and TU (transformation unit), except when required for CUs that are too large for the maximum transformation length, and support greater flexibility with respect to the CU segmentation shape [JVET-J1002]. Figure 4 shows the segmentation modes currently used in VTM (VVC Test Model). Part (a) of Figure 4 shows a CTU or CU to which no further segmentation is applied (unsegmented). Part (b) shows a CTU or CUPart (c) and (d) show a quaternary tree (also commonly called a "quadrutree") partitioning mode, which is partitioned both vertically and horizontally. Parts (e) and (f) show a binary tree partitioning mode, which is vertical and horizontal, respectively. Furthermore, parts (e) and (f) show a ternary tree partitioning mode, which is vertical and horizontal. In a ternary tree partitioning mode, it can be understood that there are two blocks of size 1 / 4 and one block of size 1 / 2.

[0059] The following parameters related to the hierarchical classification of CTUs, namely, CTU size: Root node size of the quaternary tree MinQTSize: The minimum allowed quaternary tree leaf node size. MaxBTTSize: The maximum allowed binary and ternary root node size. MaxBTTDepth: Allowed maximum depth for binary and ternary trees. MinBTTSize: The minimum allowed size of a binary and ternary leaf node. MinCUSize: Minimum permitted CU size These are defined and specified by the syntactic elements of the Sequence Parameter Set (SPS) of the BT / TT / QT coding tree scheme.

[0060] Figure 5 shows a mixed partitioning of quadtrees and binary trees. Quadtree partitioning is shown by solid lines, while binary tree partitioning is shown by dashed lines. The labels 1 or 0 on the nodes, representing coding units further partitioned by the binary tree, indicate whether the binary partitioning is performed vertically or horizontally, respectively.

[0061] The horizontal and vertical dimensions of the video picture in the luma sample must be integer multiples of the minimum CU size in the luma sample, as sent in the sequence parameter set, but they do not need to be integer multiples of the CTU size. If the horizontal or vertical dimensions of the video picture do not represent integer multiples of the CTU size, the CTU of the boundary is assumed to be split until the boundary of the resulting block coincides with the boundary of the picture. With respect to this forced splitting, no splitting flag is sent, but the resulting block may be further split using the quadtree syntax described above. CUs outside the picture region are not coded.

[0062] This partitioning is shown in Figure 6, which is a diagram of a CTU (128×128) forced quadtree partitioning at the lower boundary of an HD sequence (1920×1080). Specifically, Figure 6 shows the frame boundary, where the 56 lines above it (length of 128 samples) are the slice or image boundary portion. The portion of the CTU below the frame boundary may belong to another slice, or it may not exist at all, for example, if the frame boundary is the lower boundary of the picture. As can be understood, the forced quadtree partitioning is applied to 128×56 samples.

[0063] In HEVC, the subdivision of chroma CTBs is always matched with the subdivision of each luma CTB. Note that this disclosure may, but is not limited to, the same treatment of chroma components. Independent subdivision of different color components is also possible.

[0064] Returning to Figure 1, after the image splitting is performed by the splitting unit 110, the conversion unit 130, quantization unit 140, and entropy encoding unit 150 perform conversion, quantization, and entropy coding, respectively, to generate the output as an encoded video bitstream.

[0065] A video stream may contain multiple frames. For example, a block of the first frame of a video stream is intra-coded by the intra-prediction unit 190. An intra-frame is coded using information only from that frame, and for this reason, it can be decoded independently of other frames. Thus, an intra-frame can provide an entry point to a bitstream, for example, for random access. Other blocks of frames in the video stream may be intercoded by the inter-prediction unit 195, and each block of the intercoded frame is predicted from another frame (reference frame), for example, a block in a previously coded frame. The mode selection unit 180 is configured to select whether intra-prediction or inter-prediction is performed on a block of a frame, i.e., whether it is processed by the intra-prediction unit 190 or the inter-prediction unit 195. The mode selection unit 180 is also configured Intra or Interpretation no pa The frame controls the lattice. To allow for the refreshing of image information, an intercoded frame may contain not only intercoded blocks but also one or more intracoded blocks. In contrast, an intraframe contains only intracoded blocks and no intercoded blocks. Intraframes may be inserted into a video sequence to provide entry points for decoding, i.e., points from which the decoder can begin decoding without using information from the previous frame (for example, periodically, i.e., after a certain number of interframes).

[0066] The intra-prediction unit 190 is a block prediction unit. To perform spatial or temporal prediction, the coded blocks may be further processed by the inverse quantization unit 145 and the inverse transform unit 135. After the blocks are reconstructed by the reconstructor 125, the loop filtering unit 160 may be applied to further improve the quality of the decoded image. The reconstructor 125 adds the decoded residuals to the predictor to obtain the reconstructed blocks. The filtered blocks then form a reference frame, which is then stored in the frame buffer 170. Such a decoding loop (decoder) on the encoder side has the advantage of producing the same reference frame as the reference picture reconstructed on the decoder side. Thus, the encoder side and the decoder side operate in corresponding ways. The term “reconstruction” here refers to obtaining the reconstructed blocks by adding the decoded residual blocks to the prediction blocks.

[0067] The interprediction unit 195 receives as input a block of the current frame or picture to be intercoded, and one or more reference frames or pictures from the frame buffer 170. Motion estimation and motion compensation are performed by the interprediction unit 195. Motion estimation is used to obtain motion vectors and reference frames, for example, based on a cost function. Motion compensation then describes the current block of the current frame in terms of the conversion of the reference block of the reference frame to the current frame, i.e., by motion vectors. The interprediction unit 195 selects a prediction block (i.e., predictor) for the current block from a set of candidate blocks (i.e., candidate predictors) in one or more reference frames such that the prediction block minimizes the cost function. In other words, the candidate block that minimizes the cost function is used as the prediction block for the current block.

[0068] For example, the cost function may be a measure of the difference between the current block and the candidate block, i.e., a measure of the residual of the current block relative to the candidate block. For example, the cost function may be the sum of the absolute differences (SAD) between all pixels (samples) of the current block and all pixels of the candidate block in the candidate reference picture. However, in general, similarity metrics such as the mean squared error (MSE) or the structural similarity metric (SSIM) may be used.

[0069] However, the cost function may also be the number of bits required to encode the distortion resulting from such interblocks and / or such coding. Thus, a rate-distortion optimization procedure may be used to determine the choice of motion vectors and / or, in general, encoding parameters such as whether to use inter-prediction or intra-prediction for blocks and their settings.

[0070] The intra-prediction unit 190 receives as input a block of the current frame or picture to be intra-coded and one or more reference samples from an already reconstructed region of the current frame. The intra-prediction then describes the pixels of the current block of the current frame in terms of a function of the reference samples of the current frame. The intra-prediction unit 190 outputs a predicted block of the current block, which preferably minimizes the difference between the current block to be coded and its predicted block, i.e., it minimizes the residual block. Minimization of the residual block may be based, for example, on a rate-distortion optimization procedure. In particular, the predicted block is obtained as a directional interpolation of the reference samples. The directional can be determined by rate-distortion optimization and / or by computing a similarity measure as mentioned above in relation to intra-prediction.

[0071] Next, the difference between the current block and its prediction, i.e., the residual block, is transformed by the transformation unit 130. The transformation coefficients are quantized by the quantization unit 140 and entropy coded by the entropy encoding unit 150. The encoded video bitstream thus produced includes intra-coding blocks and inter-coding blocks, as well as corresponding signaling (mode indication, motion vector indication, and / or intra-prediction direction, etc.). The transformation unit 130 may apply a linear transformation such as the Discrete Fourier Transform (DFT) or Discrete Cosine Transform (DCT). Such a transformation to the spatial frequency domain offers the advantage that the resulting coefficients typically have higher values ​​at lower frequencies. Thus, after an effective coefficient scan (e.g., zigzag) and quantization, the resulting sequence of values ​​typically has some large values ​​at the beginning and ends with a run of zeros. This allows for even more efficient coding. The quantization unit 140 performs lossy compression by reducing the coefficient values ​​of resolution. Next, the entropy coding unit 150 assigns binary codewords to the coefficient values. The codeword is written to a bitstream called an encoded bitstream. The entropy coder also codes signaling information (not shown in Figure 1) which may include coding using the split flag syntax shown above.

[0072] Figure 2 shows an example of a video decoder 200. The video decoder 200 comprises, in particular, a reference picture buffer 270 and an intra prediction unit 290 which is a block prediction unit. The reference picture buffer 270 is ,workman It is configured to store at least one reference frame reconstructed from the decoded video bitstream. The intra-prediction unit 290 is configured to generate a prediction block, which is an estimate of the block to be decoded. The intra-prediction unit 290 is configured to generate this prediction based on a reference sample obtained from the reference picture buffer 270.

[0073] The decoder 200 is configured to decode the encoded video bitstream generated by the video encoder 100, preferably with both the decoder 200 and the encoder 100 generating identical predictions for each block being encoded / decoded. The features of the reference picture buffer 270 and intra-prediction unit 290 are similar to those of the reference picture buffer 170 and intra-prediction unit 190 in Figure 1.

[0074] The video decoder 200 includes additional units also present in the video encoder 100, such as an inverse quantization unit 240, an inverse transform unit 230, and a loop filtering unit 260, which correspond to the inverse quantization unit 140, the inverse transform unit 150, and the loop filtering unit 160 of the video decoder 100, respectively.

[0075] The bitstream analysis, entropy decoding, and partitioning unit 250 is configured to analyze and decode the received encoded video bitstream to obtain quantized residual transformation coefficients and signaling information. The quantized residual transformation coefficients are fed to the inverse quantization unit 240 and the inverse transformation unit 230 to generate residual blocks. The residual blocks are added to the prediction blocks in the reconstructor 225, and the resulting sum is fed to the loop filtering unit 260 to obtain decoded video blocks. The decoded video frames are stored in the reference picture buffer 270 and can serve as reference frames for interprediction. The signaling information analyzed and decoded from the bitstream may generally include control information related to frame partitioning. To further correctly analyze and decode the image, the control information is used to restore the partitioning of the image to the coding units and to correctly assign the next decoded data to the respective coding units.

[0076] Generally, the intra-prediction units 190 and 290 in Figures 1 and 2 may use reference samples from already encoded regions to generate prediction signals for blocks that need to be encoded or decoded.

[0077] The bitstream analysis, entropy decoding, and splitting unit 250 receive an encoded bitstream as its input. The bitstream can first be analyzed, i.e., the signaling parameters and residuals are extracted from the bitstream. The syntax and semantics of the bitstream can be defined in standards so that the encoder and decoder can operate in an interoperable manner.

[0078] In the HEVC standard, coding tree units (CTUs) or coding units (CUs) located at a slice / picture boundary are partitioned using forced quadtree partitioning (QT) until the lower-right sample of the leaf node lies within the slice / picture boundary. Forced QT partitioning does not need to be signaled in the bitstream. The purpose of forced partitioning is to enable encoding / decoding of boundary CTUs / CUs by the encoder / decoder. In other words, it is agreed between the encoding and decoding sides that QT partitioning should be used without requiring further signaling of the partitioning mode.

[0079] In both the patent relating to the QTBT structure [International Publication No. 2016090568] and VTM-1.0, the boundary CTU / CU forced partitioning process is inherited from HEVC. This is because the CTU / CU located at the frame boundary, in particular, C TCTU / CUs (hereinafter referred to as “boundary CTU” and “boundary CU” in this disclosure) whose boundaries pass through such that a portion of the U / CU lies outside the picture / frame are initially forced partitioned by a quadtree (QT) structure without rate distortion (RD) optimization until the entire current CU lies inside the slice / picture boundary. These forced partitions do not need to be signaled in the bitstream. Further partitioning may be achieved based on RD optimization. Figure 6 shows an example of one forced partition of a lower boundary CTU (128×128) in an HD (1920×1080 pixel) sequence by forced QT.

[0080] Since only the QT partition structure is used in boundary partitioning, the limit of the multi-type tree (BT / TT / ABT) in VTM is given by MaxBTTDepth of SPS. Therefore, in the case of partitioning of boundary CTUs (i.e., CTUs with parts on both sides of the boundary, as shown in Figure 6), the limit of the total hierarchical depth (TotalDepthLim), i.e., the maximum hierarchical depth, follows equation (1) below. TotalDepthLim=QTDepth+MaxBttDepth(1)

[0081] In equation (1), MaxBttDepth is the maximum allowed binary and ternary tree depth specified in SPS. QTDepth is the hierarchical depth of the partitioned blocks resulting from quadtree partitioning. That is, the value of QTDepth is incremented by 1 at each partitioning step of the hierarchical partitioning to which quadtree partitioning is applied. For example, QTDepth may correspond to the parameter cqtDepth in the example syntax in Table 1. However, although the limit of QTDepth is incremented at each QT partitioning step, the hierarchical depth is ultimately limited by a given allowed minimum CU size (e.g., corresponding to the minCUSize parameter in SPS).

[0082] Picture boundaries can be handled using BT, TT, or ABT (Asymmetric Binary Tree). Both forced and adaptive methods can be used. When MTT (Multi-Type Tree) such as BT / TT is used for boundary demarcation instead of QT demarcation, the BTT (Binary and Ternary Tree) limit MaxBTTDepth from the SPS is easily exceeded. Figure 7 shows an example of BT used in the CTU of the lower boundary of an HD sequence. If BT is used from the CTU level down to the leaf nodes (coding units) that are completely inside the boundary, a depth of 4 is used for BT demarcation, which exceeds MaxBTTDepth from the SPS (VTM-1.0, in VVC test model version 1.0, MaxBTTDepth is set to 3).

[0083] The purpose of this disclosure is to improve the flexibility of boundary partitioning and to provide a perspective on picture boundary processing. The approach of this disclosure is to define a boundary partitioning depth limit in addition to the conventional MaxBTTdepth from the SPS used for partitioning. For this purpose, a depth value is set specifically for boundary partitioning (this may be called, for example, ExtdMaxBTTDepth) rather than MaxBttDepth from equation (1). ExtdMaxBTTDepth may be predefined and fixed in the SPS and signaled in the SPS bitstream, or it may be computed. Thus, when multi-type tree (MTT) partitioning (BT, TT, or ABT, etc.) is used in picture boundary processing (forced or adaptive), the limit of the maximum MTT depth may be extended in both the decoder and encoder.

[0084] The following aspects and embodiments of this disclosure describe possible methods for obtaining and calculating ExtdMaxBTTDepth.

[0085] In a general embodiment, as shown in Figure 8, an apparatus 800 for dividing an image into coding units is provided (which may be carried out with the encoder or decoder units 110, 250 described above). The apparatus includes a processing circuit configured to subdivide an image into coding tree units CTUs 810. The CTUs include non-boundary CTUs having predetermined sizes in the horizontal and vertical directions, and boundary CTUs having portions of the image separated by horizontal or vertical image boundaries, wherein the portions have a size smaller than a predetermined size in the direction perpendicular to the image boundaries. The circuit is further configured to partition the non-boundary CTUs and boundary CTUs into their respective coding units. Among these, the hierarchical partitioning of non-boundary CTUs includes multi-type partitioning having a non-boundary multi-type partitioning maximum depth, where the multi-type partitioning is a partition whose partitioning direction is either vertical or horizontal. Furthermore, the hierarchical partitioning of boundary CTUs 820 includes multi-type partitioning having a boundary multi-type partitioning maximum depth.

[0086] Therefore, the circuitry of the apparatus 800 for dividing an image into coding units is configured to divide non-boundary CTUs into coding units using a first division depth limit of the MTT division step included in the division, i.e., the non-boundary multi-type division maximum depth. The circuitry is further configured to divide boundary CTUs into coding units using a second division depth limit of the MTT division included in the division, i.e., the boundary multi-type division maximum depth. In other words, according to the present disclosure, the circuitry of the apparatus 800 uses the respective MTT division maximum depths (MTT depth limits) for non-boundary CTUs and boundary CTUs during operation.

[0087] The CTUs obtained by frame division 810 can be further hierarchically segmented, including hierarchical segmentation 820 of boundary CTUs. This segmentation can be performed in the manner shown, for example, in Figures 3 to 5 and described above with reference to them.

[0088] Figure 8 shows the internal structure of the device 800 circuit. This circuit may be any kind of hardware and software having functional units 810 and 820 for the division (subdivision) of an image (or frame) into individual CTUs, including non-boundary CTUs, and particularly for the division of boundary CTUs. These units may be implemented on, for example, a single processor. However, the present invention is not limited to such applications, and these units may also be implemented by separate hardware components.

[0089] In this disclosure, the term “boundary CTU” is used to refer to a coding tree unit that is divided by an image boundary into a portion of the image that is partitioned (within the image boundary) and a portion that is not located inside the image (i.e., it is located beyond the image boundary). A boundary CTU exists if the size of the image being coded is not an integer multiple of the CTU size in at least one direction.

[0090] Figure 9 visualizes an example of a lower picture border 900 and a corresponding border portion 910 (shadowed) including the border CTU. Portion 950 shows the remaining portion of the image having sizes that are integer multiples of the CTU in the vertical and horizontal directions. Furthermore, the vertical size of the CTU is shown as 970V and the horizontal size of the CTU is shown as 970H. As can be understood in Figure 9, the border portion in this example is an integer multiple of the CTU size 970H in the horizontal direction. However, in the vertical direction, the border portion 910 has the remaining size after the vertical picture size is divided by the vertical CTU size 970V. Portion 920 is hypothetical and shows the difference between the height of the border portion and the CTU size. Note that in this embodiment, the CTU is square, and therefore sizes 970H and 970V are the same. However, the disclosure is not limited thereto, and the vertical and horizontal sizes of the CTU may be different.

[0091] To encode (and correspondingly decode) the boundary portion, the boundary portion 910 in Figure 9 is divided into incomplete CTUs, i.e., CTU portions having a horizontal size smaller than CTU 970H and a vertical size smaller than CTU size 970V. These incomplete CTUs correspond to the “boundary CTU” in this application, and the “incomplete CTU” corresponds to the portion of the CTU in the image. Although Figure 9 shows a horizontal boundary portion, a vertical boundary portion may also exist in addition to, or instead of, the horizontal boundary portion. In particular, if the image size (i.e., the width and height of the image) is not a multiple of the CTU size in either the vertical or horizontal direction, there may be further incomplete CTUs that are horizontal and vertical boundary CTUs, and the vertical and horizontal sizes of the portions of the CTU in the image are smaller than the size of the complete CTU.

[0092] In contrast to "boundary CTUs," the term "non-boundary CTU" is used to refer to CTUs that fit perfectly within a frame or picture, i.e., CTUs within portion 950 in the example shown in Figure 9. That is, non-boundary CTUs are located within an image that is encoded / decoded to its full size in the vertical and horizontal directions. However, non-boundary CTUs may be adjacent to at least one image boundary, or they may be further CTUs between non-boundary CTUs and image boundaries.

[0093] It should be further noted that non-boundary CTUs and boundary CTUs do not constitute different types of CTUs, differing only in the coding or designation methods. The difference between non-boundary CTUs and boundary CTUs is whether they are located on a boundary (i.e., a boundary through which they pass) or inside a boundary that divides an image.

[0094] Furthermore, whether a CTU is a boundary CTU is determined, for example, by comparing the location of the CTU (in particular, the appropriate pixel location within the CTU) with the location of the boundary (or the vertical / horizontal image size of the sample). In coding, a CTU has a predefined fixed size, such as 128x128 or 64x64 as described above, for example in the case of HEVC. The picture is divided into CTUs without overlap. The lower right corner may be selected as the appropriate pixel location because it will be determined to be a boundary CTU with respect to the vertical and horizontal picture boundaries, respectively, when the image is processed from left to right and from top to bottom (generally, which pixel location is optimal depends on the processing direction). The encoder / decoder checks the pixel in the lower right corner of the CTU and compares it with the vertical and horizontal sizes of the image. If the lower right pixel is located inside the picture boundary, the CTU is a non-boundary CTU; otherwise, it is a boundary CTU. This method for determining whether a partitioned block lies on a boundary is applicable not only to CTUs but can also be used for CUs and any partitioned blocks resulting from the division of a CTU or any block within a partitioning hierarchy.

[0095] Furthermore, other methods may be used to determine whether a CTU is a boundary CTU. For example, as mentioned above, dividing the image size (width / height) by CTU size can determine the number of CTUs and whether boundary CTUs exist in the vertical and horizontal directions. CTUs can be indexed, and if boundary CTUs exist, the last k CTUs can be determined to be the lower boundary CTUs, or each k-th CTU can correspond to a right boundary CTU (where k is the upper limit of the number of CTUs per row (including boundary CTUs), i.e., the ratio of image width to CTU size).

[0096] The hierarchical depth of hierarchical compartmentalization is explained above with respect to Figure 3. Thus, compartmentalization depth corresponds to the number of compartmentalization steps performed to obtain a particular compartmentalization level, starting with a CTU having a compartmentalization depth of 0 corresponding to level 0 (or layer 0), and reaching the depth of the coding unit.

[0097] In the case of an unbounded CTU, the hierarchical depth of a coding unit is limited so that it cannot exceed a maximum hierarchical depth according to a setting such as the SPS setting. For example, the setting may set different limits for the partitioning depth of quadtree partitions and multi-type partitions, respectively. For example, a CTU partitioning may include both QT partitions and MTT partitions (such as BT, TT, and ABT partitions) in different subblocks at different levels or at the same level, since depth limits may be set separately for QT partitioning steps and MTT partitions. For example, the unbounded MTT maximum depth may correspond to the current VTM parameter MaxBTTDepth, or it may be redefined and named, for example MaxMTTDepth, and apply to all MTT partition types such as BT, TT, etc. Thus, the depth limit, i.e., the maximum overall depth of a CTU partition, may be the sum of the respective depth limits for QT partitions and MTTs (e.g., BTT).

[0098] On the other hand, with respect to boundary CTUs, this disclosure provides a depth limit given by the following equation (2). TotalBPDepthLim=QTDepth+ExtdMaxBTTDepth(2)

[0099] As can be understood from equation (2), the depth limit of a boundary CTU, also referred to in this disclosure as boundary partition depth, generally consists of the QT partition depth and the MTT partition depth (which is not limited to binary and ternary partitions, and the name ExtdMaxBttDepth should be considered merely an example). The QT depth may be the same QT depth used in equation (1) in the case of forced QT partitions. However, equation (2) differs from equation (1) by the boundary multi-type partition maximum depth ExtdMaxBTTDepth (extended binary / ternary tree maximum depth), which may alternatively be called, for example, “ExtdMaxMTTDepth”.

[0100] In accordance with the apparatus 800, a further aspect of the present disclosure provides a method for segmenting an image into coding units. The method includes the step of subdividing an image into coding tree units (CTUs), wherein the CTUs include non-boundary CTUs having predetermined sizes in the horizontal and vertical directions, and boundary CTUs having portions of the image separated by horizontal or vertical image boundaries, wherein the portions are smaller than a predetermined size in the direction perpendicular to the image boundaries. The method further includes the step of hierarchically segmenting the non-boundary CTUs and boundary CTUs into their respective coding units, wherein the hierarchical segmentation of non-boundary CTUs includes multi-type segmentation having a non-boundary multi-type segmentation maximum depth, where the multi-type segmentation is a segmentation whose segmentation direction is either vertical or horizontal. The hierarchical segmentation of boundary CTUs includes multi-type segmentation having a boundary multi-type segmentation maximum depth.

[0101] The following describes some exemplary embodiments of the present disclosure that further illustrate both the apparatus 800 and the corresponding method for dividing an image into coding units.

[0102] Embodiment 1 As explained above, HEVC or VTM-1.0 uses forced QT for boundary CTU partitioning, so there is no need to define a separate BTT depth limit for boundary partitioning. In HEVC or VTM-1.0, the parameter MaxBttDepth from equation (1) applies to both boundary and non-boundary cases.

[0103] However, since CE1 begins to include BT or TT as boundary divisions, the limitation of MaxBTTDepth of the boundary by equation (1) may not be appropriate for the reasons described above in relation to SubCE2. Embodiment 1 defines a new MaxBTTDepth that is used only for boundary divisions when the MTT division structure is included in the boundary division.

[0104] This disclosure provides a new definition of a boundary segmentation MTT depth in hybrid video coding. As mentioned, this boundary multitype segmentation maximum depth can be calculated or predefined. Embodiment 1 provides several exemplary methods for calculating the boundary multitype segmentation maximum depth.

[0105] In Embodiment 1, the maximum boundary multitype division depth is the sum of at least the adaptive boundary multitype division depth and the predefined multitype division depth. The adaptive boundary multitype division depth is the depth of the multitype division where the division direction is the direction of the image boundary.

[0106] Therefore, in order to maintain the flexibility of boundary block division, it is proposed to perform fair treatment of the overall depth limit of blocks located at boundary CTUs, with fairness being compared to QT division in JEM picture boundary processing as defined by equation (1). , exactly MTT partitioning of boundary CTUs dea ru.

[0107] For this purpose, the boundary MTT segment maximum depth used in equation (2) is redefined as follows: ExtdMaxBTTDepth=BTTBPDepth+MaxBTTDepth(3)

[0108] In this context, the boundary MTT segmentation maximum depth, expressed as ExtdMaxBTTDepth, can be derived from equation (1) or (2). Therefore, the overall segmentation depth limit of the boundary CTU is redefined as follows: TotalBPDepthLim=QTDepth+(BTTBPDepth+MaxBTTDepth)(4)

[0109] In equations (3) and (4), the adaptive boundary multitype partitioning depth BTTBPDepth of this embodiment 1 is determined at each layer, and thereby ExtdMaxBTTDepth also changes depending on the partitioning layer, i.e., the layer of coding blocks for each partitioning step and the layer of the resulting CUs that are ultimately coded and decoded. For example, the adaptive boundary multitype partitioning depth may be selected to be the same for different MTT partitioning modes such as BT / TT / ABT boundary partitioning. The adaptive boundary multitype partitioning depth is re-determined (i.e., increased) at each partitioning layer, regardless of whether BT, TT, ABT, or any other MTT partitioning type is performed at that layer. As with QT partitioning, the absolute depth limit may arise from a predetermined minimum CU size, e.g., the SPS parameter minCUSize mentioned above. For a BT partitioning step, the depth is increased by 1 for each partition block resulting from the step. In the case of TT partitioning, according to VTM-1.0, the depth is increased by 1 for half-size blocks and by 2 for quarter-size blocks in order to establish the relationship between the depth and size of the coding units and to ensure compatibility between BT partitioning and TT partitioning.

[0110] As mentioned above, the adaptive multitype partitioning depth is the depth where the partitioning direction is the direction of the image boundary. This means that the partitioning lines that divide a block of a corresponding layer into two, three, or more blocks of a later, deeper layer have the same direction as the image boundary through which the partitioning boundary CTU is being divided, i.e., they are parallel. However, partitioning / partitioning steps in a partitioning direction perpendicular to the picture boundary do not contribute to the value of the adaptive multitype partitioning depth. In particular, if the picture boundary is a horizontal boundary, only steps in the horizontal partitioning direction are counted by the adaptive multitype partitioning depth. Instead, if the picture boundary is a vertical boundary, only steps where the partitioning direction is perpendicular are counted. This is understood in the partitioning examples shown in Figures 10 and 11.

[0111] However, this disclosure is also applicable to boundary CUs and boundary partition blocks within a partitioning hierarchy of boundary CTUs located at both horizontal boundaries (e.g., lower boundary) and vertical boundaries (e.g., right-side boundary), e.g., lower-right CTU. In this case, the step MTT steps in both partitioning directions are counted by the BTTBPDepth term of equation (3) or by separate respective variables.

[0112] On the other hand, as can be understood from equations (3) and (4), the non-adaptive term in the bounded multitype parsing maximum depth (i.e., the predefined multitype parsing depth) may be equal to, for example, the non-bounded multitype parsing maximum depth. However, the disclosure is not limited thereto. For example, if an additional predefined multitype bounded parsing depth parameter should be defined, it may be beneficial to set this parameter to a smaller value (for example, to save one or more bits).

[0113] Figure 10 shows a first example of boundary partitioning using binary tree partitioning, in particular an example of lower boundary partitioning using BT. The starting point shown on the left side of the upper half of the figure indicates the boundary CTU and the lower picture boundary (thick solid line) passing through the boundary CTU. Furthermore, in the upper right corner of the CTU there is a marked block object obtained by image partitioning. The right side of the upper half of the figure shows the final partitioning (i.e., partitioning pattern) into which the boundary CTU is partitioned. However, in this first example and the example shown in Figure 10, only the partitioning step of MTT (in particular BTT) is considered. According to equation (4), QT partitioning may be performed in a further step preceding the MTT partitioning step. Thus, the starting point does not necessarily have to be a CTU, but could be, for example, a square coding block with a depth greater than 0 (equal vertical and horizontal size) resulting from QT partitioning.

[0114] The lower half of Figure 10 shows the segmentation steps 1 to 3 that segment the boundary CTU from the starting point to the final segmentation. In this, the thick solid lines are picture boundaries, and the BTT boundaries and CTU segmentations are shown as solid lines (inside the boundary) or dashed lines (outside the boundary), and the dotted lines (of step 3) are the "normal" segmentations of the BTT (i.e., segmentations that are vertical are not boundary segmentations whose segmentation direction is the direction of the image boundary). If MaxBTTDepth (limit is 3 in VTM) is used according to equation (1), there are three MTT segmentation steps, so the upper right object block of the CTU cannot be further segmented, and therefore CurrentBTTDepht(3)>=MaxBTTDepth(3) (CurrentBTTDepth is the depth of BTT segmentation in the current step, corresponding to the number of steps in which BTT segmentation is performed).

[0115] According to Embodiment 1, in step 1, there is one layer of (BTT) boundary partitioning (i.e., partitioning where the partitioning direction is the direction of the boundary). Therefore, BTTBPDepth = 1. Thus, from equation (3), we get ExtdMaxBTTdepth = BTTBPDepth + MaxBTTDepth = 1 + 3 = 4 (in SPS, MaxBTTDepth is set to 3). The maximum BTT depth layer (boundary multitype partitioning maximum depth) in step 1 is 4, and since the block has already been partitioned once, the partitioned block can be partitioned three more times according to the ExtdMaxBTTdepth set in step 1 according to the boundary multitype partitioning maximum depth.

[0116] In step 2, there are two layers of boundary partitioning obtained by the BP (Boundary Partitioning) performed so far, with BTTBPDepth = 2. Thus, from equation (3), we get ExtdMaxBTTdepth = BTTBPDepth + MaxBTTDepth = 2 + 3 = 5 (in SPS, MaxBTTDepth is set to 3). The new maximum BTT depth layer (boundary multitype partitioning maximum depth) in step 2 is 5 (calculated from the starting point (a)), and since the block has already been partitioned twice, the partitioned block can be partitioned three more times according to the boundary multitype partitioning maximum depth. It can be seen that the boundary partitioning (i.e., the partitioning direction is horizontal and in the same direction as the image boundary direction), BTTBPDepth, and therefore ExtdMaxBttDepth have increased by 1 from step 1 to step 2.

[0117] In step 3, further BT partitioning is performed. However, this final partitioning has a partitioning direction that is not in the direction of the image boundary, and in particular, the partitioning direction of step 3 is perpendicular to the image boundary. For this reason, step 3 does not contribute to the value of BPBPDepth. Thus, there are still two layers of BTT BP, and BTTTBPDepth = 2. As shown below, ExtdMaxBTTdepth = BTTTBPDepth + MaxBTTDepth = 2 + 3 = 5 (in SPS, MaxBTTDepth is set to 3). As explained, in adaptive multitype partitioning depth, only the depth of multitype partitioning (number of steps / layers) where the partitioning direction is in the direction of the image boundary contributes. However, the boundary multitype partitioning maximum depth is a limit of MTT boundary partitioning. Thus, the maximum depth layer of step 3 remains 5 (calculated from the starting point), and since the block has already been partitioned 3 times (here, all partitions, not just BP, are considered), the partitioned block can be BTT partitioned 2 more times.

[0118] Figure 11 shows a second example of MTT segment maximum depth calculation. In this figure, as in Figure 10, thick solid lines are picture boundaries, and solid lines (inside) or dashed lines (outside) are CTU boundaries or BTT boundary segments. There are marked objects located inside the boundary CTU (i.e., target coding blocks obtained by MTT segmentation). To obtain the final segmentation pattern in the upper right portion of the figure, four segmentation steps must be performed, as shown in steps 1 through 4 of the figure.

[0119] If MaxBTTDepth is used according to Equation 1 and is limited to 3 as in the case of VTM, then CurrentBTTDepht(4) >= MaxBTTDepth(3), so the marked target block (of MTT depth 4) cannot be retrieved and further partitioned.

[0120] In step 1 of Figure 11, there is one layer of BTT BP with BTTBPDepth = 1. Therefore, ExtdMaxBTTdepth = BTTBPDepth + MaxBTTDepth = 1 + 3 = 4 (in SPS, MaxBTTDepth is set to 3). The maximum BTT depth layer in step 1 is 4, and since the block has already been partitioned once, the partitioned block can be partitioned three more times using BTT.

[0121] In step 2 of Figure 11, there are two layers of BTT BP, and BTTBPDepth = 2. Therefore, ExtdMaxBTTdepth = BTTBPDepth + MaxBTTDepth = 2 + 3 = 5. The maximum BTT depth layer in step 2 is 5, and since the block has already been partitioned once, the partitioned block can be further partitioned three more times using BTT.

[0122] In step 3 of Figure 11, there are three layers of BTT BP, and BTTBPDepth = 3. Therefore, ExtdMaxBTTdepth = BTTBPDepth + MaxBTTDepth = 3 + 3 = 6. The maximum BTT depth layer in step 2 is 6, and since the block has already been partitioned once, the partitioned block can be partitioned three more times using BTT.

[0123] Furthermore, in step 4, there are four layers of BTT partitioning. ExtdMaxBTTdepth = BTTBPDepth + MaxBTTDepth = 4 + 3 = 7. The maximum depth layer in step 4 is 7 (calculated from the starting point (a)), and since the block has already been partitioned four times, the partitioned block can be partitioned up to three more times.

[0124] In boundary multitype segmentation maximum depth, all segmentations are considered and restricted, not just BPs where the segmentation direction is the direction of the boundary. However, in all the steps of the example shown in Figure 11, multitype segmentation is performed where the segmentation direction is the direction of the image boundary. Therefore, in each of these steps, the value of adaptive boundary multitype segmentation depth (BTTBPDepth in this example) is increased by 1.

[0125] By adapting the depth limit of boundary multi-type partitioning to the number of partitioning steps where the partitioning direction is the same as the boundary, this disclosure facilitates a partitioning pattern of coding units that more practically approximates the rest of the CTU in the vicinity of the image boundary. In particular, the number of coding units for boundary CTUs / parts can be reduced, in contrast to using QT partitioning alone.

[0126] Embodiment 2 According to Embodiment 1 described above, the boundary multitype parsing maximum depth (e.g., given as ExtdMaxBTTDepth) is the sum of at least the adaptive boundary multitype parsing depth and the predefined multitype parsing depth. Here, according to Embodiment 2, this sum further includes a function of the ratio of the size of the boundary parsing block of the boundary CTU in the direction of the image boundary to the size in the direction perpendicular to the image boundary. In this, the boundary parsing block is a block of the adaptive boundary multitype parsing depth.

[0127] In this disclosure, the term “partition block” refers to a CTU or block resulting from the division of lower-level blocks / units. Therefore, a partition block is not limited to the topmost CTU of a hierarchical partition or coding unit, which is the final result of the hierarchical partitioning being encoded / decoded, but also includes blocks obtained in intermediate partitioning steps such as steps 1 and 2 in Figure 10 or steps 1 through 3 in Figure 11. Furthermore, a “boundary partition block” is a partition block located at an image boundary (an image boundary through a block), similar to how a boundary CTU is located at a boundary.

[0128] If the boundary in question is a horizontal image boundary, the size ratio mentioned above is the ratio of the horizontal size (width) to the vertical size (height) of the divided boundary block. On the other hand, if the image boundary is vertical, this ratio is obtained by dividing the height by the width of the boundary block.

[0129] For example, the function of the ratio may be a binary logarithmic log2 ratio. In Embodiment 1, the overall depth limit is considered a criterion for defining the BTT limit of the boundary block. Embodiment 2, compared with the calculation of the MTT BP depth limit using Equation 1, specifically considers the reachable size of the coding unit as a fairness criterion (i.e., fairness between the QT partition and the MTT partition). Thus, the boundary multi-type partition maximum depth is extended according to Equation (5) below. ExtdMaxBTTDepth=log2Ratio+BTTBPDepth+MaxBTTDepth(5) However, Ratio indicates the ratio of width to height (width / height if the boundary is horizontal, or height / width if the boundary is vertical).

[0130] An example of boundary partitioning according to Embodiment 2 is shown in Figure 12. Part (a) of the figure shows boundary partitioning of VTM-1.0 using forced QT, while part (b) of Figure 1 shows boundary partitioning using BT. As in Figures 10 and 11, solid lines (inside the boundary), dashed lines show CTU and boundary partitioning (the partitioning direction is the boundary direction), and dotted lines show partitioning where the partitioning direction is not the same as the boundary direction. In part (a) of Figure 12, since MaxBTTDepth from SPS is set to 3 in the VTM-1.0 configuration, the marked block in the upper left of the CTU could potentially be further partitioned with three additional levels of BT, although no BT partitioning has been performed so far. In part (b), it is also possible to partition the marked block in the upper left of the CTU with three further levels of BT (or other MTT types), and therefore the ExtdMaxBTTDepht of the marked block is obtained from equation (5) as follows: ExtdMaxBTTDepth=log2(boundary partition block ratio(4))+BTTBPdepth(2)+MaxBTTDepth(3)=7

[0131] In the current embodiment 2 shown in part (b) of Figure 12, according to ExtendedMaxBTTDepth, which indicates the maximum depth of the boundary multi-type partition, the marked block can potentially be divided into three further levels of BT (ExtdMaxBTTDepht(7)-CurrentBTDepht(4))=3.

[0132] Here, it is assumed that the marked block was obtained by two BT partitioning steps where the partitioning direction is the boundary direction, followed by two BT steps where the partitioning direction is perpendicular to the boundary partition, and the resulting current BT depth is equal to 4. However, this disclosure is not limited to MTT partitioning, which is BTT partitioning. Further partitioning modes may be used, for example, in which four partitioned blocks are obtained in a single step where the partitioned block is partitioned three or more times in the same partitioning direction (such a partitioning mode in which four partitioned blocks are obtained may be called SplitInto4, which is different from QT partitioning, although four partitioned blocks are also obtained in one step). In the example in Figure 12, if the last two BT partitioning steps were replaced with one SplitInto4 partitioning step, the resulting current MTT depth would be 3 instead of 4.

[0133] Furthermore, in MTT, the counted hierarchical depth can be determined in relation to the resulting block size of the smallest resulting partition. For example, in the current TT embodiment of VTM-1.0, a block is divided into 1 / 4, 1 / 2, and 1 / 4 subblocks / partition blocks. In the first and third partition blocks, the depth is counted twice in VTM-1.0 to ensure that the depth is equally valid in both BT and TT (and the ABT step may also be counted twice in the smaller of the resulting partition blocks). Thus, to ensure compatibility with BT partitioning, a single SplitInto4 step may also be counted as two steps. In this way, the resulting block size of a partition block / coding unit can be understood from the depth. However, in several other possible ways, each step may be counted once, for example, if it is guaranteed that the respective partitioning type is known from some variables.

[0134] Note that in equation (5), especially when BT segmentation is applied (as shown in part (b) of Figure 12), the binary logarithm of the right-hand boundary segmentation block ratio (the first term) may be the same as the MTT BP depth (the second term).

[0135] It should be further noted that this disclosure is not limited to functions of boundary partition blocks that are binary logarithms. For example, the quantitative itself (identity function) may be used, or the ratio may be multiplied by a constant or some adaptive parameter, for example.

[0136] Embodiment 3 Embodiments 1 and 2 described above illustrate how the boundary multitype partition maximum depth can be calculated. In contrast, in Embodiment 3, the boundary multitype partition maximum depth is predefined (i.e., it is fixed). A predetermined value may be provided as the term BTTBPDepth in equation (4), or it may replace MaxBttDepth in an equation such as equation (1) for the boundary CTU.

[0137] For example, such a fixed boundary multi-type partition maximum depth can be obtained from bitstream signaling. For instance, it can be signaled within a set of control parameters common to one or more video frames, such as PPS, SPS, VPS in HEVC. It can also be signaled once per entire video sequence. Signaling may involve further coding of parameters, such as differential coding, predictive coding, entropy coding, or any other embedding into the bitstream.

[0138] However, as described above, the present disclosure, including embodiments 1 to 3, is not limited to a fixed, bitstream-signaled boundary multi-type partition maximum depth. It can also be derived, for example, based on one or more parameters transmitted in the bitstream (such as MaxBTTDepth of SPS) and / or internal variables such as BTTBPDepth or QTDepth as mentioned above. However, the derivation may also be based on standard or signaled predefined relationships.

[0139] While some examples (including Equations 1 to 5) refer to BTT partitioning and the variables are named accordingly (e.g., BTTBPDepth, MaxBTTDepth), this disclosure is also applicable to other types of MTT partitioning, such as ABT (Asymmetric Bipartitioning) partitioning (where a partitioned block is divided into two or more partitioned blocks of different sizes, such as 1 / 4 and 3 / 4, in one partitioning step) or SplitInto4Mode, as mentioned in relation to part (b) of Figure 12. Thus, the variables may be named differently, for example, BTTBPDepth, MaxBTTDepth, etc. Therefore, the present invention facilitates providing flexibility for picture boundary processing using alternative multi-type partitioning modes in addition to QT partitioning, regardless of the specific MTT partitioning mode used.

[0140] However, in some embodiments, in addition to MTT partitioning, hierarchical partitioning of boundary CTUs (and hierarchical partitioning of non-boundary CTUs) may further include QT partitioning. This can be understood from equation (4), which defines the overall boundary partitioning maximum depth as the sum of the boundary multi-type partitioning maximum depth (term in parentheses) and the QT partitioning depth (internal variable QTDepth). For example, as in the case of VTM-1.0, quatanari partitioning may be performed before MTT partitioning; that is, the QT partitioning step is performed, followed by the MTT partitioning step. However, the disclosure is not limited thereto, and it is also applicable to configurations in which QT partitioning is performed after MTT partitioning. Thus, as mentioned, the starting points in Figures 10 and 11 do not have to be CTUs, but may be partition blocks obtained from one or more previous partitioning steps.

[0141] Furthermore, according to this disclosure, the boundary multitype division maximum depth may be greater than or equal to the non-boundary multitype division maximum depth. For example, if no multitype division is performed in a boundary CTU where the division direction is the boundary direction, the boundary multitype division maximum depth may be equal to the non-boundary multitype division maximum depth. In this case, there is no division step in which the internal variable BTTBPDepth (or MTTBPDepth) is incremented. Nevertheless, the apparatus for dividing an image into coding units performs the determination of the non-boundary multitype division depth and the boundary multitype division maximum depth in different ways, as described.

[0142] However, in Embodiment 3, where the maximum depth of boundary multi-type partitioning is predetermined, the predetermined value must be greater than the maximum depth of non-boundary multi-type partitioning in order to enable greater flexibility in MTT partitioning at boundary CTUs.

[0143] A flowchart of the BT / TT (or MTT in general) maximum depth extension of this disclosure is shown in Figure 13. The condition “Is there a CTU at the boundary?” indicates whether the current CTU / CU is located inside a CTU that is located at the boundary. If this condition is false (N), the normal MaxBTTDepth from the SPS is used as the non-boundary multitype partition depth to limit the possible BT / TT (or other MTT) maximum depth. Otherwise, MaxBttdepth is extended and determined according to any embodiment of this disclosure.

[0144] As mentioned, the device 800 for splitting an image may be incorporated into a video encoding device 100 or a decoding device 200, as shown in Figures 1 and 2. Thus, the present invention further provides a device 100, i.e., an encoding device, for encoding images of a video sequence. The encoding device 100 comprises a device 800 for splitting an image according to any embodiment described herein, an image coding unit for encoding coding units, and a bitstream forming unit configured to generate a bitstream containing the encoded coding units and segmentation information indicating how the coding tree units have been segmented.

[0145] In particular, the partitioning information may include information indicating which partitioning type mode from among QT and several MTT partitioning modes is applied for each CTU or for a partitioning block in an intermediate step. For example, for each partition of a partitioning block or CTU, a parameter indicating the partitioning mode may be included in the bitstream. Alternatively, a specific partitioning mode may be enforced.

[0146] Note that the segmentation modes for boundary CTUs and non-boundary CTUs may differ. For example, as illustrated above, the segmentation mode can be signaled on a CTU basis (and / or segment block basis) for both boundary and non-boundary CTUs. Alternatively, the segmentation mode for all CTUs within a particular boundary (vertical or horizontal) may be the same and set within the signaling associated with one or more video pictures.

[0147] However, the partitioning mode of a boundary CTU may be determined in a different way than the partitioning mode of a non-boundary CTU. For example, a predetermined partitioning mode may be enforced with respect to boundary CTUs (and partition blocks); that is, the standard may define an algorithm for determining a fixed partitioning mode, or the partitioning mode of a boundary CTU, based, for example, on the boundaries and / or size and / or position within the partitioning mode of adjacent CTUs.

[0148] In response to this, the Disclosure further provides a method for encoding images of a video sequence. The method includes the steps of a method for dividing an image according to any embodiment described herein, an image coding step for encoding coding units, and a bitstream forming step for generating a bitstream containing the encoded coding units and segmentation information indicating how the coding tree units have been segmented.

[0149] Also provided are an apparatus 200 and a method for decoding images of a video sequence. When incorporated into the decoding apparatus 200, the apparatus 800 is used to determine the division of the image (to be decoded) into coding units. The decoding apparatus 200 includes a bitstream parser for analyzing a bitstream containing encoded coding units, an apparatus 800 for determining the division of the image according to one of the embodiments, and an image decoding unit for decoding the encoded coding units based on the determined image division.

[0150] In response to this, a method for decoding an image includes the steps of: analyzing a bitstream containing encoded coding units; determining the division of the image according to any embodiment of the present disclosure; and decoding the encoded coding units based on the determined division of the image.

[0151] On the decoder side, the maximum BT / TT depth is extended by the boundary CTU / CU, i.e., the boundary multi-type segmentation maximum depth is used for the boundary CTU being decoded. The extension may be simply analyzed from the SPS or may be derived based on specific conditions. Based on Embodiment 1, the maximum BTT depth may be extended by the BTT boundary segmentation depth. Also, based on Embodiment 2, the maximum BTT depth may be extended by the ratio of boundary segmentation blocks and the BTT boundary segmentation depth.

[0152] In encoding and decoding video images by encoders / decoders and their respective encoding / decoding methods, if the division (or determination of division) is performed according to Embodiment 3, the boundary multitype division maximum depth is predefined. In this case, the encoded / decoded bitstream may further include an encoding sequence parameter set containing the boundary multitype division maximum depth. On the decoder side, the device 800 for determining the division of the image may then be further configured to obtain a second multitype division maximum depth from the sequence parameter set.

[0153] Figure 14 is a conceptual or schematic block diagram showing one embodiment of a coding system 300, for example, a picture coding system 300, which includes a source device 310 configured to provide encoded data 330, for example, an encoded picture 330, to a destination device 320 for decoding the encoded data 330.

[0154] The source device 310 comprises an encoder 100 or encoding unit 100, and may additionally, i.e., optionally, a picture source 312, a preprocessing unit 314, for example, a picture preprocessing unit 314, and a communication interface or communication unit 318.

[0155] Picture source 312 may include, or could include, any type of picture capture device for capturing, for example, a real-world picture, and / or any type of picture generation device, for example, a computer graphics processor for generating computer-animated pictures, or any type of device for acquiring and / or providing real-world pictures, computer-animated pictures (e.g., screen content, virtual reality (VR) pictures), and / or combinations thereof (e.g., augmented reality (AR) pictures). Hereafter, all of these types of pictures and any other types of pictures will be referred to as “picture” or “image” unless otherwise specified, and the previous explanation of the term “picture,” which includes “video picture” and “still picture,” still applies unless explicitly specified.

[0156] A (digital) picture can be considered, or may be considered, a two-dimensional array or matrix of samples having intensity values. A sample in the array may also be called a pixel (a shorter form of a picture element) or pel. The number of samples in the horizontal and vertical directions (or axes) of the array or picture defines the size and / or resolution of the picture. For color representation, typically three color components are used; that is, a picture may be represented by, or contain, an array of three samples. In RGB format or color space, a picture has arrays of corresponding red, green, and blue samples. However, in video coding, each pixel is typically represented in luminance / chrominance format or color space, e.g., YCbCr, where YCbCr includes a luminance component represented by Y (sometimes L is used instead) and two chrominance components represented by Cb and Cr. The luminance (or luma) component Y represents the intensity of the brightness or gray level (for example, in a grayscale picture), and the two chrominance (or chroma) components Cb and Cr represent the chromaticity or color information components. Therefore, a picture in YCbCr format contains a luminance sample array of luminance sample values ​​(Y) and two chrominance sample arrays of chrominance values ​​(Cb and Cr). An RGB picture can be converted to or transformed into YCbCr format, and vice versa; this process is also known as color conversion or color transformation. If the picture is monochrome, it may contain only a luminance sample array.

[0157] The picture source 312 may be, for example, a camera for capturing pictures, a memory containing or storing previously captured or generated pictures, such as picture memory, and / or any kind of interface (internal or external) for acquiring or receiving pictures. The camera may be, for example, a local or integrated camera integrated with the source device, and the memory may be, for example, local or integrated memory integrated with the source device. The interface may be, for example, an external video source, such as an external picture capture device like a camera, external memory, or an external picture generation device, such as an external computer graphics processor, computer, or server, and an external interface for receiving pictures. The interface may be any kind of interface, such as a wired or wireless interface conforming to a proprietary or standard interface protocol, or an optical interface. The interface for acquiring picture data 313 may be the same interface or part of the communication interface 318. The communication interface may be any interface, such as a wired or non-wired interface such as Ethernet, WLAN, Bluetooth, LTE, or satellite or optical interface. Transmission may be peer-to-peer, broadcast, or multicast.

[0158] To distinguish it from the preprocessing unit 314 and the processing performed by the preprocessing unit 314, the picture or picture data 313 may also be referred to as the raw picture or raw picture data 313.

[0159] The preprocessing unit 314 is configured to receive (raw) picture data 313 and perform preprocessing on the picture data 313 to obtain a preprocessed picture 315 or preprocessed picture data 315. Preprocessing performed by the preprocessing unit 314 may include, for example, cropping, color format conversion (e.g., from RGB to YCbCr), color correction, or noise reduction.

[0160] The encoder 100 is configured to receive the pre-processed picture data 315 and provide the encoded picture data (further details are illustrated, for example, with reference to Figure 1).

[0161] The communication interface 318 of the source device 310 may be configured to receive the encoded picture data for storage or direct reconstruction and to send it directly to another device, such as the destination device 320 or any other device, or to process the encoded picture data for decoding or storage before storing the encoded data 330 and / or before sending the encoded data 330 to another device, such as the destination device 320 or any other device, respectively.

[0162] The destination device 320 comprises a decoder 200 or decoding unit 200 and may additionally, i.e., optionally, a communication interface or communication unit 322, a post-processing unit 326, and a display device 328.

[0163] The communication interface 322 of the destination device 320 is configured to receive encoded picture data or encoded data 330, for example, directly from the source device 310 or from any other source, such as memory, such as memory of encoded picture data.

[0164] Communication interfaces 318 and 322 may be configured to transmit and receive encoded picture data or encoded data 330, respectively, via a direct communication link between source device 310 and destination device 320, for example, via a direct wired or wireless connection, or via any type of network, for example, a wired (optical, power line, Cooper, coaxial, or based on any other medium) or wireless network or any combination thereof, or any type of private and public network or any combination thereof.

[0165] The communication interface 318 may be configured to package the encoded picture data into a suitable format for transmission over a communication link or communication network, such as a packet, and may further include data loss protection and data loss recovery.

[0166] The communication interface 322, which forms a counterpart to the communication interface 318, may be configured, for example, to depackage encoded data 330 in order to obtain encoded picture data, and may also be configured to perform data loss protection and data loss recovery, for example, error concealment.

[0167] Both communication interface 318 and communication interface 322 may be configured as unidirectional or bidirectional communication interfaces, as indicated by the arrows in the encoded picture data 330 in Figure 14, pointing from source device 310 to destination device 320, for example, to send and receive messages, for example, to set up a connection, to check and / or retransmit lost or delayed data including picture data, and to exchange any other information relating to the communication link and / or data transmission, such as the transmission of encoded picture data.

[0168] The decoder 200 is configured to receive encoded picture data and provide decoded picture data or the decoded picture (further details are explained with reference to, for example, Figure 2).

[0169] The post-processor 326 of the destination device 320 is configured to post-process the decoded picture data, e.g., the decoded picture, in order to obtain the post-processed picture data 327, e.g., the post-processed picture 327. The post-processing performed by the post-processing unit 326 may include, for example, color format conversion (e.g., from YCbCr to RGB), color correction, cropping, or resampling, or any other processing to prepare the decoded picture data for display by, for example, the display device 328.

[0170] The display device 328 of the destination device 320 is configured to receive post-processed picture data 327 for displaying the picture to, for example, a user or viewer. The display device 328 may be, or comprise, any type of display for representing the reconstructed picture, such as an integrated or external display or monitor. The display may comprise any other type of display, such as a cathode ray tube (CRT), liquid crystal display (LCD), plasma display, organic light-emitting diode (OLED) display, or BEAMA, hologram, or 3D / VR glasses.

[0171] Although Figure 14 shows the source device 310 and the destination device 320 as separate devices, the device embodiments may also include both or both functions, such as the source device 310 or its corresponding function and the destination device 320 or its corresponding function. In such embodiments, the source device 310 or its corresponding function and the destination device 320 or its corresponding function may be implemented using the same hardware and / or software, or by separate hardware and / or software, or any combination thereof.

[0172] As will be apparent to those skilled in the art based on the description, the presence and (exact) division of different units or functions within the source device 310 and / or destination device 320, as shown in Figure 14, may be modified depending on the actual device and application.

[0173] Therefore, the source device 310 and destination device 320 shown in Figure 14 are merely exemplary embodiments of the present invention, and embodiments of the present invention are not limited to those shown in Figure 14.

[0174] The source device 310 and destination device 320 may include any wide range of devices, including any type of handheld or fixed device, such as a notebook or laptop computer, a mobile phone, a smartphone, a tablet or tablet computer, a camera, a desktop computer, a set-top box, a television, a display device, a digital media player, a video gaming console, a video streaming device, or a broadcast receiver device, and may or may not use an operating system.

[0175] Figure 15 is a schematic diagram of a video coding device 1000 according to one embodiment of the present disclosure. The video coding device 1000 is suitable for carrying out the disclosed embodiments, such as those described herein, for example, as an encoder or decoder. The video coding device 1000 comprises an input port 1010 and a receiver unit (Rx) 1020 for receiving data, a processor, logic unit, or central processing unit (CPU) 1030 for processing data, a transmitter unit (Tx) 1040 and an output port 1050 for transmitting data, and a memory 1060 for storing data. The video coding device 1000 may also comprise optical-electrical (OE) components and electrical-optical (EO) components coupled to the input port 1010, receiver unit 1020, transmitter unit 1040, and output port 1050 for outputting or inputting optical or electrical signals.

[0176] This disclosure may be implemented in a device. Such a device may be a combination of software and hardware. For example, intra-prediction and deblocking filtering may be performed by a chip such as a general-purpose processor, or a digital signal processor (DSP), or a field-programmable gate array (FPGA). However, the present invention is not limited to implementation on programmable hardware. It may be implemented on an application-specific integrated circuit (ASIC) or by a combination of the hardware components mentioned above.

[0177] This disclosure further provides a computer-readable medium storing instructions that, when executed by a processing circuit, cause the processing circuit to perform one of the disclosed methods for splitting, encoding, and decoding an image. The computer-readable medium may be any medium on which a program is stored, such as a DVD, CD, USB (flash) drive, hard disk, or server storage accessible via a network.

[0178] The encoder and / or decoder may be implemented in various devices, including TV sets, set-top boxes, PCs, tablets, or smartphones. It may also be software or an app that implements the method steps.

[0179] In summary, this disclosure provides an apparatus and method for partitioning an image into coding units. The image is partitioned into hierarchically partitioned coding tree units (CTUs). Hierarchical partitioning includes multi-type partitioning, such as partitioning a binary or quadtree. A multi-type partitioning depth is selected for CTUs that are entirely within the image and CTUs on the boundary. This disclosure provides flexibility in multi-type partitioning at the boundary portions of the image. [Explanation of Symbols]

[0180] 100 encoders, video encoding devices 110 division units 120 residual blocks 125 Reconstructor 130 Conversion Unit 135 Reverse Conversion Unit 140 Quantization Units 145 Inverse Quantization Unit 150 Entropy encoding unit, Entropy encoding unit 160 Loop Filtering Units 170 Frame buffer, reference picture buffer 180 Mode Selection Unit 190 Intra Prediction Units 195 Interpretation Units 200 video decoders, decoding devices 225 Reconstructor 230 Reverse Conversion Unit 240 Inverse Quantization Units 250 bitstream analysis, entropy decoding, and partitioning units 260 Loop Filtering Unit 270 Reference Picture Buffer 290 Intra Prediction Units 295 Interpretation Units 300 Picture Coding System 310 Source Devices 312 Picture Source 313 Unprocessed picture data 314 Preprocessor, Picture Preprocessing Unit 315 Preprocessed picture data 318 Communication interface, communication unit 320 Destination Device 322 Communication interface, communication unit 326 Post-processors, Post-processing Units 327 Post-processed pictures 328 Display Devices 330 Encoded data A device for dividing 800 images into coding units. 810 Image division, frame division, function unit 820 Boundary Segmentation 900 Lower picture border 910 Boundary part 920 parts 950 pieces 1000 video coding devices 1010 Input Port 1020 Receiver Unit 1030 processor 1040 Transmitter Unit 1050 output ports 1060 memory 1070 Coding Module

Claims

1. A method for dividing an image into coding units, The step of subdividing the image into CTUs that include a non-boundary coding tree unit (CTU) having a predetermined size and a boundary CTU having a portion of the image separated by an image boundary, A step of hierarchically dividing the boundary CTU into respective coding units, wherein the hierarchical division of the boundary CTU includes a multitype division having a boundary multitype division maximum depth, the boundary multitype division maximum depth being the sum of an adaptive boundary multitype division depth and a predefined multitype division depth, the predefined multitype division depth being indicated in a sequence parameter set (SPS), and Methods that include...

2. The aforementioned method, The method according to claim 1, further comprising the step of hierarchically dividing the non-boundary CTU into respective coding units, wherein the hierarchical division of the non-boundary CTU includes a multi-type division having a maximum depth of non-boundary multi-type division.

3. The method according to claim 2, wherein the predefined multitype division depth is equal to the maximum non-boundary multitype division depth.

4. The method according to claim 1, wherein the image boundary is a horizontal or vertical image boundary, and the adaptive boundary multitype division depth is the depth of a multitype division having a division direction that is the direction of the horizontal or vertical image boundary.

5. The method according to claim 1, wherein the adaptive boundary multitype partitioning depth is increased by 1 if there is one layer of binary tree (BT) boundary partitioning (BP).

6. The method according to any one of claims 1 to 5, wherein the adaptive boundary multitype partitioning depth is increased by N if there are N layers of binary tree and ternary tree (BTT) boundary partitioning (BP).

7. The method according to claim 6, wherein N is equal to 1, 2, 3, or 4.

8. The method according to claim 1, wherein the boundary CTU is determined by comparing the sample position within the CTU with the vertical or horizontal image size within the sample.

9. A method for encoding images in a video sequence, The steps of dividing an image into coding units according to the method described in any one of claims 1 to 8, An image coding step for encoding the coding unit, A bitstream forming step that generates a bitstream including a bitstream containing segmentation information indicating how the encoded coding units and coding tree units are segmented. Methods that include...

10. A method for decoding images in a video sequence, The steps include: parsing the bitstream containing the encoded coding units, A step of determining the division of an image according to the method described in any one of claims 1 to 8, An image decoding step of decoding the encoded coding unit based on the determined division of the image, Methods that include...

11. A device for dividing an image into coding units, The image is subdivided into CTUs, which include a non-boundary coding tree unit (CTU) having a predetermined size and a boundary CTU having a portion of the image separated by an image boundary. The apparatus includes a processing circuit configured to hierarchically divide the boundary CTU into coding units, wherein the hierarchical division of the boundary CTU includes a multitype division having a boundary multitype division maximum depth, the boundary multitype division maximum depth being the sum of an adaptive boundary multitype division depth and a predefined multitype division depth, the predefined multitype division depth being indicated in a sequence parameter set (SPS).

12. The aforementioned processing circuit is The apparatus according to claim 11, further configured to hierarchically divide the non-boundary CTU into respective coding units, wherein the hierarchical division of the non-boundary CTU includes multi-type division having a maximum depth of non-boundary multi-type division.

13. The apparatus according to claim 12, wherein the predefined multi-type division depth is equal to the maximum non-boundary multi-type division depth.

14. The apparatus according to claim 11, wherein the image boundary is a horizontal or vertical image boundary, and the adaptive boundary multitype division depth is the depth of a multitype division having a division direction that is the direction of the horizontal or vertical image boundary.

15. The apparatus according to claim 11, wherein the adaptive boundary multitype partitioning depth is increased by 1 if there is one layer of binary tree (BT) boundary partitioning (BP).

16. The apparatus according to any one of claims 11 to 15, wherein the adaptive boundary multitype partitioning depth is increased by N if there are N layers of binary tree and ternary tree (BTT) boundary partitioning (BP).

17. The apparatus according to claim 16, wherein N is equal to 1, 2, 3, or 4.

18. The apparatus according to claim 11, wherein the boundary CTU is determined by comparing the sample position within the CTU with the vertical or horizontal image size within the sample.

19. A device for encoding images in a video sequence, An image splitting unit configured to split an image into coding units by performing the method described in any one of claims 1 to 8, An image coding unit configured to encode the aforementioned coding unit, A bitstream forming unit configured to generate a bitstream including the encoded coding unit and partitioning information indicating how the coding tree unit has been partitioned. A device equipped with the following features.

20. A device for decoding images in a video sequence, A bitstream parser for analyzing a bitstream containing encoded coding units, A division determination unit configured to determine the division of an image by performing the method described in any one of claims 1 to 8, An image decoding unit for decoding the encoded coding unit based on the determined division of the image, A device equipped with the following features.

Citation Information

Patent Citations

  • Coding video data using a two-level multi-type-tree framework

    US20170272782A1

  • Binary tree block partitioning structure

    WO2016090568A1

  • Method and device for encoding or decoding encoding unit of picture outline

    WO2018070550A1

  • Methods and apparatus for picture encoding and decoding

    WO2018177741A1

  • Apparatus and method for encoding and decoding a picture using picture boundary handling

    WO2019185456A1