Image encoding / decoding method and apparatus, and recording medium storing bitstream

The non-uniform binary-tree block partitioning method addresses inefficiencies in existing video compression by employing quad-tree and unequal binary-tree partitioning, improving compression efficiency and reducing information requirements.

WO2026245709A1PCT designated stage Publication Date: 2026-11-26LG ELECTRONICS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2026/096530
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-21
Filing Date
2026-04-30
Publication Date
2026-11-26

Smart Images

  • Figure KR2026096530_26112026_PF_FP_ABST
    Figure KR2026096530_26112026_PF_FP_ABST
Patent Text Reader

Abstract

An image decoding method and apparatus according to the present disclosure divide the current block into a plurality of sub-blocks by performing block partitioning, and reconstruct the plurality of sub-blocks, wherein the block partitioning includes binary-tree block partitioning, and the binary-tree block partitioning may be performed uniformly or non-uniformly.
Need to check novelty before this filing date? Find Prior Art

Description

Video encoding / decoding method and device, and a recording medium storing a bitstream

[0001] The present invention relates to a video encoding / decoding method and apparatus, and a recording medium storing a bitstream.

[0002] Recently, the demand for high-resolution, high-quality video, such as HD (High Definition) and UHD (Ultra High Definition) video, has been increasing across various application fields, and accordingly, high-efficiency video compression technologies are being discussed.

[0003] Various image compression technologies exist, such as inter-prediction technology that predicts pixel values ​​in the current picture from previous or subsequent pictures, intra-prediction technology that predicts pixel values ​​in the current picture using pixel information within the current picture, and entropy coding technology that assigns short codes to values ​​with high frequency and long codes to values ​​with low frequency; by utilizing these image compression technologies, image data can be effectively compressed for transmission or storage.

[0004] The present disclosure provides a non-uniform binary-tree block partitioning method and apparatus.

[0005] The present disclosure provides a method and apparatus for applying a combination of non-uniform binary-tree block partitioning types.

[0006] The present disclosure provides a method and apparatus for using quad-tree block partitioning, equitable binary-tree block partitioning, and / or a combination of binary-tree block partitioning and unequal binary-tree block partitioning.

[0007] An image decoding method and apparatus according to the present disclosure comprises the steps of: performing block partitioning to divide a current block into a plurality of sub-blocks; and restoring the plurality of sub-blocks, wherein the block partitioning includes binary-tree block partitioning, and the binary-tree block partitioning may be performed evenly or unequally.

[0008] In the image decoding method and apparatus according to the present disclosure, the block splitting may further include at least one of quad-tree block splitting or ternary-tree block splitting.

[0009] In the image decoding method and apparatus according to the present disclosure, the binary-tree block splitting may include at least one of a binary-tree block splitting with a 1:3 ratio or a binary-tree block splitting with a 3:1 ratio.

[0010] In the image decoding method and apparatus according to the present disclosure, the binary-tree block splitting of a 1:3 ratio includes at least one of a vertical binary-tree block splitting of a 1:3 ratio or a horizontal binary-tree block splitting of a 1:3 ratio, and the binary-tree block splitting of a 3:1 ratio may include at least one of a vertical binary-tree block splitting of a 3:1 ratio or a horizontal binary-tree block splitting of a 3:1 ratio.

[0011] In the image decoding method and apparatus according to the present disclosure, the binary-tree block splitting may further include at least one of a binary-tree block splitting with a 3:5 ratio, a binary-tree block splitting with a 5:3 ratio, a binary-tree block splitting with a 1:7 ratio, a binary-tree block splitting with a 7:1 ratio, a binary-tree block splitting with a 1:15 ratio, or a binary-tree block splitting with a 15:1 ratio.

[0012] In the image decoding method and apparatus according to the present disclosure, at least one of the types of binary-tree block partitioning available for performing the binary-tree block partitioning or the number of said types is determined based on a first flag indicating computational complexity signaled in the SPS, and said types may include at least one of a 1:3 ratio, a 3:1 ratio, a 3:5 ratio, a 5:3 ratio, a 1:7 ratio, a 7:1 ratio, a 1:15 ratio, or a 15:1 ratio.

[0013] In the image decoding method and apparatus according to the present disclosure, the step of performing block partitioning to divide the current block into a plurality of sub-blocks may include the step of performing binary-tree block partitioning unequally on the sub-blocks generated by performing binary-tree block partitioning evenly.

[0014] In the image decoding method and apparatus according to the present disclosure, the step of performing block partitioning to partition a current block into a plurality of sub-blocks may include the step of performing binary-tree block partitioning unequally on the sub-blocks generated by performing binary-tree block partitioning.

[0015] A video encoding method and apparatus according to the present disclosure comprises: a step of performing block partitioning to partition a current block into a plurality of sub-blocks; a step of generating a prediction block for the plurality of sub-blocks; a step of deriving transformation coefficients for the plurality of sub-blocks based on a residual block; and a step of encoding residual information regarding the transformation coefficients to generate a bitstream, wherein the block partitioning includes binary-tree block partitioning, and the binary-tree block partitioning may be performed evenly or unequally.

[0016] A computer-readable digital storage medium is provided that stores encoded video / image information that causes an image decoding method to be performed by a decoding device according to the present disclosure.

[0017] A computer-readable digital storage medium is provided that stores video / image information generated according to the image encoding method according to the present disclosure.

[0018] A method and apparatus for transmitting video / image information generated according to the image encoding method according to the present disclosure are provided.

[0019] According to the present disclosure, by providing a non-uniform binary-tree block partitioning method and apparatus, various block partitionings can be implemented and compression efficiency improved.

[0020] According to the present disclosure, by providing a method and apparatus for applying a combination of non-uniform binary-tree block partitioning types, various block partitionings can be implemented and the amount of information required for partitioning can be reduced, thereby improving compression performance.

[0021] According to the present disclosure, various block partitionings can be implemented and compression efficiency improved by providing a method and apparatus that use quad-tree block partitioning, equilibrium binary-tree block partitioning, and / or a combination of binary-tree block partitioning and unequal binary-tree block partitioning.

[0022] FIG. 1 illustrates a video / image coding system according to the present disclosure.

[0023] FIG. 2 shows a schematic block diagram of an encoding device to which an embodiment of the present disclosure can be applied and to which encoding of a video / image signal is performed.

[0024] FIG. 3 shows a schematic block diagram of a decoding device to which an embodiment of the present disclosure can be applied and to which decoding of a video / image signal is performed.

[0025] FIG. 4 illustrates a decoding method performed by a decoding device (300) as an embodiment according to the present disclosure.

[0026] FIG. 5 is a diagram illustrating a case in which a block is divided into multiple sub-blocks by recursively applying various block division types to a single block as an embodiment according to the present disclosure.

[0027] FIG. 6 is a diagram showing a case in which a block is divided through a combination of non-uniform binary-tree block division types as an embodiment according to the present disclosure.

[0028] FIG. 7 is a diagram showing a case in which a block is divided through a combination of non-uniform binary-tree block division types as an embodiment according to the present disclosure.

[0029] FIG. 8 illustrates a schematic configuration of a decoding device (300) that performs a decoding method according to the present disclosure.

[0030] FIG. 9 illustrates an encoding method performed by an encoding device (200) as an embodiment according to the present disclosure.

[0031] FIG. 10 illustrates a schematic configuration of an encoding device (200) that performs an encoding method according to the present disclosure.

[0032] FIG. 11 shows an example of a content streaming system to which embodiments of the present disclosure can be applied.

[0033] An image decoding method and apparatus according to the present disclosure comprises the steps of: performing block partitioning to divide a current block into a plurality of sub-blocks; and restoring the plurality of sub-blocks, wherein the block partitioning includes binary-tree block partitioning, and the binary-tree block partitioning may be performed evenly or unequally.

[0034] In the image decoding method and apparatus according to the present disclosure, the block splitting may further include at least one of quad-tree block splitting or ternary-tree block splitting.

[0035] In the image decoding method and apparatus according to the present disclosure, the binary-tree block splitting may include at least one binary-tree block splitting with a 1:3 ratio or a binary-tree block splitting with a 3:1 ratio.

[0036] In the image decoding method and apparatus according to the present disclosure, the binary-tree block splitting of a 1:3 ratio includes at least one of a vertical binary-tree block splitting of a 1:3 ratio or a horizontal binary-tree block splitting of a 1:3 ratio, and the binary-tree block splitting of a 3:1 ratio may include at least one of a vertical binary-tree block splitting of a 3:1 ratio or a horizontal binary-tree block splitting of a 3:1 ratio.

[0037] In the image decoding method and apparatus according to the present disclosure, the binary-tree block splitting may further include at least one of a binary-tree block splitting with a 3:5 ratio, a binary-tree block splitting with a 5:3 ratio, a binary-tree block splitting with a 1:7 ratio, a binary-tree block splitting with a 7:1 ratio, a binary-tree block splitting with a 1:15 ratio, or a binary-tree block splitting with a 15:1 ratio.

[0038] In the image decoding method and apparatus according to the present disclosure, at least one of the types of binary-tree block partitioning available for performing the binary-tree block partitioning or the number of said types is determined based on a first flag indicating computational complexity signaled in the SPS, and said types may include at least one of a 1:3 ratio, a 3:1 ratio, a 3:5 ratio, a 5:3 ratio, a 1:7 ratio, a 7:1 ratio, a 1:15 ratio, or a 15:1 ratio.

[0039] In the image decoding method and apparatus according to the present disclosure, the step of performing block partitioning to divide the current block into a plurality of sub-blocks may include the step of performing binary-tree block partitioning unequally on the sub-blocks generated by performing binary-tree block partitioning evenly.

[0040] In the image decoding method and apparatus according to the present disclosure, the step of performing block partitioning to partition a current block into a plurality of sub-blocks may include the step of performing binary-tree block partitioning unequally on the sub-blocks generated by performing binary-tree block partitioning.

[0041] A video encoding method and apparatus according to the present disclosure comprises: a step of performing block partitioning to partition a current block into a plurality of sub-blocks; a step of generating a prediction block for the plurality of sub-blocks; a step of deriving transformation coefficients for the plurality of sub-blocks based on a residual block; and a step of encoding residual information regarding the transformation coefficients to generate a bitstream, wherein the block partitioning includes binary-tree block partitioning, and the binary-tree block partitioning may be performed evenly or unequally.

[0042] A computer-readable digital storage medium is provided that stores encoded video / image information that causes an image decoding method to be performed by a decoding device according to the present disclosure.

[0043] A computer-readable digital storage medium is provided that stores video / image information generated according to the image encoding method according to the present disclosure.

[0044] A method and apparatus for transmitting video / image information generated according to the image encoding method according to the present disclosure are provided.

[0045] The present disclosure is susceptible to various modifications and may have various embodiments; specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present disclosure to specific embodiments, and it should be understood that it includes all modifications, equivalents, and substitutions that fall within the spirit and scope of the present disclosure. Similar reference numerals have been used for similar components in the description of each drawing.

[0046] Terms such as "first," "second," etc., may be used to describe various components, but said components should not be limited by said terms. Such terms are used solely for the purpose of distinguishing one component from another. For example, without departing from the scope of the present disclosure, the first component may be named the second component, and similarly, the second component may be named the first component. The term "and / or" includes a combination of a plurality of related described items or any of a plurality of related described items.

[0047] When it is stated that one component is "connected" or "connected" to another component, it should be understood that while it may be directly connected or connected to that other component, there may also be other components in between. On the other hand, when it is stated that one component is "directly connected" or "directly connected" to another component, it should be understood that there are no other components in between.

[0048] The terms used in this application are used merely to describe specific embodiments and are not intended to limit the disclosure. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, terms such as “comprising” or “having” are intended to specify the presence of the features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, and should be understood as not precluding the existence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.

[0049] The present disclosure relates to video / video coding. For example, the methods / embodiments disclosed herein may be applied to methods disclosed in the VVC (versatile video coding) standard. Additionally, the methods / embodiments disclosed herein may be applied to methods disclosed in the EVC (essential video coding) standard, AV1 (AOMedia Video 1) standard, AVN2 (2nd generation of audio video coding standard), or next-generation video / video coding standards (e.g., H.267 or H.268).

[0050] This specification presents various embodiments regarding video / image coding, and unless otherwise noted, said embodiments may be performed in combination with one another.

[0051] In this specification, "video" may refer to a set of images over time. "Picture" generally refers to a unit representing a single image of a specific time period, and "slice" or "tile" is a unit that constitutes a part of a picture in coding. A slice or tile may contain one or more coding tree units (CTUs). A picture may consist of one or more slices or tiles. A tile is a rectangular area composed of multiple CTUs within a specific tile column and a specific tile row of a picture. A tile column is a rectangular area of ​​CTUs having a height equal to the height of the picture and a width specified by the syntax requirements of the picture parameter set. A tile row is a rectangular area of ​​CTUs having a height specified by the picture parameter set and a width equal to the width of the picture. CTUs within a tile are arranged continuously according to the CTU raster scan, whereas tiles within a picture may be arranged continuously according to the tile's raster scan. A single slice may include an integer number of complete tiles or an integer number of consecutive complete CTU rows within a tile of a picture that can be exclusively contained in a single NAL unit. Meanwhile, a single picture may be divided into two or more subpictures. A subpicture may be a rectangular area of ​​one or more slices within a picture.

[0052] A pixel, or pel, can refer to the smallest unit that constitutes a picture (or image). Additionally, the term 'sample' may be used as a counterpart to pixel. A sample generally represents a pixel or its value, and it may represent only the pixel / pixel value of the luminance (luma) component or only the pixel / pixel value of the chroma component.

[0053] A unit may represent a basic unit of image processing. A unit may include at least one of a specific area of ​​a picture and information related to that area. A unit may include one luminance block and two chroma (e.g., cb, cr) blocks. Depending on the case, the term unit may be used interchangeably with terms such as block or area. In general, an MxN block may include samples (or sample arrays) or a set (or array) of transform coefficients consisting of M columns and N rows.

[0054] In this specification, "A or B" may mean "only A," "only B," or "both A and B." Alternatively, in this specification, "A or B" may be interpreted as "A and / or B." For example, in this specification, "A, B or C" may mean "only A," "only B," "only C," or "any combination of A, B and C."

[0055] A slash ( / ) or a comma used in this specification may mean "and / or." For example, "A / B" may mean "A and / or B." Accordingly, "A / B" may mean "only A," "only B," or "both A and B." For example, "A, B, C" may mean "A, B or C."

[0056] In this specification, "at least one of A and B" may mean "only A," "only B," or "both A and B." Additionally, in this specification, the expressions "at least one of A or B" or "at least one of A and / or B" may be interpreted as synonymous with "at least one of A and B."

[0057] Additionally, in this specification, "at least one of A, B and C" may mean "only A," "only B," "only C," or "any combination of A, B and C." Also, "at least one of A, B or C" or "at least one of A, B and / or C" may mean "at least one of A, B and C."

[0058] Additionally, parentheses used in this specification may mean "for example." Specifically, where indicated as "prediction (intra-prediction)," "intra-prediction" may be proposed as an example of "prediction." In other words, "prediction" in this specification is not limited to "intra-prediction," and "intra-prediction" may be proposed as an example of "prediction." Furthermore, even where indicated as "prediction (i.e., intra-prediction)," "intra-prediction" may be proposed as an example of "prediction."

[0059] Technical features described individually within a single drawing in this specification may be implemented individually or simultaneously.

[0060] FIG. 1 illustrates a video / image coding system according to the present disclosure.

[0061] Referring to FIG. 1, the video / image coding system may include a first device (source device) and a second device (receiving device).

[0062] A source device can transmit encoded video / image information or data in the form of a file or streaming to a receiving device via a digital storage medium or a network. The source device may include a video source, an encoding device, and a transmission unit. The receiving device may include a receiver, a decoding device, and a renderer. The encoding device may be referred to as a video / image encoding device, and the decoding device may be referred to as a video / image decoding device. A transmitter may be included in the encoding device. A receiver may be included in the decoding device. The renderer may include a display unit, and the display unit may be composed of a separate device or an external component.

[0063] A video source may acquire video / images through processes such as video / image capture, synthesis, or generation. The video source may include a video / image capture device and / or a video / image generation device. A video / image capture device may include one or more cameras, a video / image archive containing previously captured video / images, etc. A video / image generation device may include a computer, a tablet, a smartphone, etc., and may generate video / images (electronically). For example, a virtual video / image may be generated through a computer, etc., in which case the video / image capture process may be replaced by a process in which related data is generated.

[0064] The encoding device can encode input video / images. The encoding device can perform a series of procedures, such as prediction, transformation, and quantization, for compression and coding efficiency. The encoded data (encoded video / image information) can be output in the form of a bitstream.

[0065] The transmission unit can transmit encoded video / image information or data output in the form of a bitstream to the receiving unit of a receiving device in the form of a file or streaming via a digital storage medium or a network. The digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. The transmission unit may include elements for creating a media file through a predetermined file format and elements for transmission via a broadcasting / communication network. The receiving unit can receive / extract the bitstream and transmit it to a decoding device.

[0066] The decoding device can decode video / images by performing a series of procedures such as inverse quantization, inverse transform, and prediction corresponding to the operation of the encoding device.

[0067] The renderer can render the decoded video / image. The rendered video / image can be displayed through the display unit.

[0068] FIG. 2 shows a schematic block diagram of an encoding device to which an embodiment of the present disclosure can be applied and to which encoding of a video / image signal is performed.

[0069] Referring to FIG. 2, the encoding device (200) may be configured to include an image partitioner (210), a predictor (220), a residual processor (230), an entropy encoder (240), an adder (250), a filter (260), and a memory (270). The predictor (220) may include an inter-predictor (221) and an intra-predictor (222). The residual processor (230) may include a transformer (232), a quantizer (233), a dequantizer (234), and an inverse transformer (235). The residual processor (230) may further include a subtractor (231). The addition unit (250) may be referred to as a reconstructor or a reconstructed block generator. The above-described image segmentation unit (210), prediction unit (220), residual processing unit (230), entropy encoding unit (240), addition unit (250), and filtering unit (260) may be configured by one or more hardware components (e.g., an encoding device chipset or processor) according to the embodiment. Additionally, the memory (270) may include a decoded picture buffer (DPB) and may be configured by a digital storage medium. The hardware component may further include the memory (270) as an internal / external component.

[0070] The image segmentation unit (210) can divide an input image (or picture, frame) input to an encoding device (200) into one or more processing units. For example, the processing unit may be called a coding unit (CU). In this case, the coding unit may be recursively divided from a coding tree unit (CTU) or a largest coding unit (LCU) according to a QTBTTT (Quad-tree binary-tree ternary-tree) structure.

[0071] For example, a single coding unit may be divided into multiple coding units with a deeper depth based on a quad tree structure, a binary tree structure, and / or a terrestrial structure. In this case, for example, the quad tree structure may be applied first and the binary tree structure and / or terrestrial structure may be applied later. Alternatively, the binary tree structure may be applied before the quad tree structure. A coding procedure according to the present specification may be performed based on a final coding unit that is no longer divided. In this case, based on coding efficiency according to image characteristics, the maximum coding unit may be used directly as the final coding unit, or, if necessary, the coding unit may be recursively divided into coding units of a lower depth so that a coding unit of the optimal size may be used as the final coding unit. Here, the term "coding procedure" may include procedures such as prediction, transformation, and restoration described below.

[0072] As another example, the processing unit may further include a Prediction Unit (PU) or a Transform Unit (TU). In this case, the Prediction Unit and the Transform Unit may each be divided or partitioned from the aforementioned final coding unit. The Prediction Unit may be a unit for sample prediction, and the Transform Unit may be a unit for deriving transformation coefficients and / or a unit for deriving a residual signal from transformation coefficients.

[0073] The term "unit" may be used interchangeably with terms such as "block" or "area" depending on the context. In general, an MxN block may represent a set of samples or transform coefficients consisting of M columns and N rows. A sample may generally represent a pixel or a pixel value, and may represent only the pixel / pixel value of the luminance component or only the pixel / pixel value of the chroma component. A sample may be used to refer to a single picture (or image) as a term corresponding to a pixel or pel.

[0074] The encoding device (200) can generate a residual signal (residual block, residual sample array) by subtracting a prediction signal (prediction block, prediction sample array) output from an inter prediction unit (221) or an intra prediction unit (222) from an input video signal (original block, original sample array), and the generated residual signal is transmitted to a conversion unit (232). In this case, the unit that subtracts the prediction signal (prediction block, prediction sample array) from the input video signal (original block, original sample array) within the encoding device (200) may be called a subtraction unit (231).

[0075] The prediction unit (220) performs a prediction for a block to be processed (hereinafter referred to as the current block) and can generate a predicted block containing prediction samples for the current block. The prediction unit (220) can determine whether intra prediction is applied or inter prediction is applied at the current block or CU level. The prediction unit (220) can generate various information regarding the prediction, such as prediction mode information, as described below in the description of each prediction mode, and transmit it to the entropy encoding unit (240). The information regarding the prediction can be encoded by the entropy encoding unit (240) and output in the form of a bitstream.

[0076] The intra prediction unit (222) can predict the current block by referring to samples within the current picture. The referenced samples may be located near the current block or at a certain distance from the current block, depending on the prediction mode. In intra prediction, the prediction modes may include one or more non-directional modes and a plurality of directional modes. The non-directional mode may include at least one DC mode or a planar mode. The directional mode may include 33 directional modes or 65 directional modes depending on the degree of fineness of the prediction direction. However, this is merely an example, and depending on the settings, more or fewer directional modes may be used. The intra prediction unit (222) may determine the prediction mode applied to the current block by using the prediction mode applied to the template area.

[0077] The inter prediction unit (221) can derive a prediction block for the current block based on a reference block (reference sample array) specified by a motion vector on a reference picture. At this time, to reduce the amount of motion information transmitted in the inter prediction mode, motion information can be predicted in blocks, sub-blocks, or samples based on the correlation of motion information between the template area and the current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction direction information (L0 prediction, L1 prediction, Bi prediction, etc.). In the case of inter prediction, the template area may include a spatial template area (spatial neighboring block) existing within the current picture and a temporal template area (temporal neighboring block) existing in the reference picture. The reference picture containing the reference block and the reference picture containing the temporal template area may be the same or different. The above temporal template area may be referred to by names such as collocated reference block, collocated CU (colCU), etc., and the reference picture containing the above temporal template area may be referred to as a collocated picture (colPic). For example, the inter prediction unit (221) may construct a list of motion information candidates based on the template areas and generate information indicating which candidate is used to derive the motion vector and / or reference picture index of the current block. Inter prediction may be performed based on various prediction modes, for example, in the case of skip mode and merge mode, the inter prediction unit (221) may use the motion information of the template area as the motion information of the current block. In the case of skip mode, unlike merge mode, a residual signal may not be transmitted.In the case of motion vector prediction (MVP) mode, the motion vector of the template area is used as a motion vector predictor, and the motion vector of the current block can be indicated by signaling the motion vector difference.

[0078] The prediction unit (220) can generate a prediction signal based on various prediction methods described below. For example, the prediction unit may apply intra prediction or inter prediction for prediction of a single block, and may also apply intra prediction and inter prediction simultaneously. This may be called a combined inter and intra prediction (CIIP) mode. Additionally, the prediction unit may be based on an intra block copy (IBC) prediction mode or a palette mode for prediction of a block. The IBC prediction mode or palette mode may be used for content video / video coding, such as in screen content coding (SCC) for games. IBC basically performs prediction within the current picture, but it may be performed similarly to inter prediction in that it derives a reference block within the current picture. That is, IBC may utilize at least one of the inter prediction techniques described in this specification. The palette mode can be viewed as an example of intra coding or intra prediction. When the palette mode is applied, sample values ​​within the picture can be signaled based on information regarding the palette table and palette index. The prediction signal generated through the prediction unit (220) can be used to generate a restoration signal or to generate a residual signal.

[0079] The transformation unit (232) can generate transform coefficients by applying a transformation technique to a residual signal. For example, the transformation technique may include at least one of a Discrete Cosine Transform (DCT), a Discrete Sine Transform (DST), a Karhunen-Loeve Transform (KLT), a Graph-Based Transform (GBT), or a Conditionally Non-linear Transform (CNT). Here, GBT refers to a transformation obtained from a graph when the relationship information between pixels is represented as a graph. CNT refers to a transformation obtained based on a prediction signal generated using all previously restored pixels. Additionally, the transformation process may be applied to a pixel block of the same size in a square, or to a block of variable size that is not square.

[0080] The quantization unit (233) quantizes the transformation coefficients and transmits them to the entropy encoding unit (240), and the entropy encoding unit (240) can encode the quantized signal (information regarding the quantized transformation coefficients) and output it as a bitstream. The information regarding the quantized transformation coefficients may be called residual information. The quantization unit (233) can rearrange the block-shaped quantized transformation coefficients into a one-dimensional vector form based on the coefficient scan order, and can also generate information regarding the quantized transformation coefficients based on the one-dimensional vector-shaped quantized transformation coefficients.

[0081] The entropy encoding unit (240) can perform various encoding methods such as exponential Golomb, CAVLC (context-adaptive variable length coding), CABAC (context-adaptive binary arithmetic coding), etc. The entropy encoding unit (240) may encode information required for video / image restoration (e.g., values ​​of syntax elements, etc.) together or separately, in addition to quantized transform coefficients.

[0082] Encoded information (e.g., encoded video / image information) may be transmitted or stored in the form of a bitstream at the level of a Network Abstraction Layer (NAL) unit. The video / image information may further include information regarding various parameter sets, such as an Adaptation Parameter Set (APS), a Picture Parameter Set (PPS), a Sequence Parameter Set (SPS), or a Video Parameter Set (VPS). Additionally, the video / image information may further include general constraint information. In this specification, information and / or syntax elements transmitted / signaled from an encoding device to a decoding device may be included in the video / image information. The video / image information may be encoded through the encoding procedure described above and included in the bitstream. The bitstream may be transmitted over a network or stored on a digital storage medium. Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. A transmission unit (not shown) that transmits the signal output from the entropy encoding unit (240) and / or a storage unit (not shown) that stores it may be configured as internal / external elements of the encoding device (200), or the transmission unit may be included in the entropy encoding unit (240).

[0083] Quantized transformation coefficients output from the quantization unit (233) can be used to generate a prediction signal. For example, a residual signal (residual block or residual samples) can be restored by applying inverse quantization and inverse transformation to the quantized transformation coefficients through the inverse quantization unit (234) and the inverse transformation unit (235). An adder (250) can generate a reconstructed signal (reconstructed picture, reconstructed block, reconstructed sample array) by adding the restored residual signal to the prediction signal output from the inter-prediction unit (221) or the intra-prediction unit (222). In cases where there is no residual for the block to be processed, such as when a skip mode is applied, the predicted block can be used as the reconstructed block. The adder (250) may be called a reconstruction unit or a reconstruction block generation unit. The generated restoration signal can be used for intra prediction of the next block to be processed within the current picture, and can also be used for inter prediction of the next picture after filtering as described below. Meanwhile, LMCS (luma mapping with chroma scaling) may be applied during the picture encoding and / or restoration process.

[0084] The filtering unit (260) can improve subjective / objective image quality by applying filtering to the restored signal. For example, the filtering unit (260) can generate a modified restored picture by applying various filtering methods to the restored picture, and can store the modified restored picture in memory (270), specifically in the DPB of memory (270). The various filtering methods may include deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, etc. The filtering unit (260) can generate various information regarding filtering and transmit it to the entropy encoding unit (240). The information regarding filtering can be encoded in the entropy encoding unit (240) and output in the form of a bitstream.

[0085] The modified restored picture transmitted to the memory (270) can be used as a reference picture in the inter-prediction unit (221). Through this, when inter-prediction is applied, the encoding device can avoid prediction mismatches between the encoding device (200) and the decoding device, and can also improve encoding efficiency.

[0086] The DPB of the memory (270) can store the modified restored picture to be used as a reference picture in the inter-prediction unit (221). The memory (270) can store motion information of blocks from which motion information is derived (or encoded) within the current picture and / or motion information of blocks within the picture that have already been restored. The stored motion information can be transmitted to the inter-prediction unit (221) to be used as motion information in a spatial template area or motion information in a temporal template area. The memory (270) can store restoration samples of blocks restored within the current picture and transmit them to the intra-prediction unit (222).

[0087] FIG. 3 shows a schematic block diagram of a decoding device to which an embodiment of the present disclosure can be applied and to which decoding of a video / image signal is performed.

[0088] Referring to FIG. 3, the decoding device (300) may be configured to include an entropy decoder (310), a residual processor (320), a predictor (330), an adder (340), a filter (350), and a memory (360). The predictor (330) may include an inter-predictor (332) and an intra-predictor (331). The residual processor (320) may include a dequantizer (321) and an inverse transformer (321).

[0089] The aforementioned entropy decoding unit (310), residual processing unit (320), prediction unit (330), addition unit (340), and filtering unit (350) may be configured by a single hardware component (e.g., a decoding device chipset or processor) according to an embodiment. Additionally, the memory (360) may include a DPB (decoded picture buffer) and may be configured by a digital storage medium. The hardware component may further include the memory (360) as an internal / external component.

[0090] When a bitstream containing video / image information is input, the decoding device (300) can restore the image in correspondence with the process in which the video / image information is processed by the encoding device of FIG. 2. For example, the decoding device (300) can derive units / blocks based on block division information obtained from the bitstream. The decoding device (300) can perform decoding using a processing unit applied by the encoding device. Accordingly, the processing unit for decoding may be a coding unit, and the coding unit may be divided from a coding tree unit or a maximum coding unit according to a quad tree structure, a binary tree structure, and / or a binary tree structure. One or more conversion units may be derived from the coding unit. And, the restored image signal decoded and output through the decoding device (300) can be played back through a playback device.

[0091] The decoding device (300) can receive a signal output from the encoding device of FIG. 2 in the form of a bitstream, and the received signal can be decoded through an entropy decoding unit (310). For example, the entropy decoding unit (310) can parse the bitstream to derive information (e.g., video / image information) necessary for image restoration (or picture restoration). The video / image information may further include information regarding various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS). Additionally, the video / image information may further include general constraint information. The decoding device can decode the picture based on information regarding the parameter sets and / or the general constraint information. The signaling / receiving information and / or syntax elements described below in this specification may be decoded through the decoding procedure and obtained from the bitstream. For example, the entropy decoding unit (310) can decode information within the bitstream based on coding methods such as exponential chord coding, CAVLC, or CABAC, and output the values ​​of syntax elements required for image restoration and the quantized values ​​of transformation coefficients regarding residuals. More specifically, the CABAC entropy decoding method can receive a bin corresponding to each syntax element in the bitstream, determine a context model using information on the syntax element to be decoded and decoding information of surrounding and decoding target blocks or information on symbols / bins decoded in the previous step, predict the probability of occurrence of the bin according to the determined context model, and perform arithmetic decoding of the bin to generate a symbol corresponding to the value of each syntax element.At this time, the CABAC entropy decoding method can update the context model using the decoded symbol / bin information for the context model of the next symbol / bin after determining the context model. Among the information decoded in the entropy decoding unit (310), information regarding prediction is provided to the prediction unit (inter prediction unit (332) and intra prediction unit (331)), and the residual value for which entropy decoding was performed in the entropy decoding unit (310), i.e., quantized transformation coefficients and related parameter information, can be input to the residual processing unit (320). The residual processing unit (320) can derive residual signals (residual blocks, residual samples, residual sample array). Additionally, among the information decoded in the entropy decoding unit (310), information regarding filtering can be provided to the filtering unit (350). Meanwhile, a receiving unit (not shown) that receives a signal output from an encoding device may be further configured as an internal / external element of the decoding device (300), or the receiving unit may be a component of the entropy decoding unit (310).

[0092] Meanwhile, the decoding device according to the present specification may be called a video / image / picture decoding device, and the decoding device may be divided into an information decoding device (video / image / picture information decoding device) and a sample decoding device (video / image / picture sample decoding device). The information decoding device may include the entropy decoding unit (310), and the sample decoding device may include at least one of the inverse quantization unit (321), inverse transform unit (322), adder (340), filtering unit (350), memory (360), inter prediction unit (332), and intra prediction unit (331).

[0093] In the inverse quantization unit (321), the quantized transformation coefficients can be inversely quantized to output transformation coefficients. The inverse quantization unit (321) can rearrange the quantized transformation coefficients into a two-dimensional block form. In this case, the rearrangement can be performed based on the coefficient scan order performed by the encoding device. The inverse quantization unit (321) can perform inverse quantization on the quantized transformation coefficients using quantization parameters (e.g., quantization step size information) and obtain transformation coefficients.

[0094] In the inverse conversion unit (322), the conversion coefficients are inversely converted to obtain a residual signal (residual block, residual sample array).

[0095] The prediction unit (320) can perform a prediction for the current block and generate a predicted block containing prediction samples for the current block. The prediction unit (320) can determine whether an intra prediction or an inter prediction is applied to the current block based on information regarding the prediction output from the entropy decoding unit (310), and can determine a specific intra / inter prediction mode.

[0096] The prediction unit (320) can generate a prediction signal based on various prediction methods described below. For example, the prediction unit (320) may apply intra prediction or inter prediction for prediction of a single block, and may also apply intra prediction and inter prediction simultaneously. This may be called a combined inter and intra prediction (CIIP) mode. Additionally, the prediction unit may be based on an intra block copy (IBC) prediction mode or a palette mode for prediction of a block. The IBC prediction mode or palette mode may be used for content video / video coding, such as in games, such as SCC (screen content coding). IBC basically performs prediction within the current picture, but it may be performed similarly to inter prediction in that it derives a reference block within the current picture. That is, IBC may utilize at least one of the inter prediction techniques described in this specification. The palette mode can be viewed as an example of intra coding or intra prediction. When palette mode is applied, information regarding the palette table and palette index can be included in the above video / image information and signaled.

[0097] The intra prediction unit (331) can predict the current block by referring to samples within the current picture. The referenced samples may be located near the current block or at a certain distance from the current block depending on the prediction mode. In intra prediction, the prediction modes may include one or more non-directional modes and a plurality of directional modes. The intra prediction unit (331) may determine the prediction mode applied to the current block by using the prediction mode applied to the template area.

[0098] The inter prediction unit (332) can derive a prediction block for the current block based on a reference block (reference sample array) specified by a motion vector on a reference picture. At this time, to reduce the amount of motion information transmitted in the inter prediction mode, motion information can be predicted in blocks, sub-blocks, or samples based on the correlation of motion information between a template area and the current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction direction information (L0 prediction, L1 prediction, Bi prediction, etc.). In the case of inter prediction, the template area may include a spatial template area (spatial neighboring block) existing within the current picture and a temporal template area (temporal neighboring block) existing in the reference picture. For example, the inter prediction unit (332) may construct a motion information candidate list based on the template areas and derive the motion vector and / or reference picture index of the current block based on the received candidate selection information. Inter-prediction can be performed based on various prediction modes, and information regarding the prediction may include information indicating the inter-prediction mode for the current block.

[0099] The adder (340) can generate a restoration signal (restoration picture, restoration block, restoration sample array) by adding the acquired residual signal to the prediction signal (prediction block, prediction sample array) output from the prediction unit (including the inter prediction unit (332) and / or the intra prediction unit (331)). In cases where there is no residual for the block to be processed, such as when a skip mode is applied, the prediction block can be used as the restoration block.

[0100] The addition unit (340) may be called a restoration unit or a restoration block generation unit. The generated restoration signal may be used for intra-predicting the next block to be processed within the current picture, may be output after filtering as described below, or may be used for inter-predicting the next picture. Meanwhile, LMCS (luma mapping with chroma scaling) may be applied during the picture decoding process.

[0101] The filtering unit (350) can improve subjective / objective image quality by applying filtering to the restored signal. For example, the filtering unit (350) can generate a modified restored picture by applying various filtering methods to the restored picture, and can transmit the modified restored picture to memory (360), specifically to the DPB of memory (360). The various filtering methods may include deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, etc.

[0102] The (modified) restored picture stored in the DPB of the memory (360) can be used as a reference picture in the inter prediction unit (332). The memory (360) can store motion information of blocks from which motion information within the current picture has been derived (or decoded) and / or motion information of blocks within the picture that have already been restored. The stored motion information can be transmitted to the inter prediction unit (332) to be used as motion information in a spatial template area or motion information in a temporal template area. The memory (360) can store restoration samples of blocks restored within the current picture and transmit them to the intra prediction unit (331).

[0103] In this specification, the embodiments described in the filtering unit (260), inter prediction unit (221), and intra prediction unit (222) of the encoding device (200) may be applied to the filtering unit (350), inter prediction unit (332), and intra prediction unit (331) of the decoding device (300) in the same or corresponding manner.

[0104] The present disclosure relates to a partitioning structure technology and a method for partitioning a current block into a plurality of lower blocks using the same, and additionally, a method and apparatus for partitioning the current block into a plurality of lower blocks asymmetrically. Embodiments of the present disclosure may be applied individually or in combination. The block partitioning type in the present disclosure may be understood as a partitioning type.

[0105] The bipartition of the present disclosure may mean a method of bipartitioning a block such that the width or height of a single block is bipartitioned. In this case, symmetric bipartition may mean a method of bipartitioning a block such that the width or height of a single block is bipartitioned symmetrically. Additionally, unequal bipartition may mean a method of bipartitioning a block such that the width or height of a single block is bipartitioned unequally. Two sub-blocks divided by unequal bipartition may have different sizes. The unequal bipartition of the present disclosure may be understood as unequal binary-tree block partitioning.

[0106] FIG. 4 illustrates an image decoding method performed by a decoding device (300) as an embodiment according to the present disclosure.

[0107] Referring to FIG. 4, block division can be performed to divide the current block into a plurality of lower blocks (S410).

[0108] According to one embodiment of the present disclosure, various division types can be used when dividing a block into a plurality of sub-blocks.

[0109] Among block splitting types, a block splitting type that divides a block into four equal parts such that the width and height of a block are each equally divided is referred to as a quad-tree block splitting type. Additionally, a block splitting type that divides a block into two equal parts such that the width or height of a block is equally divided is referred to as an equal binary-tree block splitting type. Furthermore, a block splitting type that divides the width or height of a block into three equal parts in a 1:2:1 ratio is referred to as a binary-tree block splitting type. Accordingly, a block splitting type that divides a block may include at least one of NO_SPLIT, which does not split the block; QT_SPLIT, which divides the block into the aforementioned quad-tree block splitting types; BT_HOR, which divides the height of the block into two equal parts; BT_VER, which divides the width of the block into two equal parts; TT_HOR, which divides the height of the block into three equal parts in a 1:2:1 ratio; or TT_VER, which divides the width of the block into three equal parts in a 1:2:1 ratio.

[0110] In addition, a single block can be divided into multiple sub-blocks by recursively applying various block partitioning types.

[0111] FIG. 5 is a diagram illustrating a case in which a block is divided into multiple sub-blocks by recursively applying various block division types to a single block as an embodiment according to the present disclosure.

[0112] FIG. 5 illustrates an embodiment in which various block division types are recursively applied to a single 64x64 block to divide it into multiple sub-blocks.

[0113] The initial 64x64 block can be divided into four 32x32 sub-blocks using quad-tree block partitioning. In this case, FIG. 5 illustrates that the first 32x32 block at the top left among the four divided 32x32 blocks is further divided into four 16x16 blocks by applying quad-tree block partitioning. Among these, the first 16x16 block at the top left is shown to be encoded and decoded with a size of 16x16 without further block partitioning. Additionally, the second 16x16 block at the top right is shown to be divided into two 8x16 blocks by applying vertical binary-tree block partitioning. Additionally, the third 16x16 block at the bottom left was divided into two 16x8 blocks by applying a horizontal binary-tree block partitioning, and the fourth 16x16 block at the bottom right was also divided into two 16x8 blocks by applying a horizontal binary-tree block partitioning. However, regarding the first 16x8 block at the top of the two 16x8 blocks divided from the fourth 16x16 block, it was illustrated that a vertical binary-tree block partitioning was applied to divide it into three sub-blocks of sizes 4x8, 8x8, and 4x8. In this way, the same or different block partitionings can be recursively applied to divide the blocks into various sizes and shapes.

[0114] According to one embodiment of the present disclosure, when dividing a current block into a plurality of sub-blocks, the current block may be divided into two at a predetermined unequal ratio. At this time, the predetermined unequal ratio may include all of the following ratios: a 1:3 or 3:1 ratio, a 3:5 or 5:3 ratio, a 1:7 or 7:1 ratio, and a 1:15 or 15:1 ratio, or may include one or more of these ratios.

[0115] For example, when dividing the current block into two sub-blocks, the current block can be divided in a 1:3 or 3:1 ratio. The two sub-blocks divided according to the 1:3 or 3:1 ratio can be configured to have a size difference of three times.

[0116] When the current block width is cuWidth and the height is cuHeight, the types of division in a 1:3 or 3:1 ratio are as follows.

[0117] First, the current block can be divided into two sub-blocks in the horizontal direction. In this case, the upper sub-block of the two sub-blocks is to be called the first sub-block, and the lower sub-block is to be called the second sub-block. At this time, the first sub-block may have a block height of 1 / 4*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 3 / 4*cuHeight and a block width of cuWidth (APT_H13). That is, the height of the second sub-block may be three times the height of the first sub-block. Alternatively, the first sub-block may have a block height of 3 / 4*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 1 / 4*cuHeight and a block width of cuWidth (APT_H31). That is, the height of the first sub-block may be three times the height of the second sub-block. The above example of two block divisions can be classified as an example of horizontal block bidivision having an unequal block height ratio, in which the current block is divided into two sub-blocks.

[0118] Additionally, the current block may be divided into two sub-blocks in the vertical direction. In this case, the left sub-block of the two sub-blocks is to be called the first sub-block, and the right sub-block is to be called the second sub-block. At this time, the first sub-block may have a block width of 1 / 4*cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 3 / 4*cuWidth and a block height of cuHeight (APT_V13). That is, the width of the second sub-block may be three times the width of the first sub-block. Alternatively, the first sub-block may have a block width of 3 / 4*cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 1 / 4*cuWidth and a block height of cuHeight (APT_V31). That is, the width of the first sub-block may be three times the width of the second sub-block. The above example of two block divisions can be classified as an example of vertical block bidivision having an unequal block width ratio, in which the current block is divided into two sub-blocks.

[0119] For example, if the current block has a block width of 64 and a block height of 64, that is, if the current block is a 64x64 block, when performing block partitioning using 1:3 or 3:1 non-uniform bipartitioning, it may be divided into a first sub-block of size 64x16 and a second sub-block of size 64x48, or into a first sub-block of size 64x48 and a second sub-block of size 64x16, or into a first sub-block of size 16x64 and a second sub-block of size 48x64, or into a first sub-block of size 48x64 and a second sub-block of size 16x64.

[0120] For example, when dividing the current block into two sub-blocks, the current block can be divided in a 3:5 or 5:3 ratio. The two sub-blocks divided according to the 3:5 or 5:3 ratio can be configured to have a size difference of (5 / 3).

[0121] When the current block width is cuWidth and the height is cuHeight, the types of division where the width or height is divided in a 3:5 or 5:3 ratio are as follows.

[0122] First, the current block can be divided into two sub-blocks in the horizontal direction. In this case, the upper sub-block of the two sub-blocks is called the first sub-block, and the lower sub-block is called the second sub-block. At this time, the first sub-block may have a block height of 3 / 8*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 5 / 8*cuHeight and a block width of cuWidth (APT_H35). That is, the height of the second sub-block may be (5 / 3) times the height of the first sub-block. Alternatively, the first sub-block may have a block height of 5 / 8*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 3 / 8*cuHeight and a block width of cuWidth (APT_H53). That is, the height of the first sub-block may be (5 / 3) times the height of the second sub-block. The above example of two block divisions can be classified as an example of horizontal block bidivision having an unequal block height ratio, in which the current block is divided into two sub-blocks.

[0123] Additionally, the current block may be divided into two sub-blocks in the vertical direction. In this case, the left sub-block of the two sub-blocks is to be called the first sub-block, and the right sub-block is to be called the second sub-block. At this time, the first sub-block may have a block width of 3 / 8*cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 5 / 8*cuWidth and a block height of cuHeight (APT_V35). That is, the width of the second sub-block may be (5 / 3) times the width of the first sub-block. Alternatively, the first sub-block may have a block width of 5 / 8*cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 3 / 8*cuWidth and a block height of cuHeight (APT_V53). That is, the width of the first sub-block may be (5 / 3) times the width of the second sub-block. The above example of two block divisions can be classified as an example of vertical block bidivision having an unequal block width ratio, in which the current block is divided into two sub-blocks.

[0124] For example, if the current block has a block width of 64 and a block height of 64, that is, if the current block is a 64x64 block, when performing block partitioning using 3:5 or 5:3 unequal bipartitioning, it may be divided into a first sub-block of size 64x24 and a second sub-block of size 64x40, or a first sub-block of size 64x40 and a second sub-block of size 64x24, or a first sub-block of size 24x64 and a second sub-block of size 40x64, or a first sub-block of size 40x64 and a second sub-block of size 24x64.

[0125] For example, when dividing the current block into two sub-blocks, the current block can be divided in a 1:7 or 7:1 ratio.

[0126] When the current block's width is cuWidth and height is cuHeight, the types of division in a 1:7 or 7:1 ratio are as follows. Two sub-blocks divided according to a 1:7 or 7:1 ratio can be configured to have a size difference of 7 times.

[0127] First, the current block can be divided into two sub-blocks in the horizontal direction. In this case, the upper sub-block of the two sub-blocks is to be called the first sub-block, and the lower sub-block is to be called the second sub-block. At this time, the first sub-block may have a block height of 1 / 8*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 7 / 8*cuHeight and a block width of cuWidth (APT_H17). That is, the height of the second sub-block may be 7 times the height of the first sub-block. Alternatively, the first sub-block may have a block height of 7 / 8*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 1 / 8*cuHeight and a block width of cuWidth (APT_H71). That is, the height of the first sub-block may be 7 times the height of the second sub-block. The above example of two block divisions can be classified as an example of horizontal block bidivision having an unequal block height ratio, in which the current block is divided into two sub-blocks.

[0128] Additionally, the current block may be divided into two sub-blocks in the vertical direction. In this case, the left sub-block of the two sub-blocks is to be called the first sub-block, and the right sub-block is to be called the second sub-block. At this time, the first sub-block may have a block width of 1 / 8*cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 7 / 8*cuWidth and a block height of cuHeight (APT_V17). That is, the width of the second sub-block may be 7 times the width of the first sub-block. Alternatively, the first sub-block may have a block width of 7 / 8*cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 1 / 8*cuWidth and a block height of cuHeight (APT_V71). That is, the width of the first sub-block may be 7 times the width of the second sub-block. The above example of two block divisions can be classified as an example of vertical block bidivision having an unequal block width ratio, in which the current block is divided into two sub-blocks.

[0129] For example, if the current block has a block width of 64 and a block height of 64, that is, if the current block is a 64x64 block, when performing block partitioning using 1:7 or 7:1 unequal bipartitioning, it may be divided into a first sub-block of size 64x8 and a second sub-block of size 64x56, or a first sub-block of size 64x56 and a second sub-block of size 64x8, or a first sub-block of size 8x64 and a second sub-block of size 56x64, or a first sub-block of size 56x64 and a second sub-block of size 8x64.

[0130] For example, when dividing the current block into two sub-blocks, the current block can be divided in a 1:15 or 15:1 ratio. The two sub-blocks divided according to the 1:15 or 15:1 ratio can be configured to have a size difference of 15 times.

[0131] When the current block width is cuWidth and the height is cuHeight, the types of division in a 1:15 or 15:1 ratio are as follows.

[0132] First, the current block may be divided into two sub-blocks in the horizontal direction. In this case, the upper sub-block of the two sub-blocks is to be called the first sub-block, and the lower sub-block is to be called the second sub-block. At this time, the first sub-block may have a block height of 1 / 16*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 15 / 16*cuHeight and a block width of cuWidth. That is, the height of the second sub-block may be 15 times the height of the first sub-block. Alternatively, the first sub-block may have a block height of 15 / 16*cuHeight and a block width of cuWidth, and the second sub-block may have a block height of 1 / 16*cuHeight and a block width of cuWidth. That is, the height of the first sub-block may be 15 times the height of the second sub-block. The above example of two block divisions can be classified as an example of horizontal block bidivision having an unequal block height ratio, in which the current block is divided into two sub-blocks.

[0133] Additionally, the current block may be divided into two sub-blocks in the vertical direction. In this case, the left sub-block of the two sub-blocks is to be called the first sub-block, and the right sub-block is to be called the second sub-block. At this time, the first sub-block may have a block width of 1 / 16 * cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 15 / 16 * cuWidth and a block height of cuHeight. That is, the width of the second sub-block may be 15 times the width of the first sub-block. Alternatively, the first sub-block may have a block width of 15 / 16 * cuWidth and a block height of cuHeight, and the second sub-block may have a block width of 1 / 16 * cuWidth and a block height of cuHeight. That is, the width of the first sub-block may be 15 times the width of the second sub-block. The above example of two block divisions can be classified as an example of vertical block bidivision having an unequal block width ratio, in which the current block is divided into two sub-blocks.

[0134] For example, if the current block has a block width of 64 and a block height of 64, that is, if the current block is a 64x64 block, when performing block partitioning using 1:15 or 15:1 non-uniform bipartitioning, it may be divided into a first sub-block of size 64x4 and a second sub-block of size 64x60, or a first sub-block of size 64x60 and a second sub-block of size 64x4, or a first sub-block of size 4x64 and a second sub-block of size 60x64, or a first sub-block of size 60x64 and a second sub-block of size 4x64.

[0135] According to one embodiment of the present disclosure, a block can be divided by combining one or more of the plurality of unequal binary-tree block division types. That is, a block can be divided by combining unequal binary-tree block divisions that are divided at different ratios, such as 1:3 or 3:1, 3:5 or 5:3, 1:7 or 7:1, and 1:15 or 15:1, which are the unequal binary-tree block division types described in the present disclosure. In addition, a block division structure combining one or more of the unequal binary-tree block division types can be utilized for block division in combination with one or more of the existing quad-tree block division, equal binary-tree block division, and ternary-tree block division.

[0136] All of the aforementioned types of non-uniform binary-tree block partitioning may be used, or some may be used optionally.

[0137] For example, all or part of the types of non-uniform binary-tree block partitioning may be used selectively based on the computational complexity allowed by the video encoder or decoder. That is, if the computational complexity allowed by the video encoder or decoder is high, block partitioning may be used that combines all non-uniform binary-tree block partitions with ratios of 1:3 or 3:1, including 3:5 or 5:3, 1:7 or 7:1, and 1:15 or 15:1. On the other hand, if the computational complexity allowed by the video encoder or decoder is low, only 1:3 or 3:1 non-uniform binary-tree block partitioning may be used in combination with one or more of the existing quad-tree block partitioning, uniform binary-tree block partitioning, and ternary-tree block partitioning. Alternatively, if the computational complexity allowed in the video encoder or decoder is low, 1:3 or 3:1 unequal binary-tree block partitioning and 3:5 or 5:3 unequal binary-tree block partitioning may be used in combination with one or more of the existing quad-tree block partitioning, equal binary-tree block partitioning, and ternary-tree block partitioning. Alternatively, if the computational complexity allowed in the video encoder or decoder is low, excluding the existing ternary-tree block partitioning, 1:3 or 3:1 unequal binary-tree block partitioning and 3:5 or 5:3 unequal binary-tree block partitioning may be used in combination with one or more of the existing quad-tree block partitioning and equal binary-tree block partitioning.

[0138] The above computational complexity may be determined based on a 'profile' that allows a portion of the entire bitstream syntax of the video decoder and a 'level' that limits the range of syntax values ​​allowed within each profile. Alternatively, the above computational complexity may be determined based on specific flags defined through high-level syntax such as SPS (sequence parameter set), PPS (picture parameter set), PH (picture header), and SH (slice header).

[0139] Non-uniform binary-tree block splitting may be applied if the block to be split is a block created through a specific block splitting type, and may not be applied otherwise. Here, the specific block splitting type may be a binary-tree block splitting. Or, the specific block splitting type may be a uniform binary-tree block splitting.

[0140] FIG. 6 is a diagram showing a case in which a block is divided through a combination of non-uniform binary-tree block division types as an embodiment according to the present disclosure.

[0141] More specifically, FIG. 6 illustrates an embodiment in which block partitioning is performed using only 1:3 or 3:1 non-uniform binary-tree block partitioning in addition to at least one of the existing quad-tree block partitioning, equal binary-tree block partitioning, or binary-tree block partitioning. If the top block illustrated in FIG. 6 is referred to as a 64x64 block, the initial 64x64 block can be partitioned into four 32x32 blocks using quad-tree block partitioning. At this time, the first 32x32 block at the top left among the four 32x32 blocks is shown to be partitioned into four 16x16 sub-blocks using quad-tree block partitioning. Additionally, the second 32x32 block at the top right is shown to be partitioned into two 32x16 sub-blocks using horizontal equal binary-tree block partitioning. At this time, regarding the upper first 32x16 sub-block among the two 32x16 sub-blocks, it is illustrated that the vertical 1:3 unequal binary-tree block partitioning proposed in this disclosure is performed to divide it into an 8x16 sub-block and a 24x16 sub-block. Additionally, regarding the lower right fourth 32x32 block among the four 32x32 blocks, it is illustrated that the horizontal 3:1 unequal binary-tree block partitioning is performed to divide it into a 32x24 sub-block and a 32x8 sub-block. As such, the unequal binary-tree block partitioning proposed in this disclosure can be utilized in a process of recursively dividing a single block into multiple sub-blocks by combining at least one of the existing quad-tree block partitioning, equal binary-tree block partitioning, or binary-tree block partitioning.

[0142] FIG. 7 is a diagram showing a case in which a block is divided through a combination of non-uniform binary-tree block division types as an embodiment according to the present disclosure.

[0143] More specifically, FIG. 7 illustrates an embodiment in which block partitioning is performed using a 1:3 or 3:1 unequal binary-tree block partition and a 3:5 or 5:3 unequal binary-tree block partition in addition to at least one of the conventional quad-tree block partition, equal binary-tree block partition, or binary-tree block partition. If the top block illustrated in FIG. 7 is referred to as a 64x64 block, the initial 64x64 block can be partitioned into four 32x32 blocks using quad-tree block partitioning. At this time, the first 32x32 block at the top left of the four 32x32 blocks is shown to be partitioned again into four 16x16 sub-blocks using quad-tree block partitioning. Additionally, the second 32x32 block at the top right is shown to be partitioned into two 32x16 sub-blocks using horizontal equal binary-tree block partitioning. At this time, regarding the upper first 32x16 sub-block among the two 32x16 sub-blocks, it is illustrated that a vertical 1:3 unequal binary-tree block partitioning proposed in the present disclosure is performed to divide it into an 8x16 sub-block and a 24x16 sub-block. Additionally, regarding the second 32x16 sub-block, it is illustrated that a vertical 3:5 unequal binary-tree block partitioning proposed in the present disclosure is performed to divide it into a 12x16 sub-block and a 20x16 sub-block. Furthermore, regarding the third 32x32 block at the bottom left, which is the third sub-block of the 64x64 block, it is illustrated that a horizontal 3:1 unequal binary-tree block partitioning proposed in the present disclosure is performed to divide it into a 32x24 sub-block and a 32x8 sub-block. In addition, it was shown that the fourth 32x32 block at the bottom right, which is the fourth sub-block of the above 64x64 block, is divided into a 32x20 sub-block and a 32x12 sub-block by performing the horizontal 5:3 unequal binary-tree block partitioning proposed in the present disclosure.As such, the non-uniform binary-tree block partitioning proposed in this disclosure can be utilized in a process of recursively partitioning a block into multiple sub-blocks by combining at least one of the existing quad-tree block partitioning, uniform binary-tree block partitioning, or binary-tree block partitioning.

[0144] Blocks that can be generated through the aforementioned specific bipartitioning method (e.g., binary-tree block partitioning with a ratio of 1:3 / 3:1, 3:5 / 5:3, 1:7 / 7:1, 1:15 / 15:1) may also be generated by combining existing quad-tree block partitioning, equal binary-tree block partitioning, and binary-tree block partitioning, or / and recursively combining them.

[0145] When using the specific bipartition method described in the above embodiments, a target partition shape can be obtained in a single step or the partitioning steps can be reduced without going through the process of combining existing block partitioning methods or / and recursively combining them. Additionally, compression performance can be improved by reducing the number and amount of information required to distinguish and represent each block partitioning method.

[0146] For example, when using a general block partitioning method, in order to implement a block shape that partitions blocks in a 5:3 ratio based on the height of the current block, equal horizontal block partitioning (BT_HOR) must be performed three times. However, when applying the unequal binary-tree block partitioning proposed in this disclosure, the target partitioning shape can be obtained by performing 5:3 unequal horizontal block partitioning (APT_H53) once. That is, the target partitioning shape can be obtained through a single block partitioning operation.

[0147] Meanwhile, the process of splitting the current block described above may be performed by obtaining block splitting information from a bitstream. Here, the block splitting information may include information regarding unequal binary-tree block splitting. The information regarding unequal binary-tree block splitting may include at least one of information regarding the splitting ratio, information regarding the splitting direction, or information regarding the type of unequal binary-tree block splitting. The information regarding the type of unequal binary-tree block splitting may indicate whether the larger of two sub-blocks within the current block is a sub-block containing a top-left sample within the current block. The unequal binary-tree block splitting according to the present disclosure may be a block splitting method that applies one or more of the unequal binary-tree block splitting types with ratios of 1:3 or 3:1, 3:5 or 5:3, 1:7 or 7:1, and 1:15 or 15:1.

[0148] Referring to FIG. 4, multiple sub-blocks can be restored (S420).

[0149] After the current block is divided into multiple sub-blocks, predictions for the sub-blocks can be performed. Prediction blocks for the sub-blocks can be generated based on prediction mode information for the sub-blocks obtained from the bitstream.

[0150] Multiple sub-blocks for the current block can be restored based on the prediction block and the residual block. In this case, the residual block of the sub-block may be restored by performing inverse quantization and / or inverse transformation based on residual information (inverse quantization coefficients and related information) obtained from the bitstream.

[0151] Additionally, if a sub-block resulting from non-uniform binary-tree block partitioning has a non-dyadic size, at least one of the processes of prediction, inverse transformation, inverse quantization, and restoration may be performed for the sub-block having a non-dyadic size. Here, a non-dyadic size may mean an integer that cannot be expressed as a power of 2. If the non-dyadic size is denoted as N, N may be an integer such as 6, 10, 12, 20, 24, 40, 48, etc. In particular, when performing video coding using a block partitioning method including non-uniform binary-tree block partitioning proposed in this disclosure, a transformation kernel of a non-dyadic size may be used.

[0152] FIG. 8 illustrates a schematic configuration of a decoding device (300) that performs a decoding method according to the present disclosure.

[0153] Referring to FIG. 8, the decoding device (300) may include a splitting unit (810) and a restoration unit (820). The restoration unit (820) may be configured to include the prediction unit (330) of FIG. 3, the residual processing unit (320), and the addition unit (340). Prediction can be performed after a splitting process is preceded through the splitting unit (810) connected to the prediction unit (330).

[0154] The splitting unit (810) can perform the splitting process of the current block according to S410. The restoration unit (820) can perform the restoration process of the sub-block according to S420.

[0155] FIG. 9 illustrates an encoding method performed by an encoding device (200) as an embodiment according to the present disclosure.

[0156] Block partitioning can be performed to divide the current block into a plurality of sub-blocks (S910). The unequal binary-tree block partitioning according to the present disclosure may be a block partitioning method that applies one or more of the unequal binary-tree block partitioning types with ratios of 1:3 or 3:1, 3:5 or 5:3, 1:7 or 7:1, and 1:15 or 15:1. Block partitioning information regarding the block partitioning of the current block may be generated. Here, the block partitioning information includes information regarding the unequal binary-tree block partitioning, as described with reference to FIG. 4.

[0157] The method of dividing the current block is as described with reference to Figure 4, so a detailed explanation will be omitted to avoid duplication.

[0158] Prediction blocks can be generated for multiple sub-blocks divided in S910 (S920). Additionally, transformation coefficients of the sub-blocks can be derived based on the residual blocks (S930). The residual blocks can be generated based on the prediction blocks generated in S920. Transformation coefficients can be derived by performing at least one of transformation or quantization on the residual blocks.

[0159] Additionally, if the sub-blocks resulting from non-uniform binary-tree block partitioning have a non-dyadic size, at least one of the processes of prediction, quantization, transformation, and entropy encoding may be performed for the sub-blocks having a non-dyadic size. Here, a non-dyadic size may mean an integer that cannot be expressed as a power of 2. If the non-dyadic size is denoted as N, N may be an integer such as 6, 10, 12, 20, 24, 40, 48, etc. In particular, when performing video coding using a block partitioning method including non-uniform binary-tree block partitioning proposed in this disclosure, a transformation kernel of a non-dyadic size may be used.

[0160] A bitstream can be generated by encoding residual information regarding the conversion coefficients (S940).

[0161] A bitstream can be generated by encoding residual information, etc., regarding the conversion coefficients for the sub-block derived from S930.

[0162] FIG. 10 illustrates a schematic configuration of an encoding device (200) that performs an encoding method according to the present disclosure.

[0163] Referring to FIG. 10, the encoding device (200) may include a division unit (1010), a prediction block generation unit (1020), a transformation coefficient derivation unit (1030), and a residual information encoding unit (1040).

[0164] The segmentation unit (1010) may be provided in the image segmentation unit (210) of FIG. 2, and the prediction block generation unit (1020) may be provided in the prediction unit (220) of FIG. 2. Additionally, the transformation coefficient derivation unit (1030) may be provided in the residual processing unit (230) of FIG. 2, and the residual information encoding unit (1040) may be provided in the entropy encoding unit (240) of FIG. 2.

[0165] The division unit (1010) can perform the division process of the current block according to S910. The prediction block generation unit (1020) can perform the generation process of the prediction block according to S920. The transformation coefficient derivation unit (1030) can perform the derivation process of the transformation coefficient according to S930. The entropy encoding unit (1040) can perform the encoding process of residual information, etc. according to S940.

[0166] In the embodiments described above, methods are described based on flowcharts as a series of steps or blocks; however, the embodiments are not limited to the order of the steps, and some steps may occur in a different order or simultaneously with other steps as described above. Furthermore, those skilled in the art will understand that the steps shown in the flowcharts are not exclusive, and other steps may be included, or one or more steps of the flowcharts may be omitted without affecting the scope of the embodiments of this document.

[0167] The method according to the embodiments of the present document described above may be implemented in the form of software, and the encoding device and / or decoding device according to the present document may be included in a device that performs image processing, such as a TV, computer, smartphone, set-top box, display device, etc.

[0168] When the embodiments described in this document are implemented in software, the method described above may be implemented as a module (process, function, etc.) that performs the function described above. The module may be stored in memory and executed by a processor. The memory may be located inside or outside the processor and may be connected to the processor by various well-known means. The processor may include an application-specific integrated circuit (ASIC), other chipsets, logic circuits, and / or data processing devices. The memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory cards, storage media, and / or other storage devices. That is, the embodiments described in this document may be implemented and executed on a processor, microprocessor, controller, or chip. For example, the functional units illustrated in each figure may be implemented and executed on a computer, processor, microprocessor, controller, or chip. In this case, information on instructions or algorithms for implementation may be stored on a digital storage medium.

[0169] In addition, the decoding device and encoding device to which the embodiment(s) of the present specification are applied may be included in multimedia broadcasting transmission and reception devices, mobile communication terminals, home cinema video devices, digital cinema video devices, surveillance cameras, video conversation devices, real-time communication devices such as video communication, mobile streaming devices, storage media, camcorders, Video on Demand (VoD) service providers, Over-the-top video (OTT) devices, internet streaming service providers, 3D video devices, virtual reality (VR) devices, augmented reality (AR) devices, video phone video devices, transportation terminals (e.g., vehicle terminals (including autonomous vehicles), airplane terminals, ship terminals, etc.), and medical video devices, and may be used to process video signals or data signals. For example, Over-the-top video (OTT) devices may include game consoles, Blu-ray players, internet-connected TVs, home theater systems, smartphones, tablet PCs, Digital Video Recorders (DVRs), etc.

[0170] Additionally, the processing method to which the embodiment(s) of this specification are applied may be produced in the form of a program that is executed by a computer and may be stored on a computer-readable recording medium. Multimedia data having a data structure according to the embodiment(s) of this specification may also be stored on a computer-readable recording medium. The computer-readable recording medium includes all types of storage devices and distributed storage devices in which computer-readable data is stored. The computer-readable recording medium may include, for example, a Blu-ray disc (BD), a Universal Serial Bus (USB), a ROM, a PROM, an EPROM, an EEPROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. Additionally, the computer-readable recording medium includes a medium implemented in the form of a carrier wave (e.g., transmission over the Internet). Additionally, a bitstream generated by an encoding method may be stored on a computer-readable recording medium or transmitted via a wired or wireless communication network.

[0171] Additionally, the embodiments of this specification may be implemented as a computer program product by program code, and said program code may be executed on a computer by the embodiments of this specification. said program code may be stored on a computer-readable carrier.

[0172] FIG. 11 shows an example of a content streaming system to which embodiments of the present disclosure can be applied.

[0173] Referring to FIG. 11, a content streaming system to which the embodiment(s) of the present specification are applied may largely include an encoding server, a streaming server, a web server, a media storage, a user device, and a multimedia input device.

[0174] The above encoding server compresses content input from multimedia input devices, such as smartphones, cameras, and camcorders, into digital data to generate a bitstream and transmits it to the streaming server. As another example, if multimedia input devices, such as smartphones, cameras, and camcorders, generate the bitstream directly, the encoding server may be omitted.

[0175] The bitstream above may be generated by an encoding method or a bitstream generation method to which the embodiment(s) of the present specification are applied, and the streaming server may temporarily store the bitstream during the process of transmitting or receiving the bitstream.

[0176] The streaming server transmits multimedia data to a user device based on a user request via a web server, and the web server acts as a medium to inform the user of available services. When a user requests a desired service from the web server, the web server transmits it to the streaming server, and the streaming server transmits the multimedia data to the user. At this time, the content streaming system may include a separate control server, and in this case, the control server plays the role of controlling commands and responses between each device within the content streaming system.

[0177] The streaming server may receive content from a media storage and / or an encoding server. For example, when receiving content from the encoding server, the content may be received in real time. In this case, to provide a seamless streaming service, the streaming server may store the bitstream for a certain period of time.

[0178] Examples of the above user devices may include mobile phones, smartphones, laptop computers, digital broadcasting terminals, PDAs (personal digital assistants), PMPs (portable multimedia players), navigation systems, slate PCs, tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, smart glasses, HMDs (head-mounted displays)), digital TVs, desktop computers, digital signage, etc.

[0179] Each server within the above-mentioned content streaming system can be operated as a distributed server, and in this case, data received from each server can be processed in a distributed manner.

[0180] The claims described in this specification may be combined in various ways. For example, the technical features of the method claims in this specification may be combined to be implemented as a device, and the technical features of the device claims in this specification may be combined to be implemented as a method. Furthermore, the technical features of the method claims and the technical features of the device claims in this specification may be combined to be implemented as a device, and the technical features of the method claims and the technical features of the device claims in this specification may be combined to be implemented as a method.

[0181] The present invention can be used to encode / decode images.

Claims

A step of performing block partitioning to divide the current block into multiple sub-blocks; The step of restoring the above plurality of sub-blocks is included, The above block partitioning includes binary-tree block partitioning, and The above binary-tree block partitioning is performed evenly or unequally. In paragraph 1, The above block partitioning method further comprises at least one of quad-tree block partitioning or ternary-tree block partitioning. In paragraph 1, A method wherein the binary-tree block split comprises at least one of a binary-tree block split with a 1:3 ratio or a binary-tree block split with a 3:1 ratio. In paragraph 3, The above 1:3 ratio binary-tree block partitioning includes at least one of a 1:3 ratio vertical binary-tree block partitioning or a 1:3 ratio horizontal binary-tree block partitioning, and A method wherein the above 3:1 ratio binary-tree block split comprises at least one of a 3:1 ratio vertical binary-tree block split or a 3:1 ratio horizontal binary-tree block split. In paragraph 3, The above binary-tree block splitting method further comprises at least one of a binary-tree block splitting with a 3:5 ratio, a binary-tree block splitting with a 5:3 ratio, a binary-tree block splitting with a 1:7 ratio, a binary-tree block splitting with a 7:1 ratio, a binary-tree block splitting with a 1:15 ratio, or a binary-tree block splitting with a 15:1 ratio. In paragraph 1, At least one of the types of binary-tree block partitions available to perform the above binary-tree block partitioning or the number of said types is determined based on a first flag indicating computational complexity signaled in the SPS, and The above type is a method comprising at least one of a 1:3 ratio, a 3:1 ratio, a 3:5 ratio, a 5:3 ratio, a 1:7 ratio, a 7:1 ratio, a 1:15 ratio, or a 15:1 ratio. In paragraph 1, A method comprising the step of performing the block partitioning above to partition the current block into a plurality of sub-blocks, wherein the step of performing the binary-tree block partitioning evenly and performing the binary-tree block partitioning unequally on the sub-blocks generated therefrom. In paragraph 2, A method comprising the step of performing the block partitioning to divide the current block into a plurality of sub-blocks, wherein the step of performing the binary-tree block partitioning unequally on the sub-blocks generated by performing the binary-tree block partitioning. A step of performing block partitioning to divide the current block into multiple sub-blocks; A step of generating a prediction block for the plurality of sub-blocks above; A step of deriving transformation coefficients for the plurality of sub-blocks based on the residual block; The method includes the step of generating a bitstream by encoding residual information regarding the above-mentioned conversion coefficients, The above block partitioning includes binary-tree block partitioning, and The above binary-tree block partitioning is performed evenly or unequally. A computer-readable storage medium for storing a bitstream generated by the method according to paragraph 9. A step of acquiring a bitstream for image information; wherein the bitstream is generated based on a step of performing block partitioning to divide a current block into a plurality of sub-blocks; a step of generating a prediction block for the plurality of sub-blocks; a step of deriving transformation coefficients for the plurality of sub-blocks based on a residual block; and a step of encoding residual information regarding the transformation coefficients to generate a bitstream, and The method includes the step of transmitting data including the above bitstream, The above block partitioning includes binary-tree block partitioning, and The above binary-tree block partitioning is performed evenly or unequally.