WO2018070552A1 - 영상을 부호화/복호화 하는 방법 및 그 장치 - Google Patents
영상을 부호화/복호화 하는 방법 및 그 장치 Download PDFInfo
- Publication number
- WO2018070552A1 WO2018070552A1 PCT/KR2016/011299 KR2016011299W WO2018070552A1 WO 2018070552 A1 WO2018070552 A1 WO 2018070552A1 KR 2016011299 W KR2016011299 W KR 2016011299W WO 2018070552 A1 WO2018070552 A1 WO 2018070552A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- coding unit
- unit
- transform
- information
- coding
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/18—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
Definitions
- Various data units may be used to compress an image, and there may be an inclusion relationship among these data units.
- the data unit may be divided by various methods, and the optimized data unit is determined according to the characteristics of the image, thereby encoding or decoding the image.
- square coding units are determined through a recursive partitioning process that determines whether to split in a process of determining a size of coding units included in a picture, and then splits them into four equally sized coding units. Decided.
- a bitstream obtainer for obtaining block shape information of a current coding unit and at least one coding unit for dividing the image are determined based on the block shape information
- a decoder configured to decode the image by determining at least one transform unit based on a form of a current coding unit included in at least one coding unit, and performing inverse transform based on the at least one transform unit
- the block shape information may be provided with an image decoding apparatus that indicates whether the current coding unit is a square form or a non-square form.
- An image encoding method may be provided that includes generating a bitstream including the bitstream.
- an apparatus for encoding an image includes: determining at least one coding unit for dividing the image, and based on a form of a current coding unit included in the at least one coding unit, at least one transformation unit And an encoding unit encoding the image by performing transformation based on the at least one transformation unit, block shape information indicating whether the current coding unit is square or non-square, and the encoded image.
- An image encoding apparatus including a bitstream generator configured to generate a bitstream may be provided.
- transform unit adaptive to the characteristics of the image may be used, thereby enabling efficient image encoding and decoding. It is possible to improve the quality of the reconstructed image.
- FIG. 2 is a block diagram of an image encoding apparatus that encodes an image based on a transformation unit included in a coding unit that divides an image, according to an exemplary embodiment.
- 4A, 4B, and 4C illustrate various types of transformation units that may be determined in a current coding unit having a non-square shape according to an embodiment.
- FIG. 5 illustrates a process of determining a plurality of transformation units included in a current coding unit based on a result of comparing a size of a current coding unit with a maximum size of a transformation unit, according to an embodiment.
- FIG. 6 is a diagram for describing a feature in which a combination of forms that a transformation unit may have may vary for each predetermined data unit, according to an exemplary embodiment.
- FIG. 7 illustrates a conversion unit having a minimum size that can be determined for each luminance component and a chrominance component according to an embodiment.
- FIG. 8 is a diagram for describing a process of obtaining information indicating whether a transform unit other than zero is included in a transform unit of a current depth in a process of determining at least one transform unit included in a current coding unit, according to an embodiment. Drawing.
- FIG. 10 illustrates a process in which at least one coding unit is determined by dividing a coding unit having a non-square shape according to an embodiment.
- FIG. 11 illustrates a process of splitting a coding unit based on at least one of block type information and split type information, according to an embodiment.
- FIG. 12 illustrates a method of determining a predetermined coding unit among odd number of coding units according to an embodiment.
- FIG. 13 illustrates an order in which a plurality of coding units are processed when a current coding unit is divided and a plurality of coding units are determined according to an embodiment.
- 15 is a diagram illustrating a process of determining at least one coding unit by dividing a first coding unit according to an embodiment.
- FIG. 16 illustrates that a form in which a second coding unit may be split is limited when the second coding unit having a non-square shape determined by splitting the first coding unit satisfies a predetermined condition according to an embodiment. .
- FIG. 18 illustrates that a processing order between a plurality of coding units may vary according to a division process of coding units, according to an embodiment.
- 19 is a diagram illustrating a process of determining a depth of a coding unit according to an embodiment when a coding unit is recursively divided and a plurality of coding units are determined.
- FIG. 20 illustrates a depth and a part index (PID) for distinguishing a coding unit, which may be determined according to the shape and size of coding units, according to an embodiment.
- PID depth and a part index
- 21 illustrates that a plurality of coding units are determined according to a plurality of predetermined data units included in a picture according to an embodiment.
- FIG. 22 is a diagram of a processing block serving as a reference for determining a determination order of a reference coding unit included in a picture, according to an embodiment.
- FIG. 23 illustrates coding units that may be determined for each picture when combinations of forms in which coding units may be divided are different for each picture, according to an embodiment.
- 26 is a block diagram of an image encoding and decoding system for performing loop filtering.
- FIG. 27 is a diagram illustrating an example of filtering units included in a maximum coding unit and filtering performance information of a filtering unit, according to an embodiment.
- FIG. 28 illustrates a process of merging or splitting between coding units determined according to a predetermined encoding method, according to an embodiment.
- 29 illustrates an index according to a Z scan order of coding units, according to an embodiment.
- FIG. 30 is a diagram illustrating a reference sample for intra prediction of a coding unit, according to an embodiment.
- An image decoding method may be provided that indicates whether the shape is square or non-square.
- the determining of the plurality of transformation units may include determining a plurality of transformation units having a square form when the current coding unit is a square form, and when the current coding unit is a non-square form when the current coding unit is a non-square form. And dividing the current coding unit in a vertical direction or a horizontal direction to determine a plurality of transformation units.
- the determining of at least one transform unit may include determining a plurality of transform units of the maximum size included in the current coding unit when the size of the current coding unit is greater than the maximum size of the transform unit. It may further comprise a step.
- the image decoding method may further include obtaining at least one of information on the maximum size and information on the minimum size of the transform unit from the bitstream.
- the image decoding method may further include acquiring, from the bitstream, information about a block type that the at least one transformation unit may have.
- the determining of the at least one transform unit may be performed if the size of the current coding unit for decoding a chroma sample of the image is smaller than the minimum size of the at least one transform unit.
- the method may further include determining the at least one conversion unit having a size greater than or equal to size.
- the image decoding method may be characterized in that the depth of the at least one transformation unit is determined based on the length of the long side of the at least one transformation unit.
- the determining of the at least one transform unit may further include obtaining information from the bitstream indicating whether a transform coefficient other than zero is included in the transform unit of the current depth determined during the splitting of the transform unit.
- decoding the image may include decoding the image by using information indicating whether a non-zero transform coefficient is included.
- the obtaining of the information indicating whether a non-zero transform coefficient is included from the bitstream may include: a shape of the current coding unit, whether the color difference component of the image is included in the current coding unit, and the current Obtaining from the bitstream information indicating whether the non-zero transform coefficient is included based on at least one of whether intra prediction used in a coding unit is performed and the number of transform units included in the current coding unit. can do.
- the obtaining of the information from the bitstream indicating whether a non-zero transform coefficient is included may further include that when the shape of the current coding unit is non-square, the transform unit of the current depth is no longer split. Otherwise, obtaining information from the bitstream indicating whether a non-zero transform coefficient is included in the transform unit of the current depth.
- decoding the image may include determining a context index based on the form of the at least one transformation unit, and decoding the image based on the determined context index.
- An image encoding method may be provided that includes generating a bitstream including the bitstream.
- an apparatus for encoding an image includes: determining at least one coding unit for dividing the image, and based on a form of a current coding unit included in the at least one coding unit, at least one transformation unit And an encoding unit encoding the image by performing transformation based on the at least one transformation unit, block shape information indicating whether the current coding unit is square or non-square, and the encoded image.
- An image encoding apparatus including a bitstream generator configured to generate a bitstream may be provided.
- part refers to a hardware component, such as software, FPGA or ASIC, and “part” plays certain roles. However, “part” is not meant to be limited to software or hardware.
- the “unit” may be configured to be in an addressable storage medium and may be configured to play one or more processors.
- a “part” refers to components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, procedures, Subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays and variables.
- the functionality provided within the components and “parts” may be combined into a smaller number of components and “parts” or further separated into additional components and “parts”.
- the "image” may be a static image such as a still image of a video or may represent a dynamic image such as a video, that is, the video itself.
- sample means data to be processed as data allocated to a sampling position of an image.
- pixel values and transform coefficients on a transform region may be samples in an image of a spatial domain.
- a unit including the at least one sample may be defined as a block.
- FIG. 1 is a block diagram of an image decoding apparatus for decoding an image based on a transformation unit included in a coding unit for dividing an image, according to an exemplary embodiment.
- the bitstream obtainer 110 of the image decoding apparatus 100 may obtain split information of a transform unit from a bitstream, and the decoder 120 parses split information of a transform unit from a bitstream. It may be used to determine at least one transformation unit included in the current coding unit.
- the decoding unit 120 determines whether the current coding unit is square or non-square. Based on, a plurality of transformation units included in the current coding unit may be determined.
- the current transform unit may mean a data block used in a process of recursively partitioning a transform unit that has a tree structure and is no longer split. That is, the current transformation unit may be a data block of various shapes and sizes in which it may be determined whether to divide into a plurality of transformation units of small size in the recursive partitioning process.
- the split information of the transformation unit indicates that the current transformation unit is divided into a plurality of transformation units, and when the current coding unit is in a square form, the decoder 120 may include a plurality of squares included in the current coding unit.
- the conversion unit can be determined.
- the decoder 120 may set the current coding unit in a vertical direction or a horizontal direction.
- a plurality of transformation units may be determined by dividing by.
- 3A and 3B illustrate various types of transformation units that may be determined by a current coding unit having a square shape according to an embodiment.
- the decoder 120 of the image decoding apparatus 100 may determine at least one coding unit including the current coding unit 300 based on block shape information. A process of determining a coding unit based on block shape information will be described with reference to various embodiments described below.
- the determined coding unit may have a square shape or a non-square shape.
- the decoder 120 may determine a type of a transformation unit that may be included in the current coding unit 300 based on the shape of the current coding unit 300 according to an embodiment.
- the decoder 120 is a transform unit having a 2N ⁇ 2N size as a form of at least one transform unit included in the current coding unit 300.
- a transformation unit 310b having an N ⁇ 2N size or a transformation unit 310c having a 2N ⁇ N size may be determined.
- the decoder 120 of the image decoding apparatus 100 may determine at least one coding unit including the current coding unit 350 based on block shape information.
- the decoder 120 may determine a type of a transform unit that may be included in the current coding unit 350 based on the shape of the current coding unit 350 having a square shape. For example, if the current coding unit 350 is a block having a square shape having a size of 2N ⁇ 2N, the decoder 120 may form one block having a 2N ⁇ 2N size as a form of at least one transform unit included in the current coding unit 300.
- the transformation unit 360a may be determined, or four transformation units 370b having an N ⁇ N size may be determined.
- the bitstream obtainer 110 may obtain split information indicating whether to split a current transformation unit from the bitstream.
- the decoder 120 may determine at least one transform unit included in the current coding unit based on the split information of the transform unit. For example, when the split information of the obtained transformation unit indicates that the current transformation unit is divided into a plurality of transformation units, the plurality of transformation units included in the current coding unit based on whether the current coding unit is square or non-square.
- the conversion unit can be determined.
- the shape of the current coding unit may be related to block shape information related to the current coding unit.
- 4A, 4B, and 4C illustrate various types of transformation units that may be determined in a current coding unit having a non-square shape according to an embodiment.
- the decoder 120 may determine at least one transform unit included in a current coding unit 400a having a non-square shape having a height greater than a width according to an embodiment.
- the decoder 120 may determine that one transform unit 410a is included in the current coding unit 400a or may be determined to include a plurality of transform units 420a by dividing in the horizontal direction.
- at least one transformation unit included in the current coding unit 450a having a non-square shape having a width greater than a height may be determined according to an embodiment.
- the decoder 120 may determine that one transform unit 460a is included in the current coding unit 450a or may be determined to include a plurality of transform units 470a by dividing in the horizontal direction.
- the shapes of the plurality of transformation units 420a or 470a that may be determined by the non-square coding units 400a or 450a may be square.
- the decoder 120 may determine at least one transform unit included in the current coding unit 400b having a non-square shape having a height greater than a width according to an embodiment.
- the decoder 120 may determine that one transformation unit 410b is included in the current coding unit 400b, or may be determined to include a plurality of transformation units 420b or 430b by dividing in a horizontal or vertical direction.
- at least one transformation unit included in the current coding unit 450b having a non-square shape having a width greater than a height may be determined according to an embodiment.
- the decoder 120 may determine that one transformation unit 460b is included in the current coding unit 450b, or may be determined to include a plurality of transformation units 470b or 480b by dividing in a vertical direction or a horizontal direction. .
- the decoder 120 may determine at least one transform unit included in the current coding unit 400c having a non-square shape having a height greater than a width according to an embodiment.
- the decoder 120 may determine that one transformation unit 410c is included in the current coding unit 400c, and may be determined to include a plurality of transformation units 420c or 430c by dividing in a horizontal or vertical direction.
- the plurality of transformation units 440c may be determined by dividing into a vertical direction and a horizontal direction.
- at least one transformation unit included in the current coding unit 450c having a non-square shape having a width greater than a height may be determined according to an embodiment.
- the decoder 120 may determine that one transformation unit 460c is included in the current coding unit 450c, and may be determined to include a plurality of transformation units 470c or 480c by dividing in a vertical direction or a horizontal direction.
- the plurality of transformation units 490c may be included in the vertical direction and the horizontal direction.
- the decoder 120 may determine at least one transformation unit. Combination of forms should not be limited to the above-described form, it should be construed that may include a variety of types of transformation unit included in the current coding unit.
- FIG. 5 illustrates a process of determining a plurality of transformation units included in a current coding unit based on a result of comparing a size of a current coding unit with a maximum size of a transformation unit, according to an embodiment.
- the decoder 120 may determine at least one transform unit included in the current coding unit 500, and a maximum size of the transform unit may be predetermined. According to an embodiment, the decoder 120 may compare the current coding unit 500 with a transformation unit 510 having a predetermined maximum size. As a result of the comparison, when the size of the current coding unit 500 is larger than the maximum size of the transformation unit, the decoder 120 may determine the plurality of change units 520 having the maximum size included in the current coding unit 500. have. Referring to FIG. 5, when the size of the current coding unit 500 is 2N ⁇ 2N and the maximum size of the transform unit 510 is N ⁇ N, the decoder 120 may determine at least one transform included in the current coding unit 500.
- the unit may be divided into a transform unit 520 of the largest size included in the current coding unit 500. That is, the decoder 120 determines a plurality of largest transform units included in the current coding unit to determine at least one transform unit included in the current coding unit that is larger than the largest transform unit, and then determines the maximum size. It may be determined whether to divide each transform unit of into smaller transform units.
- the bitstream obtainer 110 may obtain information about the maximum size of the transform unit from the bitstream.
- the information on the maximum size of the transformation unit may be an integer directly indicating the maximum size of the transformation unit, or may be an index related to the maximum size.
- the bitstream obtainer 110 may obtain information about a block type that a transform unit may have from the bitstream, and the decoder 120 may obtain information about a block type that the transform unit may have. Based on the at least one transform unit included in the current coding unit may be determined.
- the block type that a transformation unit may have may vary, and the decoder may determine a transformation unit included in a data unit (eg, a picture, a slice, a slice segment, a tile, a maximum coding unit, a coding unit, etc.).
- a data unit eg, a picture, a slice, a slice segment, a tile, a maximum coding unit, a coding unit, etc.
- a combination of forms that a transformation unit may have may vary for each data unit (for example, a picture, a slice, a slice segment, a tile, a maximum coding unit, and a coding unit).
- the bitstream generator 110 may obtain information about a block type that a transformation unit may have for each data unit from the bitstream, and the decoder 120 may have a block that the transformation unit may have. Based on the information on the shape, a combination of block types that a transformation unit may have for each predetermined data unit may be differently determined.
- FIG. 6 is a diagram for describing a feature in which a combination of forms that a transformation unit may have may vary for each predetermined data unit, according to an exemplary embodiment.
- the bitstream generator 110 may obtain, from the bitstream, information about a block type that a transformation unit may have for each of the maximum coding units 600, 610, 620, and 630 which are predetermined data units.
- the decoder 120 may determine at least one transform unit based on information on a block shape that a transform unit obtained for each largest coding unit may have.
- the information on the block shape that the transform unit may have refers to combinations of predetermined block types including shapes that may be obtained by transform units having a small size that may be determined by dividing a square or non-square type transform unit. Information.
- FIGS. 4A, 4B, and 4C combinations of block types indicated by information on block types that a transformation unit may have will be described based on the types shown in FIGS. 4A, 4B, and 4C.
- the bitstream obtainer 110 associates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 4A with a maximum coding unit 600. Can be obtained.
- the decoder 120 may determine at least one transform unit included in one of at least one coding unit included in the maximum coding unit 600 using the types of transform units described above with reference to FIG. 4A. . That is, within the maximum coding unit 600, the decoder 120 may determine a transformation unit by dividing a long side of the non-square transformation unit or not dividing the transformation unit.
- the bitstream obtainer 110 associates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 4B with a maximum coding unit 610. Can be obtained.
- the decoder 120 may determine at least one transform unit included in one of at least one coding unit included in the maximum coding unit 610 using the types of transform units described above with reference to FIG. 4B. . That is, within the maximum coding unit 610, the decoder 120 may determine at least one transformation unit by dividing the non-square-shaped transformation unit in the vertical direction or the horizontal direction or not dividing the transformation unit.
- the bitstream obtainer 110 associates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 4C with the maximum coding unit 620.
- the decoder 120 may determine at least one transform unit included in one of at least one coding unit included in the maximum coding unit 620 using the types of transform units described above with reference to FIG. 4C. . That is, within the maximum coding unit 620, the decoder 120 divides the non-square-shaped transform unit into at least one of the vertical direction and the horizontal direction or does not divide the transform unit by at least one transform unit. Can be determined.
- the bitstream obtainer 110 may acquire a bitstream including information indicating a combination including a form of a transform unit illustrated in FIGS. 3A and 3B in relation to the maximum coding unit 600. Can be.
- the decoder 120 may determine at least one transform unit included in one of at least one coding unit included in the maximum coding unit 600 using the types of transform units described above with reference to FIGS. 3A and 3B. .
- Combinations of forms of transform units in which square transform units may be divided and determined should not be construed as being limited to the forms shown in FIGS. 3A and 3B and include only some of the forms shown in FIGS. 3A and 3B. Combinations may be included.
- the bitstream obtainer 110 obtains at least one of information representing the type of transformation unit that the decoder 120 can use and information representing the size of the transformation unit from the bitstream for each predetermined data unit. can do.
- the image decoding apparatus 100 may include a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice segment header. In one of the segment headers, at least one of information indicating a type of a transformation unit and information indicating a size of a transformation unit may be obtained.
- the image decoding apparatus 100 may obtain and use from a bitstream including at least one of a maximum coding unit, a reference coding unit, information indicating a shape of a transformation unit for each processing block, and information indicating a size of a transformation unit. .
- a maximum coding unit e.g., a maximum coding unit
- a reference coding unit e.g., a reference coding unit
- information indicating a shape of a transformation unit for each processing block e.g., information indicating a shape of a transformation unit for each processing block
- information indicating a size of a transformation unit e.g., a size of a transformation unit.
- the bitstream obtainer 110 of the image decoding apparatus 100 may obtain at least one of information on the maximum size and information on the minimum size of the transform unit from the bitstream.
- at least one of a maximum size and a minimum size that a transformation unit may have may be predetermined, and accordingly, at least one of information on the maximum size of the transformation unit and information on the minimum size of the transformation unit may be determined.
- the bitstream may be obtained from the bitstream through the bitstream obtainer 110.
- the decoder 120 may determine at least one transform unit using the maximum size and the minimum size of the transform unit that may be determined using the obtained information.
- the information on the maximum size of the transform unit and the information on the minimum size of the transform unit may be obtained for each data unit (sequence, picture, slice, slice segment, tile, maximum coding unit, coding unit, etc.). Can be.
- the bitstream obtainer 110 obtains at least one of information on the maximum size of the transform unit and information on the minimum size of the transform unit for each sequence including a plurality of pictures from the bitstream, the decoder.
- the 120 may determine the maximum size and the minimum size of the transform unit for each sequence using this information.
- the information on the maximum size of the transformation unit and the information on the minimum size of the transformation unit may be information indicating the length of one side of the transformation unit of the square form or the length of the long side of the non-square form. It may be an index indicating the size of a block.
- the information indicating the length of the sides of the transformation unit may be the number of samples or a logarithm of the number of samples.
- the bitstream obtainer 110 may provide information indicating a difference between the maximum size and the minimum size of the bitstream and the transformation unit including information on the maximum size of the transformation unit or information on the minimum size of the transformation unit. Can be obtained from the bitstream.
- the decoding unit 120 uses the maximum size or the minimum size of the transformation unit by using one of information on the maximum size of the transformation unit or information on the minimum size of the transformation unit and information indicating the difference between the maximum and minimum sizes of the transformation unit. Can be determined.
- the decoder 120 may determine the maximum size of the transform unit using information on the minimum size of the transform unit and information representing the difference between the maximum size and the minimum size of the transform unit.
- the decoder 120 may determine the minimum size of the transformation unit using information on the maximum size of the transformation unit and information representing the difference between the maximum size and the minimum size of the transformation unit.
- the decoder 120 may determine, for each component, a transformation unit for performing inverse transformation of a luma component and a chroma component of an image. According to an embodiment, the decoder 120 may differently set a minimum size of the transform unit for the luminance component of the image and a minimum size of the transform unit for the chrominance component. For example, the decoder 120 may determine the minimum size of the transform unit for the luminance component as 4x4 and the minimum size of the transform unit for the chrominance component to 4x2 or 2x4.
- the decoder 120 may determine the minimum size that the transformation unit may have by dividing the luminance component and the chrominance component in consideration of the relationship or ratio between the luminance component and the chrominance component used according to a method of decoding an image. . According to an embodiment, the decoder 120 may set the minimum size of the transform unit for the luminance component of the image and the minimum size of the transform unit for the chrominance component differently and set the maximum size to be the same.
- FIG. 7 illustrates a conversion unit having a minimum size that can be determined for each luminance component and a chrominance component according to an embodiment.
- the decoder 120 may determine at least one transformation unit included in the current coding unit 700 for the luminance component of the image, and include it in the current coding unit 710 for the color difference component of the image. At least one transformation unit may be determined. According to an embodiment, the decoder 120 may differently set the minimum size of the transform unit for the luminance component and the minimum size of the transform unit for the color difference component. For example, the decoder 120 may determine the minimum size of the transform unit for the luminance component as 4x4 and the minimum size of the transform unit for the chrominance component to 4x2 or 2x4.
- the decoder 120 when the size of the current coding unit 700 for the luminance component is 8x8, the decoder 120 is at least one transform unit included in the current coding unit 700 for the luminance component and has a size of 4x4 or more. At least one transformation unit having may be determined. Referring to FIG. 7, the decoder 120 may determine four transform units included in the current coding unit 710 having a size of 8 ⁇ 8, and in this case, the transform units may have a size of 4 ⁇ 4 having a minimum size.
- the decoder 120 may determine a coding unit 710 for a color difference component associated with a luminance component of the current coding unit 700. According to an embodiment, when the size of the current coding unit 700 for the luminance component is 2N ⁇ 2N, the decoder 120 may determine that the size of the coding unit 710 for the color difference component associated with the luminance component is N ⁇ N. Referring to FIG. 7, when the size of the current coding unit 700 for the luminance component is 8 ⁇ 8, the size of the current coding unit 710 for the color difference component may be determined to be 4 ⁇ 4.
- the size of the transform unit for the chrominance component may be a size obtained by dividing the transform unit for the luminance component in at least one of a vertical direction and a horizontal direction. That is, the transformation unit for the color difference component may have a smaller size than the transformation unit for the luminance component.
- the minimum size of the transform unit for each of the luminance component and the color difference component may be different.
- the decoder 120 may determine at least one transform unit included in the current coding unit 710 for the color difference component in consideration of the minimum size of the transform unit.
- the decoder 120 may have a size obtained by dividing the transform unit for the chrominance component in the vertical direction and the horizontal direction. However, when the size of dividing the transform unit for the luminance component in the vertical direction and the horizontal direction is smaller than the minimum size of the transform unit for the color difference component, the decoder 120 considers the color difference in consideration of the minimum size of the transform unit for the color difference component. The unit of conversion for the component can be determined.
- the decoder 120 may apply to the chrominance component having the minimum size.
- the conversion unit can be determined.
- the decoder 120 when the size obtained by dividing the transform unit for the luminance component in the vertical direction and the horizontal direction is smaller than the minimum size of the transform unit for the chrominance component, the decoder 120 adjusts the transform unit for the luminance component in the vertical direction. And transform units having a size divided in a horizontal direction, to determine a transform unit having a size greater than or equal to a minimum size of the transform unit for the color difference component.
- the decoder 120 may use the size of the transform unit for the luminance component as the size of the transform unit for the color difference component without dividing the transform unit for the luminance component in the vertical direction and the horizontal direction.
- the decoder 120 may determine the chrominance component.
- the transformation units split into the minimum size of the transformation unit may be merged. For example, by comparing the minimum size of four 2x2 transform units determined by dividing a transform unit for a luminance component having a 4x4 size and a transform unit for a chrominance component, merging four 4x2 transform units. At least one transform unit for the chrominance component having the smallest size may be determined.
- the decoder 120 may determine at least one transformation unit (eg, 730, 750, 760, 770) included in the coding unit 710 for the color difference component.
- the decoder 120 may determine a transform unit for the color difference component in consideration of the minimum size of the transform unit, and the minimum size of the transform unit may vary depending on the luminance component and the color difference component. If the size of the current coding unit 710 for the chrominance component is 2Nx2N, the decoder 120 may include a transform unit 730 having an NxN size, a transform unit 750 having a 2Nx2N size, a transform having a 2NxN or Nx2N size. Unit 760 or 770 may be determined.
- the decoder 120 may determine the transform unit in consideration of the minimum size of the transform unit for the color difference component. For example, when the minimum size of the transform unit for the color difference component is 4x2 or 2x4, the decoder 120 determines four transform units 730 having a 2x2 size in the current coding unit 710 having a 4x4 size. There is no number. In this case, the decoder 120 may determine a transform unit 760 having a 2 ⁇ 4 size or determine a transform unit 770 having a 4 ⁇ 2 size by merging the transform units 730 having a 2 ⁇ 2 size. As another example, the decoder 120 skips the process of determining four transform units 730 having a 2x2 size, and includes at least one transform unit having a minimum size in the current coding unit 710. It can also be determined as a conversion unit.
- the bitstream obtainer 110 may obtain information indicating whether the current transform unit includes a non-zero transform coefficient from the bitstream, and the decoder 120 may determine that a non-zero transform coefficient A decoding process may be performed on a sample included in a transformation unit of the current depth using information indicating whether the information is included.
- the information indicating whether a non-zero transform coefficient is included may be information related to a conversion unit of a current depth determined in a division process of a conversion unit, and the conversion unit of the current depth is later transform unit having a smaller size It may be divided into.
- the decoder 120 determines whether to perform a residual signal decoding process on a transformation unit of the current depth based on information indicating whether a transformation coefficient other than zero is included in the transformation unit of the current depth. You can decide. That is, when a transform coefficient other than 0 is not included in the transform unit of the current depth, the decoding process of the residual signal for the transform unit of the current depth may be omitted. On the contrary, when a transform coefficient other than 0 is included in a transform unit of the current depth, a residual signal for the transform unit of the current depth may be obtained from the bitstream to perform a decoding process.
- the bitstream obtainer 110 may obtain information indicating whether a transform coefficient other than zero is included in the transform unit of the current depth for each of the luminance component and the chrominance component related to the current coding unit, from the bitstream. . That is, the bitstream obtainer 110 includes information indicating whether a transform coefficient of the current depth for the luminance component includes a non-zero transform coefficient and a non-zero transform coefficient in the transform unit of the current depth for the chrominance component. At least one of the information indicating whether the information can be obtained from the bitstream.
- the bitstream obtainer 110 determines that at least one transform unit included in the current coding unit is no longer divided in the current unit of the luminance component when the transform unit of the current depth is no longer split. At least one of information indicating whether a transform unit of depth includes a non-zero transform coefficient and information indicating whether a transform unit of a current depth for a color difference component includes a non-zero transform coefficient may be obtained from the bitstream. have.
- the image decoding apparatus 100 may obtain a bitstream including information indicating whether a non-zero transform coefficient is included in a transform unit of a current depth for each luminance component and chrominance component.
- the image decoding apparatus 100 may use the transform unit for the luminance component and the transform unit for the chrominance component differently.
- the bitstream obtainer 110 acquires information indicating whether a transform coefficient other than zero is included in a transform unit of a current depth for a chrominance component, for each transform unit of a current depth used in the partitioning process. Can be obtained from the bitstream.
- the bitstream obtainer 110 indicates whether a transform coefficient other than zero is included in the transform unit of the current depth for the luminance component only when the transform unit of the current depth is no longer divided.
- Information can be obtained from the bitstream.
- the above-described embodiment is an example for explaining that a method of obtaining information indicating whether a transform unit includes a non-zero transform coefficient may be different for each luminance component or chrominance component. It is to be understood that a method of obtaining information indicating whether a including transform unit includes a non-zero transform coefficient may be implemented according to a combination of various embodiments.
- FIG. 8 is a diagram for describing a process of obtaining information indicating whether a transform unit other than zero is included in a transform unit of a current depth in a process of determining at least one transform unit included in a current coding unit, according to an embodiment. Drawing.
- the decoder 120 may determine at least one transformation unit included in the current coding unit 800. 3A, 3B, and 4A through 4C for determining the conversion unit, detailed description thereof will be omitted. Referring to FIG. 8, the decoder 120 may perform a division process 802 of at least one transformation unit included in the current coding unit 800. The decoder 120 may determine a block having the same size as the current coding unit 800 as a transformation unit of the current depth, and then divide the transformation unit of the current depth. According to an embodiment, the blocks determined by dividing the transform unit of the current depth into smaller sizes may be blocks of a lower depth than the current depth of the transform unit before splitting.
- the depth of the blocks determined by dividing the transformation unit of the current depth into a smaller size is also determined by the current depth. May be the same as
- the decoder 120 may decode the image using the transform unit of the current depth.
- the decoder 120 determines a block 810 having the same size as the current coding unit 800 as a transformation unit or splits a block 810 having the same size as the current coding unit 800 according to an embodiment.
- the decoder 120 may decode the image using the transformation unit of the current depth.
- the decoder 120 may further divide the transform unit of the current depth, which may be a recursive partitioning process.
- the decoder 120 may perform a partitioning process on the non-square transform unit 812a. Since the partitioning process has been described above with reference to FIGS. 4A, 4B, and 4C, a detailed description thereof will be omitted.
- the bitstream obtainer 110 converts information indicating whether a transform coefficient other than zero is included in a transform unit of a current depth determined in a splitting process to determine at least one transform unit. Can be obtained per unit.
- the decoder 120 may recursively divide a block having the same size as the current coding unit 800 to determine at least one transformation unit included in the current coding unit 800. have. For example, while the decoder 120 determines one of the at least one transformation unit 824a included in the current coding unit 800, the bitstream obtainer 110 is the same as the current coding unit 800.
- the bitstream obtainer 110 may obtain information indicating whether a non-zero transform coefficient is included in at least one transform unit included in the current coding unit for at least one transform unit.
- the decoder 120 recursively transforms a transform unit of a current depth having the same size as the current coding unit 800 to determine at least one transform unit included in the current coding unit 800. Can be divided into
- the bitstream obtainer 110 may obtain information indicating whether a transform coefficient other than 0 is included in a transform unit that is no longer divided from the bitstream. For example, while the decoder 120 determines one of the at least one transformation unit 824a included in the current coding unit 800, the bitstream obtainer 110 is the same as the current coding unit 800.
- bitstream obtainer 110 determines that the transform unit 824a is no longer divided, information indicating whether a transform coefficient other than zero is included in the transform unit 824a during decoding of the transform unit 824a. Can be obtained from the bitstream.
- FIG. 8 is merely a mere embodiment used for convenience of description, and the shape of the current coding unit may represent not only a square shape but also a non-square shape, and the process of determining the transform unit is also illustrated in FIG. 8. It should not be construed as limited to the process shown in.
- the image decoding apparatus 100 may determine whether a block shape of a current coding unit, a luminance component or a chrominance component of an image is related to the current coding unit, a prediction mode used in the current coding unit, and a conversion unit included in the current coding unit. Based on at least one of the numbers, a method of obtaining information from a bitstream that indicates whether a transform coefficient other than zero is included in a transform unit of a current depth may be differently determined.
- the image decoding apparatus 100 may differently determine a method of obtaining information indicating whether a non-zero transform coefficient is included in the current block from the bitstream based on the shape of the coding unit.
- the bitstream obtainer 110 may provide information indicating whether each transformation unit determined in a splitting process for determining at least one transformation unit includes a non-zero transform coefficient and a transformation unit of the current depth. Can be obtained every time.
- the bitstream obtainer 110 may obtain information indicating whether a non-zero transform coefficient is included in the transform unit of the current depth only when the transform unit of the current depth is not divided.
- the image decoding apparatus 100 may determine at least one transform unit included in a coding unit having a square shape or a non-square shape.
- the decoder 120 may determine at least one transform unit included in the current coding unit through a recursive division process of the transform unit.
- the bitstream obtainer 110 for each transformation unit of the current depth used in the splitting process of the transformation unit for determining at least one transformation unit Information indicating whether a non-zero transform coefficient is included can be obtained.
- the image decoding apparatus 100 determines whether a non-zero transform coefficient is included in a current block based on whether a block shape of a coding unit, a luminance component of a video, or a chrominance component is related to a current coding unit.
- the method of obtaining the information indicating from the bitstream may be differently determined.
- the bitstream obtainer 110 may determine a transform to determine at least one transformation unit. For each transformation unit of the current depth used in the division process of the unit, information indicating whether a non-zero transformation coefficient is included may be generated.
- the image decoding apparatus 100 may obtain information indicating whether a non-zero transform coefficient is included in a current block from a bitstream based on a block shape of a coding unit and a prediction mode used in the current coding unit. Can be determined differently.
- the bitstream obtainer 110 may determine the at least one transformation unit. For each transformation unit of the current depth used in the partitioning process, information indicating whether a non-zero transform coefficient is included may be generated.
- the image decoding apparatus 100 may determine a method of obtaining information indicating whether a transformation unit includes a non-zero transform coefficient based on a form of a transformation unit of the current depth. For example, when the transform unit of the current depth is square, the bitstream obtainer 110 uses a method for obtaining information indicating whether a non-zero transform coefficient is included. Different conversion units for the unit and the color difference component may be used. In contrast, when the transform unit of the current depth is a non-square form, the bitstream obtainer 110 may include information indicating whether a transform unit other than zero is included in the transform unit for the luminance component and the transform unit for the chrominance component. In the same method (for example, information is obtained for each transformation unit of the current depth used in the division process or information is acquired only when the transformation unit of the current depth is no longer divided). Can be used).
- the method for the image decoding apparatus 100 to obtain information indicating whether a non-zero transform coefficient is included in the current block based on a combination of the various conditions described above is a block for determining at least one transform unit. It should not be interpreted to be limited to what is obtained for each division process, and may be used in various ways for each combination of conditions. That is, a method of obtaining information indicating whether a non-zero transform coefficient is included in each division unit of the current depth by dividing the case based on a combination of various conditions described above, or the current depth only when the current transformation unit is no longer divided. A method of acquiring information indicating whether a transform unit of U includes non-zero transform coefficients may be used.
- the decoder 120 may determine at least one transformation unit based on at least one of the shape and size of the current coding unit. For example, when the current coding unit is a non-square form, the decoder 120 may determine a transform unit having the same form as the current coding unit without performing a splitting process for determining the transform unit. According to an embodiment, when the current coding unit is in a non-square form and a transform unit having the same form as the current coding unit cannot be used, the decoder 120 may divide the transform unit into a plurality of transform units having a minimum size or more. have.
- the decoder 120 may not determine that two 4x4 transform units are included when the current coding unit is a non-square form having 4x8 or 8x4. Can be. In this case, the decoder 120 may determine a transform unit having a non-square shape of 4x8 or 8x4 having the same size as the current coding unit.
- the decoder 120 may determine the depth of the transform unit based on the length of the long side of the transform unit. That is, even when the transform unit 120 divides the transform unit of the current depth, when the length of the long side of the divided block is the same as the long side of the transform unit of the current depth (for example, the transform unit having a square shape is vertical or horizontal). In case of dividing only, the depth of the divided block may be determined to be equal to the current depth.
- the image decoding apparatus 100 may obtain at least one syntax related to the transformation unit from the bitstream based on the form of the transformation unit of the current depth.
- the decoder 120 may decode the residual signal based on at least one transformation unit included in the current coding unit.
- the bitstream obtainer 110 may acquire from the bitstream based on at least one transformation unit that determines the information related to the residual signal, and the decoder 120 decodes the information using the acquired residual signal. Can be performed.
- the bitstream obtainer 110 may obtain an empty string for the residual signal from the bitstream in one of at least one transformation unit.
- the decoder 120 may decode the syntax by using an empty string, and in this decoding process, the decoder 120 may use various context information.
- Such context information may include various information used in the CABAC decoding process.
- the context information may indicate a context index used to determine a syntax corresponding to the empty string.
- the decoder 120 may determine a value corresponding to the context index as an initial value by using the context table, and perform CABAC decryption using the determined initial value.
- the decoder 120 may consider various information in order to determine context information.
- the decoder 120 may consider the form of a transformation unit of the current depth in order to determine the context information. That is, context information used for CABAC may vary according to the type of transformation unit.
- the decoder 120 may determine one of syntax types, a depth of a coding unit including a transformation unit of a current depth, syntax of a neighboring block, a size of a transformation unit, and a transformation unit to determine context information.
- the context information may be determined using at least one.
- the decoder 120 may determine context information based on a form of a transformation unit, and the context information may indicate a context index used to determine a syntax corresponding to an empty string, and such context
- the index may be determined using a context index offset (ctxIdxOffset) and a value added to the context index offset (eg, ctxInc). That is, the decoder 120 may determine the context index ctxIndx by adding ctxIdxOffset and ctxInc.
- the context index offset ctxIdxOffset may be defined as a minimum value of the context index ctxIdx that may be determined on the context table ctxTable based on an initial type used in the initialization procedure of the syntax.
- the decoder 120 may use at least one of a syntax type, a depth of a coding unit including a transformation unit of a current depth, syntax of a neighboring block, a size of a transformation unit, and a transformation unit to determine ctxInc.
- the determined ctxInc may be added to ctxIdxOffset to determine a context index (ctxIdx).
- the decoder 120 may determine context information based on a form of a transformation unit for each syntax that may be used in the CABAC decoding process of the residual signal.
- FIG. 2 is a block diagram of an image encoding apparatus that encodes an image based on a transformation unit included in a coding unit that divides an image, according to an exemplary embodiment.
- the image encoding apparatus 200 may include predetermined information such as an encoder 220 and block shape information for encoding an image, or information including syntax and information about an encoded image. It may include a bitstream generator 210 for generating a stream. According to an embodiment, the encoder 220 of the image encoding apparatus 200 may determine at least one coding unit for dividing an image, and the bitstream generator 210 may block at least one coding unit. A bitstream including shape information may be generated. Furthermore, the encoder 220 of the image encoding apparatus 200 may determine at least one transformation unit included in the current coding unit based on the shape of the current coding unit which is one of the at least one coding unit. . According to an embodiment, the block shape information may be information or syntax indicating whether the current coding unit is square or non-square.
- the split information of the transformation unit indicates that the current transformation unit is divided into a plurality of transformation units, and when the current coding unit is in a square form, the encoder 220 includes a plurality of squares included in the current coding unit.
- the conversion unit can be determined.
- the encoder 220 may set the current coding unit in the vertical direction or the horizontal direction.
- a plurality of transformation units may be determined by dividing by.
- 3A illustrates various types of transformation units that may be determined by a current coding unit having a square shape according to an embodiment.
- the encoder 220 of the image encoding apparatus 200 may determine at least one coding unit including the current coding unit 300.
- the determined coding unit may have a square shape or a non-square shape.
- the encoder 220 may determine a shape of a transform unit that may be included in the current coding unit 300 based on the shape of the current coding unit 300 according to an embodiment. For example, if the current coding unit 300 is a block having a square shape having a size of 2N ⁇ 2N, the encoder 220 is a transformation unit having a 2N ⁇ 2N size as a form of at least one transformation unit included in the current coding unit 300. In operation 310a, a transformation unit 310b having an N ⁇ 2N size or a transformation unit 310c having a 2N ⁇ N size may be determined.
- the encoder 220 of the image encoding apparatus 200 may determine at least one coding unit including the current coding unit 350.
- the encoder 220 may determine a shape of a transform unit that may be included in the current coding unit 350 based on the shape of the current coding unit 350 having a square shape. For example, if the current coding unit 350 is a block having a square shape having a size of 2N ⁇ 2N, the encoder 220 is a type having at least one transform unit included in the current coding unit 300 and has one size of 2N ⁇ 2N.
- the transformation unit 360a may be determined, or four transformation units 370b having an N ⁇ N size may be determined.
- various embodiments including FIGS. 3A and 3B may be used in a method in which the encoder 220 determines at least one transformation unit included in a square coding unit, and a transform that may be determined
- the unit form may include various forms in which the embodiments are combined.
- the encoder 220 may determine at least one transformation unit included in the current coding unit based on the form of the current coding unit. For example, a plurality of transformation units included in the current coding unit may be determined based on whether the current coding unit is a square form or a non-square shape.
- 4A, 4B, and 4C illustrate various types of transformation units that may be determined in a current coding unit having a non-square shape according to an embodiment.
- the encoder 220 may determine at least one transform unit included in the current coding unit 400a having a non-square shape having a height greater than a width according to an embodiment.
- the encoder 220 may determine at least one transform unit included in the current coding unit 400b having a non-square shape having a height greater than a width according to an embodiment.
- the encoder 220 may determine at least one transform unit included in the current coding unit 400c having a non-square shape having a height greater than a width according to an embodiment. Since the operation of the encoder 220 may correspond to an operation similar to the operation of the decoder 120 described above, a detailed description thereof will be omitted.
- the encoder 220 may determine a plurality of transform units included in the current coding unit by comparing the size of the current coding unit and the maximum size of the transform unit.
- FIG. 5 illustrates a process of determining a plurality of transformation units included in a current coding unit based on a result of comparing a size of a current coding unit with a maximum size of a transformation unit, according to an embodiment.
- the encoder 220 may determine at least one transform unit included in the current coding unit 500, and a maximum size of the transform unit may be predetermined. According to an embodiment, the encoder 220 may compare the current coding unit 500 with a transformation unit 510 having a predetermined maximum size. As a result of the comparison, when the size of the current coding unit 500 is greater than the maximum size of the transformation unit, the encoder 220 may determine the plurality of change units 520 having the maximum size included in the current coding unit 500. have. Referring to FIG. 5, when the size of the current coding unit 500 is 2N ⁇ 2N and the maximum size of the transform unit 510 is N ⁇ N, the encoder 220 may perform at least one transform included in the current coding unit 500.
- the unit may be divided into a transform unit 520 of the largest size included in the current coding unit 500. That is, the encoder 220 determines a plurality of maximum transform units included in the current coding unit to determine at least one transform unit included in the current coding unit that is larger than the transform unit of the maximum size, and then the maximum size. It may be determined whether to divide each transform unit of into smaller transform units.
- the bitstream generator 210 may generate a bitstream including information on the maximum size of the transform unit.
- the information on the maximum size of the transformation unit may be an integer directly indicating the maximum size of the transformation unit, or may be an index related to the maximum size.
- the encoder 220 may determine at least one transform unit included in the current coding unit based on a block shape that the transform unit may have.
- the bitstream generator 210 may generate a bitstream including information about a block type that a transformation unit may have.
- the block unit that a transformation unit may have may vary.
- a predetermined data unit eg, picture or slice
- a slice segment, a tile, a maximum coding unit, a coding unit, etc. must generate a bitstream including information or syntax capable of representing all types of transformation units.
- a combination of forms that a transformation unit may have may vary for each data unit (for example, a picture, a slice, a slice segment, a tile, a maximum coding unit, and a coding unit).
- the bitstream generator 110 may generate a bitstream including information about a block type that a transformation unit may have for each predetermined data unit.
- the image decoding apparatus 100 having such information may differently determine a combination of block types that a transformation unit may have for each predetermined data unit based on information on a block form that the transformation unit may have.
- FIG. 6 is a diagram for describing a feature in which a combination of forms that a transformation unit may have may vary for each predetermined data unit, according to an exemplary embodiment.
- the encoder 220 may determine at least one transform unit in a predetermined data unit (for example, maximum coding units 600, 610, 620, and 630), and the bitstream generator 110 may determine A bitstream including information on a block type that a transformation unit may have may be generated for each of the maximum coding units 600, 610, 620, and 630 which are predetermined data units.
- a predetermined data unit for example, maximum coding units 600, 610, 620, and 630
- a bitstream including information on a block type that a transformation unit may have may be generated for each of the maximum coding units 600, 610, 620, and 630 which are predetermined data units.
- the bitstream generator 210 associates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 4A with a maximum coding unit 600. Can be generated. That is, the encoder 220 may use the types of transformation units described above with reference to FIG. 4A to determine at least one transformation unit included in one of at least one coding unit included in the maximum coding unit 600. In this case, the bitstream generator 210 may generate a bitstream including information indicating a combination including the form of the transform unit illustrated in FIG. 4A in relation to the maximum coding unit 600.
- the bitstream generator 210 associates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 4B with a maximum coding unit 610. Can be generated. That is, the encoder 220 may use the types of transformation units described above with reference to FIG. 4B to determine at least one transformation unit included in one of at least one coding unit included in the maximum coding unit 610. In this case, the bitstream generator 210 may generate a bitstream including information indicating that the types of the transformation units of FIG. 4B may be used in the maximum coding unit 610.
- the bitstream generator 210 associates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 4C with the maximum coding unit 620. Can be generated. That is, the encoder 220 may use the types of transformation units described above with reference to FIG. 4C to determine at least one transformation unit included in one of at least one coding unit included in the maximum coding unit 620. In this case, the bitstream generator 210 may generate a bitstream including information indicating that the shapes of the transformation units of FIG. 4C may be used in the maximum coding unit 620.
- the bitstream generator 210 generates a bitstream including information indicating a combination including a form of a transform unit illustrated in FIG. 3A in relation to a maximum coding unit 600, 610, or 620. can do. That is, the encoder 220 forms the transform unit described above with reference to FIG. 3A to determine at least one transform unit included in one of at least one coding unit included in the maximum coding unit 600, 610, or 620. In this case, the bitstream generator 210 may generate a bitstream including information indicating that the maximum coding units 600, 610, or 620 may use the types of the transformation units of FIG. 3A. . Combinations of types of transform units in which a square transform unit may be divided and determined may not be construed as being limited to the forms shown in FIG. 3A, and may include combinations including only some of the forms shown in FIG. 3A. .
- the bitstream generator 210 may generate a bitstream including at least one of information indicating the shape of a transformation unit used by the encoder 220 to determine a transformation unit and information indicating the size of the transformation unit. Can be generated for each predetermined data unit.
- the image encoding apparatus 200 may include a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice segment header. At least one of information indicating a type of a transformation unit and information indicating a size of a transformation unit may be generated in a segment header.
- bitstream generator 210 may generate a bitstream including at least one of information indicating a shape of a transform unit and information indicating a size of a transform unit for each maximum coding unit, reference coding unit, and processing block. .
- information indicating a shape of a transform unit and information indicating a size of a transform unit for each maximum coding unit, reference coding unit, and processing block.
- the encoder 220 may determine at least one transform unit using the maximum size and the minimum size of the transform unit.
- the bitstream generator 210 may generate a bitstream including at least one of information on the maximum size and information on the minimum size of the transform unit.
- at least one of a maximum size and a minimum size that a transformation unit may have may be predetermined, and accordingly, at least one of information on the maximum size of the transformation unit and information on the minimum size of the transformation unit may be determined.
- the bitstream may be generated from the bitstream through the bitstream generator 210.
- the information on the maximum size of the transform unit and the information on the minimum size of the transform unit may be generated for each predetermined data unit (sequence, picture, slice, slice segment, tile, maximum coding unit, coding unit, etc.).
- the encoder 220 may determine the maximum size and the minimum size of the transform unit for each sequence, and the bitstream generator 210 may provide information about the maximum size of the transform unit and information about the minimum size of the transform unit.
- a bitstream including at least one of the plurality of bits may be generated for each sequence including a plurality of pictures.
- the information on the maximum size of the transformation unit and the information on the minimum size of the transformation unit may be information indicating the length of one side of the transformation unit of the square form or the length of the long side of the non-square form. It may be an index indicating the size of a block.
- the information indicating the length of the sides of the transformation unit may be the number of samples or a logarithm of the number of samples.
- the bitstream generator 210 may provide information indicating a difference between the maximum size and the minimum size of the bitstream and the transformation unit including information about the maximum size of the transformation unit or information on the minimum size of the transformation unit. It may generate a bitstream including.
- the image decoding apparatus 100 capable of acquiring such information from the bitstream includes information indicating a difference between the maximum size and the minimum size of the transformation unit and one of the information about the maximum size of the transformation unit or the minimum size of the transformation unit.
- the maximum size or the minimum size of the transformation unit can be determined using. Since the description of the image decoding apparatus 100 using information on the maximum size of the transform unit or information on the minimum size of the transform unit obtained from the bitstream has been described above with reference to various embodiments, a detailed description thereof will be omitted.
- the encoder 220 may determine, for each component, a transformation unit for performing inverse transformation of a luma component and a chroma component of an image. According to an embodiment, the encoder 220 may differently set the minimum size of the transform unit for the luminance component of the image and the minimum size of the transform unit for the chrominance component. For example, the encoder 220 may determine the minimum size of the transform unit for the luminance component as 4x4 and the minimum size of the transform unit for the chrominance component to 4x2 or 2x4.
- the encoder 220 may determine the minimum size that the transformation unit may have by dividing the luminance component and the chrominance component in consideration of the relationship or ratio between the luminance component and the chrominance component used according to a method of decoding an image. . According to an embodiment, the encoder 220 may set the minimum size of the transform unit for the luminance component of the image and the minimum size of the transform unit for the chrominance component differently and set the maximum size to be the same.
- FIG. 7 illustrates a conversion unit having a minimum size that can be determined for each luminance component and a chrominance component according to an embodiment.
- the encoder 220 may determine at least one transformation unit included in the current coding unit 700 for the luminance component of the image, and include it in the current coding unit 710 for the color difference component of the image. At least one transformation unit may be determined. According to an embodiment, the encoder 220 may differently set the minimum size of the transform unit for the luminance component and the minimum size of the transform unit for the chrominance component. For example, the encoder 220 may determine the minimum size of the transform unit for the luminance component as 4x4 and the minimum size of the transform unit for the chrominance component to 4x2 or 2x4.
- the encoder 220 when the size of the current coding unit 700 for the luminance component is 8x8, the encoder 220 is at least one transform unit included in the current coding unit 700 for the luminance component and has a size of 4x4 or more. At least one transformation unit having may be determined. Referring to FIG. 7, the encoder 220 may determine four transform units included in the current coding unit 710 having a size of 8 ⁇ 8, and in this case, the transform units may have a size of 4 ⁇ 4 having a minimum size.
- the encoder 220 may determine a coding unit 710 for a color difference component associated with a luminance component of the current coding unit 700. According to an embodiment, when the size of the current coding unit 700 for the luminance component is 2N ⁇ 2N, the encoder 220 may determine that the size of the coding unit 710 for the color difference component associated with the luminance component is N ⁇ N. Referring to FIG. 7, when the size of the current coding unit 700 for the luminance component is 8 ⁇ 8, the size of the current coding unit 710 for the color difference component may be determined to be 4 ⁇ 4.
- the size of the transform unit for the chrominance component may be a size obtained by dividing the transform unit for the luminance component in at least one of a vertical direction and a horizontal direction. That is, the transformation unit for the color difference component may have a smaller size than the transformation unit for the luminance component.
- the minimum size of the transform unit for each of the luminance component and the color difference component may be different.
- the encoder 220 may determine at least one transform unit included in the current coding unit 710 for the color difference component in consideration of the minimum size of the transform unit.
- the encoder 220 may have a size obtained by dividing the transform unit for the chrominance component into a vertical direction and a horizontal direction. However, when the size obtained by dividing the transform unit for the luminance component in the vertical direction and the horizontal direction is smaller than the minimum size of the transform unit for the color difference component, the encoder 220 considers the minimum size of the transform unit for the color difference component to determine the color difference. The unit of conversion for the component can be determined.
- the encoder 220 may apply to the color difference component having the minimum size.
- the conversion unit can be determined.
- the encoder 220 when the size obtained by dividing the transform unit for the luminance component in the vertical direction and the horizontal direction is smaller than the minimum size of the transform unit for the chrominance component, the encoder 220 converts the transform unit for the luminance component into the vertical direction. And merging transformation units having a size divided in a horizontal direction, to determine a transformation unit having a size equal to or greater than a minimum size of the transformation unit for the color difference component.
- the encoder 220 may use the size of the transform unit for the luminance component as the size of the transform unit for the chrominance component without dividing the transform unit for the luminance component in the vertical direction and the horizontal direction.
- the encoder 220 may apply to the chrominance component.
- the transformation units split into the minimum size of the transformation unit may be merged. For example, by comparing the minimum size of four 2x2 transform units determined by dividing a transform unit for a luminance component having a 4x4 size and a transform unit for a chrominance component, merging four 4x2 transform units. At least one transform unit for the chrominance component having the smallest size may be determined.
- the encoder 220 may determine at least one transformation unit (eg, 730, 750, 760, 770) included in the coding unit 710 for the color difference component.
- the encoder 220 may determine a transform unit for the color difference component in consideration of the minimum size of the transform unit, and the minimum size of the transform unit may vary according to the luminance component and the color difference component.
- the encoder 220 converts the transform unit 730 having NxN size, the transform unit 750 having 2Nx2N size, and the transform having 2NxN or Nx2N size.
- Unit 760 or 770 may be determined.
- the encoder 220 may determine the transform unit in consideration of the minimum size of the transform unit for the color difference component. For example, when the minimum size of the transform unit for the color difference component is 4x2 or 2x4, the encoder 220 determines four transform units 730 having a 2x2 size in the current coding unit 710 having a 4x4 size. There is no number. In this case, the encoder 220 may determine a transform unit 760 having a 2 ⁇ 4 size or determine a transform unit 770 having a 4 ⁇ 2 size by merging the transform units 730 having a 2 ⁇ 2 size. As another example, the encoder 220 skips the process of determining four transform units 730 having a 2x2 size, and includes at least one transform unit having a minimum size in the current coding unit 710. It can also be determined as a conversion unit.
- the encoder 220 may omit the encoding process of the residual signal for the transform unit of the current depth.
- the bitstream generator 210 may generate a bitstream including information indicating whether a non-zero transform coefficient is included in a transform unit of a current depth for each luminance component and a chrominance component associated with a current coding unit. Can be. That is, the bitstream generator 210 includes information indicating whether or not a non-zero transform coefficient is included in the transform unit of the current depth for the luminance component and a non-zero transform coefficient in the transform unit of the current depth for the chrominance component. It may generate a bitstream including at least one of the information indicating whether or not.
- the bitstream generator 210 may determine the current unit for the luminance component when the transformation unit of the current depth is no longer split in the division process for determining at least one transformation unit included in the current coding unit. Generate a bitstream comprising at least one of information indicating whether a transform unit of depth includes a non-zero transform coefficient and information indicating whether a transform unit of a current depth for a color difference component includes a non-zero transform coefficient can do.
- the image encoding apparatus 200 may generate a bitstream including information indicating whether a non-zero transform coefficient is included in a transform unit of a current depth for each luminance component and chrominance component.
- the image encoding apparatus 200 may use a transform unit for a luminance component and a transform unit for a chrominance component differently. Can be.
- the bitstream generator 120 may include a bitstream including information indicating whether a transform coefficient other than zero is included in a transform unit of a current depth of a chrominance component, and a current depth used in the partitioning process of the transform unit.
- the bitstream obtainer 110 indicates whether a transform coefficient other than zero is included in the transform unit of the current depth for the luminance component only when the transform unit of the current depth is no longer divided.
- a bitstream including information may be generated.
- the above-described embodiment is an example for explaining that a method of generating a bitstream including information indicating whether a transform unit includes a non-zero transform coefficient may be different for each luminance component or chrominance component, and thus luminance. It should be construed that a method for generating a bitstream including information indicating whether a transform unit including a component or a chrominance component includes a non-zero transform coefficient may be implemented according to a combination of the various embodiments described above. .
- FIG. 8 illustrates a process of generating information indicating whether a transform coefficient other than 0 is included in a transform unit of a current depth in a process of determining at least one transform unit included in a current coding unit, according to an embodiment.
- the image encoding apparatus 200 determines whether a block shape of a current coding unit, a luminance component or a chrominance component of an image is related to the current coding unit, a prediction mode used in the current coding unit, and a conversion unit included in the current coding unit. Based on at least one of the numbers, a method of generating information indicating whether a transform coefficient other than zero is included in the transform unit of the current depth may be differently determined.
- the image encoding apparatus 200 may differently determine a method of generating information indicating whether a non-zero transform coefficient is included in a current block based on the shape of a coding unit.
- the bitstream generator 210 may provide information indicating whether each transformation unit determined in a splitting process for determining at least one transformation unit includes a non-zero transform coefficient and a transformation unit of the current depth. It can be generated every time. Furthermore, the bitstream generator 210 may generate information indicating whether a non-zero transform coefficient is included in the transform unit of the current depth only when the transform unit of the current depth is not divided.
- the image encoding apparatus 200 may determine at least one transform unit included in a coding unit having a square shape or a non-square shape.
- the encoder 220 may determine at least one transform unit included in the current coding unit through a recursive division process of the transform unit.
- the bitstream generator 210 for each transformation unit of the current depth used in the splitting process of the transformation unit for determining at least one transformation unit Information indicating whether a non-zero transform coefficient is included may be generated.
- the image encoding apparatus 200 determines whether a current block includes a non-zero transform coefficient based on whether a block shape of a coding unit, a luminance component of a video, or a chrominance component is related to a current coding unit.
- the way of generating the information that is represented can be determined differently.
- the bitstream generator 210 may determine at least one transformation unit. For each conversion unit of the current depth used in the division process of the unit, information indicating whether a non-zero transform coefficient is included may be generated.
- the image encoding apparatus 200 obtains a bitstream including information indicating whether a non-zero transform coefficient is included in a current block based on a block shape of a coding unit and a prediction mode used in the current coding unit. You can decide how to do it differently.
- the bitstream generator 210 may determine at least one transformation unit. Information indicating whether a non-zero transform coefficient is included in each transform unit of the current depth used in the partitioning process may be generated.
- the image encoding apparatus 200 may determine a method of generating a bitstream including information indicating whether a transformation unit includes non-zero transform coefficients based on a shape of a transformation unit of a current depth. .
- the bitstream generator 210 generates a bitstream including information indicating whether a non-zero transform coefficient is included, thereby transforming the luminance component.
- Different methods may be used for each conversion unit for the unit and the color difference component.
- the bitstream obtainer 110 may include information indicating whether a transform unit other than zero is included in the transform unit for the luminance component and the transform unit for the chrominance component.
- the same method eg, information is obtained for each transformation unit of the current depth used in the segmentation process or information is acquired only when the transformation unit of the current depth is no longer divided.
- the method in which the image encoding apparatus 200 generates information indicating whether a non-zero transform coefficient is included in the current block based on the combination of the various conditions described above is a transformation of the current depth for determining at least one transform unit. It should not be interpreted to be limited to generating a bitstream for each unit, and may be variously used for each combination of conditions. That is, a method of obtaining information indicating whether a non-zero transform coefficient is included in each division unit of the current depth by dividing the case based on a combination of various conditions described above, or the current depth only when the current transformation unit is no longer divided. A method of generating information indicating whether a transform unit of includes non-zero transform coefficients may be used.
- the encoder 220 may determine at least one transformation unit based on at least one of the shape and size of the current coding unit. For example, when the current coding unit is a non-square shape, the encoder 220 may determine a transform unit having the same shape as the current coding unit without performing a splitting process for determining the transform unit. According to an embodiment, when the current coding unit is in a non-square form and a transform unit having the same form as the current coding unit cannot be used, the encoder 220 may split the transform unit into a plurality of transform units having a minimum size or more. have.
- the encoder 220 may not determine that two 4x4 transform units are included when the current coding unit is a non-square form having 4x8 or 8x4. Can be. In this case, the encoder 220 may determine a transform unit having a non-square shape of 4x8 or 8x4 having the same size as the current coding unit.
- the encoder 220 may determine the depth of the transform unit based on the length of the long side of the transform unit. That is, even if the length of the long side of the divided block is the same as the long side of the transformation unit of the current depth even if the transformation unit of the current depth is divided (for example, the transformation unit of the square shape is vertical or horizontal direction). In case of dividing only, the depth of the divided block may be determined to be equal to the current depth.
- the image encoding apparatus 200 may generate a bitstream including at least one syntax associated with a transformation unit, based on the form of the transformation unit of the current depth.
- the encoder 220 may encode the residual signal based on at least one transformation unit included in the current coding unit.
- the bitstream generator 110 may generate a bitstream including information related to the residual signal based on at least one conversion unit.
- the bitstream generator 210 may generate a bitstream including an empty string indicating syntax used in an encoding process.
- the encoder 220 may use various context information in the encoding process, and the context information may correspond to various information used in the CABAC decoding process.
- the context information may indicate a context index used to determine a syntax corresponding to the empty string.
- the encoder 120 may determine a value corresponding to the context index as an initial value by using the context table, and perform CABAC encoding using the determined initial value.
- the encoder 220 may consider various information in order to determine context information.
- the encoder 220 may consider the form of a transformation unit of the current depth in order to determine the context information. That is, context information used for CABAC may vary according to the type of transformation unit.
- the encoder 220 in order to determine context information, may include a syntax type, a depth of a coding unit including a transformation unit of a current depth, syntax of a neighboring block, a size of a transformation unit, and a form of a transformation unit.
- the context information may be determined using at least one.
- the encoder 220 may determine context information based on a form of a transformation unit, and the context information may indicate a context index used to determine a syntax corresponding to an empty string.
- the index may be determined using a context index offset (ctxIdxOffset) and a value added to the context index offset (eg, ctxInc). That is, the encoder 220 may determine the context index (ctxIndx) by adding ctxIdxOffset and ctxInc.
- the context index offset ctxIdxOffset may be defined as a minimum value of the context index ctxIdx that may be determined on the context table ctxTable based on an initial type used in the initialization procedure of the syntax. .
- the encoder 220 may use at least one of a syntax type, a depth of a coding unit including a transformation unit of a current depth, syntax of a neighboring block, a size of a transformation unit, and a transformation unit to determine ctxInc.
- the determined ctxInc may be added to ctxIdxOffset to determine a context index (ctxIdx).
- the encoder 220 may determine context information based on a form of a transformation unit for each syntax that may be used in the CABAC encoding process of the residual signal.
- the bitstream obtainer 110 may obtain information for obtaining predetermined information such as partition type information and block shape information from the bitstream, and the decoder 120 may use the obtained information.
- Video can be decoded.
- the decoder 120 of the image decoding device 100 is a block type. At least one coding unit for dividing an image may be determined based on at least one of the information and the split type information.
- the decoder 120 of the image decoding apparatus 100 may determine a shape of a coding unit based on block shape information.
- the block shape information may include information indicating whether a coding unit is square or non-square.
- the decoder 120 may determine a shape of a coding unit by using block shape information.
- the decoder 120 may determine which type of coding unit is divided based on the split type information.
- the split type information may indicate information about the type of at least one coding unit included in the coding unit.
- the decoder 120 may determine whether a coding unit is divided or not divided according to split type information.
- the split type information may include information about at least one coding unit included in a coding unit, and if the split type information indicates that only one coding unit is included in the coding unit or not, The decoder 120 may determine that the coding unit including the split type information is not split.
- the decoder 120 may split the plurality of coding units included in the coding unit based on the split type information.
- the split type information may indicate how many coding units are divided or in which direction.
- the split type information may indicate splitting in at least one of a vertical direction and a horizontal direction or may not split.
- FIG. 9 illustrates a process of determining, by the image decoding apparatus 100, at least one coding unit by dividing a current coding unit according to an embodiment.
- the decoder 120 may determine the shape of a coding unit by using block shape information, and may determine in which form the coding unit is divided using the split shape information. That is, the method of dividing the coding unit represented by the split type information may be determined according to which block type the block type information used by the decoder 120 indicates.
- the decoder 120 may use block shape information indicating that the current coding unit is square. For example, the decoder 120 may determine whether to split a square coding unit, split vertically, split horizontally, or split into four coding units according to split type information. Referring to FIG. 9, when the block shape information of the current coding unit 900 indicates a square shape, the decoder 120 may have the same size as the current coding unit 900 according to the split shape information indicating that the block shape information is not divided. The divided coding units 910b, 910c, 910d, and the like may be determined based on split type information indicating a predetermined division method.
- the decoder 120 may determine two coding units 910b that divide the current coding unit 900 in the vertical direction based on split type information indicating that the split is performed in the vertical direction. have.
- the decoder 120 may determine two coding units 910c obtained by dividing the current coding unit 900 in the horizontal direction, based on the split type information indicating the split in the horizontal direction.
- the decoder 120 may determine four coding units 910d obtained by dividing the current coding unit 900 in the vertical direction and the horizontal direction, based on the split type information indicating the division in the vertical direction and the horizontal direction.
- the divided form in which the square coding unit may be divided should not be limited to the above-described form and may include various forms represented by the divided form information. Certain division forms in which a square coding unit is divided will be described in detail with reference to various embodiments below.
- FIG. 10 illustrates a process of determining, by the image decoding apparatus 100, at least one coding unit by dividing a coding unit having a non-square shape according to an embodiment.
- the decoder 120 may use block shape information indicating that the current coding unit is a non-square shape.
- the decoder 120 may determine whether to divide the current coding unit of the non-square according to the split type information or to split it by a predetermined method. Referring to FIG. 10, when the block shape information of the current coding unit 1000 or 1050 indicates a non-square shape, the decoder 120 may determine that the current coding unit 1000 or Coding units 1010 or 1060 having the same size as 1050, or are divided based on division type information indicating a predetermined division method 1020a, 1020b, 1030a, 1030b, 1030c, 1070a, 1070b , 1080a, 1080b, 1080c).
- a predetermined division method in which a non-square coding unit is divided will be described in detail with reference to various embodiments below.
- the decoder 120 may determine a shape in which a coding unit is divided using split shape information, and in this case, the split shape information may indicate the number of at least one coding unit generated by splitting the coding unit. Can be.
- the decoder 120 may select the current coding unit 1000 or 1050 based on the split form information. Two coding units 1020a and 1020b or 1070a and 1070b included in the current coding unit may be determined by being divided.
- the decoder 120 divides the current coding unit 1000 or 1050 of the non-square form based on the split form information
- the length of the current coding unit 1000 or 1050 of the non-square form is long.
- the current coding unit may be split in consideration of the position of the side. For example, the decoder 120 divides the current coding unit 1000 or 1050 in a direction of dividing a long side of the current coding unit 1000 or 1050 in consideration of the shape of the current coding unit 1000 or 1050.
- a plurality of coding units may be determined.
- the decoder 120 may determine an odd number of coding units included in the current coding unit 1000 or 1050. For example, when the split form information indicates that the current coding unit 1000 or 1050 is divided into three coding units, the decoder 120 divides the current coding unit 1000 or 1050 into three coding units 1030a,. 1030b, 1030c, 1080a, 1080b, 1080c). According to an embodiment, the decoder 120 may determine an odd number of coding units included in the current coding unit 1000 or 1050, and not all sizes of the determined coding units may be the same.
- the size of a predetermined coding unit 1030b or 1080b among the determined odd coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c is different from other coding units 1030a, 1030c, 1080a, and 1080c. May have That is, a coding unit that may be determined by dividing the current coding unit 1000 or 1050 may have a plurality of types, and in some cases, odd number of coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c Each may have a different size.
- the decoder 120 may determine an odd number of coding units included in the current coding unit 1000 or 1050.
- the unit 120 may set a predetermined limit on at least one coding unit among odd-numbered coding units generated by dividing.
- the decoder 120 may determine a coding unit positioned at the center of three coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c generated by dividing a current coding unit 1000 or 1050.
- the decoding process for 1030b and 1080b may be different from other coding units 1030a, 1030c, 1080a and 1080c.
- the decoder 120 restricts the coding units 1030b and 1080b positioned in the center from being split any more, unlike other coding units 1030a, 1030c, 1080a, and 1080c, or divides only a predetermined number of times. You can limit it as much as possible.
- FIG. 11 illustrates a process of splitting a coding unit by the image decoding apparatus 100 based on at least one of block type information and split shape information, according to an embodiment.
- the decoder 120 may determine whether to split or not divide the first coding unit 1100 having a square shape into coding units based on at least one of block shape information and split shape information. According to an embodiment, when the split type information indicates splitting the first coding unit 1100 in the horizontal direction, the decoder 120 divides the first coding unit 1100 in the horizontal direction to divide the second coding unit ( 1110 may be determined.
- the first coding unit, the second coding unit, and the third coding unit used according to an embodiment are terms used to understand a before and after relationship between the coding units. For example, when the first coding unit is split, the second coding unit may be determined. When the second coding unit is split, the third coding unit may be determined. The relationship between the first coding unit, the second coding unit, and the third coding unit used hereinafter may be understood to be in accordance with the above-described features.
- the image decoding apparatus 100 may determine to divide or not split the determined second coding unit 1110 into coding units based on at least one of block shape information and split shape information.
- the decoder 120 may select at least a second coding unit 1110 having a non-square shape determined by dividing the first coding unit 1100 based on at least one of block shape information and split shape information.
- One third coding unit (1120a, 1120b, 1120c, 1120d, etc.) may be split or the second coding unit 1110 may not be split.
- the bitstream obtainer 110 of the image decoding apparatus 100 may obtain at least one of block type information and split type information, and the decoder 120 may be based on at least one of the obtained block type information and split type information.
- the decoder 120 may be based on at least one of the obtained block type information and split type information.
- a plurality of second coding units eg, 1110 of various types may be divided, and the second coding unit 1110 may include at least one of block shape information and split shape information. Based on one, the first coding unit 1100 may be split according to a split scheme.
- the second The coding unit 1110 may also be divided into third coding units (eg, 1120a, 1120b, 1120c, 1120d, etc.) based on at least one of the block shape information and the split shape information of the second coding unit 1110. have. That is, the coding unit may be recursively divided based on at least one of the partition shape information and the block shape information associated with each coding unit.
- a square coding unit may be determined in a non-square coding unit, and a coding unit of a square shape may be recursively divided to determine a coding unit of a non-square shape.
- a predetermined coding unit eg, located in the center of an odd number of third coding units 1120b, 1120c, and 1120d determined by splitting a second coding unit 1110 having a non-square shape
- Coding unit or a coding unit having a square shape may be recursively divided.
- the third coding unit 1120c having a square shape which is one of odd third coding units 1120b, 1120c, and 1120d, may be divided in a horizontal direction and divided into a plurality of fourth coding units.
- the fourth coding unit 1140 having a non-square shape which is one of the plurality of fourth coding units, may be divided into a plurality of coding units.
- the fourth coding unit 1140 having a non-square shape may be further divided into odd coding units 1150a, 1150b, and 1150c.
- the decoder 120 splits each of the third coding units 1120a, 1120b, 1120c, 1120d, etc. into coding units based on at least one of the block shape information and the split shape information, or the second coding unit. It may be determined not to divide 1110.
- the decoder 120 may split the second coding unit 1110 having a non-square shape into an odd number of third coding units 1120b, 1120c, and 1120d.
- the image decoding apparatus 100 may place a predetermined limit on a predetermined third coding unit among the odd number of third coding units 1120b, 1120c, and 1120d.
- the image decoding apparatus 100 may be limited to the number of coding units 1120c positioned in the middle of the odd number of third coding units 1120b, 1120c, and 1120d, or may be divided by a set number of times. It can be limited to.
- the image decoding apparatus 100 may include a coding unit positioned at the center of odd-numbered third coding units 1120b, 1120c, and 1120d included in a second coding unit 1110 having a non-square shape.
- 1120c is no longer divided, is limited to being divided into a predetermined division form (for example, only divided into four coding units or divided into a form corresponding to the divided form of the second coding unit 1110), or predetermined It can be limited to dividing only by the number of times (e.g., dividing only n times, n> 0).
- a predetermined division form for example, only divided into four coding units or divided into a form corresponding to the divided form of the second coding unit 1110
- predetermined It can be limited to dividing only by the number of times (e.g., dividing only n times, n> 0).
- the coding unit 1120c located in the center is merely a mere embodiment, it should not be construed as being limited to the above-described embodiments, and the coding unit 1120c located in the center may have different coding units 1120b and 1120d. ), It should be interpreted as including various restrictions that can be decoded.
- the image decoding apparatus 100 may obtain at least one of block shape information and split shape information used to divide a current coding unit at a predetermined position in the current coding unit.
- At least one of the block shape information and the split shape information of the current coding unit 1200 may be a sample at a predetermined position (for example, located at the center of a plurality of samples included in the current coding unit 1200). Sample 1240). However, a predetermined position in the current coding unit 1200 from which at least one of such block shape information and split form information may be obtained should not be interpreted as being limited to the center position shown in FIG.
- the image decoding apparatus 100 may determine that the current coding unit is divided into coding units of various shapes and sizes by not obtaining at least one of block shape information and split shape information obtained from a predetermined position.
- the image decoding apparatus 100 may select one coding unit from among them. Methods for selecting one of a plurality of coding units may vary, which will be described below through various embodiments.
- the decoder 120 of the image decoding apparatus 100 may divide a current coding unit into a plurality of coding units and determine a coding unit of a predetermined position.
- FIG. 12 illustrates a method for the image decoding apparatus 100 to determine a coding unit of a predetermined position among odd-numbered coding units according to an embodiment.
- the decoder 120 may use information indicating the position of each of the odd coding units to determine a coding unit located in the middle of the odd coding units.
- the decoder 120 may divide the current coding unit 1200 to determine odd number of coding units 1220a, 1220b, and 1220c.
- the decoder 120 may determine the center coding unit 1220b by using information about the positions of the odd number of coding units 1220a, 1220b, and 1220c. For example, the decoder 120 determines the positions of the coding units 1220a, 1220b, and 1220c based on the information indicating the positions of predetermined samples included in the coding units 1220a, 1220b, and 1220c.
- the coding unit 1220b may be determined. Specifically, the decoder 120 positions the positions of the coding units 1220a, 1220b, and 1220c based on information indicating the positions of the samples 1230a, 1230b, and 1230c in the upper left of the coding units 1220a, 1220b, and 1220c.
- the coding unit 1220b located in the center may be determined by determining.
- the information indicating the positions of the samples 1230a, 1230b, and 1230c in the upper left included in the coding units 1220a, 1220b, and 1220c may be located in the pictures of the coding units 1220a, 1220b, and 1220c. Or it may include information about the coordinates. According to an embodiment, the information indicating the positions of the samples 1230a, 1230b, and 1230c in the upper left included in the coding units 1220a, 1220b, and 1220c, respectively, may be included in the coding units 1220a and 1220b.
- the coding unit 1220b positioned in the center may be determined.
- the information indicating the position of the sample 1230a at the upper left of the upper coding unit 1220a may indicate (xa, ya) coordinates, and the sample 1230b at the upper left of the middle coding unit 1220b.
- the information indicating the position of) may indicate the (xb, yb) coordinates, and the information indicating the position of the sample 1230c on the upper left of the lower coding unit 1220c may indicate the (xc, yc) coordinates.
- the image decoding apparatus 100 may determine the center coding unit 1220b using the coordinates of the samples 1230a, 1230b, and 1230c of the upper left included in the coding units 1220a, 1220b, and 1220c, respectively.
- the coordinates indicating the positions of the samples 1230a, 1230b, and 1230c at the upper left may indicate coordinates indicating the absolute positions in the picture, and further, the positions of the samples 1230a at the upper left of the upper coding unit 1220a.
- the (dxb, dyb) coordinate which is the information indicating the relative position of the sample 1230b at the upper left of the center coding unit 1220b, and the relative position of the sample 1230c at the upper left of the lower coding unit 1220c.
- Information (dxc, dyc) coordinates can also be used.
- the method of determining the coding unit of a predetermined position by using the coordinates of the sample as information indicating the position of the sample included in the coding unit should not be interpreted to be limited to the above-described method, and various arithmetic operations that can use the coordinates of the sample It should be interpreted in a way.
- the image decoding apparatus 100 may split the current coding unit 1200 into a plurality of coding units 1220a, 1220b, and 1220c, and may determine a predetermined reference among the coding units 1220a, 1220b, and 1220c. According to the coding unit can be selected. For example, the decoder 120 may select coding units 1220b having different sizes from among the coding units 1220a, 1220b, and 1220c.
- the image decoding apparatus 100 may include (xa, ya) coordinates, information indicating a position of the sample 1230a on the upper left side of the upper coding unit 1220a, and a sample on the upper left side of the center coding unit 1220b.
- Coding unit 1220a using the (xb, yb) coordinate which is the information indicating the position of 1230b and the (xc, yc) coordinate which is the information indicating the position of the sample 1230c of the upper left of the lower coding unit 1220c. 1220b, 1220c) may determine the width or height of each.
- the image decoding apparatus 100 uses (xa, ya), (xb, yb), and (xc, yc) coordinates indicating the positions of the coding units 1220a, 1220b, and 1220c. ) Each size can be determined.
- the image decoding apparatus 100 may determine the width of the upper coding unit 1220a as xb-xa and the height as yb-ya.
- the decoder 120 may determine the width of the center coding unit 1220b as xc-xb and the height as yc-yb.
- the decoder 120 may determine the width or height of the lower coding unit using the width or height of the current coding unit, and the width and height of the upper coding unit 1220a and the center coding unit 1220b.
- the decoder 120 may determine one coding unit having a different size from other coding units based on the width and height of the determined coding units 1220a, 1220b, and 1220c.
- the image decoding apparatus 100 may determine a coding unit 1220b as a coding unit having a predetermined position while having a size different from that of the upper coding unit 1220a and the lower coding unit 1220c.
- the coding unit at a predetermined position may be determined using the size of the coding unit determined based on the sample coordinates.
- various processes of determining a coding unit at a predetermined position by comparing the sizes of coding units determined according to predetermined sample coordinates may be used.
- the position of the sample to be considered for determining the position of the coding unit should not be interpreted as being limited to the upper left side described above, but may be interpreted that information on the position of any sample included in the coding unit may be used.
- the image decoding apparatus 100 may select a coding unit of a predetermined position among odd-numbered coding units determined by dividing the current coding unit in consideration of the shape of the current coding unit. For example, if the current coding unit has a non-square shape having a width greater than the height, the decoder 120 may determine the coding unit at a predetermined position in the horizontal direction. That is, the decoder 120 may determine one of the coding units having different positions in the horizontal direction to limit the corresponding coding unit. If the current coding unit has a non-square shape having a height greater than the width, the decoder 120 may determine the coding unit at a predetermined position in the vertical direction. That is, the decoder 120 may determine one of the coding units having different positions in the vertical direction to limit the corresponding coding unit.
- the image decoding apparatus 100 may use information indicating the positions of each of the even coding units to determine the coding unit of the predetermined position among the even coding units.
- the decoder 120 may determine an even number of coding units by dividing a current coding unit and determine a coding unit of a predetermined position by using information about the positions of the even coding units.
- a detailed process thereof may be similar to the process of determining a coding unit of a predetermined position (for example, a middle position) among the odd number of coding units described above with reference to FIG.
- a predetermined value for a coding unit of a predetermined position in the splitting process is determined to determine a coding unit of a predetermined position among the plurality of coding units.
- Information is available.
- the decoder 120 of the image decoding apparatus 100 may store a sample included in a middle coding unit during splitting to determine a coding unit located in a center among coding units in which a current coding unit is divided into a plurality. At least one of block type information and split type information may be used.
- the decoder 120 of the image decoding apparatus 100 may determine a current coding unit 1200 based on at least one of block shape information and split shape information, and include a plurality of coding units 1220a, 1220b, and 1220c.
- the coding unit 1220b positioned in the center of the plurality of coding units 1220a, 1220b, and 1220c may be determined.
- the decoder 120 may determine a coding unit 1220b positioned in the center in consideration of a position where at least one of the block shape information and the split shape information is obtained.
- At least one of the block shape information and the split shape information of the current coding unit 1200 may be obtained from a sample 1240 positioned in the center of the current coding unit 1200.
- the coding unit 1220b including the sample 1240 is a coding unit positioned at the center. You can decide.
- the information used to determine the coding unit located in the middle should not be interpreted as being limited to at least one of the block type information and the split type information, and various types of information may be used in the process of determining the coding unit located in the center. Can be.
- predetermined information for identifying a coding unit of a predetermined position may be obtained from a predetermined sample included in the coding unit to be determined.
- the decoder 120 encodes a coding unit (for example, a plurality of encoding units at a predetermined position) among a plurality of coding units 1220a, 1220b, and 1220c determined by splitting a current coding unit 1200.
- Block shape information and division obtained from a sample of a predetermined position in the current coding unit 1200 (for example, a sample located in the center of the current coding unit 1200) in order to determine a coding unit located in the center of the units. At least one of the shape information may be used.
- the decoder 120 may determine a sample of the predetermined position in consideration of the block block form of the current coding unit 1200, and the decoder 120 may determine a plurality of samples in which the current coding unit 1200 is divided and determined.
- a coding unit 1220b including a sample from which predetermined information (for example, at least one of block shape information and split shape information) may be obtained may be determined to determine a predetermined time. Limitations can be placed. Referring to FIG.
- the decoder 120 may determine a sample 1240 positioned in the center of the current coding unit 1200 as a sample from which predetermined information may be obtained, and the decoder 120 ) May set a predetermined limit in decoding the coding unit 1220b including the sample 1240.
- the position of the sample from which the predetermined information can be obtained should not be interpreted as being limited to the above-described position, but may be interpreted as samples of arbitrary positions included in the coding unit 1220b to be determined for the purpose of limitation.
- a position of a sample from which predetermined information may be obtained may be determined according to the shape of the current coding unit 1200.
- the block shape information may determine whether the shape of the current coding unit is square or non-square, and determine the position of a sample from which the predetermined information may be obtained according to the shape.
- the decoder 120 is located on a boundary that divides at least one of the width and the height of the current coding unit in half using at least one of information about the width and height of the current coding unit. May be determined as a sample from which predetermined information can be obtained.
- the decoder 120 may select one of samples adjacent to a boundary that divides the long side of the current coding unit in half. It can be determined as a sample from which information can be obtained.
- the image decoding apparatus 100 when the image decoding apparatus 100 divides a current coding unit into a plurality of coding units, at least one of block shape information and split shape information may be used to determine a coding unit of a predetermined position among a plurality of coding units. You can use one.
- the bitstream obtainer 110 may obtain at least one of block shape information and split shape information from a sample at a predetermined position included in a coding unit, and the decoder 120 splits the current coding unit.
- the generated plurality of coding units may be split using at least one of split shape information and block shape information obtained from a sample of a predetermined position included in each of the plurality of coding units.
- the coding unit may be recursively split using at least one of block shape information and split shape information obtained from a sample of a predetermined position included in each coding unit. Since the recursive division process of the coding unit has been described above with reference to FIG. 11, a detailed description thereof will be omitted.
- the image decoding apparatus 100 may determine at least one coding unit by dividing a current coding unit, and determine an order in which the at least one coding unit is decoded in a predetermined block (for example, the current coding unit). Can be determined according to
- FIG. 13 illustrates an order in which a plurality of coding units are processed when the image decoding apparatus 100 determines a plurality of coding units by dividing a current coding unit.
- the decoder 120 determines the second coding units 1310a and 1310b by dividing the first coding unit 1300 in the vertical direction according to the block shape information and the split shape information, or the first coding unit (
- the second coding units 1330a and 1330b may be determined by dividing the 1300 in the horizontal direction, or the second coding units 1350a, 1350b, 1350c, and 1350d may be determined by dividing the first coding unit 1300 in the vertical and horizontal directions. You can decide.
- the decoder 120 may determine an order such that the second coding units 1310a and 1310b determined by dividing the first coding unit 1300 in the vertical direction are processed in the horizontal direction 1310c.
- the image decoding apparatus 100 may determine the processing order of the second coding units 1330a and 1330b determined by dividing the first coding unit 1300 in the horizontal direction, in the vertical direction 1330c.
- the image decoding apparatus 100 processes the coding units for positioning the second coding units 1350a, 1350b, 1350c, and 1350d determined by dividing the first coding unit 1300 in the vertical direction and the horizontal direction.
- the coding units located in the next row may be determined according to a predetermined order (for example, raster scan order or z scan order 1350e).
- the image decoding apparatus 100 may recursively split coding units.
- the decoder 120 may determine a plurality of coding units 1310a, 1310b, 1330a, 1330b, 1350a, 1350b, 1350c, and 1350d by dividing the first coding unit 1300.
- Each of the plurality of coding units 1310a, 1310b, 1330a, 1330b, 1350a, 1350b, 1350c, and 1350d may be recursively divided.
- the method of splitting the plurality of coding units 1310a, 1310b, 1330a, 1330b, 1350a, 1350b, 1350c, and 1350d may be similar to the method of splitting the first coding unit 1300. Accordingly, the plurality of coding units 1310a, 1310b, 1330a, 1330b, 1350a, 1350b, 1350c, and 1350d may be independently divided into a plurality of coding units. Referring to FIG. 13, the decoder 120 may determine the second coding units 1310a and 1310b by dividing the first coding unit 1300 in the vertical direction, and further, respectively, the second coding units 1310a and 1310b. You can decide to split independently or not.
- the decoder 120 may divide the second coding unit 1310a on the left side into horizontal units and split the third coding unit 1320a and 1320b into the horizontal direction, and the second coding unit 1310b on the right side. May not be divided.
- the processing order of coding units may be determined based on a split process of the coding units.
- the processing order of the divided coding units may be determined based on the processing order of the coding units before splitting.
- the decoder 120 may independently determine the order in which the third coding units 1320a and 1320b determined by splitting the second coding unit 1310a on the left side from the second coding unit 1310b on the right side. Since the second coding unit 1310a on the left is divided in the horizontal direction to determine the third coding units 1320a and 1320b, the third coding units 1320a and 1320b may be processed in the vertical direction 1320c.
- the third coding unit included in the second coding unit 1310a on the left side corresponds to the horizontal direction 1310c
- the right coding unit 1310b may be processed.
- FIG. 14 illustrates a process of determining that a current coding unit is divided into an odd number of coding units when the image decoding apparatus 100 may not process the coding units in a predetermined order, according to an embodiment.
- the image decoding apparatus 100 may determine that the current coding unit is divided into odd coding units based on the block shape information and the partition shape information acquired by the bitstream obtainer 110.
- a first coding unit 1400 having a square shape may be divided into second coding units 1410a and 1410b having a non-square shape, and each of the second coding units 1410a and 1410b may be independently formed. It may be divided into three coding units 1420a, 1420b, 1420c, 1420d, and 1420e.
- the decoder 120 may determine a plurality of third coding units 1420a and 1420b by dividing the left coding unit 1410a in the horizontal direction among the second coding units, and may include the right coding unit 1410b. May be divided into odd third coding units 1420c, 1420d, and 1420e.
- the decoder 120 determines whether the third coding units 1420a, 1420b, 1420c, 1420d, and 1420e may be processed in a predetermined order to determine whether there are oddly divided coding units. Can be. Referring to FIG. 14, the decoder 120 may recursively divide the first coding unit 1400 to determine the third coding units 1420a, 1420b, 1420c, 1420d, and 1420e. The decoder 120 may perform the first coding unit 1400, the second coding unit 1410a, 1410b, or the third coding unit 1420a, 1420b, 1420c, or 1420d based on at least one of the block shape information and the split shape information.
- 1420e may be determined to be split into an odd number of coding units.
- a coding unit positioned on the right side of the second coding units 1410a and 1410b may be divided into odd third coding units 1420c, 1420d, and 1420e.
- the order in which the plurality of coding units included in the first coding unit 1400 is processed may be a predetermined order (for example, a z-scan order 1430), and the decoder 120 ) May determine whether the third coding units 1420c, 1420d, and 1420e determined by splitting the right second coding unit 1410b into an odd number satisfy the condition in which the right coding unit 1410b is processed according to the predetermined order.
- the image decoding apparatus 100 may satisfy a condition that the third coding units 1420a, 1420b, 1420c, 1420d, and 1420e included in the first coding unit 1400 may be processed in a predetermined order. And whether the at least one of the width and the height of the second coding unit 1410a, 1410b is divided in half according to the boundary of the third coding unit 1420a, 1420b, 1420c, 1420d, or 1420e.
- the third coding units 1420a and 1420b which are determined by dividing the height of the left second coding unit 1410a in the non-square form in half, satisfy the condition, but the right second coding unit 1410b is 3 times.
- the third coding units 1420c, 1420d, and 1420e determined by dividing into two coding units does not divide the width or height of the right second coding unit 1410b in half
- the third coding units 1420c, 1420d, 1420e may be determined not to satisfy the condition, and the image decoding apparatus 100 may determine that the scan sequence is disconnected in the case of dissatisfaction with the condition, and the right second coding unit 1410b may be determined based on the determination result. It may be determined to be divided into an odd number of coding units.
- the image decoding apparatus 100 when the image decoding apparatus 100 is divided into an odd number of coding units, the image decoding apparatus 100 may set a predetermined limit on a coding unit of a predetermined position among the divided coding units. Since the above has been described through the embodiments, detailed description thereof will be omitted.
- FIG. 15 illustrates a process of determining, by the image decoding apparatus 100, at least one coding unit by dividing the first coding unit 1500 according to an embodiment.
- the decoder 120 may split the first coding unit 1500 based on at least one of the block shape information and the split shape information obtained through the bitstream obtainer 110.
- the first coding unit 1500 having a square shape may be divided into coding units having four square shapes, or may be divided into a plurality of coding units having a non-square shape. For example, referring to FIG.
- the decoder 120 may determine the first coding unit ( 1500 may be divided into a plurality of non-square coding units.
- the decoder 120 may form a square first coding unit 1500. May be divided into second coding units 1510a, 1510b, and 1510c that are determined by being split in the vertical direction as odd coding units, or second coding units 1520a, 1520b, and 1520c that are determined by splitting in the horizontal direction.
- the decoder 120 may determine a condition in which the second coding units 1510a, 1510b, 1510c, 1520a, 1520b, and 1520c included in the first coding unit 1500 may be processed in a predetermined order.
- the condition may be determined, and the condition is whether at least one of the width and the height of the first coding unit 1500 is divided in half according to the boundary of the second coding units 1510a, 1510b, 1510c, 1520a, 1520b, and 1520c.
- a boundary between second coding units 1510a, 1510b, and 1510c which is determined by dividing a square first coding unit 1500 in a vertical direction, divides the width of the first coding unit 1500 in half.
- the first coding unit 1500 may be determined to not satisfy a condition that may be processed in a predetermined order.
- a boundary between the second coding units 1520a, 1520b, and 1520c which is determined by dividing the first coding unit 1500 having a square shape in the horizontal direction, does not divide the width of the first coding unit 1500 in half,
- the one coding unit 1500 may be determined as not satisfying a condition that may be processed in a predetermined order.
- the image decoding apparatus 100 may determine that such a condition is not satisfied as disconnection of the scan order, and determine that the first coding unit 1500 is divided into odd coding units based on the determination result. According to an embodiment, when the image decoding apparatus 100 is divided into an odd number of coding units, the image decoding apparatus 100 may set a predetermined limit on a coding unit of a predetermined position among the divided coding units. Since the above has been described through the embodiments, detailed description thereof will be omitted.
- the image decoding apparatus 100 may determine various coding units by dividing the first coding unit.
- the image decoding apparatus 100 may split a first coding unit 1500 having a square shape and a first coding unit 1530 or 1550 having a non-square shape into various coding units. .
- FIG. 16 illustrates that the second coding unit is split when the second coding unit having a non-square shape determined by splitting the first coding unit 1600 according to an embodiment satisfies a predetermined condition. It shows that the form that can be limited.
- the decoder 120 may form a non-square shape first coding unit 1600 having a square shape based on at least one of block shape information and partition shape information obtained through the bitstream obtainer 116. It may be determined by dividing into second coding units 1610a, 1610b, 1620a, and 1620b. The second coding units 1610a, 1610b, 1620a, and 1620b may be split independently. Accordingly, the decoder 120 may determine whether to split or not split into a plurality of coding units based on at least one of block shape information and split shape information related to each of the second coding units 1610a, 1610b, 1620a, and 1620b. have.
- the decoder 120 divides the left second coding unit 1610a of the non-square shape, determined by dividing the first coding unit 1600 in the vertical direction, in the horizontal direction, and then splits the third coding unit 1612a. 1612b).
- the decoder 120 splits the left second coding unit 1610a in the horizontal direction the right second coding unit 1610b is horizontally identical to the direction in which the left second coding unit 1610a is divided. It can be restricted so that it cannot be divided. If the right second coding unit 1610b is divided in the same direction and the third coding units 1614a and 1614b are determined, the left second coding unit 1610a and the right second coding unit 1610b are horizontally respectively.
- the third coding units 1612a, 1612b, 1614a, and 1614b may be determined. However, this is because the decoder 120 divides the first coding unit 1600 into four square second coding units 1630a, 1630b, 1630c, and 1630d based on at least one of the block shape information and the split shape information. This is the same result as that and may be inefficient in terms of image decoding.
- the decoder 120 divides the second coding unit 1620a or 1620b of the non-square shape, which is determined by dividing the first coding unit 900 in the horizontal direction, in the vertical direction, and then uses the third coding unit ( 1622a, 1622b, 1624a, 1624b.
- the second decoding unit for example, lower coding
- the unit 1620b may restrict the upper second coding unit 1620a from being split in the vertical direction in the same direction as the split direction.
- FIG. 17 illustrates a process of splitting a coding unit having a square shape by the image decoding apparatus 100 when the split shape information cannot be divided into four square coding units according to an embodiment.
- the decoder 120 determines the second coding unit 1710a, 1710b, 1720a, 1720b, etc. by dividing the first coding unit 1700 based on at least one of block shape information and split shape information.
- the split type information may include information about various types in which a coding unit may be split, but the information on various types may not include information for splitting into four coding units having a square shape.
- the decoder 120 may not divide the first coding unit 1700 having a square shape into four second coding units 1730a, 1730b, 1730c, and 1730d having four square shapes.
- the decoder 120 may determine second non-square second coding units 1710a, 1710b, 1720a, 1720b, and the like based on the split shape information.
- the decoder 120 may independently split the non-square second coding units 1710a, 1710b, 1720a, 1720b, and the like.
- Each of the second coding units 1710a, 1710b, 1720a, 1720b, etc. may be split in a predetermined order through a recursive method, which is based on at least one of the block shape information and the split shape information 1700. May be a split method similar to the method in which?
- the decoder 120 may split the left second coding unit 1710a in the horizontal direction to determine the third coding units 1712a and 1712b having a square shape, and the right second coding unit 1710b may be horizontal.
- the third coding units 1714a and 1714b having a square shape may be determined by being split in the direction.
- the decoder 120 may divide the left second coding unit 1710a and the right second coding unit 1710b in the horizontal direction to determine the third coding units 1716a, 1716b, 1716c, and 1716d having a square shape.
- the coding unit may be determined in the same form as that in which the first coding unit 1700 is divided into four second coding units 1730a, 1730b, 1730c, and 1730d.
- the decoder 120 may determine the third coding units 1722a and 1722b having a square shape by dividing the upper second coding unit 1720a in the vertical direction, and the lower second coding unit 1720b. Is divided in the vertical direction to determine the third coding units 1724a and 1724b having a square shape. In addition, the decoder 120 may divide the upper second coding unit 1720a and the lower second coding unit 1720b in the vertical direction to determine the third coding units 1722a, 1722b, 1724a, and 1724b having a square shape. . In this case, the coding unit may be determined in the same form as that in which the first coding unit 1700 is divided into four second coding units 1730a, 1730b, 1730c, and 1730d.
- FIG. 18 illustrates that a processing order between a plurality of coding units may vary according to a division process of coding units, according to an embodiment.
- the decoder 120 may split the first coding unit 1800 based on the block shape information and the split shape information.
- the block shape information indicates a square shape and the split shape information indicates that the first coding unit 1800 is divided into at least one of a horizontal direction and a vertical direction
- the decoder 120 may determine the first coding unit 1800.
- the second coding unit (for example, 1810a, 1810b, 1820a, 1820b, 1830a, 1830b, 1830c, 1830d, etc.) may be determined by dividing. Referring to FIG.
- non-square-type second coding units 1810a, 1810b, 1820a, and 1820b which are determined by dividing the first coding unit 1800 only in the horizontal direction or the vertical direction, respectively, may include block shape information and split shape information for each. It can be divided independently based on.
- the decoder 120 divides the second coding units 1810a and 1810b generated by splitting the first coding unit 1800 in the vertical direction in the horizontal direction, respectively, and then uses the third coding units 1816a, 1816b, and 1816c.
- the decoder 120 may process coding units in a predetermined order. Features of the processing of the coding unit according to the predetermined order have been described above with reference to FIG. 13, and thus a detailed description thereof will be omitted. Referring to FIG. 18, the decoder 120 divides a first coding unit 1800 having a square shape, and then divides four third coding units 1816a, 1816b, 1816c, 1816d, 1826a, 1826b, 1826c, and 1826d having four square shapes. Can be determined.
- the decoder 120 determines a processing order of the third coding units 1816a, 1816b, 1816c, 1816d, 1826a, 1826b, 1826c, and 1826d according to the form in which the first coding unit 1800 is divided. Can be.
- the decoder 120 may divide the second coding units 1810a and 1810b generated by splitting in the vertical direction in the horizontal direction to determine the third coding units 1816a, 1816b, 1816c, and 1816d.
- the decoder 120 first processes the third coding units 1816a and 1816b included in the left second coding unit 1810a in the vertical direction, and then includes a third included in the right second coding unit 1810b.
- the third coding units 1816a, 1816b, 1816c, and 1816d may be processed according to an order 1817 of processing the coding units 1816c and 1816d in the vertical direction.
- the decoder 120 may divide the second coding units 1820a and 1820b generated by splitting in the horizontal direction, respectively, in the vertical direction to determine the third coding units 1826a, 1826b, 1826c, and 1826d.
- the decoder 120 first processes the third coding units 1826a and 1826b included in the upper second coding unit 1820a in the horizontal direction, and then includes a third included in the lower second coding unit 1820b.
- the third coding units 1826a, 1826b, 1826c, and 1826d may be processed according to an order 1827 of processing the coding units 1826c and 1826d in the horizontal direction.
- second coding units 1810a, 1810b, 1820a, and 1820b may be divided, respectively, and square third coding units 1816a, 1816b, 1816c, 1816d, 1826a, 1826b, 1826c, and 1826d may be determined. have.
- the second coding units 1810a and 1810b determined by dividing in the vertical direction and the second coding units 1820a and 1820b determined by dividing in the horizontal direction are divided into different forms, but are subsequently determined by the third coding unit 1816a.
- the first coding unit 1800 is divided into coding units having the same type.
- the decoder 120 recursively splits the coding unit through a different process based on at least one of the block shape information and the split shape information, thereby determining the coding units having the same shape, but the plurality of the plurality of the determined shape having the same shape. Coding units may be processed in different orders.
- 19 is a diagram illustrating a process of determining a depth of a coding unit according to an embodiment when a coding unit is recursively divided and a plurality of coding units are determined.
- the decoder 120 may determine the depth of the coding unit according to a predetermined criterion.
- the predetermined criterion may be the length of the long side of the coding unit.
- the length of the long side of the current coding unit is divided by 2n (n> 0) times the length of the long side of the coding unit before the split, the depth of the current coding unit is n than the depth of the coding unit before the split. Depth can be determined to increase by.
- a coding unit having an increased depth is expressed as a coding unit of a lower depth.
- the decoder 120 may have a square shape based on block shape information indicating that the shape is square (for example, block shape information may indicate '0: SQUARE').
- the coding unit 1900 may be divided to determine a second coding unit 1902, a third coding unit 1904, and the like of a lower depth. If the size of the first coding unit 1900 having a square shape is 2Nx2N, the second coding unit 1902 determined by dividing the width and height of the first coding unit 1900 by 1/21 times may have a size of NxN. have.
- the third coding unit 1904 determined by dividing the width and the height of the second coding unit 1902 into half the size may have a size of N / 2 ⁇ N / 2.
- the width and height of the third coding unit 1904 correspond to 1/22 times the first coding unit 1900.
- the depth of the first coding unit 1900 is D
- the depth of the second coding unit 1902 that is 1/21 times the width and the height of the first coding unit 1900 may be D + 1
- the depth of the third coding unit 1904, which is 1/22 times the width and the height of 1900 may be D + 2.
- block shape information indicating a non-square shape (e.g., block shape information indicates that the height is a non-square longer than the width '1: NS_VER' or the width is a non-square longer than the height).
- 2 may represent NS_HOR ', and the decoder 120 divides the first coding unit 1910 or 1920 having a non-square shape to form the second coding unit 1912 or 1922 of the lower depth.
- Three coding units 1914 or 1924 may be determined.
- the decoder 120 may determine a second coding unit (eg, 1902, 1912, 1922, etc.) by dividing at least one of a width and a height of the Nx2N size of the first coding unit 1910. That is, the decoder 120 may divide the first coding unit 1910 in the horizontal direction to determine a second coding unit 1902 having an NxN size or a second coding unit 1922 having an NxN / 2 size, and horizontally.
- the second coding unit 1912 having a size of N / 2 ⁇ N may be determined by splitting in the vertical direction and the vertical direction.
- the decoder 120 may determine a second coding unit (eg, 1902, 1912, 1922, etc.) by dividing at least one of a width and a height of the 2N ⁇ N first coding unit 1920. have. That is, the decoder 120 may divide the first coding unit 1920 in the vertical direction to determine a second coding unit 1902 having an NxN size or a second coding unit 1912 having an N / 2xN size, and horizontally.
- the second coding unit 1922 having a size of NxN / 2 may be determined by splitting in the direction and the vertical direction.
- the decoder 120 may determine a third coding unit (eg, 1904, 1914, 1924, etc.) by dividing at least one of a width and a height of the NxN-sized second coding unit 1902. have. That is, the decoder 120 divides the second coding unit 1902 in the vertical direction and the horizontal direction to determine the third coding unit 1904 having a size of N / 2 ⁇ N / 2 or a third size of N / 22 ⁇ N / 2.
- the coding unit 1914 may be determined, or a third coding unit 1924 having a size of N / 2 ⁇ N / 22 may be determined.
- the decoder 120 divides at least one of the width and the height of the N / 2xN sized second coding unit 1912 to determine a third coding unit (eg, 1904, 1914, 1924, etc.). You can also decide. That is, the decoder 120 divides the second coding unit 1912 in the horizontal direction to form a third coding unit 1904 having a size of N / 2xN / 2 or a third coding unit 1924 having a size of N / 2xN / 22.
- the third coding unit 1914 having the size of N / 22 ⁇ N / 2 may be determined by determining or splitting in the vertical direction and the horizontal direction.
- the decoder 120 splits at least one of a width and a height of the NxN / 2 sized second coding unit 1914 to form a third coding unit (for example, 1904, 1914, 1924, etc.). You can also decide. That is, the decoder 120 divides the second coding unit 1912 in the vertical direction to form a third coding unit 1904 having an N / 2 ⁇ N / 2 size or a third coding unit 1914 having an N / 22xN / 2 size.
- the third coding unit 1924 having the size of N / 2 ⁇ N / 22 may be determined by determining or splitting in the vertical direction and the horizontal direction.
- the decoder 120 may divide a coding unit having a square shape (for example, 1900, 1902, and 1904) in a horizontal direction or a vertical direction.
- the first coding unit 1900 having a size of 2Nx2N is divided in the vertical direction to determine the first coding unit 1910 having the size of Nx2N, or the first coding unit 1920 having a size of 2NxN is determined by splitting in the horizontal direction.
- the depth of the coding unit determined by dividing the first coding unit 1900, 1902, or 1904 having a size of 2N ⁇ 2N into the horizontal or vertical direction is determined. May be the same as the depth of the first coding unit 1900, 1902, or 1904.
- the width and height of the third coding unit 1914 or 1924 may correspond to 1/22 times the first coding unit 1910 or 1920.
- the depth of the second coding unit 1912 or 1914 which is 1/2 the width and height of the first coding unit 1910 or 1920, may be D + 1.
- the depth of the third coding unit 1914 or 1924 that is 1/22 times the width and the height of the first coding unit 1910 or 1920 may be D + 2.
- FIG. 20 illustrates a depth and a part index (PID) for distinguishing a coding unit, which may be determined according to the shape and size of coding units, according to an embodiment.
- PID depth and a part index
- the decoder 120 may determine a second coding unit having various forms by dividing the first coding unit 2000 having a square shape. Referring to FIG. 20, the decoder 120 divides the first coding unit 2000 in at least one of a vertical direction and a horizontal direction according to the split type information to form a second coding unit 2002a, 2002b, 2004a, 2004b. , 2006a, 2006b, 2006c, 2006d). That is, the decoder 120 may determine the second coding units 2002a, 2002b, 2004a, 2004b, 2006a, 2006b, 2006c, and 2006d based on the split type information about the first coding unit 2000.
- the second coding units 2002a, 2002b, 2004a, 2004b, 2006a, 2006b, 2006c, and 2006d which are determined according to split shape information about the first coding unit 2000 having a square shape, have a long side length. Depth can be determined based on this. For example, since the length of one side of the first coding unit 2000 in the square form and the length of the long side of the second coding units 2002a, 2002b, 2004a, and 2004b in the non-square form are the same, the first coding unit ( 2000 and the depths of the non-square second coding units 2002a, 2002b, 2004a, and 2004b may be regarded as D.
- the decoder 120 divides the first coding unit 2000 into four second coding units 2006a, 2006b, 2006c, and 2006d based on the split form information
- the second unit having a square form Since the length of one side of the coding units 2006a, 2006b, 2006c, and 2006d is 1/2 times the length of one side of the first coding unit 2000, the depths of the second coding units 2006a, 2006b, 2006c, and 2006d are It may be a depth of D + 1 that is one depth lower than D, which is a depth of the first coding unit 2000.
- the decoder 120 divides the first coding unit 2010 having a shape whose height is greater than the width in the horizontal direction according to the split shape information, thereby performing a plurality of second coding units 2012a, 2012b, 2014a, and 2014b. , 2014c).
- the decoder 120 divides the first coding unit 2020 having a width greater than the height in the vertical direction according to the split shape information, thereby performing a plurality of second coding units 2022a, 2022b, 2024a, and 2024b. 2024c).
- the second coding units 2012a, 2012b, 2014a, 2014b, 2016a, 2016b, 2016c, and 2016d that are determined according to split shape information about the first coding unit 2010 or 2020 having a non-square shape may be Depth may be determined based on the length of the long side. For example, since the length of one side of the second coding units 2012a and 2012b having a square shape is 1/2 times the length of one side of the first coding unit 2010 having a non-square shape having a height greater than the width, the square is square.
- the depth of the second coding units 2002a, 2002b, 2004a, and 2004b of the form is D + 1, which is a depth lower than the depth D of the first coding unit 2010 of the non-square form.
- the decoder 120 may divide the non-square first coding unit 2010 into odd second coding units 2014a, 2014b, and 2014c based on the split shape information.
- the odd number of second coding units 2014a, 2014b, and 2014c may include non-square second coding units 2014a and 2014c and square shape second coding units 2014b.
- the length of the long side of the second coding units 2014a and 2014c in the non-square shape and the length of one side of the second coding unit 2014b in the square shape is 1 / time of the length of one side of the first coding unit 2010.
- the depths of the second coding units 2014a, 2014b, and 2014c may be a depth of D + 1 that is one depth lower than the depth D of the first coding unit 2010.
- the decoder 120 is a coding unit associated with the first coding unit 2020 having a non-square shape having a width greater than a height in a manner similar to the above method of determining depths of the coding units related to the first coding unit 2010. Depth of field can be determined.
- the decoder 120 in determining an index (PID) for dividing the divided coding units, when the odd-numbered split coding units are not the same size, the decoder 120 is based on the size ratio between the coding units. To determine the index. Referring to FIG. 20, a coding unit 2014b positioned at the center of odd-numbered split coding units 2014a, 2014b, and 2014c has the same width as the other coding units 2014a and 2014c but has a different height. It may be twice the height of the fields 2014a, 2014c. That is, in this case, the coding unit 2014b positioned in the center may include two of the other coding units 2014a and 2014c.
- the decoder 120 may determine whether odd-numbered split coding units are not the same size based on whether there is a discontinuity of an index for distinguishing the split coding units.
- the image decoding apparatus 100 may determine whether the image decoding apparatus 100 is divided into a specific division type based on a value of an index for dividing the plurality of coding units determined by dividing from the current coding unit. Referring to FIG. 20, the image decoding apparatus 100 may determine an even number of coding units 2012a and 2012b by dividing a first coding unit 2010 having a rectangular shape having a height greater than a width, or an odd number of coding units 2014a and 2014b. , 2014c). The image decoding apparatus 100 may use an index (PID) indicating each coding unit to distinguish each of the plurality of coding units. According to an embodiment, the PID may be obtained from a sample (eg, an upper left sample) at a predetermined position of each coding unit.
- a sample eg, an upper left sample
- the image decoding apparatus 100 may determine a coding unit of a predetermined position among coding units determined by splitting by using an index for dividing coding units. According to an embodiment, when the split type information of the first coding unit 2010 having a height greater than the width is divided into three coding units, the image decoding apparatus 100 may determine the first coding unit 2010. It may be divided into three coding units 2014a, 2014b, and 2014c. The image decoding apparatus 100 may allocate an index for each of three coding units 2014a, 2014b, and 2014c. The image decoding apparatus 100 may compare the indices of the respective coding units to determine the coding unit among the oddly divided coding units.
- the image decoding apparatus 100 encodes a coding unit 2014b having an index corresponding to a center value among the indices based on the indices of the coding units, and encodes the center position among the coding units determined by splitting the first coding unit 2010. It can be determined as a unit. According to an embodiment, when determining the indexes for distinguishing the divided coding units, the image decoding apparatus 100 may determine the indexes based on the size ratio between the coding units when the coding units are not the same size. . Referring to FIG. 20, the coding unit 2014b generated by dividing the first coding unit 2010 may include the coding units 2014a and 2014c that have the same width but different heights than the other coding units 2014a and 2014c. It can be twice the height.
- the image decoding apparatus 100 may determine that the image decoding apparatus 100 is divided into a plurality of coding units including a coding unit having a different size from other coding units. In this case, when the split form information is divided into odd coding units, the image decoding apparatus 100 may have a shape different from a coding unit having a different coding unit (for example, a middle coding unit) at a predetermined position among the odd coding units.
- the current coding unit can be divided by.
- the image decoding apparatus 100 may determine a coding unit having a different size by using an index (PID) for the coding unit.
- PID index
- the above-described index, the size or position of the coding unit of the predetermined position to be determined are specific to explain an embodiment and should not be construed as being limited thereto. Various indexes and positions and sizes of the coding unit may be used. Should be interpreted.
- the decoder 120 may use a predetermined data unit at which recursive division of coding units begins.
- 21 illustrates that a plurality of coding units are determined according to a plurality of predetermined data units included in a picture according to an embodiment.
- the predetermined data unit may be defined as a data unit in which a coding unit starts to be recursively divided using at least one of block shape information and split shape information. That is, it may correspond to the coding unit of the highest depth used in the process of determining a plurality of coding units for dividing the current picture.
- a predetermined data unit will be referred to as a reference data unit.
- the reference data unit may represent a predetermined size and shape.
- the reference coding unit may include samples of M ⁇ N. M and N may be the same as each other, and may be an integer represented by a multiplier of two. That is, the reference data unit may represent a square or non-square shape, and then may be divided into integer coding units.
- the decoder 120 of the image decoding apparatus 100 may split the current picture into a plurality of reference data units.
- the decoder 120 may divide a plurality of reference data units for dividing a current picture by using split information for each reference data unit.
- the division process of the reference data unit may correspond to the division process using a quad-tree structure.
- the decoder 120 may predetermine the minimum size of the reference data unit included in the current picture. Accordingly, the decoder 120 may determine a reference data unit having various sizes having a minimum size or more, and determine at least one coding unit by using block shape information and split shape information based on the determined reference data unit. Can be.
- the image decoding apparatus 100 may use a reference coding unit 2100 having a square shape, or may use a reference coding unit 2102 having a non-square shape.
- the shape and size of the reference coding unit may include various data units (eg, a sequence, a picture, a slice, and a slice segment) that may include at least one reference coding unit. slice segment, maximum coding unit, etc.).
- the bitstream obtainer 110 of the image decoding apparatus 100 obtains at least one of information on a shape of a reference coding unit and information on a size of a reference coding unit from each bitstream. can do.
- the process of determining at least one coding unit included in the reference coding unit 2100 having a square shape is described above by splitting the current coding unit 900 of FIG. 9.
- the reference coding unit 2100 having a non-square shape has been described above. Since the process of determining at least one coding unit included in the above) is described above through the process of splitting the current coding unit 1000 or 1050 of FIG. 10, a detailed description thereof will be omitted.
- the decoder 120 may determine an index for identifying the size and shape of the reference coding unit in order to determine the size and shape of the reference coding unit according to some data unit determined in advance based on a predetermined condition. It is available. That is, the bitstream obtaining unit 110 may have a predetermined condition (for example, a size equal to or less than a slice) among the various data units (eg, sequence, picture, slice, slice segment, maximum coding unit, etc.) from the bitstream. As the data unit satisfying the data unit), only an index for identifying the size and shape of the reference coding unit may be obtained for each slice, slice segment, maximum coding unit, or the like.
- a predetermined condition for example, a size equal to or less than a slice
- the various data units eg, sequence, picture, slice, slice segment, maximum coding unit, etc.
- the decoder 120 may determine the size and shape of the reference data unit for each data unit satisfying the predetermined condition by using the index.
- the index may be obtained and used. In this case, at least one of the size and shape of the reference coding unit associated with the index indicating the size and shape of the reference coding unit may be predetermined.
- the decoder 120 determines at least one of the size and shape of the reference coding unit included in the data unit, which is the reference for index acquisition, by selecting at least one of the predetermined size and shape of the reference coding unit according to the index. Can be.
- the decoder 120 may use at least one reference coding unit included in one maximum coding unit. That is, at least one reference coding unit may be included in the maximum coding unit for dividing an image, and the coding unit may be determined through a recursive division process of each reference coding unit. According to an embodiment, at least one of the width and the height of the maximum coding unit may correspond to an integer multiple of at least one of the width and the height of the reference coding unit. According to an embodiment, the size of the reference coding unit may be a size obtained by dividing the maximum coding unit n times according to a quad tree structure.
- the decoder 120 may determine the reference coding unit by dividing the maximum coding unit n times according to the quad tree structure, and according to various embodiments, the reference coding unit may be included in at least one of block shape information and split shape information. Can be divided based on this.
- FIG. 22 is a diagram of a processing block serving as a reference for determining a determination order of a reference coding unit included in a picture 2200.
- the decoder 120 may determine at least one processing block for dividing a picture.
- the processing block is a data unit including at least one reference coding unit for dividing an image, and the at least one reference coding unit included in the processing block may be determined in a specific order. That is, the determination order of at least one reference coding unit determined in each processing block may correspond to one of various types of order in which the reference coding unit may be determined, and the reference coding unit determination order determined in each processing block. May be different per processing block.
- the order of determination of the reference coding units determined for each processing block is raster scan, Z-scan, N-scan, up-right diagonal scan, and horizontal scan. It may be one of various orders such as a horizontal scan, a vertical scan, etc., but the order that may be determined should not be construed as being limited to the scan orders.
- the decoder 120 may determine the size of at least one processing block included in the image by obtaining information about the size of the processing block.
- the decoder 120 may determine the size of at least one processing block included in the image by obtaining information about the size of the processing block from the bitstream.
- the size of such a processing block may be a predetermined size of a data unit indicated by the information about the size of the processing block.
- the bitstream obtainer 110 of the image decoding apparatus 100 may obtain information about a size of a processing block from a bitstream for each specific data unit.
- the information about the size of the processing block may be obtained from the bitstream in data units such as an image, a sequence, a picture, a slice, and a slice segment. That is, the bitstream obtainer 110 may obtain information about the size of the processing block from the bitstream for each of the various data units, and the decoder 120 may divide the picture using the obtained information about the size of the processing block.
- a size of at least one processing block can be determined, and the size of the processing block can be an integer multiple of the reference coding unit.
- the decoder 120 may determine the sizes of the processing blocks 2202 and 2212 included in the picture 2200. For example, the decoder 120 may determine the size of the processing block based on the information about the size of the processing block obtained from the bitstream. Referring to FIG. 22, the decoder 120 determines a horizontal size of the processing blocks 2202 and 2212 to be four times the horizontal size of the reference coding unit and four times the vertical size of the reference coding unit, according to an exemplary embodiment. Can be. The decoder 120 may determine an order in which at least one reference coding unit is determined in at least one processing block.
- the decoder 120 may determine each of the processing blocks 2202 and 2212 included in the picture 2200 based on the size of the processing block, and the reference coding unit determiner 12 may process A determination order of at least one reference coding unit included in blocks 2202 and 2212 may be determined.
- the determination of the reference coding unit may include the determination of the size of the reference coding unit.
- the decoder 120 may obtain information about a determination order of at least one reference coding unit included in at least one processing block from a bitstream, and based on the obtained determination order An order in which at least one reference coding unit is determined may be determined.
- the information about the determination order may be defined in an order or direction in which reference coding units are determined in the processing block. That is, the order in which the reference coding units are determined may be independently determined for each processing block.
- the image decoding apparatus 100 may obtain information about a determination order of a reference coding unit from a bitstream for each specific data unit.
- the bitstream obtainer 110 may obtain information on the determination order of the reference coding unit from the bitstream for each data unit such as an image, a sequence, a picture, a slice, a slice segment, and a processing block. Since the information about the determination order of the reference coding unit indicates the determination order of the reference coding unit in the processing block, the information about the determination order may be obtained for each specific data unit including an integer number of processing blocks.
- the image decoding apparatus 100 may determine at least one reference coding unit based on the order determined according to the embodiment.
- the bitstream obtainer 110 may obtain information about a reference coding unit determination order from the bitstream as information related to the processing blocks 2202 and 2212, and the decoder 120 may process the processing.
- An order of determining at least one reference coding unit included in blocks 2202 and 2212 may be determined, and at least one reference coding unit included in the picture 2200 may be determined according to the determination order of the coding units.
- the decoder 120 may determine determination orders 2204 and 2214 of at least one reference coding unit associated with each processing block 2202 and 2212. For example, when information about the determination order of the reference coding unit is obtained for each processing block, the reference coding unit determination order associated with each processing block 2202 and 2212 may be different for each processing block.
- the reference coding unit included in the processing block 2202 may be determined according to the raster scan order.
- the reference coding unit determination order 2214 associated with the other processing block 2212 is the reverse order of the raster scan order
- the reference coding units included in the processing block 2212 may be determined according to the reverse order of the raster scan order.
- the decoder 120 may decode the determined at least one reference coding unit.
- the decoder 120 may decode the image based on the reference coding unit determined through the above-described embodiment.
- the method of decoding the reference coding unit may include various methods of decoding an image.
- the image decoding apparatus 100 may obtain and use block shape information indicating a shape of a current coding unit or split shape information indicating a method of dividing a current coding unit from a bitstream.
- Block type information or split type information may be included in a bitstream associated with various data units.
- the image decoding apparatus 100 may include a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice segment header. block type information or segmentation type information included in a segment header) may be used.
- the image decoding apparatus 100 may obtain and use syntax related to block shape information or split shape information from the bitstream from the bitstream for each maximum coding unit, reference coding unit, and processing block.
- the decoder 120 may differently determine the type of division type into which the coding unit may be divided, for each predetermined data unit. According to an embodiment, the decoder 120 of the image decoding apparatus 100 may differently determine a combination of forms in which coding units may be divided for each predetermined data unit (eg, sequence, picture, slice, etc.). .
- FIG. 23 illustrates coding units that may be determined for each picture when combinations of forms in which coding units may be divided are different for each picture, according to an embodiment.
- the decoder 120 may differently determine a combination of division forms in which a coding unit may be divided for each picture. For example, the decoder 120 may divide the picture 2300 into four coding units among at least one picture included in the image, and the picture 2310 may be divided into two or four coding units. And a picture 2320 that may be divided into two, three, or four coding units, to decode the image.
- the decoder 120 may use only division type information indicating that the picture 2300 is divided into four square coding units in order to divide the picture 2300 into a plurality of coding units.
- the decoder 120 may use only split type information indicating splitting into two or four coding units to split the picture 2310.
- the decoder 120 may use only partition type information indicating that the picture is divided into two, three, or four coding units in order to divide the picture 2320.
- the combination of the above-described divisional forms is only an embodiment for explaining the operation of the image decoding apparatus 100. Therefore, the above-described combination of the divisional forms should not be interpreted to be limited to the above-described embodiment, and the division of various forms for each predetermined data unit It is to be understood that combinations of forms may be used.
- the bitstream acquisition unit 110 of the image decoding apparatus 100 sets an index indicating a combination of segmentation type information from a bitstream for each predetermined data unit unit (eg, sequence, picture, slice, etc.). Can be obtained.
- the bitstream obtainer 110 obtains an index indicating a combination of segmentation type information from a bitstream in a sequence parameter set, a picture parameter set, or a slice header. can do.
- the decoder 120 of the image decoding apparatus 100 may determine a combination of division types in which coding units may be divided for each predetermined data unit by using the obtained index, and thus different divisions for each predetermined data unit may be performed. Combinations of forms may be used.
- FIG. 24 illustrates various forms of coding units that may be determined based on split form information that may be represented by binary codes, according to an embodiment.
- the image decoding apparatus 100 may divide a coding unit into various forms by using block shape information and segmentation shape information obtained through the bitstream obtainer 110.
- the form of the coding unit that may be split may correspond to various forms including the forms described through the above-described embodiments.
- the decoder 120 may split a coding unit having a square shape into at least one of a horizontal direction and a vertical direction based on split shape information, and divide the coding unit having a non-square shape into a horizontal direction. Or it can divide in a vertical direction.
- the split type information of the square coding unit may be represented.
- the partition type information may be represented by a 2-digit binary code, and a binary code may be allocated to each partition type.
- the partition type information when the coding unit is not divided, the partition type information may be represented by (00) b, and when the coding unit is split in the horizontal direction and the vertical direction, the partition type information may be represented by (01) b, When the coding unit is split in the horizontal direction, the split type information may be represented by (10) b, and when the coding unit is split in the vertical direction, the split type information may be represented by (11) b.
- the type of split type that can be represented by the split type information may be determined according to how many coding units are split. Can be. Referring to FIG. 24, the decoder 120 may split up to three non-square coding units according to an embodiment. The decoder 120 may split the coding unit into two coding units, and in this case, the split type information may be represented by (10) b. The decoder 120 may divide the coding unit into three coding units, and in this case, the split type information may be represented by (11) b.
- the decoder 120 may determine not to split the coding unit, and in this case, the split type information may be expressed as (0) b. That is, the decoder 120 may use variable length coding (VLC) instead of fixed length coding (FLC) in order to use a binary code indicating split type information.
- VLC variable length coding
- FLC fixed length coding
- a binary code of split type information indicating that a coding unit is not split may be represented by (0) b. If the binary code of the partition type information indicating that the coding unit is not split is set to (00) b, even if there is no partition type information set to (01) b, all of the binary codes of the 2-bit partition type information are included. Should be used. However, as shown in FIG. 24, in the case of using three split types for a non-square coding unit, even if the decoder 120 uses one-bit binary code (0) b as split type information. Since the coding unit can be determined not to be divided, the bitstream can be efficiently used. However, the divided form of the non-square-type coding unit indicated by the divided form information is not limited to only the three forms illustrated in FIG. 24 and should be interpreted in various forms including the embodiments described above.
- FIG. 25 illustrates another form of a coding unit that may be determined based on split form information that may be represented by a binary code, according to an embodiment.
- the decoder 120 may split a coding unit having a square shape in a horizontal direction or a vertical direction based on split shape information, and may split the coding unit having a non-square shape in a horizontal direction or a vertical direction.
- the split type information may indicate that a coding unit having a square shape is split in one direction.
- the binary code of the split type information indicating that the coding unit of the square type is not split may be represented by (0) b. If the binary code of the partition type information indicating that the coding unit is not split is set to (00) b, even if there is no partition type information set to (01) b, all of the binary codes of the 2-bit partition type information are included. Should be used.
- the coding unit can determine that is not to be divided, so that the bitstream can be used efficiently.
- the divided form of the square coding unit represented by the divided form information is not limited to the three forms illustrated in FIG. 25 but should be interpreted in various forms including the embodiments described above.
- the block type information or the split type information may be represented by using a binary code, and such information may be immediately generated in a bitstream.
- block type information or partition type information that can be represented by a binary code may be used as a binary code that is not directly generated as a bitstream but input by context adaptive binary arithmetic coding (CABAC).
- CABAC context adaptive binary arithmetic coding
- the image decoding apparatus 100 describes a process of obtaining syntax about block type information or partition type information through CABAC.
- the bitstream obtainer 110 may acquire a bitstream including a binary code for the syntax.
- the decoder 120 may inverse binarize the bin string included in the obtained bitstream to detect a syntax element representing the block type information or the split type information.
- the decoder 120 may obtain a set of binary bin strings corresponding to syntax elements to be decoded, and decode each bin using probability information, and the decoder 120 may decode the bin. You can iterate until an empty string consisting of is equal to one of the previously obtained empty strings.
- the decoder 120 may determine the syntax element by performing inverse binarization of the empty string.
- the decoder 120 may determine a syntax for an empty string by performing a decoding process of adaptive binary arithmetic coding, and the decoder 120 may obtain a bitstream obtainer 110. ) Can be used to update the probability model for the acquired bins.
- the bitstream obtaining unit 110 of the image decoding apparatus 100 may obtain from a bitstream indicating a binary code indicating segmentation type information, according to an exemplary embodiment.
- the decoder 120 may determine the syntax of the partition type information by using the obtained binary code having a size of 1 bit or 2 bits.
- the decoder 120 may update the probability of each bit of the 2-bit binary code to determine the syntax of the partition type information. That is, the decoder 120 may update the probability of having a value of 0 or 1 when decoding the next bin, depending on which value of the first bin is 0 or 1 in the 2-bit binary code.
- the decoder 120 may update a probability for bins used in decoding bins of an empty string for syntax, and the decoder 120 may update the bin. It may be determined that a specific bit of the string has the same probability without updating the probability.
- the decoder 120 does not split the coding unit having a non-square shape.
- the syntax of the partition type information may be determined using one bin having a value of 0. That is, when the block type information indicates that the current coding unit is a non-square type, the first bin of the empty string for the split type information is 0 when the coding unit of the non-square type is not divided, and two or three It may be 1 when it is divided into coding units. Accordingly, the probability that the first bin of the empty string of the split form information for the non-square coding unit is 0 may be 1/3, and the probability that 1 is 2/3.
- the decoder 120 may represent only one bit of an empty string having a value of 0, the decoder 120 may indicate the split type information. Only when the first bin of 1 is 1, the syntax of the partition type information may be determined by determining whether the second bin is 0 or 1. FIG. According to an embodiment, when the first bin for the partition type information is 1, the decoder 120 may decode the bins as having a probability that the second bin is 0 or 1 with the same probability.
- the image decoding apparatus 100 may use various probabilities for each bin in the process of determining the bin of the bin string for the split type information.
- the decoder 120 may differently determine a probability of a bin with respect to partition type information according to the direction of the non-square block.
- the decoder 120 may differently determine a probability of a bin with respect to the split shape information according to the width or the length of the long side of the current coding unit.
- the decoder 120 may differently determine a probability of a bin with respect to the split shape information according to at least one of a shape of a current coding unit and a length of a long side.
- the decoder 120 may determine the same probability of bins for the partition type information for coding units having a predetermined size or more. For example, based on the length of the long side of the coding unit, it may be determined that the coding units having a size of 64 samples or more have the same probability of bins for the split shape information.
- the decoder 120 may determine an initial probability of bins constituting an empty string of split type information based on a slice type (eg, I slice, P slice, or B slice).
- a slice type eg, I slice, P slice, or B slice.
- 26 is a block diagram of an image encoding and decoding system for performing loop filtering.
- the encoding stage 2610 of the image encoding and decoding system 2600 transmits an encoded bitstream of an image, and the decoding stage 2650 receives and decodes the bitstream to output a reconstructed image.
- the encoding stage 2610 may have a configuration similar to that of the image encoding apparatus 260 which will be described later, and the decoding stage 2650 may have a configuration similar to the image decoding apparatus 100.
- the prediction encoder 2615 outputs a reference image through inter prediction and intra prediction, and the transform and quantization unit 2620 quantizes the residual data between the reference image and the current input image. Quantize this to output it.
- the entropy encoder 2625 encodes and transforms the quantized transform coefficients and outputs the bitstream.
- the quantized transform coefficients are reconstructed as data in the spatial domain through the inverse quantization and inverse transform unit 2630, and the reconstructed spatial domain data is output as a reconstructed image through the deblocking filtering unit 2635 and the loop filtering unit 2640. do.
- the reconstructed image may be used as a reference image of the next input image through the prediction encoder 2615.
- the encoded image data in the bitstream received by the decoder 2650 is reconstructed as residual data in the spatial domain through the entropy decoder 2655 and the inverse quantization and inverse transform unit 2660.
- the reference image and the residual data output from the predictive decoder 2675 are combined to form image data of the spatial domain, and the deblocking filter 2665 and the loop filter 2670 filter the image data of the spatial domain.
- the reconstructed image of the current original image can be output by performing.
- the reconstructed image may be used as the reference image for the next original image by the prediction decoder 2475.
- the loop filtering unit 2640 of the encoder 2610 performs loop filtering using the filter information input according to a user input or system setting.
- the filter information used by the loop filter 2640 is output to the entropy encoder 2610 and transmitted to the decoder 2650 together with the encoded image data.
- the loop filter 2670 of the decoder 2650 may perform loop filtering based on filter information input from the decoder 2650.
- FIG. 27 is a diagram illustrating an example of filtering units included in a maximum coding unit and filtering performance information of a filtering unit, according to an embodiment.
- the data filtering unit of the loop filtering unit 2040 of the encoding end 2010 and the loop filtering unit 2070 of the decoding end 2050 is similar to the coding unit according to the above-described embodiment through FIGS. 9 to 11.
- the filter information may include block type information and split type information of a data unit to indicate a filtering unit, and loop filtering performance information indicating whether to perform loop filtering on the filtering unit.
- the filtering units included in the maximum coding unit 2700 may have the same block form and split form as the coding units included in the maximum coding unit 2700. Also, the filtering units included in the maximum coding unit 2700 may be split based on the sizes of the coding units included in the maximum coding unit 2700. For example, with reference to FIG. 27, the filtering units include square-shaped filtering units 2740 of depth D, non-square-shaped filtering units 2732 and 2734 of depth D, and square-shaped filtering units of depth D + 1.
- Block shape information, split shape information (depth), and loop filtering performance information of the filtering units included in the maximum coding unit 2700 may be encoded as shown in Table 1 below.
- a process of determining a plurality of coding units by recursively dividing coding units according to block shape information and block splitting information according to an embodiment is as described above with reference to FIG. 19.
- Loop filtering performance information of the filtering units according to an embodiment indicates that loop filtering is performed on the corresponding filtering unit when the flag value is 1 and loop filtering is not performed on the corresponding filtering unit.
- all data unit information for determining a filtering unit to be filtered by the loop filtering units 2640 and 2670 may be encoded and transmitted as filter information.
- coding units configured according to an embodiment are coding units configured in a form of minimizing an error with an original image, it is expected that spatial correlation is high in the coding unit. Therefore, since the filtering unit is determined based on the coding unit according to an embodiment, the operation of determining the filtering unit separately from the determination of the coding unit may be omitted. Accordingly, since information for determining the division type of the filtering unit may be omitted by determining the filtering unit based on the coding unit, the transmission bit rate of the filter information may be saved.
- the filtering unit is determined to be determined based on the coding unit according to an embodiment.
- the filtering unit is split based on the coding unit, and the filtering unit is further divided up to the corresponding depth without further dividing at any depth.
- the shape of may be determined.
- the determination of the filtering unit disclosed in the above-described embodiments may be applied to various embodiments, such as deblocking filtering and adaptive loop filtering, as well as loop filtering.
- the image decoding apparatus 100 may split a current coding unit by using at least one of block shape information and split shape information, and the block shape information is previously determined to use only a square shape and the split shape information. May be determined in advance as not to divide or to indicate splitting into four square coding units. That is, in the current coding unit, according to the block shape information, the coding unit always has a square shape, and may be divided into four coding units having no square or four square shapes based on the split shape information.
- the image decoding apparatus 100 may obtain the bitstream generated by using the predetermined encoding method by using only the block form and the split form, through the bitstream obtainer 110, and the decoder 120 may Only predetermined block types and split types may be used.
- the image decoding apparatus 100 may solve the compatibility problem with the predetermined encoding method by using the predetermined decoding method similar to the predetermined encoding method.
- the image decoding apparatus 100 uses the above-described predetermined decoding method using only a predetermined block shape and a split shape among various types that can be represented by the block shape information and the split shape information, the block shape information may be Since only the square shape is represented, the image decoding apparatus 100 may omit the process of acquiring block shape information from the bitstream.
- a syntax indicating whether to use the above-described predetermined decoding method may be used, and the syntax may include a bitstream for each data unit of various types that may include a plurality of coding units such as a sequence, a picture, a slice unit, and a maximum coding unit. Can be obtained from. That is, the bitstream obtaining unit 110 may determine whether to obtain a syntax indicating the block type information from the bitstream based on the syntax indicating whether a predetermined decoding method is used.
- 29 illustrates an index according to a Z scan order of coding units, according to an embodiment.
- the image decoding apparatus 100 may scan the lower data units included in the upper data unit in the Z scan order. Also, the image decoding apparatus 100 according to an embodiment may sequentially access data according to a Z scan index in a maximum coding unit or a coding unit included in a processing block.
- the image decoding apparatus 100 may split the reference coding unit into at least one coding unit.
- square coding units and non-square coding units may be mixed in the reference coding unit.
- the image decoding apparatus 100 according to an embodiment may perform data access according to a Z scan index included in each coding unit in a reference coding unit. In this case, the method of applying the Z scan index may be different depending on whether a non-square type coding unit exists in the reference coding unit.
- coding units having a lower depth in the reference coding unit may have consecutive Z scan indices.
- the coding units of the higher depths may include four coding units of the lower depths.
- the coding units of the four lower depths may be adjacent to each other, and the coding units of the lower depths may be scanned in the Z scan order according to an index indicating the Z scan order.
- an index indicating a Z scan order may be set to a number that increases according to the Z scan order for each coding unit. In this case, scanning units according to depths of the same depth may be scanned according to a Z scan order.
- the image decoding apparatus 100 divides the coding units in the reference coding unit into subblocks, respectively, A scan according to the Z scan order may be performed on the blocks. For example, when a coding unit having a non-square shape in the vertical direction or the horizontal direction exists in the reference coding unit, the Z scan may be performed using the divided subblocks. Also, for example, when splitting is performed in odd coding units within a reference coding unit, a Z scan may be performed using subblocks. The sub block is obtained by dividing a coding unit that is no longer split or an arbitrary coding unit, and may have a square shape. For example, four square subblocks may be split from a square coding unit. Also, for example, two square subblocks may be split from a non-square coding unit.
- the image decoding apparatus 100 may perform a Z scan order on coding units 2902, 2904, 2906, 2908, and 2910 of a lower depth in a coding unit 2900. You can scan according to. Coding units 2900 and coding units 2902, 2904, 2906, 2908, and 2910 are relatively higher coding units and lower coding units, respectively.
- the coding unit 2900 includes coding units 2906 and 2910 of a non-square shape in a horizontal direction. These non-square shaped coding units 2906 and 2910 are discontinuous at boundaries with adjacent square shaped coding units 2902 and 2904.
- the coding unit 2908 has a square shape, and a coding unit having a non-square shape is an encoding unit located in the middle when the odd-numbered coding units are divided into odd numbers.
- the coding unit 2908 has a discontinuous boundary with the adjacent square coding units 2902 and 2904. If coding units 2900 include non-square coding units 2906 and 2910 or non-square coding units are divided into odd numbered coding units 2908, the coding units 2908 may be included.
- a continuous Z scan index cannot be set because adjacent boundaries are discontinuous. Therefore, the image decoding apparatus 100 may continuously set the Z scan index by dividing coding units into subblocks. Also, the image decoding apparatus 100 may perform a continuous Z scan on the non-square coding units 2906 and 2910 or the coding unit 2908 located in the middle of the odd-numbered non-square coding units. Can be done.
- the coding unit 2920 illustrated in FIG. 29 is obtained by dividing the coding units 2902, 2904, 2906, 2908, and 2910 in the coding unit 2900 into subblocks. Since the Z scan index may be set for each of the sub blocks, and adjacent boundaries between the sub blocks are continuous, the sub blocks may be scanned according to the Z scan order.
- the coding unit 2908 may be divided into subblocks 2922, 2924, 2926, and 2928.
- the sub blocks 2922 and 2924 may be scanned after the data processing for the sub block 2930, and the sub blocks 2926 and 2928 may be scanned after the data processing for the sub block 2932.
- each of the sub blocks may be scanned according to the Z scan order.
- scanning according to the Z scan order for the data units may be for data storage, data loading, data access, and the like.
- the data units can be scanned according to the Z scan order, but the scanning order of the data units includes various scan orders such as raster scan, N scan, right upward diagonal scan, horizontal scan, and vertical scan. It can be performed as, and not limited to the Z scan order.
- the target of the scanning may be a maximum coding unit or any block in a processing block. have.
- the scan is performed according to the Z scan order by dividing into sub-blocks only when there is at least one non-square type block, but the non-square type is provided for simplified implementation. Even if a block of s does not exist, the sub blocks may be divided to perform a scan according to the Z scan order.
- the image decoding apparatus 100 may generate prediction data by performing inter prediction or intra prediction on a coding unit, and generate residual data by performing inverse transform on a transform unit included in a current coding unit.
- the current coding unit may be reconstructed using the generated prediction data and the residual data.
- the prediction mode of the coding unit may be at least one of an intra mode, an inter mode, and a skip mode. According to an embodiment, a prediction mode may be independently selected for each coding unit.
- inter mode prediction and intra mode prediction may be performed separately for each coding unit.
- a skip mode may be applied to coding units of 2NxN or Nx2N form according to an embodiment.
- the image decoding apparatus 100 may be allowed to perform bi-prediction in a skip mode of an 8x4 or 4x8 type coding unit.
- the image decoding apparatus 100 may increase the decoding efficiency by allowing bidirectional prediction for a coding unit to which a skip mode is applied.
- the image decoding apparatus 100 allows bidirectional prediction for 8x4 or 4x8 type coding units, but sets the number of interpolation taps to be relatively small in the motion compensation step to efficiently use the memory bandwidth.
- an interpolation filter of less than 8 taps eg, a 2-tap interpolation filter
- the image decoding apparatus 100 may divide the region included in the current coding unit into a predetermined form (for example, diagonal based division) to signal intra or inter prediction information on each divided region. You may.
- the image decoding apparatus 100 may obtain a prediction sample of the current coding unit using an intra mode by using a neighboring sample of the current coding unit. At this time, intra prediction performs prediction using surrounding reconstructed samples, which are called reference samples.
- FIG. 30 is a diagram illustrating a reference sample for intra prediction of a coding unit, according to an embodiment.
- a current coding unit 3000 having a non-square block shape for a current coding unit 3000 having a non-square block shape, a horizontal length w and a vertical length h, w + h reference samples 3002 at the top, A total of 2 (w + h) +1 reference samples are required, one w + h reference sample 3004 on the left and one reference reference 3003 on the upper left.
- padding may be performed on a portion where a reference sample does not exist, and a reference mode filtering process for each prediction mode may be performed to reduce quantization error included in the reconstructed reference sample.
- the number of reference samples when the block shape of the current coding unit is a non-square shape has been described.
- the number of the reference samples is equally applied even when the current coding unit is a block shape of a rectangular shape.
- the encoder 220 may determine at least one coding unit for dividing an image, and the bitstream generator 210 may determine split shape information, block shape information, and the like in the process of determining at least one coding unit.
- the encoder 220 may be configured to encode an image using the predetermined information for generating a bitstream including the same predetermined information.
- the encoder 220 of the image encoding apparatus 200 may determine at least one coding unit for dividing an image based on at least one of block shape information and split shape information, and may encode the image encoder 200.
- the bitstream generator 210 may generate a bitstream including at least one of such block type information and split type information.
- the block shape information may mean information or syntax indicating a shape of a coding unit
- the split shape information may mean information or syntax indicating a shape in which a coding unit is split.
- the encoder 220 of the image encoding apparatus 200 may determine a shape of a coding unit.
- the coding unit may be square or have a non-square shape, and information representing such a shape may be included in the block shape information.
- the encoder 220 may determine how to split the coding unit.
- the encoder 220 may determine the form of at least one coding unit included in the coding unit, and the bitstream generator 210 may generate a bitstream including split form information including information about the shape of the coding unit. Can be generated.
- the encoder 220 may determine whether a coding unit is divided or not. When the encoder 220 determines that only one coding unit is included in the coding unit or that the coding unit is not split, the bitstream generator 210 includes split type information indicating that the coding unit is not split. A bitstream can be generated. Also, the encoder 220 may split the plurality of coding units included in the coding unit, and the bitstream generator 210 may divide the bitstream including the split type information indicating that the coding unit is divided into a plurality of coding units. Can be generated.
- information indicating how many coding units to divide or in which direction to split coding units may be included in split type information.
- the split type information may indicate splitting in at least one of a vertical direction and a horizontal direction or may not split.
- FIG. 9 illustrates a process of determining, by the image encoding apparatus 200, at least one coding unit by dividing a current coding unit according to an embodiment.
- the encoder 220 may determine a shape of a coding unit. For example, the encoder 220 may determine a shape of a coding unit having an optimal RD-cost in consideration of a rate distortion (RD) cost.
- RD rate distortion
- the encoder 220 may determine that the current coding unit is in a square shape, and thus, determine a shape in which the coding unit having a square shape is divided. For example, the encoder 220 may determine whether to split a square coding unit, to split vertically, to split horizontally, or to split into four coding units. Referring to FIG. 9, the encoder 220 does not divide a coding unit 910a having the same size as the current coding unit 900, or splits coding units based on split type information indicating a predetermined splitting method ( 910b, 910c, 910d, etc.) may be determined.
- a predetermined splitting method 910b, 910c, 910d, etc.
- the encoder 220 may determine two coding units 910b obtained by dividing the current coding unit 900 in the vertical direction.
- the encoder 220 may determine two coding units 910c obtained by dividing the current coding unit 900 in the horizontal direction.
- the encoder 220 may determine four coding units 910d obtained by dividing the current coding unit 900 in the vertical direction and the horizontal direction.
- the divided form in which the square coding unit may be divided should not be limited to the above-described form and may include various forms represented by the divided form information. Certain division forms in which a square coding unit is divided will be described in detail with reference to various embodiments below.
- the bitstream generator 210 of the image encoding apparatus 200 may generate a bitstream including split shape information indicating a shape in which a current coding unit 900 is split by the encoder 220. Can be.
- FIG. 10 illustrates a process of determining, by the image encoding apparatus 200, at least one coding unit by dividing a coding unit having a non-square shape according to an embodiment.
- the encoder 220 may determine whether to split the current coding unit of the non-square or whether to split the current coding unit in a predetermined method.
- the encoder 220 of the current coding unit 1000 or 1050 does not divide a coding unit 1010 or 1060 having the same size as the current coding unit 1000 or 1050 or a predetermined division method.
- the divided coding units 1020a, 1020b, 1030a, 1030b, 1030c, 1070a, 1070b, 1080a, 1080b, and 1080c may be determined according to the divided coding units.
- the bitstream generator 210 of the image encoding apparatus 200 may generate a bitstream including split type information indicating the split type.
- a predetermined division method in which a non-square coding unit is divided will be described in detail with reference to various embodiments below.
- the encoder 220 may determine a form in which a coding unit is divided. Referring to FIG. 10, the encoder 220 may divide the current coding unit 1000 or 1050 to determine two coding units 1020a, 1020b, or 1070a, 1070b included in the current coding unit, and generate a bitstream. The unit 210 may generate a bitstream including split type information indicating the split type.
- the encoder 220 may consider the position of the long side of the current coding unit 1000 or 1050 in the non-square. Coding units may be split. For example, the encoder 220 divides the current coding unit 1000 or 1050 in a direction of dividing a long side of the current coding unit 1000 or 1050 in consideration of the shape of the current coding unit 1000 or 1050. A plurality of coding units may be determined, and the bitstream generator 210 may generate a bitstream including split type information indicating the split type.
- the encoder 220 may determine an odd number of coding units included in the current coding unit 1000 or 1050. For example, the encoder 220 may divide the current coding unit 1000 or 1050 into three coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c. According to an embodiment, the encoder 220 may determine an odd number of coding units included in the current coding unit 1000 or 1050, and not all sizes of the determined coding units may be the same.
- the size of a predetermined coding unit 1030b or 1080b among the determined odd coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c is different from other coding units 1030a, 1030c, 1080a, and 1080c. May have That is, a coding unit that may be determined by dividing the current coding unit 1000 or 1050 may have a plurality of types, and in some cases, odd number of coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c Each may have a different size.
- the encoder 220 may determine an odd number of coding units included in the current coding unit 1000 or 1050, and further, the encoder 220 may divide at least one of the odd number of coding units generated by splitting. A predetermined limit may be placed on the coding unit of. Referring to FIG. 10, the encoder 220 may determine a coding unit positioned at the center of three coding units 1030a, 1030b, 1030c, 1080a, 1080b, and 1080c generated by dividing a current coding unit 1000 or 1050. The decoding process for 1030b and 1080b may be different from other coding units 1030a, 1030c, 1080a and 1080c.
- the encoder 220 restricts the coding units 1030b and 1080b positioned at the center from being split any more, unlike the other coding units 1030a, 1030c, 1080a, and 1080c, or splits only a predetermined number of times. You can limit it.
- FIG. 11 illustrates a process of splitting a coding unit by the image encoding apparatus 200 according to an embodiment.
- the image encoding apparatus 200 may determine to divide or not split the determined second coding unit 1110 into coding units based on at least one of block shape information and split shape information.
- the encoder 220 may perform at least a second coding unit 1110 having a non-square shape determined by dividing the first coding unit 1100 based on at least one of block shape information and split shape information.
- One third coding unit (1120a, 1120b, 1120c, 1120d, etc.) may be split or the second coding unit 1110 may not be split.
- the bitstream generator 210 of the image encoding apparatus 200 may generate a bitstream including at least one of block type information and split type information, and the encoder 220 may generate at least one of block type information and split type information.
- the first coding unit 1100 may be divided based on one to divide a plurality of second coding units (eg, 1110) of various types, and the second coding unit 1110 may include block shape information and a split shape.
- the first coding unit 1100 may be split based on at least one piece of information according to a split scheme.
- the second The coding unit 1110 may also be divided into third coding units (eg, 1120a, 1120b, 1120c, 1120d, etc.) based on at least one of the block shape information and the split shape information of the second coding unit 1110. have. Therefore, a square coding unit may be determined in a non-square coding unit, and a coding unit of a square shape may be recursively divided to determine a coding unit of a non-square shape. Referring to FIG.
- a predetermined coding unit (eg, located in the center of an odd number of third coding units 1120b, 1120c, and 1120d determined by splitting a second coding unit 1110 having a non-square shape) may be included. Coding unit or a coding unit having a square shape) may be recursively divided. According to an embodiment, the third coding unit 1120c having a square shape, which is one of odd third coding units 1120b, 1120c, and 1120d, may be divided in a horizontal direction and divided into a plurality of fourth coding units. The fourth coding unit 1140 having a non-square shape, which is one of the plurality of fourth coding units, may be divided into a plurality of coding units. For example, the fourth coding unit 1140 having a non-square shape may be further divided into odd coding units 1150a, 1150b, and 1150c.
- the coding unit may be recursively divided based on at least one of the split form information and the block form information associated with each coding unit.
- a method that can be used for recursive division of coding units will be described later through various embodiments.
- the encoder 220 splits each of the third coding units 1120a, 1120b, 1120c, 1120d, etc. into coding units based on at least one of the block shape information and the split shape information, or the second coding unit. It may be determined not to divide 1110.
- the encoder 220 may split the second coding unit 1110 having a non-square shape into an odd number of third coding units 1120b, 1120c, and 1120d, according to an exemplary embodiment.
- the image encoding apparatus 200 may place a predetermined limit on a predetermined third coding unit among the odd number of third coding units 1120b, 1120c, and 1120d.
- the image encoding apparatus 200 may be limited to the number of coding units 1120c positioned in the middle of the odd number of third coding units 1120b, 1120c, and 1120d, or may be divided by a set number of times. It can be limited to.
- the image encoding apparatus 200 may include a coding unit positioned at the center among odd-numbered third coding units 1120b, 1120c, and 1120d included in a second coding unit 1110 having a non-square shape.
- 1120c is no longer divided, is limited to being divided into a predetermined division form (for example, only divided into four coding units or divided into a form corresponding to the divided form of the second coding unit 1110), or predetermined It can be limited to dividing only by the number of times (eg, dividing only n times, n> 0).
- a predetermined division form for example, only divided into four coding units or divided into a form corresponding to the divided form of the second coding unit 1110
- predetermined It can be limited to dividing only by the number of times (eg, dividing only n times, n> 0).
- the coding unit 1120c located in the center is merely a mere embodiment, it should not be construed as being limited to the above-described embodiments, and the coding unit 1120c located in the center may have different coding units 1120b and 1120d. ), It should be interpreted as including various restrictions that can be decoded.
- the bitstream generator 210 may include a bitstream associated with a sample (eg, a sample 1240 located at the center) of a predetermined position among a plurality of samples included in the current coding unit 1200.
- a bitstream including at least one of block shape information and split shape information of the current coding unit 1200 may be generated.
- a predetermined position in the current coding unit 1200 associated with at least one of the block shape information and the split form information should not be interpreted as being limited to the center position shown in FIG. 12, and the predetermined position may be included in the current coding unit 1200. It should be construed that various positions (eg, top, bottom, left, right, top left, bottom left, top right or bottom right, etc.) may be included.
- the image encoding apparatus 200 may select one coding unit from among them. Methods for selecting one of a plurality of coding units may vary, which will be described below through various embodiments.
- the encoder 220 of the image encoding apparatus 200 may divide a current coding unit into a plurality of coding units, and determine a coding unit of a predetermined position.
- FIG. 12 illustrates a method for the image encoding apparatus 200 to determine a coding unit at a predetermined position among odd-numbered coding units according to an embodiment.
- the encoder 220 may use information indicating the position of each of the odd coding units to determine a coding unit located in the middle of the odd coding units.
- the encoder 220 may divide the current coding unit 1200 to determine odd number of coding units 1220a, 1220b, and 1220c.
- the encoder 220 may determine the center coding unit 1220b by using information about the positions of the odd number of coding units 1220a, 1220b, and 1220c. For example, the encoder 220 determines the positions of the coding units 1220a, 1220b, and 1220c based on information indicating the positions of predetermined samples included in the coding units 1220a, 1220b, and 1220c.
- the coding unit 1220b may be determined.
- the encoder 220 may determine the positions of the coding units 1220a, 1220b, and 1220c based on information indicating the positions of the samples 1230a, 1230b, and 1230c in the upper left of the coding units 1220a, 1220b, and 1220c. By determining, the coding unit 1220b located in the center may be determined.
- the information indicating the positions of the samples 1230a, 1230b, and 1230c in the upper left included in the coding units 1220a, 1220b, and 1220c may be located in the pictures of the coding units 1220a, 1220b, and 1220c. Or it may include information about the coordinates. According to an embodiment, the information indicating the positions of the samples 1230a, 1230b, and 1230c in the upper left included in the coding units 1220a, 1220b, and 1220c, respectively, may be included in the coding units 1220a and 1220b.
- the coding unit 1220b positioned in the center may be determined.
- the information indicating the position of the sample 1230a at the upper left of the upper coding unit 1220a may indicate (xa, ya) coordinates, and the sample 1230b at the upper left of the middle coding unit 1220b.
- the information indicating the position of) may indicate the (xb, yb) coordinates, and the information indicating the position of the sample 1230c on the upper left of the lower coding unit 1220c may indicate the (xc, yc) coordinates.
- the image encoding apparatus 200 may determine the center coding unit 1220b using the coordinates of the samples 1230a, 1230b, and 1230c of the upper left included in the coding units 1220a, 1220b, and 1220c, respectively.
- the coordinates indicating the positions of the samples 1230a, 1230b, and 1230c at the upper left may indicate coordinates indicating the absolute positions in the picture, and further, the positions of the samples 1230a at the upper left of the upper coding unit 1220a.
- the (dxb, dyb) coordinate which is the information indicating the relative position of the sample 1230b at the upper left of the center coding unit 1220b, and the relative position of the sample 1230c at the upper left of the lower coding unit 1220c.
- Information (dxc, dyc) coordinates can also be used.
- the method of determining the coding unit of a predetermined position by using the coordinates of the sample as information indicating the position of the sample included in the coding unit should not be interpreted to be limited to the above-described method, and various arithmetic operations that can use the coordinates of the sample It should be interpreted in a way.
- the image encoding apparatus 200 may divide the current coding unit 1200 into a plurality of coding units 1220a, 1220b, and 1220c, and may predetermined reference among the coding units 1220a, 1220b, and 1220c. According to the coding unit can be selected. For example, the encoder 220 may select coding units 1220b having different sizes from among the coding units 1220a, 1220b, and 1220c.
- the image encoding apparatus 200 may have (xa, ya) coordinates, information indicating a position of the sample 1230a on the upper left side of the upper coding unit 1220a, and a sample on the upper left side of the center coding unit 1220b.
- Coding unit 1220a using the (xb, yb) coordinate which is the information indicating the position of 1230b and the (xc, yc) coordinate which is the information indicating the position of the sample 1230c of the upper left of the lower coding unit 1220c. 1220b, 1220c) can determine the width or height of each.
- the image encoding apparatus 200 uses (xa, ya), (xb, yb), and (xc, yc) coordinates indicating the positions of the coding units 1220a, 1220b, and 1220c. ) Each size can be determined.
- the image encoding apparatus 200 may determine the width of the upper coding unit 1220a as xb-xa and the height as yb-ya. According to an embodiment, the encoder 220 may determine the width of the center coding unit 1220b as xc-xb and the height as yc-yb. According to an embodiment, the encoder 220 may determine the width or height of the lower coding unit using the width or height of the current coding unit, and the width and height of the upper coding unit 1220a and the center coding unit 1220b. The encoder 220 may determine a coding unit having a different size from other coding units based on the width and the height of the determined coding units 1220a, 1220b, and 1220c.
- the image encoding apparatus 200 may determine a coding unit 1220b as a coding unit having a predetermined position while having a size different from that of the upper coding unit 1220a and the lower coding unit 1220c.
- the coding unit at a predetermined position is determined using the size of the coding unit determined based on the sample coordinates.
- various processes of determining a coding unit at a predetermined position by comparing the sizes of coding units determined according to predetermined sample coordinates may be used.
- the position of the sample to be considered for determining the position of the coding unit should not be interpreted as being limited to the upper left side described above, but may be interpreted that information on the position of any sample included in the coding unit may be used.
- the image encoding apparatus 200 may select a coding unit of a predetermined position among odd-numbered coding units determined by dividing the current coding unit in consideration of the shape of the current coding unit. For example, if the current coding unit is a non-square shape having a width greater than the height, the encoder 220 may determine the coding unit at a predetermined position in the horizontal direction. That is, the encoder 220 may determine one of the coding units having different positions in the horizontal direction and place a restriction on the corresponding coding unit. If the current coding unit has a non-square shape having a height greater than the width, the encoder 220 may determine a coding unit at a predetermined position in the vertical direction. That is, the encoder 220 may determine one of the coding units having different positions in the vertical direction to limit the corresponding coding unit.
- the image encoding apparatus 200 may use information indicating the positions of each of the even coding units in order to determine the coding unit of the predetermined position among the even coding units.
- the encoder 220 may determine the even number of coding units by dividing the current coding unit and determine the coding unit of the predetermined position by using information about the positions of the even number of coding units.
- a detailed process thereof may be similar to the process of determining a coding unit of a predetermined position (for example, a middle position) among the odd coding units described above with reference to FIG.
- a predetermined method used in the splitting process of the current coding unit to determine a coding unit of a predetermined position among the plurality of coding units Information is available.
- the encoder 220 of the image encoding apparatus 200 may determine predetermined information used in the process of dividing the current coding unit in order to determine a coding unit positioned among the coding units in which the current coding unit is divided into a plurality. At least one of block type information and split type information may be used as the above information.
- the encoder 220 of the image encoding apparatus 200 may split the current coding unit 1200 into a plurality of coding units 1220a, 1220b, and 1220c, and may include a plurality of coding units 1220a. , 1220b and 1220c may determine a coding unit 1220b located in the center, the bitstream generator 210 is at least one of the block shape information and the partition shape information used in the split process of the current coding unit 1200 It may generate a bitstream comprising a.
- the encoder 220 may consider a location of a sample associated with at least one bitstream among the block shape information and the partition shape information used in the splitting process of the current coding unit 1200, and select the coding unit 1220b located in the center. You can decide. That is, a bitstream including at least one of block type information and split type information of the current coding unit 1200 may be generated together with a bitstream associated with a sample 1240 positioned in the center of the current coding unit 1200. In this case, the encoder 220 may determine the coding unit 1220 b including the sample 1240 as the coding unit located in the center of the plurality of coding units 1220a, 1220b, and 1220c.
- the information used to determine the coding unit located in the center among the plurality of coding units determined by dividing the current coding unit is limited to at least one of block shape information and split shape information used in the splitting process of the current coding unit. It should not be, but various kinds of information may be used.
- the process of determining the coding unit of the predetermined position by the image encoding apparatus 200 is opposite to the process of the image decoding apparatus 100 determining the coding unit of the predetermined position among a plurality of coding units determined from the current coding unit. Since the process may be a detailed description thereof will be omitted.
- the image encoding apparatus 200 may determine at least one coding unit by dividing a current coding unit, and determine an order in which the at least one coding unit is decoded in a predetermined block (for example, the current coding unit). Can be determined according to
- FIG. 13 illustrates an order in which a plurality of coding units are processed when the image encoding apparatus 200 determines a plurality of coding units by dividing a current coding unit.
- the process of processing the plurality of coding units by the image encoding apparatus 200 related to FIG. 13 may be similar to the operation of the image decoding apparatus 100 described above with reference to FIG. 13, and thus a detailed description thereof will be omitted.
- FIG. 14 illustrates a process of determining that a current coding unit is divided into an odd number of coding units when the image encoding apparatus 200 may not process the coding units in a predetermined order, according to an embodiment.
- the encoder 220 of the image encoding apparatus 200 may determine that the current coding unit is divided into an odd number of coding units, and the bitstream generator 210 indicates a form of the current coding unit.
- a bitstream including block type information and split type information indicating a split type of the current coding unit (divided into odd numbers) may be generated.
- a first coding unit 1400 having a square shape may be divided into second coding units 1410a and 1410b having a non-square shape, and each of the second coding units 1410a and 1410b may be independently formed. It may be divided into three coding units 1420a, 1420b, 1420c, 1420d, and 1420e.
- the encoder 220 may determine a plurality of third coding units 1420a and 1420b by dividing the left coding unit 1410a in the horizontal direction among the second coding units, and may include the right coding unit 1410b. May be divided into odd third coding units 1420c, 1420d, and 1420e.
- the process of determining that the current coding unit is divided into an odd number of coding units by the image encoding apparatus 200 related to FIG. 14 may be a process opposite to that of the image decoding apparatus 100 described above with reference to FIG. 14. Detailed description will be omitted.
- FIG. 15 illustrates that the image encoding apparatus 200 determines at least one coding unit by dividing the first coding unit 1500 according to an embodiment.
- the encoder 220 may divide the first coding unit 1500, and the bitstream generator 210 may block information indicating the shape of the first coding unit 1500 and the first encoding.
- a bitstream including at least one of split type information indicating a split type of the unit 1500 may be generated.
- the first coding unit 1500 having a square shape may be divided into coding units having four square shapes, or may be divided into a plurality of coding units having a non-square shape. For example, referring to FIG.
- the encoder 220 may split the first coding unit 1500 into a plurality of non-square coding units, and in this case, the bitstream generator 210 may include the first coding unit 1500.
- the coding unit 1500 may generate a bitstream including block shape information indicating a square and split shape information indicating that the first coding unit 1500 is divided into non-square coding units.
- the encoder 220 is a second coding unit 1510a, 1510b, or 1510c determined by dividing the first coding unit 1500 having a square shape in the vertical direction as an odd number of coding units, or by dividing the first coding unit 1500 in the horizontal direction. 2 coding units 1520a, 1520b, and 1520c.
- the bitstream generator 210 divides the first coding unit 1500 in a horizontal direction or a vertical direction to determine an odd number of coding units.
- a bitstream including split type information indicating may be generated.
- the process of determining the at least one coding unit by dividing the first coding unit 1500 by the image encoding apparatus 200 related to FIG. 15 is opposite to the operation of the image decoding apparatus 100 described above with reference to FIG. 15. The detailed description will be omitted since this may be a process.
- FIG. 16 illustrates that the second coding unit is split when the second coding unit having a non-square shape determined by splitting the first coding unit 1600 according to an embodiment satisfies a predetermined condition. It shows that the form that can be limited.
- the encoder 220 may determine that the first coding unit 1600 having a square shape is divided into second coding units 1610a, 1610b, 1620a, and 1620b having a non-square shape.
- the second coding units 1610a, 1610b, 1620a, and 1620b may be split independently. Accordingly, the encoder 220 may determine whether to split each of the second coding units 1610a, 1610b, 1620a, and 1620b into a plurality of coding units or not.
- An operation of restricting a form in which a second coding unit having a non-square form satisfies a predetermined condition by the image encoding apparatus 200 related to FIG. 16 may be limited to the image decoding apparatus 100 described above with reference to FIG. 16. ) May be the opposite of the operation, so detailed description thereof will be omitted.
- FIG. 17 illustrates a process of splitting a coding unit having a square shape by the image encoding apparatus 200 when the split shape information cannot be divided into four square coding units.
- the operation of the image encoding apparatus 200 in this regard may be the reverse of the operation of the image decoding apparatus 100 described above with reference to FIG. 17, a detailed description thereof will be omitted.
- FIG. 18 illustrates that a processing order between a plurality of coding units may vary according to a division process of coding units, according to an embodiment.
- the encoder 220 may divide the first coding unit 1800 having a square shape into at least one of a horizontal direction and a vertical direction.
- the bitstream generator 210 determines that the block shape information indicating that the first coding unit 1800 is square and the first coding unit 1800 are split into at least one of a horizontal direction and a vertical direction.
- a bitstream including split type information indicating may be generated.
- the encoder 220 may divide the first coding unit 1800 to determine a second coding unit (for example, 1810a, 1810b, 1820a, 1820b, 1830a, 1830b, 1830c, 1830d, etc.). have.
- second coding units 1810a, 1810b, 1820a, and 1820b of a non-square shape determined by splitting the first coding unit 1800 only in the horizontal direction or the vertical direction may be split independently.
- the encoder 220 divides the second coding units 1810a and 1810b generated by splitting the first coding unit 1800 in the vertical direction, respectively, in the horizontal direction, to thereby separate the third coding units 1816a, 1816b, and 1816c.
- FIG. 19 is a diagram illustrating a process of determining a depth of a coding unit according to an embodiment when a coding unit is recursively divided and a plurality of coding units are determined.
- the process of determining the depth of the coding unit by the encoder 220 of the image encoding apparatus 200 may include determining that the depth of the coding unit is determined by the decoder 120 of the image decoding apparatus 100 described above with reference to FIG. 19. The detailed description may be omitted since it may be contrary to the process.
- the image encoding apparatus 200 may determine whether the image encoding apparatus is divided into a specific division type based on a value of an index for distinguishing a plurality of coding units determined by dividing from the current coding unit. Referring to FIG. 20, the image encoding apparatus 200 determines an even number of coding units 2012a and 2012b by dividing a first coding unit 2010 having a height greater than a width, or an odd number of coding units 2014a and 2014b. , 2014c). The image encoding apparatus 200 may use an index (PID) indicating each coding unit to distinguish each of the plurality of coding units.
- PID index
- the PID may be obtained from a sample (eg, an upper left sample) at a predetermined position of each coding unit. Since the operation of the image encoding apparatus 200 related to FIG. 20 may be opposite to that of the image decoding apparatus 100 described above with reference to FIG. 20, a detailed description thereof will be omitted.
- the encoder 220 may use the above-described reference coding unit as a predetermined data unit in which recursive division of the coding unit starts.
- the operation of the image encoding apparatus 200 using the reference coding unit in relation to FIG. 21 may be the opposite of the operation of the image decoding apparatus 100 described above with reference to FIG. 21 using the reference coding unit. Do it.
- the bitstream generator 210 of the image encoding apparatus 200 may include a bitstream including at least one of information about a shape of a reference coding unit and information about a size of a reference coding unit, in the various data units. It can be generated every time.
- a process of determining at least one coding unit included in the reference coding unit 2100 having a square shape is described above by splitting the current coding unit 300 of FIG. 9, and referring to the reference coding unit 2100 having a non-square shape. Since the process of determining at least one coding unit included in the above) is described above through the process of splitting the current coding unit 400 or 450 of FIG. 10, a detailed description thereof will be omitted.
- the encoder 220 may determine an index for identifying the size and shape of the reference coding unit in order to determine the size and shape of the reference coding unit according to some data unit that is predetermined based on a predetermined condition. It is available. That is, the bitstream generator 210 may select a predetermined condition (for example, a data unit having a size less than or equal to a slice) among the various data units (for example, a sequence, a picture, a slice, a slice segment, and a maximum coding unit). For each data unit that satisfies, a bitstream including an index for identifying the size and shape of the reference coding unit may be generated.
- a predetermined condition for example, a data unit having a size less than or equal to a slice
- the various data units for example, a sequence, a picture, a slice, a slice segment, and a maximum coding unit.
- the encoder 220 may determine the size and shape of the reference data unit for each data unit satisfying the predetermined condition by using the index.
- a reference related to an index indicating the size and shape of the reference coding unit may be used.
- At least one of the size and shape of the coding unit may be predetermined. That is, the encoder 220 determines at least one of the size and shape of the reference coding unit included in the data unit that is the index acquisition reference by selecting at least one of the predetermined size and shape of the reference coding unit according to the index. Can be. Since an operation of the encoder 220 using an index for identifying the size and shape of the reference coding unit may be similar to that of the decoder 120 described above, a detailed description thereof will be omitted.
- FIG. 22 is a diagram of a processing block serving as a reference for determining a determination order of a reference coding unit included in a picture 2200.
- the encoder 220 may obtain information about the size of the processing block and determine the size of at least one processing block included in the image.
- the encoder 220 may determine the size of at least one processing block included in the image, and the bitstream generator 210 may generate a bitstream including information about the size of the processing block.
- the size of such a processing block may be a predetermined size of a data unit indicated by the information about the size of the processing block.
- the bitstream generator 210 of the image encoding apparatus 200 may generate a bitstream including information about a size of a processing block for each specific data unit.
- a bitstream including information on the size of a processing block may be generated for each data unit such as an image, a sequence, a picture, a slice, and a slice segment. That is, the bitstream generator 210 may generate a bitstream including information about the size of the processing block for each of the various data units, and the encoder 220 may use the information about the size of the processing block.
- a size of at least one processing block for dividing a picture may be determined, and the size of the processing block may be an integer multiple of a reference coding unit.
- the encoder 220 may determine the sizes of the processing blocks 2202 and 2212 included in the picture 2200. For example, the encoder 220 may determine the size of the processing block based on the information about the size of the processing block. Referring to FIG. 22, the encoder 220 determines a horizontal size of the processing blocks 2202 and 2212 to be four times the horizontal size of the reference coding unit and four times the vertical size of the reference coding unit, according to an exemplary embodiment. Can be. The encoder 220 may determine an order in which at least one reference coding unit is determined in at least one processing block. Since the operation of the encoder 220 related to the processing block may be similar to that of the decoder 120 described above with reference to FIG. 22, a detailed description thereof will be omitted.
- the bitstream generator 210 of the image encoding apparatus 200 generates a bitstream including block shape information indicating a shape of a current coding unit or split shape information indicating a method of splitting a current coding unit. can do.
- Block type information or split type information may be included in a bitstream associated with various data units.
- the bitstream generator 210 of the image encoding apparatus 200 may include a sequence parameter set, a picture parameter set, a video parameter set, and a slice header. header, block type information or split type information included in a slice segment header may be used.
- the bitstream generator 210 of the image encoding apparatus 200 may generate a bitstream including syntax indicating block type information or split type information for each maximum coding unit, reference coding unit, and processing block.
- the encoder 220 may differently determine the type of division type into which the coding unit may be divided, for each predetermined data unit. According to an embodiment, the encoder 220 of the image encoding apparatus 200 may differently determine a combination of forms in which coding units may be divided for each predetermined data unit (eg, sequence, picture, slice, etc.). .
- FIG. 23 illustrates coding units that may be determined for each picture when combinations of forms in which coding units may be divided are different for each picture, according to an embodiment.
- the encoder 220 may differently determine a combination of division forms in which a coding unit may be divided for each picture.
- the encoder 220 may include a picture 2300 that may be divided into four coding units among at least one picture included in an image, and a picture 2310 that may be divided into two or four coding units. And a picture 2320 that may be divided into two, three, or four coding units, to decode the image.
- the encoder 220 may divide the picture 2300 into four square coding units.
- the encoder 220 may divide the picture 2310 into two or four coding units.
- the encoder 220 may divide the picture 2320 into two, three, or four coding units.
- the encoder 220 of the image encoding apparatus 200 may determine a combination of division types that may be divided into coding units for each predetermined data unit by using an index indicating a combination of division type information. As a result, a combination of different partition types may be used for each predetermined data unit. Furthermore, the bitstream generator 210 of the image encoding apparatus 200 may generate a bitstream including an index indicating a combination of segmentation type information for each data unit (eg, sequence, picture, slice, etc.). Can be. For example, the bitstream generator 210 may include bits for a sequence parameter set, a picture parameter set, or a slice header including an index indicating a combination of segmentation type information. You can create a stream.
- 24 and 25 illustrate various types of coding units that may be determined based on split type information that may be represented by binary codes, according to an exemplary embodiment.
- the encoder 220 of the image encoding apparatus 200 may divide a coding unit into various forms, and include a bitstream including block shape information and segmentation shape information through the bitstream generator 210. Can be generated.
- the form of the coding unit that may be split may correspond to various forms including the forms described through the above-described embodiments. Referring to FIG. 24, the encoder 220 may divide a square coding unit into at least one of a horizontal direction and a vertical direction based on the split shape information, and divide the coding unit having a non-square shape into a horizontal direction. Or it can divide in a vertical direction.
- a feature of the binary code of the segmentation information that may be used by the image encoding apparatus 200 may correspond to the feature of the image decoding apparatus 100 described above with reference to FIGS. 24 and 25, and thus, a detailed description thereof will be omitted.
- the image encoding apparatus 200 may generate prediction data by performing inter prediction or intra prediction on a coding unit, and generate residual data by performing inverse transform on a transform unit included in a current coding unit.
- the current coding unit may be encoded by using the generated prediction data and the residual data.
- the prediction mode of the coding unit may be at least one of an intra mode, an inter mode, and a skip mode. According to an embodiment, prediction may be independently performed for each coding unit, and thus a prediction mode having the smallest error may be selected.
- inter mode prediction and intra mode prediction may be performed separately for each coding unit.
- the encoder 220 of the image encoding apparatus 200 may not only apply a coding unit to a square form but also use a CU skip mode to encode the coding unit using a non-square form. Can be encoded.
- the non-square coding unit can be decoded using the CU skip mode. By enabling the use of the adaptive skip mode, the image encoding / decoding efficiency can be improved. Since the feature of the image encoding apparatus 200 using the skip mode in the non-square coding unit may be similar to the above-described feature in connection with the use of the skip mode of the image encoding apparatus 200, a detailed description thereof will be omitted.
- FIG. 28 illustrates a process of merging or splitting between coding units determined according to a predetermined encoding method, according to an embodiment.
- the image encoding apparatus 200 may determine coding units for dividing a picture using the above-described predetermined encoding method. For example, the image encoding apparatus 200 may determine a coding unit of the current depth or split it into four coding units of a lower depth based on split information of the coding unit. As described above, the image encoding apparatus 200 according to an embodiment may include block shape information indicating that the current coding unit always has a square shape, and indicate that the current coding unit is not split or to four coding units having a square shape. The coding unit may be determined using split type information that may indicate splitting. Referring to FIG. 28, pictures 2800 and 2820 may be divided according to square coding units determined according to the above-described predetermined coding method.
- the image encoding apparatus 200 encodes the decoding for the small object 2821 by dividing the first coding unit 2822 into four coding units having four lower depths in order to reconstruct the small object 2821. The unit can be determined.
- the large object 2823 is not included in the current coding unit 2822, the large object 2823 is not suitable to be decoded using the current coding unit 2822, and further, to decode the small object 2821. Since the coding unit 2822 is divided, it is inefficient because a process of splitting an unnecessary coding unit must be performed for decoding the large object 2823. That is, if the image encoding apparatus 200 may use one coding unit to encode a portion of the large object 2823, image encoding may be efficiently performed.
- the encoder 220 of the image encoding apparatus 200 may split a current coding unit by using at least one of block shape information and split shape information, and the block shape information uses only a square shape in advance.
- the split type information may be determined in advance to indicate that the split type information is not split or may be split into four square coding units. This may correspond to a coding unit determination process used in the above-described predetermined encoding method through various embodiments.
- the encoder 220 may use a sample value included in the picture to merge the coding units determined using the predetermined coding method with each other or to split the coding units determined. For example, the encoder 220 may detect various objects included in the picture by examining a portion having similar sample values, and performs a merge / split process of coding units based on the portions of the detected objects. Can be done.
- the encoder 220 may determine a plurality of coding units for dividing the picture 2800 using the above-described predetermined encoding method. However, even though the portion 2801 having similar sample values included in the picture exists, a process of dividing the similar region into a plurality of coding units instead of one coding unit may be performed. In this case, even if the coding unit is determined through a predetermined coding method, the encoder 220 may merge the coding units into one coding unit 2802 and encode the coding unit as one coding unit. Referring to FIG.
- the encoder 220 may split the coding unit 2822 for encoding the small object 2821 into four coding units by using the predetermined encoding method described above. have. In the case of the divided coding units, since the detected large object 2823 may not be included in all, the encoder 220 may merge the coding units into one coding unit including a portion having a similar sample value (2825). .
- the encoder 220 determines a coding unit by using a predetermined coding method that does not divide a coding unit or divides the coding unit into four coding units by using split information of the coding unit, and then includes a sample included in the picture.
- the coding unit may be divided again in consideration of the sample values. That is, the encoder 120 may split not only the merged coding units but also the previously determined coding units in order to determine the coding units for each object. Referring to FIG. 28, the encoder 120 may merge coding units for the object 2823, and the coding unit merged for the object 2823 to determine the coding unit optimized for the object 2823. Can be divided again (2826). In other words, the encoder 220 may determine a portion in which the object 2823 is not included as a coding unit 2827 separate from the object 2823 through the splitting process 2826.
- the image decoding apparatus may decode the image by performing the image decoding method corresponding to the reverse operation of the image encoding method after obtaining from the bitstream.
- 29 illustrates an index according to a Z scan order of coding units, according to an embodiment.
- the encoder 220 of the image encoding apparatus 200 may scan the lower data units included in the upper data unit in the Z scan order. Also, the image encoding apparatus 200 according to an embodiment may sequentially access data according to a Z scan index in a maximum coding unit or a coding unit included in a processing block.
- the encoder 220 of the image encoding apparatus 200 according to an embodiment may split the reference coding unit into at least one coding unit, as described above with reference to FIGS. 9 through 10. In this case, square coding units and non-square coding units may be mixed in the reference coding unit. Since the image encoding apparatus 200 may have a feature similar to that of the image decoding apparatus 100 described above with reference to FIG. 29, the index of the index according to the Z scan order of the coding unit will be omitted.
- the above-described embodiments of the present invention can be written as a program that can be executed in a computer, and can be implemented in a general-purpose digital computer that operates the program using a computer-readable recording medium.
- the computer-readable recording medium may include a storage medium such as a magnetic storage medium (eg, a ROM, a floppy disk, a hard disk, etc.) and an optical reading medium (eg, a CD-ROM, a DVD, etc.).
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (15)
- 영상을 복호화 하는 방법에 있어서,현재 부호화 단위의 블록 형태 정보에 기초하여 상기 영상을 분할하는 적어도 하나의 부호화 단위를 결정하는 단계;상기 적어도 하나의 부호화 단위에 포함되는 현재 부호화 단위의 형태에 기초하여, 적어도 하나의 변환 단위를 결정하는 단계; 및상기 적어도 하나의 변환 단위에 기초하여 역변환을 수행함으로써 상기 영상을 복호화 하는 단계를 포함하고,상기 블록 형태 정보는 상기 현재 부호화 단위가 정사각형 형태인지 비-정사각형 형태인지를 나타내는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 적어도 하나의 변환 단위를 결정하는 단계는현재 변환 단위를 분할할지 여부를 나타내는 정보인 변환 단위의 분할 정보를 비트스트림으로부터 획득하는 단계; 및상기 획득한 변환 단위의 분할 정보가, 상기 현재 변환 단위는 복수개의 변환 단위로 분할됨을 나타내는 경우, 상기 현재 부호화 단위가 정사각형 형태인지 비-정사각형 형태인지에 기초하여 상기 현재 부호화 단위에 포함되는 복수개의 변환 단위를 결정하는 단계를 포함하는 영상 복호화 방법.
- 제 2 항에 있어서, 상기 복수개의 변환 단위를 결정하는 단계는상기 현재 부호화 단위가 정사각형 형태인 경우, 정사각형 형태의 복수개의 변환 단위를 결정하는 단계; 및상기 현재 부호화 단위가 비-정사각형 형태인 경우, 상기 현재 부호화 단위를 수직 방향 또는 수평 방향으로 분할하여 복수개의 변환 단위를 결정하는 단계를 포함하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 적어도 하나의 변환 단위를 결정하는 단계는변환 단위의 최대 크기보다 상기 현재 부호화 단위의 크기가 큰 경우, 상기 현재 부호화 단위에 포함되는 복수개의 상기 최대 크기의 변환 단위를 결정하는 단계를 더 포함하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 영상 복호화 방법은변환 단위의 최대 크기에 대한 정보 및 최소 크기에 대한 정보 중 적어도 하나를 비트스트림으로부터 획득하는 단계를 더 포함하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 영상 복호화 방법은상기 적어도 하나의 변환 단위가 가질 수 있는 블록 형태에 대한 정보를 비트스트림으로부터 획득하는 단계를 더 포함하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 적어도 하나의 변환 단위를 결정하는 단계는상기 영상의 색차(chroma) 샘플을 복호화 하기 위한 상기 현재 부호화 단위의 크기가 상기 적어도 하나의 변환 단위의 최소 크기보다 작은 경우, 상기 최소 크기 이상의 크기를 갖는 상기 적어도 하나의 변환 단위를 결정하는 단계를 더 포함하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 영상 복호화 방법은,상기 적어도 하나의 변환 단위의 심도는 상기 적어도 하나의 변환 단위의 긴 변의 길이에 기초하여 심도가 결정되는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 적어도 하나의 변환 단위를 결정하는 단계는 변환 단위의 분할 과정에서 결정되는 현재 심도의 변환 단위 내에 0이 아닌 변환 계수가 포함되는지를 나타내는 정보를 비트스트림으로부터 획득하는 단계를 더 포함하고,상기 영상을 복호화 하는 단계는, 상기 0이 아닌 변환 계수가 포함되는지를 나타내는 정보를 이용하여 상기 영상을 복호화 하는 단계를 포함하는 영상 복호화 방법.
- 제 9 항에 있어서, 상기 0이 아닌 변환 계수가 포함되는지를 나타내는 정보를 비트스트림으로부터 획득하는 단계는,상기 현재 부호화 단위의 형태, 상기 현재 부호화 단위에 상기 영상의 색차 성분이 포함되는지 여부, 상기 현재 부호화 단위에서 이용되는 인트라 예측이 수행되는지 여부 및 상기 현재 부호화 단위에 포함되는 변환 단위의 개수 중 적어도 하나에 기초하여 상기 0이 아닌 변환 계수가 포함되는지를 나타내는 정보를 비트스트림으로부터 획득하는 단계를 포함하는 영상 복호화 방법.
- 제 10 항에 있어서, 상기 0이 아닌 변환 계수가 포함되는지를 나타내는 정보를 비트스트림으로부터 획득하는 단계는,상기 현재 부호화 단위의 형태가 비-정사각형인 경우, 상기 현재 심도의 변환 단위가 더 이상 분할되지 않을 때에 한해 상기 현재 심도의 변환 단위 내에 0이 아닌 변환 계수가 포함되는지를 나타내는 정보를 비트스트림으로부터 획득하는 단계를 포함하는 영상 복호화 방법.
- 제 1 항에 있어서, 상기 영상을 복호화 하는 단계는,상기 적어도 하나의 변환 단위의 형태에 기초하여 컨텍스트 인덱스를 결정하는 단계; 및상기 결정된 컨텍스트 인덱스에 기초하여 상기 영상을 복호화 하는 단계를 포함하는 영상 복호화 방법.
- 영상을 복호화 하는 장치에 있어서,현재 부호화 단위의 블록 형태 정보를 획득하는 비트스트림 획득부; 및상기 블록 형태 정보에 기초하여 상기 영상을 분할하는 적어도 하나의 부호화 단위를 결정하고, 상기 적어도 하나의 부호화 단위에 포함되는 현재 부호화 단위의 형태에 기초하여, 적어도 하나의 변환 단위를 결정하고, 상기 적어도 하나의 변환 단위에 기초하여 역변환을 수행함으로써 상기 영상을 복호화 하는 복호화부를 포함하고,상기 블록 형태 정보는 상기 현재 부호화 단위가 정사각형 형태인지 비-정사각형 형태인지를 나타내는 것을 특징으로 하는 영상 복호화 장치.
- 영상을 부호화 하는 방법에 있어서,상기 영상을 분할하는 적어도 하나의 부호화 단위를 결정하는 단계;상기 적어도 하나의 부호화 단위에 포함되는 현재 부호화 단위의 형태에 기초하여, 적어도 하나의 변환 단위를 결정하는 단계;상기 적어도 하나의 변환 단위에 기초하여 변환을 수행함으로써 상기 영상을 부호화 하는 단계; 및상기 현재 부호화 단위가 정사각형 형태인지 비-정사각형 형태인지를 나타내는 블록 형태 정보 및 상기 부호화된 영상을 포함하는 비트스트림을 생성하는 단계를 포함하는 영상 부호화 방법.
- 영상을 부호화 하는 장치에 있어서,상기 영상을 분할하는 적어도 하나의 부호화 단위를 결정하고, 상기 적어도 하나의 부호화 단위에 포함되는 현재 부호화 단위의 형태에 기초하여, 적어도 하나의 변환 단위를 결정하고, 상기 적어도 하나의 변환 단위에 기초하여 변환을 수행함으로써 상기 영상을 부호화 하는 부호화부; 및상기 현재 부호화 단위가 정사각형 형태인지 비-정사각형 형태인지를 나타내는 블록 형태 정보 및 상기 부호화된 영상을 포함하는 비트스트림을 생성하는 비트스트림 생성부를 포함하는 영상 부호화 장치.
Priority Applications (17)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020227005817A KR102568900B1 (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
CA3039663A CA3039663C (en) | 2016-10-10 | 2016-10-10 | Method and apparatus for encoding/decoding image |
CA3239143A CA3239143A1 (en) | 2016-10-10 | 2016-10-10 | Method and apparatus for encoding/decoding image |
PCT/KR2016/011299 WO2018070552A1 (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
CA3114825A CA3114825A1 (en) | 2016-10-10 | 2016-10-10 | Method and apparatus for encoding/decoding image |
KR1020237027322A KR20230125329A (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
KR1020217033063A KR102367136B1 (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
CN201680091481.9A CN110063058B (zh) | 2016-10-10 | 2016-10-10 | 用于对图像进行编码/解码的方法和设备 |
CN202211629080.8A CN115802036A (zh) | 2016-10-10 | 2016-10-10 | 用于对图像进行编码/解码的方法和设备 |
CN202211629119.6A CN115802037A (zh) | 2016-10-10 | 2016-10-10 | 用于对图像进行编码/解码的方法和设备 |
KR1020197007991A KR102315926B1 (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
EP16918754.9A EP3506631A4 (en) | 2016-10-10 | 2016-10-10 | METHOD AND DEVICE FOR CODING / DECODING AN IMAGE |
CN202211629079.5A CN115802035A (zh) | 2016-10-10 | 2016-10-10 | 用于对图像进行编码/解码的方法和设备 |
CN202211587859.8A CN115883826A (zh) | 2016-10-10 | 2016-10-10 | 用于对图像进行编码/解码的方法和设备 |
US16/339,574 US10904537B2 (en) | 2016-10-10 | 2016-10-10 | Method and apparatus for encoding/decoding image |
US17/115,423 US11178408B2 (en) | 2016-10-10 | 2020-12-08 | Method and apparatus for encoding/decoding image |
US17/115,402 US11653006B2 (en) | 2016-10-10 | 2020-12-08 | Method and apparatus for encoding/decoding image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2016/011299 WO2018070552A1 (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
Related Child Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/339,574 A-371-Of-International US10904537B2 (en) | 2016-10-10 | 2016-10-10 | Method and apparatus for encoding/decoding image |
US17/115,402 Continuation US11653006B2 (en) | 2016-10-10 | 2020-12-08 | Method and apparatus for encoding/decoding image |
US17/115,423 Continuation US11178408B2 (en) | 2016-10-10 | 2020-12-08 | Method and apparatus for encoding/decoding image |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018070552A1 true WO2018070552A1 (ko) | 2018-04-19 |
Family
ID=61905715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2016/011299 WO2018070552A1 (ko) | 2016-10-10 | 2016-10-10 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
Country Status (6)
Country | Link |
---|---|
US (3) | US10904537B2 (ko) |
EP (1) | EP3506631A4 (ko) |
KR (4) | KR20230125329A (ko) |
CN (5) | CN115802035A (ko) |
CA (3) | CA3039663C (ko) |
WO (1) | WO2018070552A1 (ko) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112585971A (zh) * | 2018-08-17 | 2021-03-30 | 佳能株式会社 | 对视频样本的变换块编码和解码的方法、设备和系统 |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230125329A (ko) * | 2016-10-10 | 2023-08-29 | 삼성전자주식회사 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
WO2018174617A1 (ko) * | 2017-03-22 | 2018-09-27 | 한국전자통신연구원 | 블록 형태에 기반한 예측 방법 및 장치 |
US10893286B2 (en) * | 2018-10-09 | 2021-01-12 | Tencent America LLC | Methods and apparatus for low-complexity MTS |
JP2022068379A (ja) * | 2019-03-08 | 2022-05-10 | シャープ株式会社 | 画像復号装置 |
US20220248029A1 (en) * | 2019-06-19 | 2022-08-04 | Electronics And Telecommunications Research Institute | Image encoding/decoding method and device, and recording medium for storing bitstream |
CN114026862A (zh) * | 2019-06-21 | 2022-02-08 | 松下电器(美国)知识产权公司 | 用于视频译码的系统和方法 |
US11949870B2 (en) * | 2019-06-21 | 2024-04-02 | Qualcomm Incorporated | Context modeling for low-frequency non-separable transformation signaling for video coding |
US11470313B2 (en) | 2019-06-22 | 2022-10-11 | Xris Corporation | Image signal encoding/decoding method and device therefor |
KR20220032566A (ko) * | 2019-07-19 | 2022-03-15 | 주식회사 윌러스표준기술연구소 | 비디오 신호 처리 방법 및 장치 |
WO2021050166A1 (en) * | 2019-09-13 | 2021-03-18 | Alibaba Group Holding Limited | Method and apparatus for signaling sub-block transform information |
BR112022009810A2 (pt) | 2019-11-20 | 2022-08-09 | Xris Corp | Método para codificação/decodificação de sinal de imagem, e dispositivo para o mesmo |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140139562A (ko) * | 2012-04-12 | 2014-12-05 | 미디어텍 싱가폴 피티이. 엘티디. | 크로마 서브샘플링 포맷들의 블록 파티션을 위한 방법 및 장치 |
KR20150003324A (ko) * | 2012-04-16 | 2015-01-08 | 퀄컴 인코포레이티드 | 비디오 코딩을 위한 단순화된 비-정사각형 쿼드트리 변환들 |
WO2015194922A1 (ko) * | 2014-06-20 | 2015-12-23 | 삼성전자 주식회사 | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 |
KR20160077027A (ko) * | 2016-06-22 | 2016-07-01 | 삼성전자주식회사 | 큰 크기의 변환 단위를 이용한 영상 부호화, 복호화 방법 및 장치 |
KR20160078318A (ko) * | 2016-06-23 | 2016-07-04 | 에스케이텔레콤 주식회사 | 영상 부호화/복호화 방법 및 장치 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101495724B1 (ko) | 2010-02-02 | 2015-02-25 | 삼성전자주식회사 | 계층적 데이터 단위의 스캔 순서에 기반한 비디오 부호화 방법과 그 장치, 및 비디오 복호화 방법과 그 장치 |
KR101955374B1 (ko) | 2011-06-30 | 2019-05-31 | 에스케이 텔레콤주식회사 | 고속 코딩 단위(Coding Unit) 모드 결정을 통한 부호화/복호화 방법 및 장치 |
US9807426B2 (en) * | 2011-07-01 | 2017-10-31 | Qualcomm Incorporated | Applying non-square transforms to video data |
MX2013001709A (es) * | 2011-07-29 | 2013-03-06 | Panasonic Corp | Metodo de codificacion de imagenes en movimiento, metodo de decodificacion de imagenes en movimiento, aparato de codificacion de imagenes en movimiento, aparato de decodificacion de imágenes en movimiento, y aparato de codificacion y decodificacion de imagenes en movimiento. |
WO2013105622A1 (ja) * | 2012-01-13 | 2013-07-18 | シャープ株式会社 | 画像復号装置、画像符号化装置、および符号化データのデータ構造 |
US9749645B2 (en) * | 2012-06-22 | 2017-08-29 | Microsoft Technology Licensing, Llc | Coded-block-flag coding and derivation |
US9300964B2 (en) * | 2013-01-24 | 2016-03-29 | Sharp Kabushiki Kaisha | Image decoding apparatus and image coding apparatus |
JP2018050091A (ja) * | 2015-02-02 | 2018-03-29 | シャープ株式会社 | 画像復号装置、画像符号化装置および予測ベクトル導出装置 |
WO2017008263A1 (en) * | 2015-07-15 | 2017-01-19 | Mediatek Singapore Pte. Ltd. | Conditional binary tree block partitioning structure |
US10218975B2 (en) * | 2015-09-29 | 2019-02-26 | Qualcomm Incorporated | Transform precision manipulation in video coding |
KR20180136555A (ko) * | 2016-06-03 | 2018-12-24 | 엘지전자 주식회사 | 영상 코딩 시스템에서 인트라 예측 방법 및 장치 |
KR20230125329A (ko) | 2016-10-10 | 2023-08-29 | 삼성전자주식회사 | 영상을 부호화/복호화 하는 방법 및 그 장치 |
-
2016
- 2016-10-10 KR KR1020237027322A patent/KR20230125329A/ko not_active Application Discontinuation
- 2016-10-10 CA CA3039663A patent/CA3039663C/en active Active
- 2016-10-10 KR KR1020227005817A patent/KR102568900B1/ko active IP Right Grant
- 2016-10-10 CA CA3114825A patent/CA3114825A1/en active Pending
- 2016-10-10 CN CN202211629079.5A patent/CN115802035A/zh active Pending
- 2016-10-10 US US16/339,574 patent/US10904537B2/en active Active
- 2016-10-10 KR KR1020217033063A patent/KR102367136B1/ko active IP Right Grant
- 2016-10-10 EP EP16918754.9A patent/EP3506631A4/en not_active Ceased
- 2016-10-10 CN CN202211587859.8A patent/CN115883826A/zh active Pending
- 2016-10-10 KR KR1020197007991A patent/KR102315926B1/ko active IP Right Grant
- 2016-10-10 CN CN201680091481.9A patent/CN110063058B/zh active Active
- 2016-10-10 CN CN202211629119.6A patent/CN115802037A/zh active Pending
- 2016-10-10 CA CA3239143A patent/CA3239143A1/en active Pending
- 2016-10-10 CN CN202211629080.8A patent/CN115802036A/zh active Pending
- 2016-10-10 WO PCT/KR2016/011299 patent/WO2018070552A1/ko unknown
-
2020
- 2020-12-08 US US17/115,402 patent/US11653006B2/en active Active
- 2020-12-08 US US17/115,423 patent/US11178408B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140139562A (ko) * | 2012-04-12 | 2014-12-05 | 미디어텍 싱가폴 피티이. 엘티디. | 크로마 서브샘플링 포맷들의 블록 파티션을 위한 방법 및 장치 |
KR20150003324A (ko) * | 2012-04-16 | 2015-01-08 | 퀄컴 인코포레이티드 | 비디오 코딩을 위한 단순화된 비-정사각형 쿼드트리 변환들 |
WO2015194922A1 (ko) * | 2014-06-20 | 2015-12-23 | 삼성전자 주식회사 | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 |
KR20160077027A (ko) * | 2016-06-22 | 2016-07-01 | 삼성전자주식회사 | 큰 크기의 변환 단위를 이용한 영상 부호화, 복호화 방법 및 장치 |
KR20160078318A (ko) * | 2016-06-23 | 2016-07-04 | 에스케이텔레콤 주식회사 | 영상 부호화/복호화 방법 및 장치 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112585971A (zh) * | 2018-08-17 | 2021-03-30 | 佳能株式会社 | 对视频样本的变换块编码和解码的方法、设备和系统 |
Also Published As
Publication number | Publication date |
---|---|
EP3506631A1 (en) | 2019-07-03 |
US11653006B2 (en) | 2023-05-16 |
CN110063058B (zh) | 2022-12-27 |
KR20230125329A (ko) | 2023-08-29 |
CN115883826A (zh) | 2023-03-31 |
CA3039663C (en) | 2022-02-15 |
US20210092410A1 (en) | 2021-03-25 |
US11178408B2 (en) | 2021-11-16 |
KR20190039790A (ko) | 2019-04-15 |
CN115802037A (zh) | 2023-03-14 |
KR102367136B1 (ko) | 2022-02-24 |
US20200053363A1 (en) | 2020-02-13 |
KR102315926B1 (ko) | 2021-10-21 |
KR20220028164A (ko) | 2022-03-08 |
CN115802035A (zh) | 2023-03-14 |
CA3039663A1 (en) | 2018-04-19 |
EP3506631A4 (en) | 2019-08-07 |
US20210092409A1 (en) | 2021-03-25 |
US10904537B2 (en) | 2021-01-26 |
CA3239143A1 (en) | 2018-04-19 |
CA3114825A1 (en) | 2018-04-19 |
KR102568900B1 (ko) | 2023-08-21 |
CN110063058A (zh) | 2019-07-26 |
CN115802036A (zh) | 2023-03-14 |
KR20210128507A (ko) | 2021-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018070552A1 (ko) | 영상을 부호화/복호화 하는 방법 및 그 장치 | |
WO2017176030A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2018097693A2 (ko) | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 | |
WO2017135759A1 (ko) | 크로마 다중 변환에 의한 비디오 복호화 방법 및 장치, 크로마 다중 변환에 의한 비디오 부호화 방법 및 장치 | |
WO2017171370A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2018016823A1 (ko) | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 | |
WO2017138791A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2011096741A2 (en) | Method and apparatus for encoding video based on scanning order of hierarchical data units, and method and apparatus for decoding video based on scanning order of hierarchical data units | |
WO2018097692A2 (ko) | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 | |
WO2012005520A2 (en) | Method and apparatus for encoding video by using block merging, and method and apparatus for decoding video by using block merging | |
WO2017142335A1 (ko) | 비디오 복호화 방법 및 그 장치 및 비디오 부호화 방법 및 그 장치 | |
WO2011126273A2 (en) | Method and apparatus for encoding video by compensating for pixel value according to pixel groups, and method and apparatus for decoding video by the same | |
WO2020040626A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2019093598A1 (ko) | 움직임 정보의 부호화 장치 및 방법, 및 복호화 장치 및 방법 | |
WO2020235951A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2012044104A2 (ko) | 계층적 구조의 심볼을 부호화하는 비디오 부호화 방법 및 그 장치, 계층적 구조의 심볼을 복호화하는 비디오 복호화 방법 및 그 장치 | |
WO2017090968A1 (ko) | 영상을 부호화/복호화 하는 방법 및 그 장치 | |
WO2018124627A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2019216716A2 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2020004978A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2018101700A1 (ko) | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 | |
WO2019199127A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2016190627A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2020130714A1 (ko) | 영상 신호 부호화/복호화 방법 및 이를 위한 장치 | |
WO2020256468A1 (ko) | 주변 움직임 정보를 이용하여 움직임 정보를 부호화 및 복호화하는 장치, 및 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16918754 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20197007991 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2016918754 Country of ref document: EP Effective date: 20190328 Ref document number: 3039663 Country of ref document: CA |
|
NENP | Non-entry into the national phase |
Ref country code: DE |