WO2019009666A1 - 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 - Google Patents
영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 Download PDFInfo
- Publication number
- WO2019009666A1 WO2019009666A1 PCT/KR2018/007701 KR2018007701W WO2019009666A1 WO 2019009666 A1 WO2019009666 A1 WO 2019009666A1 KR 2018007701 W KR2018007701 W KR 2018007701W WO 2019009666 A1 WO2019009666 A1 WO 2019009666A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- mode
- encoding unit
- size
- unit
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 107
- 230000008569 process Effects 0.000 description 50
- 238000005192 partition Methods 0.000 description 29
- 238000010586 diagram Methods 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 9
- 238000013139 quantization Methods 0.000 description 7
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 5
- 230000009466 transformation Effects 0.000 description 4
- 230000011218 segmentation Effects 0.000 description 3
- 241000023320 Luma <angiosperm> Species 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
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/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/103—Selection of coding mode or of prediction mode
-
- 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/103—Selection of coding mode or of prediction mode
- H04N19/107—Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
-
- 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/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- 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/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/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
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/96—Tree coding, e.g. quad-tree coding
-
- 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/136—Incoming video signal characteristics or properties
Definitions
- the method and apparatus may encode or decode an image using various types of encoding units included in an image.
- a method and apparatus includes a method and apparatus for image acquisition / decoding that obtains a prediction block of a block included in the block based on at least one of a size and a shape of the block.
- Various data units may be used to compress the image and there may be a containment relationship between these data units.
- a data unit can be divided by various methods, and an optimized data unit is determined according to characteristics of an image, so that an image can be encoded or decoded.
- the image decoding method divides the first block based on at least one of a division type and a division direction for a first block included in an image and determines at least one second block from the first block step; Determining one of a prediction mode of the at least one second block and whether the at least one second block is divided based on at least one of a size and a shape of the determined at least one second block; Obtaining a prediction block of a block included in the at least one second block based on one of the determined prediction mode and whether to divide the at least one second block; And restoring a block included in the at least one second block based on a prediction block of a block included in the at least one second block, wherein the split type includes binary division, trie division, quad division And the like.
- a prediction mode of the at least one second block Determining a prediction mode of the at least one second block as an intra mode if the sum of height and width of the at least one second block is less than or equal to a predetermined first value; And determining the inter mode as the prediction mode of the at least one second block when the sum of the height and width of the at least one second block is greater than a predetermined second value.
- determining the one of the prediction mode of the at least one second block and the division of the at least one second block based on at least one of a size and a shape of the determined at least one second block The prediction of the at least one second block based on at least one of whether the at least one second block is non-square or square and the ratio of the height and width of the at least one second block. And determining a mode.
- Determining at least one of a prediction mode of the at least one second block and whether to split the at least one second block based on at least one of a size and a shape of the determined at least one second block Determining that the slice comprising the at least one second block is an intra slice and if the size of the at least one second block is greater than a predetermined size, dividing the at least one second block ,
- the step of obtaining a prediction block of a block included in the at least one second block based on at least one of the determined prediction mode and the division of the at least one second block comprises: The second block is divided into a plurality of blocks based on at least one of a predetermined division type and a predetermined division direction Determining at least one third block; And if the at least one third block is less than or equal to the predetermined size, obtaining the prediction block of the third block.
- the image decoding apparatus divides the first block based on at least one of a division type and a division direction for a first block included in an image to determine at least one second block from the block, Determining at least one of a prediction mode of the at least one second block and whether to divide the at least one second block based on at least one of a size and a shape of the determined at least one second block, And a prediction unit that obtains a prediction block of a block included in the at least one second block based on one of whether to divide the at least one second block or not; And a video decoding unit for restoring a block included in the at least one second block based on a prediction block of a block included in the at least one second block, wherein the division type includes a binary division, Quot; and " quad split ".
- the image encoding method divides the first block based on at least one of a division type and a division direction for a first block included in an image and determines at least one second block from the first block step; Determining one of a prediction mode of the at least one second block and whether the at least one second block is divided based on at least one of a size and a shape of the determined at least one second block; Obtaining a prediction block of a block included in the at least one second block based on one of the determined prediction mode and whether to divide the at least one second block; And encoding a block included in the at least one second block based on a prediction block of a block included in the at least one second block, wherein the division type includes binary division, trie division, quad division Or the like.
- determining the one of the prediction mode of the at least one second block and the division of the at least one second block based on at least one of a size and a shape of the determined at least one second block Determining a prediction mode of the at least one second block as an intra mode if the size of the at least one second block is less than or equal to a predetermined first size; And determining the inter mode as a prediction mode of the at least one second block when the size of the at least one second block is greater than or equal to a predetermined second size.
- determining the one of the prediction mode of the at least one second block and the division of the at least one second block based on at least one of a size and a shape of the determined at least one second block The prediction of the at least one second block based on at least one of whether the at least one second block is non-square or square and the ratio of the height and width of the at least one second block. And determining a mode.
- determining the one of the prediction mode of the at least one second block and the division of the at least one second block based on at least one of a size and a shape of the determined at least one second block Determining that the slice comprising the at least one second block is an intra slice and if the size of the at least one second block is greater than a predetermined size, dividing the at least one second block,
- the step of obtaining a prediction block of a block included in the at least one second block based on at least one of the determined prediction mode and the division of the at least one second block comprises the step of dividing the at least one second block The second block is divided based on at least one of a predetermined division type and a predetermined division direction Determining at least one of the third block; And if the at least one third block is less than or equal to a predetermined size, obtaining a prediction block of the third block.
- the computer program for the image decoding method according to an embodiment of the present disclosure can be recorded in a computer-readable recording medium.
- FIG. 1A shows a block diagram of an image decoding apparatus according to various embodiments.
- FIG. 1B shows a flow diagram of a video decoding method according to various embodiments.
- FIG. 1C shows a block diagram of an image decoding unit according to various embodiments.
- FIG. 2A shows a block diagram of an image encoding apparatus according to various embodiments.
- FIG. 2B shows a flowchart of the image encoding method according to various embodiments.
- FIG. 2C shows a block diagram of an image encoding unit according to various embodiments.
- FIGS. 3A to 3F are diagrams for explaining an example in which the image decoding apparatus 100 divides a block based on a split mode mode and determines a prediction mode of the block based on the size of the block without obtaining information about the prediction mode from the bitstream And FIG.
- FIG. 4 illustrates a pseudo code for the video decoding apparatus 100 to determine a prediction mode of a current block based on the size of a current block, according to an embodiment.
- FIG. 5 illustrates a process in which an image decoding apparatus determines at least one encoding unit by dividing a current encoding unit according to an embodiment.
- FIG. 6 illustrates a process in which an image decoding apparatus determines at least one encoding unit by dividing a non-square encoding unit according to an exemplary embodiment.
- FIG. 7 illustrates a process in which an image decoding apparatus divides an encoding unit based on at least one of information on a block format information and a format mode according to an embodiment.
- FIG. 8 illustrates a method for an image decoding apparatus to determine a predetermined encoding unit among odd number of encoding units according to an embodiment.
- FIG. 9 illustrates a sequence in which a plurality of coding units are processed when an image decoding apparatus determines a plurality of coding units by dividing a current coding unit according to an exemplary embodiment.
- FIG. 10 illustrates a process of determining that the current encoding unit is divided into odd number of encoding units when the image decoding apparatus can not process the encoding units in a predetermined order according to an exemplary embodiment.
- FIG. 11 illustrates a process in which an image decoding apparatus determines at least one encoding unit by dividing a first encoding unit according to an embodiment.
- FIG. 12 illustrates a case where the second encoding unit is limited in the case where the non-square type second encoding unit determined by dividing the first encoding unit by the image decoding apparatus satisfies a predetermined condition according to an embodiment Lt; / RTI >
- FIG. 13 illustrates a process in which an image decoding apparatus divides a square-shaped encoding unit when the information on the split-mode mode can not be divided into four square-shaped encoding units according to an exemplary embodiment.
- FIG. 14 illustrates that the processing order among a plurality of coding units may be changed according to the division process of the coding unit according to an embodiment.
- FIG. 15 illustrates a process of determining the depth of an encoding unit according to a change in type and size of an encoding unit when the encoding unit is recursively divided according to an embodiment to determine a plurality of encoding units.
- FIG. 16 illustrates a depth index (hereinafter referred to as a PID) for classification of coding units and depths that can be determined according to the type and size of coding units according to an exemplary embodiment.
- a PID depth index
- FIG. 17 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. 18 shows a processing block serving as a reference for determining a determination order of a reference encoding unit included in a picture according to an embodiment.
- part used in the specification means software or hardware component, and " part " However, “ part " is not meant to be limited to software or hardware. &Quot; Part " may be configured to reside on an addressable storage medium and may be configured to play back one or more processors.
- part (s) refers to components such as software components, object oriented software components, class components and task components, and processes, Subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays and variables.
- the functions provided in the components and " parts " may be combined into a smaller number of components and “ parts “ or further separated into additional components and " parts ".
- processor should be broadly interpreted to include a general purpose processor, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a controller, a microcontroller, a state machine, In some circumstances, a “ processor " may refer to an application specific integrated circuit (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA)
- ASIC application specific integrated circuit
- PLD programmable logic device
- FPGA field programmable gate array
- processor refers to a combination of processing devices, such as, for example, a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors in conjunction with a DSP core, It can also be called.
- memory should be broadly interpreted to include any electronic component capable of storing electronic information.
- the terminology memory may be any suitable memory such as random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erase- May refer to various types of processor-readable media such as erasable programmable read-only memory (PROM), flash memory, magnetic or optical data storage devices, registers, and the like.
- RAM random access memory
- ROM read-only memory
- NVRAM non-volatile random access memory
- PROM programmable read-only memory
- erase- May to various types of processor-readable media such as erasable programmable read-only memory (PROM), flash memory, magnetic or optical data storage devices, registers, and the like.
- a memory is said to be in electronic communication with a processor if the processor can read information from and / or write information to the memory.
- the memory integrated in the processor is in electronic communication with the processor.
- the " image” may be a static image such as a still image of a video or a dynamic image such as a moving image, i.e., the video itself.
- sample means data to be processed as data assigned to a sampling position of an image.
- pixel values in the image of the spatial domain, and transform coefficients on the transform domain may be samples.
- a unit including at least one of these samples may be defined as a block.
- the " current block" may refer to a block of an image to be encoded or decoded.
- FIGS. 5 to 18 a method of determining a data unit of an image according to an exemplary embodiment will be described.
- FIGS. 1A to 4 A method and apparatus for encoding or decoding a block for obtaining a prediction block of a block included in the block based on at least one of a shape is described.
- FIGS. 1A to 4 An encoding / decoding method and apparatus for obtaining a prediction block of a block included in the block based on at least one of a size and a shape of the block according to an embodiment of the present disclosure will be described below with reference to FIGS. 1A to 4 .
- FIG. 1A shows a block diagram of an image decoding apparatus according to various embodiments.
- the image decoding apparatus 100 may include a prediction unit 105 and an image decoding unit 110.
- the prediction unit 105 and the image decoding unit 110 may include at least one processor.
- the prediction unit 105 and the image decoding unit 110 may include a memory for storing instructions to be executed by at least one processor.
- the image decoding unit 110 may be implemented in hardware separate from the prediction unit 105 or may include a prediction unit 105.
- the acquiring unit may acquire information on the split mode mode of the block from the bitstream.
- the information on the split mode mode of the block may be syntax element information on the split mode mode of the block.
- the information on the division type mode of the block may include at least one of information about division of the block, information about the division direction of the block, and information about the division type of the block.
- the information on the division direction of the block may be information indicating whether the block is divided horizontally or vertically.
- the information on the partition type of the block may be information indicating whether the block is to be binary-split or tri-split.
- the present invention is not limited to this, and the information on the split mode mode of the block may include information indicating whether the block is to be quad split. In this case, The information on the division direction of the block indicates that the block is divided into both the horizontal direction and the vertical direction, and the information on the division type indicates that the block is divided into the binary.
- the information on the division type mode may include information indicating whether to perform a quad division.
- Information on division type information indicates whether to divide the block. There is no information on the type, and the information on the type of partition may indicate that the block is quad-partitioned.
- the present invention is not limited to this, and the information on the division type mode obtained from the bit stream among the information on the division type mode may not include information on the mode for quad partitioning the block. That is, when the height and width of the current encoding unit are equal to the height and width of the maximum encoding unit, the split mode mode is set to a mode for dividing the block into quad divisions, and information regarding a separate split mode is separately acquired .
- the information on the split mode obtained from the bit stream may be divided into a split mode in which the block is split in the horizontal direction, a split mode in which the block is divided into tiles in the vertical direction, A morphological mode, a split mode mode in which the block is tri-divided in the vertical direction, and a mode in which the block is not divided.
- the prediction unit 105 may determine at least one second block from the first block by dividing the first block based on at least one of the division type and the division direction for the first block included in the image.
- the predicting unit 105 may determine the at least one second block by dividing the first block based on the information about the mode of the first block. That is, if the information indicating whether or not the information on the division type mode of the first block indicates that the first block is divided, the prediction unit 105 determines whether or not the block division type included in the information on the division type mode of the first block And the information on the dividing direction of the block included in the information on the division mode, thereby dividing the first block and determining at least one second block.
- the predicting unit 105 can determine one of the prediction mode of the at least one second block and the division of the second block of the at least one second block based on at least one of the size and the shape of the at least one second block have.
- the second block may be a block which is not further divided based on the information about the split mode mode of the block.
- the second block may be further divided.
- the prediction unit 105 may determine the intra mode as the prediction mode of at least one second block when the size of the at least one second block is smaller than or equal to a predetermined size (or less than a predetermined size).
- the predetermined size may be MxN (M, N is an integer). M, N may be a multiple of four. For example, if the size of at least one second block is less than or equal to a predetermined size of 4x4 (or less than a predetermined size), the prediction unit 105 may determine the intra mode as the prediction mode of the second block .
- the predicting unit 105 may determine the inter mode as the prediction mode of at least one second block when the size of the at least one second block is greater than or equal to a predetermined size (or greater than a predetermined size).
- the predetermined size may be MxN (M, N is an integer). M, N may be a multiple of four. For example, if the size of at least one second block is greater than or equal to 64 x 64 (or larger than a predetermined size), the prediction unit 105 may determine the inter mode as the prediction mode of the second block have.
- the prediction unit 105 may determine the intra mode as the prediction mode of at least one second block when the width of at least one second block is less than or equal to a predetermined value (or less than a predetermined value).
- the width of the second block may be a value obtained by multiplying the height and width of the second block.
- the prediction unit 105 may determine the intra mode as the prediction mode of at least one second block when the width of the second block is less than or equal to K (K is an integer) (or less than K).
- K is an integer
- the prediction unit 105 may determine the intra mode as the prediction mode of the second block.
- the size of the second block may be 4x4 or less.
- the size of the second block may be one of 8x2, 2x8, 1x16, 16x1, and the like.
- the predicting unit 105 may determine the inter mode as the prediction mode of at least one second block when the width of at least one second block is greater than or equal to a predetermined value (or exceeds a predetermined value). For example, if the width of the second block is greater than or equal to K (K is an integer) (or greater than K), the inter mode may be determined as the prediction mode of the second block. For example, when the width of the second block is 4096 or more, the prediction unit 105 may determine the inter mode as the prediction mode of the second block. In this case, the size of the second block may be 64x64 or more. Or the size of the second block may be one of 128x32, 32x128, 16x256, 256x16 size, and the like.
- the prediction unit 105 can determine the intra mode as the prediction mode of the second block when the sum of the width and height of the current block is less than (or less than) a predetermined value. For example, if the sum of the height and width of the second block is less than (or less than) K (K is an integer), the intra mode can be determined as the prediction mode of the second block.
- the prediction unit 105 can determine the intra mode as the prediction mode of the second block.
- the prediction unit 105 can determine the inter mode as the prediction mode of the second block when the sum of the width and height of the current block is equal to or greater than a predetermined value. For example, if the sum of the height and width of the second block is equal to (or greater than) K (K is an integer), the inter mode can be determined as the prediction mode of the second block. For example, if the sum of the width and height of the current block is greater than or equal to 128 (or more), the prediction unit 105 may determine the inter mode as the prediction mode of the second block.
- the prediction unit 105 may determine the intra mode as the prediction mode of the second block when at least one of height and width of at least one second block is less than (or less than) a predetermined value. For example, when at least one of the height and the width of the second block is equal to or smaller than a predetermined value K (K is an integer), the predicting unit 105 can determine the intra mode as the prediction mode of the second block have. At this time, K may be a multiple of four. For example, when the height and width of the second block are less than 4, the prediction unit 105 may determine the intra mode as the prediction mode of the second block.
- the prediction unit 105 may determine the inter mode as the prediction mode of the second block when at least one of height and width of at least one second block is equal to or greater than a predetermined value. For example, when at least one of the height and the width of the second block is equal to or larger than a predetermined value K (K is an integer), the predicting unit 105 determines the inter mode as the prediction mode of the second block . At this time, K may be a multiple of four. For example, the prediction unit 105 may determine the inter mode as the prediction mode of the second block when the height and width of the second block are 64 or more (or more), respectively.
- the prediction unit 105 may determine the intra mode or the inter mode as the prediction mode of the second block based on the shape of the at least one second block.
- the prediction unit 105 may determine whether at least one second block is non-square or square and at least one second block based on at least one of the ratio of height and width of the at least one second block.
- the prediction mode of the block can be determined. For example, if at least one second block is a non-sqaure (i.e., is not a square), the prediction unit 105 may determine the prediction mode of at least one second block as a predetermined prediction mode .
- the predetermined prediction mode may determine either the intra mode or the inter mode.
- the image decoding apparatus 100 can determine the prediction mode of the second block from the bitstream without acquiring the information on the prediction mode of the second block.
- the image decoding apparatus 100 obtains information on the prediction mode of the second block from the bitstream to determine a prediction mode of at least one second block when at least one second block is square ,
- the prediction mode of the second block can be determined based on the information on the prediction mode of the second block.
- the present invention is not limited to this, and the prediction unit 105 may not acquire information on the prediction mode of the second block from the bitstream, and if at least one second block is non-square, Those skilled in the art can readily understand that the prediction mode of two blocks can be determined to be a predetermined prediction mode.
- the prediction mode can be determined as the prediction mode of the second block. For example, if the ratio of the height and width of at least one second block is greater than 0 and less than or equal to 0.5 (or less than 0.5), the predicting unit 105 may determine the predetermined prediction mode as the prediction mode of the second block . The predicting unit 105 can determine the predetermined prediction mode as the prediction mode of the second block when the ratio of the height and width of the at least one second block is 2 (or more).
- the image decoding apparatus 100 obtains information on the prediction mode of the second block from the bitstream And determine the prediction mode of the second block based on the information on the prediction mode of the second block. It should be noted, however, that the prediction unit 105 can determine the prediction mode of at least one second block as a predetermined prediction mode without acquiring information on the prediction mode of the second block from the bitstream, Can be easily understood.
- the prediction unit 105 can determine the prediction mode of the second block by a combination of the various embodiments described above. For example, if the height and the width of the second block are equal to or larger than M and N (M and N are integers), respectively, the prediction unit 105 can determine the intra mode as the prediction mode of the second block , And the height and the width of the second block are less than (or less than) A and B (where A and B are integers), the inter mode can be determined as the prediction mode of the second block. For example, when the height and width of the second block are greater than 64, the prediction unit 105 determines the inter mode as the prediction mode of the second block. If the height and width of the second block are 4 or less, The intra mode can be determined as the prediction mode of the second block.
- the predicting unit 105 can determine that the slice including at least one second block is an Intra slice and divides at least one second block based on at least one of a size and a shape of at least a second block have.
- the slice including at least one second block is an intra slice and the size of the at least one second block is equal to or larger than a predetermined size, It can be determined that the block is divided.
- the slice including at least one second block is an intra slice and the width of at least one second block is equal to or greater than a predetermined value, It can be determined that the block is divided.
- the slice including at least one second block is an intra slice and the sum of the width and height of at least one second block is equal to or greater than a predetermined value, It can be determined that one second block is divided.
- the slice including at least one second block is an intra slice and at least one of the width and height of the at least one second block is equal to or greater than a predetermined value, It can be determined that at least one second block is divided.
- the prediction unit 105 may determine at least one third block by dividing at least one second block based on at least one of the predetermined division type and the division direction. For example, the image decoding apparatus 100 may determine at least one third block by quadrupling the second block without obtaining information on the split mode mode of the second block from the bitstream . If the size of the third block is still greater than (or greater than) the predetermined size, at least one third block may be quad divided again to determine the fourth block. That is, the block can be recursively divided based on at least one of a predetermined division type and a division direction until a case where the size of the current block is less than (or less than) a predetermined size.
- the present invention is not limited to this, and the predetermined division type may be binary division, and the predetermined division direction may be the horizontal direction and the vertical direction. In this case, Those skilled in the art can easily understand that a block can be divided.
- the predetermined division type is the quad division
- the present invention is not limited thereto, and a predetermined division type or direction can be determined according to the shape of the current block. For example, when the current block is a rectangle that is long in the horizontal direction, the prediction unit 105 may determine the division direction as a vertical direction, and determine binary division or tri-division as a predetermined division type. Alternatively, when the current block is a rectangle long in the vertical direction, the predicting unit 105 may determine the dividing direction to be the horizontal direction, and determine the binary division or the trie division as a predetermined division type.
- the image decoding apparatus 100 is an intra slice including at least one second block and the size of the at least one second block is equal to or larger than a predetermined size
- the present invention is not limited to this.
- the video decoding apparatus 100 may include at least one second If the slice including the block is an intra slice and the size of the at least one second block is equal to or larger than a predetermined size, information on the split mode mode of the second block is obtained from the bitstream, Those skilled in the art will readily understand that the second block may be divided based on the split mode mode of the first block to determine at least one third block.
- the prediction unit 105 may obtain a prediction block of a block included in at least one second block based on a prediction mode and whether or not the at least one second block is divided.
- the prediction unit 105 determines a prediction mode of at least one second block based on at least one of a size and a shape of at least one second block and determines a prediction mode for the second block based on the prediction mode of the second block To obtain a prediction block of the second block.
- the predicting unit 105 determines to divide at least one second block based on at least one of size and shape of at least one second block, the predicting unit 105 divides the second block to determine at least one third block, The prediction block may be predicted based on the prediction mode for at least one third block to obtain the prediction block of at least one third block.
- the image decoding apparatus 100 may determine at least one of a minimum block size and a maximum block size based on at least one of a resolution of an image and a level of a codec.
- the size of the image can be large. Also, since the resolution of the image corresponds to the size of the image, the larger the resolution of the image, the larger the size of the image.
- the size of the image increases, even if the size of the minimum block is large, the sub-decoding performance may not be significantly affected. Therefore, since the size of the minimum block is determined according to the size of the image, the external memory bandwidth problem that may occur when the block size is smaller than the size of the 4x4 block is used have. In addition, it is possible to prevent a phenomenon in which the throughput generated in the parsing process for a small-sized block is increased.
- the image encoding apparatus when the information on the size of the minimum block is transmitted in the image encoding apparatus and the size of the minimum block is determined by parsing the information on the size of the minimum block in the image decoding apparatus, the image encoding / However, if the minimum block size is determined based on at least one of the level of the codec and the resolution of the image, the size of the minimum block is determined by considering at least one of the level of the codec and the resolution of the image. It can be more efficient in terms of implementation.
- the video decoding apparatus 100 can determine the minimum block size based on the level of the codec as shown in Table 1 below.
- Level Minimum block size (width or height)
- the image decoding apparatus 100 can determine the minimum block area based on the level of the codec as shown in Table 2 below. The size of the block that can be used for decoding based on the minimum block area can be determined.
- Level Minimum block area (height * width) One 16 2 16 3 16 4 32 5 32 6 64 7 64
- the image decoding apparatus 100 can determine the size of the minimum block based on the resolution of the image. For example, the image decoding apparatus 100 may determine a minimum block size according to a resolution of a predetermined image. The image decoding apparatus 100 may determine the minimum block size to be one of M ⁇ N and more (M, N is an integer) block size when the resolution of a predetermined image is 3840 ⁇ 2160. If the size of the image increases, even if the size of the minimum block is large, the sub-decoding performance may not be significantly affected.
- the size of the minimum block is determined according to the size of the image, it is possible to reduce the external memory bandwidth problem caused by the decoding / decoding using the block having the small size such as the 4x4 block have. In addition, it is possible to prevent a phenomenon in which a throughput generated in a parsing process for a block having a small size is increased.
- the size of the maximum block can be determined to be a predetermined size (for example, 64x64). If the resolution of the image is smaller than the predetermined resolution, the image decoding apparatus 100 may determine the size of the maximum block to be a predetermined size (for example, 64x64).
- the image decoding apparatus 100 sets 2x2, 2x8, 4x2 as the size of the permissible block of the chorma component corresponding to the permissible block of the luma component, .
- the video decoding apparatus 100 receives and parses the residual information (residual information on the transform coefficients of the block) for a block of 2xN (N is an integer) or Nx2 (N is an integer)
- the weighted phenomenon may occur. Therefore, if the current block is a block of 2xN or Nx2 size, the image decoding apparatus 100 may not obtain residual information from the bitstream.
- the image decoding apparatus 100 can determine the skip mode of the current block without acquiring the flag related to the skip mode.
- the video decoding apparatus 100 determines the mode of the current block to be a skip mode, the video decoding apparatus 100 does not acquire residual information from the bitstream and may not decode the residual information.
- the image decoding apparatus 100 may calculate the value of the coded block pattern information for the 2xN or Nx2 component, The value of the flag (coded block flag; cbf_cb, cbf_cr) or root_cbf may be set to zero.
- the encoded block pattern information, the flag information on the encoded block, or root_cbf may be information indicating whether the values of the transform coefficients included in the block are all zero.
- the video decoding apparatus 100 determines that the value of the information is 0, the video decoding apparatus 100 does not acquire residual information on the current block from the bitstream, and does not decode the residual information.
- the image decoding apparatus 100 can determine the value of the coded block pattern information to be 0 for the 2xN or Nx2 component have.
- the video decoding apparatus 100 determines that the value of the information is 0, the video decoding apparatus 100 does not acquire residual information on the current block from the bitstream, and does not decode the residual information.
- the image decoding unit 110 may restore a block included in at least one second block based on a prediction block of a block included in at least one second block.
- the video decoding apparatus 100 acquires information on the residual of a block included in the second block from the bitstream and performs inverse quantization / inverse transformation on the basis of the information on the residual to be included in the second block
- the image decoding unit 110 reconstructs a block included in at least one second block based on the prediction block and the residual block of the block included in the at least one second block . That is, the image decoding unit 110 may determine a sample value of a reconstruction block by summing a sample value of a prediction block of the block included in at least one second block and a sample value of the residual block.
- FIG. 1B shows a flow diagram of a video decoding method according to various embodiments.
- the image decoding apparatus 100 may divide the first block based on at least one of the division type and the division direction for the first block included in the image to determine at least one second block from the first block have.
- the video decoding apparatus 100 obtains information on the split mode mode of the first block from the bit stream, and when the information on the split mode mode indicates that the first block is divided, The first block may be divided based on at least one of the division type and the division direction to determine at least one second block from the first block.
- the image decoding apparatus 100 determines one of the prediction mode of at least one second block and whether to divide at least one second block based on at least one of the size and the shape of the at least one second block .
- the image decoding apparatus 100 may determine the intra mode or the inter mode as the prediction mode of at least one second block based on at least one of the size and the shape of the at least one second block.
- the video decoding apparatus 100 may determine to divide the second block based on at least one of the size and the shape of the at least one second block.
- the video decoding apparatus 100 may determine the at least one third block by dividing the second block based on at least one of the predetermined division type and the predetermined division direction have.
- the image decoding apparatus 100 may obtain a prediction block of a block included in at least one second block based on one of a prediction mode and whether to divide the at least one second block.
- the image decoding apparatus 100 may perform the prediction for the second block based on the determined prediction mode to obtain the prediction block of the second block.
- the video decoding apparatus 100 may divide the second block based on at least one of the predetermined division type and the predetermined division direction to determine at least one third block And perform a prediction on at least one third block based on the prediction mode to obtain a prediction block of at least one third block.
- the image decoding apparatus 100 may restore the block included in the second block based on the prediction block of the block included in the second block.
- the video decoding apparatus 100 acquires information on the residual of a block included in the second block from the bitstream and performs inverse quantization / inverse transformation on the basis of the information on the residual to be included in the second block
- the image decoding unit 110 reconstructs a block included in at least one second block based on the prediction block and the residual block of the block included in the at least one second block . That is, the image decoding unit 110 may determine a sample value of a reconstruction block by summing a sample value of a prediction block of the block included in at least one second block and a sample value of the residual block.
- FIG. 1C shows a block diagram of an image decoding unit 6000 according to various embodiments.
- the image decoding unit 6000 performs operations for encoding image data in the predicting unit 105 and the image decoding unit 110 of the image decoding apparatus 100.
- the entropy decoding unit 6150 parses the encoded image data to be decoded and the encoding information necessary for decoding from the bitstream 6050.
- the encoded image data is a quantized transform coefficient
- the inverse quantization unit 6200 and the inverse transform unit 6250 reconstruct the residue data from the quantized transform coefficients.
- the intra prediction unit 6400 performs intra prediction on a block-by-block basis.
- the inter-prediction unit 6350 performs inter-prediction using the reference image obtained in the reconstruction picture buffer 6300 for each block.
- the spatial data for the block of the current image is restored by adding the predictive data and residue data for each block generated by the intra predictor 6400 or the inter predictor 6350 and the deblocking block 6450 and
- the SAO performing unit 6500 performs loop filtering on the data of the reconstructed spatial region and outputs the filtered reconstructed image 6600.
- restored images stored in the restored picture buffer 6300 can be output as a reference image.
- the intra prediction unit 6400 and the inter prediction unit 6350 of FIG. 1C may be included in the prediction unit 105 of FIG. 1A.
- the stepwise operations of the image decoding unit 6000 may be performed for each block.
- FIG. 2A shows a block diagram of an image encoding apparatus according to various embodiments.
- the image encoding apparatus 150 may include a predictor 155 and an image encoding unit 160.
- the prediction unit 155 and the image encoding unit 160 may include at least one processor.
- the prediction unit 155 and the image encoding unit 160 may include a memory for storing instructions to be executed by at least one processor.
- the image encoding unit 160 may be implemented in hardware separate from the prediction unit 155 or may include a prediction unit 155.
- the prediction unit 155 may determine the at least one second block from the first block by dividing the first block based on at least one of the division type and the division direction for the first block included in the image.
- the predicting unit 155 performs encoding for the first block based on at least one of various division types and division directions for the first block, and performs encoding for the first block based on the coding rate and the distortion cost
- At least one of the division type and the division direction may be determined and the second block may be divided based on at least one of the division type and the division direction for the first block to determine at least one second block from the second block .
- the predicting unit 155 can determine one of the prediction mode of at least one second block and whether to divide at least one second block based on at least one of the size and the shape of the at least one second block.
- the second block may be a block that is not further divided.
- the second block may be further divided.
- the prediction unit 155 may determine the intra mode as the prediction mode of at least one second block when the size of the at least one second block is smaller than or equal to a predetermined size (or less than a predetermined size).
- the predetermined size may be MxN (M, N is an integer). M, N may be a multiple of four.
- the prediction unit 155 may determine the intra mode as the prediction mode of the second block when the size of the at least one second block is smaller than or equal to a predetermined size of 4x4 (or less than 4x4).
- the predicting unit 155 may determine the inter mode as the prediction mode of at least one second block when the size of the at least one second block is equal to or greater than a predetermined size (or exceeds a predetermined size).
- the predetermined size may be MxN (M, N is an integer). M, N may be a multiple of four.
- the prediction unit 155 may determine the inter mode as the prediction mode of the second block when the size of the at least one second block is smaller than or equal to the predetermined size 64x64.
- the prediction unit 155 may determine the intra mode as the prediction mode of at least one second block when the width of at least one second block is smaller than or equal to a predetermined value (or less than a predetermined value).
- the width of the second block may be a value obtained by multiplying the height and width of the second block.
- the prediction unit 155 can determine the intra mode as the prediction mode of at least one second block when the width of the second block is smaller than or equal to K (K is an integer) .
- K is an integer
- the prediction unit 155 can determine the intra mode as the prediction mode of the second block when the width of the second block is 16 or less (or less than 16).
- the size of the second block may be 4x4 or less.
- the size of the second block may be one of 8x2, 2x8, 1x16, 16x1, and the like.
- the prediction unit 155 may determine the inter mode as the prediction mode of at least one second block when the width of at least one second block is equal to or greater than a predetermined value (or exceeds a predetermined value). For example, if the width of the second block is equal to or greater than K (or K is greater than K), the inter mode can be determined as the prediction mode of the second block. For example, if the width of the second block is 4096 or more (or 4096 or more), the prediction unit 155 may determine the inter mode as the prediction mode of the second block. In this case, the size of the second block may be 64x64 or more. Or the size of the second block may be one of 128x32, 32x128, 16x256, 256x16 size, and the like.
- the prediction unit 155 can determine the intra mode as the prediction mode of the second block when the sum of the width and height of the current block is less than (or less than) a predetermined value. For example, if the sum of the height and the width of the second block is smaller than or equal to K (K is an integer), the intra mode can be determined as the prediction mode of the second block.
- the prediction unit 155 can determine the intra mode as the prediction mode of the second block when the sum of the width and height of the current block is less than (or less than) a predetermined value. For example, if the sum of the height and the width of the second block is smaller than or equal to K (K is an integer), the intra mode can be determined as the prediction mode of the second block. For example, if the sum of the width and height of the current block is 8 or less (or less), the prediction unit 155 may determine the intra mode as the prediction mode of the second block.
- the prediction unit 155 can determine the inter mode as the prediction mode of the second block when the sum of the width and height of the current block is equal to or greater than a predetermined value. For example, if the sum of the height and width of the second block is equal to (or greater than) K (K is an integer), the inter mode can be determined as the prediction mode of the second block. For example, the prediction unit 155 can determine the inter mode as the prediction mode of the second block when the sum of the width and height of the current block is 128 (or more).
- the prediction unit 155 may determine the intra mode as the prediction mode of the second block when at least one of height and width of the at least one second block is less than (or less than) a predetermined value. For example, if at least one of the height and width of the second block is equal to or less than a predetermined value K (K is an integer), the predicting unit 155 may determine the intra mode as the prediction mode of the second block have. At this time, K may be a multiple of four. For example, if the height and width of the second block are 4 or less, the prediction unit 155 may determine the intra mode as the prediction mode of the second block.
- the prediction unit 155 may determine the inter mode as the prediction mode of the second block when at least one of height and width of at least one second block is equal to or greater than a predetermined value. For example, if at least one of the height and the width of the second block is equal to or larger than a predetermined value K (K is an integer), the predicting unit 155 determines the inter mode as the prediction mode of the second block . At this time, K may be a multiple of four. For example, the prediction unit 155 may determine the inter mode as the prediction mode of the second block when the height and the width of the second block are 64 or more (or more), respectively.
- the prediction unit 155 may determine the intra mode or the inter mode as the prediction mode of the second block based on the shape of the at least one second block.
- the prediction unit 155 may determine whether at least one second block is non-square or square and at least one second block based on at least one of the ratio of height and width of the at least one second block.
- the prediction mode of the block can be determined. For example, if the at least one second block is non-square (i.e., is not a square), the prediction unit 155 may determine the prediction mode of at least one second block as a predetermined prediction mode .
- the predetermined prediction mode may determine either the intra mode or the inter mode.
- the image encoding apparatus 150 may not encode information on the prediction mode of the second block. That is, the image encoding apparatus 150 may not include the information on the prediction mode of the second block in the bitstream.
- the image encoding apparatus 150 may encode the second block based on the plurality of prediction modes and determine one prediction mode based on the rate and distortion cost when the at least one second block is square .
- the image encoding apparatus 150 may encode information on the prediction mode of the second block based on one prediction mode and may include information on the prediction mode of the encoded second block in the bitstream.
- the prediction unit 155 may not encode information on the prediction mode of the second block.
- the prediction mode of at least one second block can be determined to be a predetermined prediction mode.
- the predicting unit 155 predicts It can be determined as a prediction mode. For example, if the ratio of the height and width of at least one second block is greater than 0 and less than or equal to 0.5 (or less than 0.5), the predicting unit 155 may determine the predetermined prediction mode as the prediction mode of the second block . The prediction unit 155 may determine the predetermined prediction mode as the prediction mode of the second block when the ratio of the height and width of the at least one second block is 2 (or more).
- the image encoding apparatus 150 encodes the second block based on the plurality of prediction modes when the ratio of the height and width of the at least one second block is 0.5 or more (or more than 2) (or less than or equal to 2) , One prediction mode can be determined based on the rate and the distortion cost.
- the image encoding apparatus 150 may encode information on the prediction mode of the second block based on one prediction mode and may include information on the prediction mode of the encoded second block in the bitstream. It is to be appreciated that those skilled in the art will readily appreciate that the image encoding apparatus 150 can determine the prediction mode of at least one second block as a predetermined prediction mode without encoding the information on the prediction mode of the second block Can understand.
- the prediction unit 155 can determine the prediction mode of the second block by a combination of the various embodiments described above. For example, the prediction unit 155 can determine the intra mode as the prediction mode of the second block when the height and the width of the second block are equal to or larger than M and N (M and N are integers), respectively , And the height and the width of the second block are less than (or less than) A and B (where A and B are integers), the inter mode can be determined as the prediction mode of the second block. For example, if the height and width of the second block are greater than 64, the prediction unit 155 determines the inter mode as the prediction mode of the second block. If the height and width of the second block are 4 or less, The intra mode can be determined as the prediction mode of the second block.
- the predicting unit 155 divides at least one second block when the slice including at least one second block is an intra slice and the size of the at least one second block is equal to or larger than a predetermined size You can decide. At this time, the prediction unit 155 may determine at least one third block by dividing at least one second block based on at least one of the predetermined division type and the division direction. For example, the prediction unit 155 may determine at least one third block by quadrupling the second block. If the size of the third block is still larger than (or exceeds) the predetermined size, the prediction unit 155 may determine the fourth block by quad-dividing at least one third block again. That is, the predicting unit 155 may recursively divide a block based on at least one of a predetermined division type and a division direction until the current block size is less than (or less than) a predetermined size.
- the present invention is not limited to this, and the predetermined division type may be a binary division, and the predetermined division direction may be a horizontal direction and a vertical direction. In this case, It will be understood by those skilled in the art that the present invention can be divided.
- the predetermined division type is the quad division
- the present invention is not limited to this, and a predetermined division type or direction can be determined according to the type of the current block. For example, if the current block is a rectangle that is long in the horizontal direction, the prediction unit 155 may determine the division direction to be the vertical direction and determine the binary division or the tri-division as a predetermined division type. Alternatively, in the case where the current block is a rectangle long in the vertical direction, the predicting unit 155 may determine the dividing direction to be the horizontal direction, and determine the binary division or the trie division as a predetermined division type.
- the image encoding apparatus 150 is an intra slice including at least one second block and the size of the at least one second block is equal to or larger than a predetermined size
- the present invention is not limited to this.
- the present invention is not limited to this, and the image coding apparatus 150 may include at least one second If the slice including the block is an intra slice and the size of the at least one second block is equal to or larger than a predetermined size, the second block is divided according to various division mode modes, and based on the rate and distortion cost Those skilled in the art will readily understand that the split mode mode of the second block of one of the various split mode modes can be determined.
- the prediction unit 155 may obtain a prediction block of a block included in at least one second block based on a prediction mode and whether or not the at least one second block is divided.
- the predicting unit 155 determines a prediction mode of at least one second block based on at least one of the size and shape of the at least one second block and determines a prediction for at least one second block based on the prediction mode To obtain a prediction block of the second block.
- the predicting unit 155 determines to divide at least one second block based on at least one of size and shape of at least one second block, the predicting unit 155 divides the second block to determine at least one third block, The prediction block may be predicted based on the prediction mode for at least one third block to obtain the prediction block of at least one third block.
- the image encoding unit 160 may encode a block included in at least one second block based on at least a prediction block of the block included in the second block.
- the image encoding unit 160 may encode the block included in the second block based on the sample value of the original block of the block included in the at least one second block and the sample value of the prediction block of the block included in the at least one second block, And information on the sample value of the residual block can be encoded.
- the image encoding unit 160 encodes information on a prediction mode of the block, and outputs information about the prediction mode of the block to the bitstream to output a bitstream have.
- the image encoding unit 160 may obtain information on the prediction mode of the block It may not be encoded.
- the image encoding unit 160 may encode information on the division mode of the block and output the bit stream by including information on the division mode of the encoded block in the bit stream.
- the image encoding unit 160 determines that the slice including the second block is an intra slice and determines to divide the second block based on at least one of the size and the shape of the block and selects at least one of the predetermined division type and the predetermined division direction Information on the divisional mode of the second block is encoded and the information on the divisional mode of the second block is recorded on the bitstream And outputs the bit stream. At this time, the information on the split mode mode of the second block may indicate that the second block is not divided.
- the image decoding apparatus 100 may determine at least one second block by obtaining information on the split mode mode of the second block from the bitstream.
- the second block may be a block that is no longer partitioned based on information about the partition mode type obtained from the bitstream.
- the video decoding apparatus 100 determines to divide the second block based on at least one of the size and the shape of the block, divides the second block based on at least one of the predetermined division type and the predetermined division direction At least one third block may be determined.
- the image decoding apparatus 100 may perform prediction on at least one third block according to the prediction mode. Therefore, when the current slice is an intra slice, the image coding apparatus 150 can reduce the amount of information regarding the split mode mode for explicitly signaling through the bit stream, As in the video encoding apparatus 150, based on the information on the divisional mode received via the stream, the block can be divided and the prediction can be performed based on the divided blocks.
- FIG. 2B shows a flowchart of the image encoding method according to various embodiments.
- the image encoding device 150 may determine the at least one second block from the first block by dividing the first block based on at least one of the division type and the division direction for the first block included in the image have.
- step S160 the image encoding apparatus 150 determines one of the prediction mode of at least one second block and whether to divide at least one second block based on at least one of the size and shape of the at least one second block .
- step S165 the image encoding apparatus 150 obtains a prediction block of a block included in at least one second block based on one of a prediction mode of at least one second block and whether or not the at least one second block is divided can do.
- the image encoding apparatus 150 may encode the block included in the second block based on the prediction block of the block included in the at least one second block.
- the image encoding apparatus 150 may include information of a block included in the encoded second block in a bitstream and output a bitstream.
- FIG. 2C shows a block diagram of an image encoding unit according to various embodiments.
- the image encoding unit 7000 performs operations for encoding image data in the prediction unit 155 and the image encoding unit 160 of the image encoding device 150.
- the intra predictor 7200 performs intraprediction on a block-by-block basis among the current image 7050
- the inter-prediction unit 7150 performs intra prediction on the current image 7050 and the reference image obtained from the reconstructed picture buffer 7100 To perform inter prediction.
- the transform unit 7250 generates residue data by subtracting the prediction data for each block output from the intra prediction unit 7200 or the inter prediction unit 7150 from the data for the block to be encoded of the current image 7050,
- quantization unit 7300 may perform conversion and quantization on the residue data and output the quantized transform coefficients on a block-by-block basis.
- the inverse quantization unit 7450 and the inverse transformation unit 7500 can perform inverse quantization and inverse transformation on the quantized transform coefficients to restore the residue data in the spatial domain. Residue data of the reconstructed spatial region is reconstructed into spatial domain data for a block of the current image 7050 by adding predictive data for each block output from the intra predictor 7200 or the inter predictor 7150 .
- the deblocking unit 7550 and the SAO performing unit perform in-loop filtering on the data of the reconstructed spatial region to generate a filtered reconstructed image.
- the generated restored image is stored in the restored picture buffer 7100.
- the reconstructed images stored in the reconstructed picture buffer 7100 can be used as reference images for inter prediction of other images.
- the entropy encoding unit 7350 entropy-codes the quantized transform coefficients, and the entropy-encoded coefficients can be output as a bitstream 7400.
- the intra prediction 7200 and the inter prediction unit 7150 of FIG. 2C may be included in the prediction unit 155 of FIG. 2A.
- the stepwise operations of the image encoding unit 7000 according to various embodiments may be performed for each block.
- FIGS. 3A to 3F are diagrams for explaining an example in which the image decoding apparatus 100 divides a block based on a split mode mode and determines a prediction mode of the block based on the size of the block without obtaining information about the prediction mode from the bitstream And FIG.
- the image decoding apparatus 100 may determine a split mode mode of the first block 200 based on information on a split mode of the first block 200. [0033] FIG. At this time, the size of the first block may be 8x8. The image decoding apparatus 100 may obtain information on the mode of the division mode of the first block 200 from the bitstream.
- the information on the partition mode of the first block 200 may indicate that the first block is divided, and the information on the partition type of the first block among the information on the partition mode may be the partition type of the first block Quot; < / RTI >
- the information on the division direction of the first block among the information on the split mode mode does not exist, or can indicate that it is the horizontal direction and the vertical direction.
- the image decoding apparatus 100 may divide the first block 200 into four second blocks 205 based on the division mode mode of the first block 200. [ At this time, the size of the second blocks 205 may be 4x4. The image decoding apparatus 100 does not acquire information on the prediction mode of the second blocks 205 from the bitstream and when the size of the second blocks 205 is 4x4, 205).
- the image decoding apparatus 100 may determine a split mode mode of the first block 210 based on information on the split mode of the first block 210.
- the size of the first block may be 4x16.
- the image decoding apparatus 100 may obtain information on the mode of the division mode of the first block 210 from the bitstream.
- the information on the partition mode of the first block 210 may indicate that the first block is divided, and the information on the partition type of the first block among the information on the partition mode may be the partition type of the first block Quot; < / RTI >
- the information on the division direction of the first block among the pieces of information related to the division type mode may indicate the horizontal direction.
- the image decoding apparatus 100 may divide the first block 210 into four second blocks 215 based on the division mode mode of the first block 210. [ At this time, the size of the second blocks 215 may be 4x4. The image decoding apparatus 100 does not acquire information on the prediction mode of the second blocks 215 from the bitstream and if the size of the second blocks 215 is 4x4, 215). ≪ / RTI >
- the image decoding apparatus 100 may determine a split mode mode of the first block 220 based on the split mode mode of the first block 220.
- the size of the first block may be 16x4.
- the image decoding apparatus 100 may obtain information on the mode of the division mode of the first block 220 from the bitstream.
- the information on the partition mode of the first block 220 may indicate that the first block is divided, and the information on the partition type of the first block among the information on the partition mode may be the partition type of the first block Quot; < / RTI >
- the information on the division direction of the first block among the pieces of information related to the division type mode may indicate the horizontal direction.
- the image decoding apparatus 100 may divide the first block 220 into four second blocks 225 based on the split mode mode of the first block 220. [ At this time, the size of the second blocks 325 may be 4x4. The image decoding apparatus 100 does not acquire information on the prediction mode of the second blocks 225 from the bitstream and if the size of the second blocks 225 is 4x4, 225). ≪ / RTI >
- the image decoding apparatus 100 may determine a split mode mode of the first block 230 based on the split mode mode of the first block 230.
- the size of the first block may be 4x8.
- the image decoding apparatus 100 may obtain information on the mode of the division mode of the first block 230 from the bitstream.
- the information on the partition mode of the first block 230 may indicate that the first block is partitioned
- the information on the partition type of the first block among the information on the partition mode is the partition type of the first block It can indicate that it is a binary partition.
- the information on the division direction among the information on the division mode can indicate the horizontal direction.
- the image decoding apparatus 100 may divide the first block 230 into two second blocks 235 based on the division mode mode of the first block 230. [ At this time, the size of the second blocks 235 may be 4x4. The image decoding apparatus 100 does not acquire information on the prediction mode of the second blocks 235 from the bitstream and when the size of the second blocks 235 is 4x4, 235). ≪ / RTI >
- the image decoding apparatus 100 may determine a split mode mode of the first block 240 based on the split mode mode of the first block 240.
- the size of the first block may be 8x4.
- the image decoding apparatus 100 may obtain information on the mode of the division mode of the first block 240 from the bitstream.
- the information on the partition mode of the first block 240 may indicate that the first block is divided, and the information on the partition type of the first block among the information on the partition mode is the partition type of the first block It can indicate that it is a binary partition.
- the information on the division direction among the pieces of information related to the division mode can indicate the vertical direction.
- the image decoding apparatus 100 may divide the first block 240 into two second blocks 245 based on the division mode mode of the first block 240. [ At this time, the size of the second blocks 235 may be 4x4. The image decoding apparatus 100 does not acquire information on the prediction mode of the second blocks 245 from the bitstream and if the size of the second blocks 245 is 4x4, 245). ≪ / RTI >
- the video decoding apparatus 100 may determine a split mode mode of the first block 250 based on the split mode information of the first block 250.
- the size of the first block may be 16x4.
- the image decoding apparatus 100 may obtain information on the mode of the division mode of the first block 250 from the bitstream.
- the information on the partition mode of the first block 250 may indicate that the first block is divided, and the information on the partition type of the first block among the information on the partition mode may be the partition type of the first block Triplet. ≪ / RTI >
- the information on the division direction among the pieces of information related to the division mode can indicate the vertical direction.
- the image decoding apparatus 100 may divide the first block 250 into two second blocks 255 and one third block 260 based on the division mode mode of the first block 250 .
- the size of the second blocks 255 may be 4x4, and the size of the third block 260 may be 8x4.
- the image decoding apparatus 100 does not acquire information on the prediction mode of the second blocks 255 from the bitstream and if the size of the second blocks 255 is 4x4, 255). ≪ / RTI >
- the image decoding apparatus 100 acquires information on the prediction mode of the third block 260 from the bitstream based on that the size of the third block 260 is larger than 4x4,
- the intra mode or the inter mode can be determined as the prediction mode of the third block.
- the video decoding apparatus 100 determines the prediction mode of the block based on the size of the block, thereby reducing the prediction mode information amount explicitly signaled through the bit stream while maintaining the decoding performance, The complexity can be reduced.
- the present invention is not limited to this, Those skilled in the art will readily understand that the prediction mode of the block can be determined based on the prediction mode of the block.
- FIG. 4 illustrates a pseudo code for the video decoding apparatus 100 to determine a prediction mode of a current block based on the size of a current block, according to an embodiment.
- a syntax element skip_flag indicating whether or not the current block is decoded according to the skip mode from the bitstream can be obtained. If the syntax element information skip_flag is 0, the video decoding apparatus 100 may not decode the current block according to the skip mode.
- the image decoding apparatus 100 uses the information of the neighboring blocks to obtain motion information of the current block (for example, motion information of temporal / Index) is used to perform inter-prediction on the current block to obtain a prediction block of the current block, as well as to obtain information on the residual of the current block from the bit stream to perform decoding on the current block have.
- the image decoding apparatus 100 not only acquires the prediction block of the current block by performing intra prediction, but also acquires information on the residual of the current block from the decoded bit stream, Lt; / RTI >
- the video decoding apparatus 100 can decode the current block according to the skip mode.
- the image decoding apparatus 100 derives motion information of a current block by using information of neighboring blocks (for example, using a merge index indicating motion information of neighboring blocks) To acquire the prediction block of the current block and separately decode the current block without acquiring information on the residual of the current block from the bitstream.
- the video decoding apparatus 100 determines whether or not the current block is decoded from the bit stream according to the skip mode when the current block size is 4x4 or the current slice type is intra slice,
- the value of skip_flag can be determined as NO_SKIP (i.e., 0) without acquiring the element skip_flag.
- Syntax element information (pred_mode_flag) indicating the prediction mode of the current block from the stream can be obtained. If the value of the syntax element information pred_mode_flag is 0, the prediction mode of the current block can indicate the inter mode. If the value of the syntax element information pred_mode_flag is 1, it indicates that the prediction mode of the current block is the intra mode.
- the video decoding apparatus 100 determines the intra mode (MODE_INTRA) as the prediction mode (pred_mode_flag) of the current block if the current block size is 4x4 or the current slice type is intra slice . At this time, the size of a block available in the image decoding apparatus 100 may be greater than or equal to 4x4. MODE_INTRA can represent 1.
- the image decoding apparatus 100 determines that the block mode is a skip mode and the intra mode is determined to be a prediction mode of the block, if the block size is 4x4, But it is easily understood by those skilled in the art that it is possible to determine whether the mode of a block is a skip mode and determine an intra mode as a prediction mode of the block based on the sizes of various blocks.
- the conventional image decoding apparatus obtains information on the prediction mode of the current block from the bit stream regardless of the size of the current block and determines the prediction mode of the current block based on the information on the prediction mode of the current block,
- the video decoding apparatus 100 determines the prediction mode of the current block based on the size of the current block without adaptively acquiring information on the prediction mode of the current block from the bitstream as the case may be, Thereby reducing the prediction mode information amount explicitly signaled through the bit stream while maintaining the decoding performance, and the complexity of the video decoding apparatus 100 can be reduced.
- the video decoding apparatus 100 does not perform intra prediction on the current block , A current block is additionally divided based on at least one of a predetermined division direction and a division type, intra-prediction is performed on the divided blocks to reduce the division mode type information amount explicitly signaled through the bit stream, The complexity of the device 100 can be reduced.
- the image encoding apparatus 150 reduces the prediction mode information amount or the split mode information amount explicitly signaled through the bit stream and the complexity of the image encoding apparatus 150 can be reduced.
- the image encoding apparatus inter-predicts the block according to the inter mode, it becomes larger than when the blocks having a large external memory bandwidth are inter-predicted.
- inter prediction a fractional pixel value is used, a K-tap size interpolation filer is applied to an integer pixel to obtain a value of a fractional pixel, (M + K-1) x (N + K-1) larger than the size of the reference block if the size of the reference block of the region to which the filter is applied is MxN Since the pixel values of the blocks having the large external memory bandwidth must be fetched from the memory, if the blocks are inter-predicted with respect to the blocks having a small size, the blocks with large external memory bandwidth become larger than those of the blocks with the inter-prediction.
- the prediction mode of the block is forced into the intra mode, not the inter mode, so that the external memory bandwidth requirement can be obtained.
- the intra-prediction is performed by the image encoding / decoding apparatus on the block, and the residual value when performing the transform / inverse transform process on the generated residual is generated by inter-
- the computational complexity of the transform / inverse transform operation is significantly increased as the magnitude of the transform / inverse transform matrix increases. Therefore, for a relatively large block, the prediction mode of the block is forced into the inter-mode instead of the intra-prediction mode, thereby achieving a gain in terms of computational complexity.
- An image can be divided into a maximum number of coding units.
- the size of the maximum encoding unit may be determined based on information obtained from the bitstream.
- the shape of the largest encoding unit may have a square of the same size.
- the present invention is not limited thereto.
- the maximum encoding unit may be hierarchically divided into units of encoding based on information on the divisional format mode obtained from the bitstream.
- the information on the split mode mode may include at least one of information indicating whether to split, split direction information, and split type information.
- the information indicating whether to divide or not indicates whether or not to divide an encoding unit.
- the division direction information indicates division into one of a horizontal direction and a vertical direction.
- the division type information indicates that the encoding unit is divided into one of a binary split, a triple split, or a quad split.
- the image decoding apparatus 100 may obtain information on the split mode mode from the bit stream as one bin string.
- the video decoding apparatus 100 can determine whether to divide a coding unit, a dividing direction, and a dividing type based on one bin string.
- the encoding unit may be less than or equal to the maximum encoding unit. For example, if the information for the split mode mode indicates that the information is not divided, the coding unit has the same size as the maximum coding unit. When the information on the split mode mode indicates that the information is divided, the maximum encoding unit may be divided into low-depth encoding units. In addition, if the information on the division type mode for the lower-depth encoding unit indicates division, the lower-depth encoding unit can be divided into smaller-size encoding units. However, the division of the image is not limited to this, and the maximum encoding unit and the encoding unit may not be distinguished. The division of the encoding unit will be described in more detail with reference to FIG. 5 to FIG.
- the encoding unit can be divided into prediction units for prediction of an image.
- the prediction unit may be equal to or smaller than the encoding unit.
- the encoding unit can also be divided into conversion units for image conversion.
- the conversion unit may be equal to or smaller than the encoding unit.
- the shape and size of the conversion unit and the prediction unit may not be related to each other.
- the encoding unit may be distinguished from the prediction unit and the conversion unit, but the encoding unit, the prediction unit, and the conversion unit may be the same.
- the division of the prediction unit and the conversion unit can be performed in the same manner as the division of the coding unit. The division of the encoding unit will be described in more detail with reference to FIG. 5 to FIG.
- the current block and the neighboring blocks of the present disclosure may represent one of a maximum encoding unit, an encoding unit, a prediction unit, and a conversion unit.
- the current block or the current encoding unit is a block in which decoding or encoding is currently proceeding, or a block in which the current segmentation is proceeding.
- the neighboring block may be a block restored before the current block.
- the neighboring blocks may be spatially or temporally contiguous from the current block.
- the neighboring block may be located at one of the left lower side, the left side, the upper left side, the upper side, the upper right side, the right side, and the lower right side of the current block.
- FIG. 5 illustrates a process in which the image decoding apparatus 100 determines at least one encoding unit by dividing a current encoding unit according to an embodiment.
- the block shape may include 4Nx4N, 4Nx2N, 2Nx4N, 4NxN, or Nx4N. Where N may be a positive integer.
- the block type information is information indicating at least one of a ratio, or a size, of a shape, direction, width, and height of an encoding unit.
- the shape of the encoding unit may include a square and a non-square. If the width and height of the encoding unit are the same (i.e., the block type of the encoding unit is 4Nx4N), the image decoding apparatus 100 can determine the block type information of the encoding unit as a square. The image decoding apparatus 100 can determine the shape of the encoding unit as a non-square.
- the image decoding apparatus 100 determines the block type information of the encoding unit as a non- .
- the shape of the coding unit is a non-square shape
- the image decoding apparatus 100 sets the width and height ratio of the block type information of the coding unit to 1: 2, 2: 1, 1: 4, 4: Or 8: 1.
- the video decoding apparatus 100 can determine whether the coding unit is the horizontal direction or the vertical direction. Further, the image decoding apparatus 100 can determine the size of the encoding unit based on at least one of the width of the encoding unit, the length of the height, and the width.
- the image decoding apparatus 100 may determine the type of the encoding unit using the block type information and determine the type of the encoding unit to be divided using information on the division type mode. That is, according to which block type the block type information used by the video decoding apparatus 100 indicates, the division method of the encoding unit indicated by the information on the split mode mode can be determined.
- the image decoding apparatus 100 may obtain information on the split mode mode from the bit stream. However, the present invention is not limited thereto, and the image decoding apparatus 100 and the image encoding apparatus 150 may acquire information on the promised split mode mode based on the block type information.
- the image decoding apparatus 100 may acquire information on the promised divided mode mode for the maximum encoding unit or the minimum encoding unit. For example, the video decoding apparatus 100 may determine quad split information on the division type mode with respect to the maximum encoding unit. Also, the image decoding apparatus 100 can determine that the information on the divisional mode is " not divided " for the minimum encoding unit. Specifically, the image decoding apparatus 100 can determine the size of the maximum encoding unit to be 256x256.
- the video decoding apparatus 100 may determine information on the promised division mode by quad division.
- Quad partitioning is a split mode mode that bisects both the width and the height of the encoding unit.
- the image decoding apparatus 100 can obtain a 128x128 encoding unit from the 256x256 maximum encoding unit based on the information on the split mode mode. Also, the image decoding apparatus 100 can determine the size of the minimum encoding unit to be 4x4.
- the image decoding apparatus 100 can acquire information on the split mode mode indicating " not split " for the minimum encoding unit.
- the image decoding apparatus 100 may use block type information indicating that the current encoding unit is a square type. For example, the image decoding apparatus 100 can determine whether to divide a square encoding unit according to information on the division mode, vertically or horizontally, or four encoding units. 5, if the block type information of the current encoding unit 300 indicates a square shape, the decoding unit 120 decodes the current encoding unit 300 and the current encoding unit 300 according to information on the split mode mode, It is possible not to divide the coding unit 310a having the same size or to determine the divided coding units 310b, 310c and 310d based on the information on the division mode mode indicating the predetermined division method.
- the image decoding apparatus 100 includes two encoding units 310b, 320b, 320c, 320c, 320c, 320c, 320c, 320c, Can be determined.
- the image decoding apparatus 100 may determine two encoding units 310c in which the current encoding unit 300 is divided in the horizontal direction based on the information on the split mode mode indicating that the image is divided in the horizontal direction.
- the image decoding apparatus 100 can determine four encoding units 310d in which the current encoding unit 300 is divided into the vertical direction and the horizontal direction based on the information on the split mode mode indicating that the image is divided into the vertical direction and the horizontal direction have.
- the division type in which the square encoding unit can be divided should not be limited to the above-mentioned form, but may include various forms in which the information on the division type mode can be represented.
- the predetermined divisional form in which the square encoding unit is divided will be described in detail by way of various embodiments below.
- FIG. 6 illustrates a process in which the image decoding apparatus 100 determines at least one encoding unit by dividing a non-square encoding unit according to an embodiment.
- the image decoding apparatus 100 may use block type information indicating that the current encoding unit is a non-square format.
- the video decoding apparatus 100 may determine whether to divide the non-square current encoding unit according to the information on the split mode mode or not in a predetermined method.
- the image decoding apparatus 100 performs a current encoding process according to the information on the split mode mode,
- the encoding unit 410 or 460 having the same size as the unit 400 or 450 is determined or the encoding unit 420a, 420b, 430a, or 430b divided based on the information on the division mode mode indicating the predetermined division method , 430c, 470a, 470b, 480a, 480b, 480c.
- the predetermined division method in which the non-square coding unit is divided will be described in detail through various embodiments.
- the image decoding apparatus 100 may determine a type in which a coding unit is divided using information on a division type mode.
- information on the division type mode may include at least one Lt; / RTI > can be represented by the number of encoding units.
- the image decoding apparatus when the information on the split mode mode indicates that the current encoding unit (400 or 450) is divided into two encoding units, the image decoding apparatus (100)
- the unit 400 or 450 may be divided to determine two encoding units 420a, 420b, or 470a and 470b included in the current encoding unit.
- the image decoding apparatus 100 may divide the non- The current encoding unit can be divided in consideration of the position of the long side of the current encoding unit (400 or 450). For example, the image decoding apparatus 100 divides the current encoding unit 400 or 450 in the direction of dividing the long side of the current encoding unit 400 or 450 in consideration of the shape of the current encoding unit 400 or 450 So that a plurality of encoding units can be determined.
- the video decoding apparatus 100 when the information on the split mode mode indicates that an encoding unit is divided into an odd number of blocks (tri-split), the video decoding apparatus 100 includes the current encoding unit 400 or 450 An odd number of encoding units can be determined. For example, when the information on the split mode mode indicates that the current encoding unit 400 or 450 is divided into three encoding units, the video decoding apparatus 100 encodes the current encoding unit 400 or 450 into three encodings Can be divided into units 430a, 430b, 430c, 480a, 480b, and 480c.
- the ratio of the width and height of the current encoding unit 400 or 450 may be 4: 1 or 1: 4. If the ratio of width to height is 4: 1, the length of the width is longer than the length of the height, so the block type information may be horizontal. If the ratio of width to height is 1: 4, the block type information may be vertical because the length of the width is shorter than the length of the height.
- the image decoding apparatus 100 may determine to divide the current encoding unit into odd number blocks based on the information on the split mode mode. The image decoding apparatus 100 can determine the division direction of the current encoding unit 400 or 450 based on the block type information of the current encoding unit 400 or 450.
- the image decoding apparatus 100 can determine the encoding units 430a, 430b, and 430c by dividing the current encoding unit 400 in the horizontal direction. Also, when the current encoding unit 450 is in the horizontal direction, the image decoding apparatus 100 can determine the encoding units 480a, 480b, and 480c by dividing the current encoding unit 450 in the vertical direction.
- the image decoding apparatus 100 may determine an odd number of encoding units included in the current encoding unit 400 or 450, and the sizes of the determined encoding units may not be the same. For example, the size of a predetermined encoding unit 430b or 480b among the determined odd number of encoding units 430a, 430b, 430c, 480a, 480b, and 480c is different from the size of the other encoding units 430a, 430c, 480a, and 480c .
- an encoding unit that can be determined by dividing the current encoding unit (400 or 450) may have a plurality of types of sizes, and an odd number of encoding units (430a, 430b, 430c, 480a, 480b, 480c) May have different sizes.
- the image decoding apparatus 100 can determine an odd number of encoding units included in the current encoding unit 400 or 450 Further, the image decoding apparatus 100 may limit the encoding unit of at least one of odd number of encoding units generated by division.
- the image decoding apparatus 100 includes an encoding unit 430a, 430b, 430c, 480a, 480b, and 480c, which are generated by dividing a current encoding unit 400 or 450, The decoding process for the coding units 430b and 480b may be different from the coding units 430a, 430c, 480a, and 480c.
- the coding units 430b and 480b positioned at the center are restricted so as not to be further divided unlike the other coding units 430a, 430c, 480a, and 480c, It can be limited to be divided.
- FIG. 7 illustrates a process in which the image decoding apparatus 100 divides an encoding unit based on at least one of information on a block type information and a format mode according to an embodiment.
- the image decoding apparatus 100 determines whether to divide or not divide the square-shaped first coding unit 500 into coding units based on at least one of information on the block type information and the information on the division mode mode .
- the image decoding apparatus 100 divides the first encoding unit 500 in the horizontal direction, 2 encoding unit 510, as shown in FIG.
- the first encoding unit, the second encoding unit, and the third encoding unit used according to an embodiment are terms used to understand the relation before and after the division between encoding units.
- the second encoding unit can be determined, and if the second encoding unit is divided, the third encoding unit can be determined.
- the relationship between the first coding unit, the second coding unit and the third coding unit used can be understood to be in accordance with the above-mentioned characteristic.
- the image decoding apparatus 100 may determine that the determined second encoding unit 510 is not divided or divided into encoding units based on at least one of the block type information and the information on the split mode mode .
- the image decoding apparatus 100 includes a second encoding unit (not shown) of a non-square shape determined by dividing a first encoding unit 500 based on at least one of information on block type information and information on a split mode 510) may be divided into at least one third encoding unit 520a, 520b, 520c, 520d, or the second encoding unit 510 may not be divided.
- the image decoding apparatus 100 may acquire at least one of the block type information and the information on the split mode mode and the image decoding apparatus 100 may acquire at least one of the block type information and the split mode mode
- the second encoding unit 510 may divide the first encoding unit 500 into a plurality of second encoding units of various types (for example, 510), and the second encoding unit 510 may divide the block type information and the information
- the first encoding unit 500 may be divided according to a manner in which the first encoding unit 500 is divided.
- the first encoding unit 500 is divided into the second encoding units 510 based on at least one of the block type information for the first encoding unit 500 and the information about the split mode mode 520b, 520c, and 520d (e.g., 520a, 520b, 520c, and 520d) based on at least one of the block type information on the second encoding unit 510 and the information on the split mode mode, Etc.). That is, the encoding unit may be recursively divided based on at least one of the information on the split mode mode and the block type information associated with each of the encoding units. Therefore, a square encoding unit may be determined in a non-square encoding unit, and a non-square encoding unit may be determined by dividing the square encoding unit recursively.
- predetermined encoding units for example, An encoding unit or a square-shaped encoding unit
- the square-shaped third coding unit 520b which is one of the odd-numbered third coding units 520b, 520c, and 520d, may be divided in the horizontal direction and divided into a plurality of fourth coding units.
- the non-square fourth encoding unit 530b or 530d which is one of the plurality of fourth encoding units 530a, 530b, 530c, and 530d, may be further divided into a plurality of encoding units.
- the fourth encoding unit 530b or 530d in the non-square form may be divided again into odd number of encoding units.
- a method which can be used for recursive division of an encoding unit will be described later in various embodiments.
- the image decoding apparatus 100 divides each of the third encoding units 520a, 520b, 520c, and 520d into units of encoding based on at least one of information on the block type information and the information on the split mode mode . Also, the image decoding apparatus 100 may determine that the second encoding unit 510 is not divided based on at least one of the block type information and the information on the split mode mode. The image decoding apparatus 100 may divide the non-square second encoding unit 510 into odd third encoding units 520b, 520c and 520d according to an embodiment.
- the image decoding apparatus 100 may set a predetermined restriction on a predetermined third encoding unit among odd numbered third encoding units 520b, 520c, and 520d. For example, the image decoding apparatus 100 may limit the number of encoding units 520c located in the middle among odd numbered third encoding units 520b, 520c, and 520d to no longer be divided, or be divided into a set number of times .
- the image decoding apparatus 100 includes an odd number of third encoding units 520b, 520c and 520d included in a non-square second encoding unit 510, 520c may not be further divided or may be limited to being divided into a predetermined division form (for example, divided into four coding units only or divided into a form corresponding to a form in which the second coding units 510 are divided) (For example, dividing only n times, n > 0).
- the above restriction on the coding unit 520c positioned at the center is merely an example and should not be construed to be limited to the above embodiments and the coding unit 520c positioned at the center is not limited to the coding units 520b and 520d Quot;), < / RTI > which can be decoded differently.
- the image decoding apparatus 100 may acquire at least one of the block type information and the division type mode information used for dividing the current encoding unit at a predetermined position in the current encoding unit.
- FIG. 8 illustrates a method for an image decoding apparatus 100 to determine a predetermined encoding unit among odd number of encoding units according to an embodiment.
- At least one of the block type information of the current encoding units 600 and 650 and the information of the split mode mode is a sample of a predetermined position among a plurality of samples included in the current encoding units 600 and 650 For example, samples 640 and 690 positioned in the middle).
- the predetermined position in the current encoding unit 600 in which at least one of the block type information and the information on the split mode mode can be obtained should not be limited to the middle position shown in FIG. 6, It should be understood that various positions (e.g., top, bottom, left, right, top left, bottom left, top right, or bottom right, etc.) that may be included in unit 600 may be included.
- the image decoding apparatus 100 may determine that the current encoding unit is divided or not divided into the encoding units of various types and sizes by acquiring at least one of the block type information obtained from the predetermined position and the information on the division mode mode .
- the image decoding apparatus 100 may select one of the encoding units.
- the method for selecting one of the plurality of encoding units may be various, and description of these methods will be described later in various embodiments.
- the image decoding apparatus 100 may divide the current encoding unit into a plurality of encoding units and determine a predetermined encoding unit.
- the image decoding apparatus 100 may use information indicating the positions of odd-numbered encoding units in order to determine an encoding unit located in the middle among odd-numbered encoding units. 8, the image decoding apparatus 100 divides the current encoding unit 600 or the current encoding unit 650 into odd number of encoding units 620a, 620b, and 620c or odd number of encoding units 660a, 660b, and 660c. The image decoding apparatus 100 may use the information on the positions of the odd-numbered encoding units 620a, 620b, and 620c or the odd-numbered encoding units 660a, 660b, and 660c, (660b).
- the image decoding apparatus 100 determines the positions of the encoding units 620a, 620b, and 620c based on information indicating the positions of predetermined samples included in the encoding units 620a, 620b, and 620c,
- the encoding unit 620b located in the encoding unit 620b can be determined.
- the video decoding apparatus 100 encodes the encoding units 620a, 620b, and 620c based on information indicating the positions of the upper left samples 630a, 630b, and 630c of the encoding units 620a, 620b, and 620c,
- the encoding unit 620b located in the center can be determined.
- Information indicating the positions of the upper left samples 630a, 630b, and 630c included in the coding units 620a, 620b, and 620c according to one embodiment is stored in the pictures of the coding units 620a, 620b, and 620c Or information about the position or coordinates of the object.
- Information indicating the positions of the upper left samples 630a, 630b, and 630c included in the coding units 620a, 620b, and 620c according to one embodiment is stored in the coding units 620a , 620b, and 620c, and the width or height may correspond to information indicating the difference between the coordinates of the encoding units 620a, 620b, and 620c in the picture.
- the image decoding apparatus 100 directly uses the information on the position or the coordinates in the picture of the coding units 620a, 620b, and 620c or the information on the width or height of the coding unit corresponding to the difference value between the coordinates
- the encoding unit 620b located in the center can be determined.
- the information indicating the position of the upper left sample 630a of the upper coding unit 620a may indicate the coordinates (xa, ya) and the upper left sample 530b of the middle coding unit 620b May indicate the coordinates (xb, yb), and the information indicating the position of the upper left sample 630c of the lower coding unit 620c may indicate the coordinates (xc, yc).
- the video decoding apparatus 100 can determine the center encoding unit 620b using the coordinates of the upper left samples 630a, 630b, and 630c included in the encoding units 620a, 620b, and 620c.
- the coding unit 620b including (xb, yb) coordinates of the sample 630b located at the center, Can be determined as a coding unit located in the middle of the coding units 620a, 620b, and 620c determined by dividing the current coding unit 600.
- the coordinates indicating the positions of the samples 630a, 630b and 630c in the upper left corner may indicate the coordinates indicating the absolute position in the picture
- the position of the upper left sample 630a of the upper coding unit 620a may be (Dxb, dyb), which is information indicating the relative position of the sample 630b at the upper left of the middle encoding unit 620b, and the relative position of the sample 630c at the upper left of the lower encoding unit 620c
- Information dyn (dxc, dyc) coordinates may also be used.
- the method of determining the coding unit at 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 limited to the above-described method, and various arithmetic Should be interpreted as a method.
- the image decoding apparatus 100 may divide the current encoding unit 600 into a plurality of encoding units 620a, 620b, and 620c and may encode a predetermined one of the encoding units 620a, 620b, and 620c
- the encoding unit can be selected according to the criterion. For example, the image decoding apparatus 100 can select an encoding unit 620b having a different size from among the encoding units 620a, 620b, and 620c.
- the image decoding apparatus 100 may include (xa, ya) coordinates, which is information indicating the position of the upper left sample 630a of the upper encoding unit 620a, a sample of the upper left sample of the middle encoding unit 620b (Xc, yc) coordinates, which is information indicating the position of the lower-stage coding unit 630b and the position of the upper-left sample 630c of the lower-stage coding unit 620c, , 620b, and 620c, respectively.
- the image decoding apparatus 100 encodes the encoding units 620a and 620b using the coordinates (xa, ya), (xb, yb), (xc, yc) indicating the positions of the encoding units 620a, 620b and 620c , And 620c, respectively.
- the image decoding apparatus 100 may determine the width of the upper encoding unit 620a as the width of the current encoding unit 600.
- the image decoding apparatus 100 can determine the height of the upper encoding unit 620a as yb-ya.
- the image decoding apparatus 100 may determine the width of the middle encoding unit 620b as the width of the current encoding unit 600 according to an embodiment.
- the image decoding apparatus 100 can determine the height of the middle encoding unit 620b as yc-yb.
- the image decoding apparatus 100 may determine the width or height of the lower coding unit by using the width or height of the current coding unit and the width and height of the upper coding unit 620a and the middle coding unit 620b .
- the image decoding apparatus 100 may determine an encoding unit having a different size from other encoding units based on the widths and heights of the determined encoding units 620a, 620b, and 620c. Referring to FIG.
- the image decoding apparatus 100 may determine a coding unit 620b as a coding unit at a predetermined position while having a size different from that of the upper coding unit 620a and the lower coding unit 620c.
- the process of determining the encoding unit having a size different from that of the other encoding units by the video decoding apparatus 100 may be the same as that of the first embodiment in which the encoding unit of a predetermined position is determined using the size of the encoding unit determined based on the sample coordinates .
- Various processes may be used for determining the encoding unit at a predetermined position by comparing the sizes of the encoding units determined according to predetermined sample coordinates.
- the video decoding apparatus 100 determines the position (xd, yd) which is the information indicating the position of the upper left sample 670a of the left encoding unit 660a and the position (xd, yd) of the sample 670b at the upper left of the middle encoding unit 660b 660b and 660c using the (xf, yf) coordinates, which is information indicating the (xe, ye) coordinate which is the information indicating the position of the right encoding unit 660c and the position of the sample 670c at the upper left of the right encoding unit 660c, Each width or height can be determined.
- the image decoding apparatus 100 encodes the encoded units 660a and 660b using the coordinates (xd, yd), (xe, ye), (xf, yf) indicating the positions of the encoding units 660a, 660b and 660c And 660c, respectively.
- the image decoding apparatus 100 may determine the width of the left encoding unit 660a as xe-xd. The image decoding apparatus 100 can determine the height of the left encoding unit 660a as the height of the current encoding unit 650. [ According to an embodiment, the image decoding apparatus 100 may determine the width of the middle encoding unit 660b as xf-xe. The image decoding apparatus 100 can determine the height of the middle encoding unit 660b as the height of the current encoding unit 600.
- the image decoding apparatus 100 may determine that the width or height of the right encoding unit 660c is less than the width or height of the current encoding unit 650 and the width and height of the left encoding unit 660a and the middle encoding unit 660b . ≪ / RTI > The image decoding apparatus 100 may determine an encoding unit having a different size from the other encoding units based on the widths and heights of the determined encoding units 660a, 660b, and 660c. Referring to FIG.
- the image decoding apparatus 100 may determine a coding unit 660b as a coding unit at a predetermined position while having a size different from that of the left coding unit 660a and the right coding unit 660c.
- the process of determining the encoding unit having a size different from that of the other encoding units by the video decoding apparatus 100 may be the same as that of the first embodiment in which the encoding unit of a predetermined position is determined using the size of the encoding unit determined based on the sample coordinates .
- Various processes may be used for determining the encoding unit at a predetermined position by comparing the sizes of the encoding units determined according to predetermined sample coordinates.
- 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 left upper end, and information about the position of any sample included in the coding unit can be interpreted as being available.
- the image decoding apparatus 100 can select a coding unit at a predetermined position among the odd number of coding units determined by dividing the current coding unit considering the type 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 image decoding apparatus 100 can determine a coding unit at a predetermined position along the horizontal direction. That is, the image decoding apparatus 100 may determine one of the encoding units which are located in the horizontal direction and limit the encoding unit. If the current coding unit is a non-square shape having a height greater than the width, the image decoding apparatus 100 can determine a coding unit at a predetermined position in the vertical direction. That is, the image decoding apparatus 100 may determine one of the encoding units having different positions in the vertical direction and set a restriction on the encoding unit.
- the image decoding apparatus 100 may use information indicating positions of even-numbered encoding units in order to determine an encoding unit at a predetermined position among the even-numbered encoding units.
- the image decoding apparatus 100 may determine an even number of coding units by binary coding the current coding unit and determine a coding unit at a predetermined position by using information on the positions of the even number of coding units.
- a concrete procedure for this is omitted because it may be a process corresponding to a process of determining a coding unit of a predetermined position (e.g., the middle position) among the odd number of coding units described with reference to FIG.
- the video decoding apparatus 100 may determine the block type information stored in the sample included in the middle coding unit, Mode may be used.
- the image decoding apparatus 100 divides the current encoding unit 600 into a plurality of encoding units 620a, 620b, and 620c based on at least one of information on the block type information and the information on the split mode mode And the encoding unit 620b located in the middle of the plurality of encoding units 620a, 620b, and 620c can be determined. Furthermore, the image decoding apparatus 100 may determine the coding unit 620b located at the center in consideration of the position at which at least one of the block type information and the division type mode information is obtained.
- At least one of the block type information of the current encoding unit 600 and the information of the division mode mode can be obtained in the sample 640 located in the middle of the current encoding unit 600, If the current encoding unit 600 is divided into a plurality of encoding units 620a, 620b, and 620c based on at least one of the information on the division mode mode and the encoding unit 620b including the sample 640, As shown in FIG.
- the information used for determining the encoding unit located in the middle should not be limited to at least one of the block type information and the information about the division mode mode, and a process of determining an encoding unit in which various types of information are located in the middle ≪ / RTI >
- predetermined information for identifying a coding unit at a predetermined position may be obtained from a predetermined sample included in a coding unit to be determined.
- the image decoding apparatus 100 includes a plurality of encoding units 620a, 620b, and 620c that are determined by dividing a current encoding unit 600, (For example, a sample located in the middle of the current encoding unit 600) at a predetermined position in the current encoding unit 600 in order to determine an encoding unit located in the middle of the encoding unit, And at least one of information on the split mode mode may be used.
- the image decoding apparatus 100 can determine the sample at the predetermined position in consideration of the block form of the current encoding unit 600, and the image decoding apparatus 100 can determine a plurality of A coding unit 620b including samples from which predetermined information (for example, at least one of information on the block type information and the division mode information) can be obtained from the plurality of coding units 620a, 620b, and 620c So that a predetermined limit can be set.
- the image decoding apparatus 100 may determine a sample 640 located in the center of a current encoding unit 600 as a sample from which predetermined information can be obtained,
- the coding unit 100 may limit the coding unit 620b including the sample 640 to a predetermined limit in the decoding process.
- the position of the sample from which the predetermined information can be obtained should not be construed to be limited to the above-mentioned position, but may be interpreted as samples at arbitrary positions included in the encoding unit 620b to be determined for limiting.
- the position of a sample from which predetermined information can be obtained may be determined according to the type of the current encoding unit 600.
- the block type information can determine whether the current encoding unit is a square or a non-square, and determine the position of a sample from which predetermined information can be obtained according to the shape.
- the video decoding apparatus 100 may use at least one of the information on the width of the current coding unit and the information on the height to position at least one of the width and the height of the current coding unit in half The sample can be determined as a sample from which predetermined information can be obtained.
- the image decoding apparatus 100 selects one of the samples adjacent to the boundary dividing the longer side of the current encoding unit into halves by a predetermined Can be determined as a sample from which the information of < / RTI >
- the image decoding apparatus 100 may determine the encoding unit of a predetermined position among the plurality of encoding units, Information can be used.
- the image decoding apparatus 100 may acquire at least one of information on the block type information and the information on the division mode mode from a sample of a predetermined position included in the encoding unit,
- the plurality of coding units generated by dividing the unit may be divided using at least one of the information on the division mode and the block type information obtained from the sample at the predetermined position included in each of the plurality of the coding units.
- the coding unit can be recursively divided using at least one of the block type information obtained in the sample at the predetermined position included in each of the coding units and the information about the division mode. Since the recursive division process of the encoding unit has been described with reference to FIG. 7, a detailed description will be omitted.
- the image decoding apparatus 100 can determine at least one encoding unit by dividing the current encoding unit, and the order in which the at least one encoding unit is decoded is determined as a predetermined block (for example, ). ≪ / RTI >
- FIG. 9 illustrates a sequence in which a plurality of coding units are processed when the image decoding apparatus 100 determines a plurality of coding units by dividing the current coding unit according to an exemplary embodiment.
- the image decoding apparatus 100 determines the second encoding units 710a and 710b by dividing the first encoding unit 700 in the vertical direction according to information on the block type information and the division mode,
- the second encoding units 730a and 730b may be determined by dividing the first encoding units 700a to 750c by dividing the first encoding units 700a and 750b in the horizontal direction to divide the first encoding units 700 in the vertical direction and the horizontal direction, , 750d can be determined.
- the image decoding apparatus 100 may determine the order in which the second encoding units 710a and 710b determined by dividing the first encoding unit 700 in the vertical direction are processed in the horizontal direction 710c .
- the image decoding apparatus 100 may determine the processing order of the second encoding units 730a and 730b determined by dividing the first encoding unit 700 in the horizontal direction as the vertical direction 730c.
- the image decoding apparatus 100 processes the encoding units located in one row of the second encoding units 750a, 750b, 750c and 750d determined by dividing the first encoding unit 700 in the vertical direction and the horizontal direction, (For example, a raster scan order or a z scan order 750e) in which the encoding units located in the next row are processed.
- the image decoding apparatus 100 may recursively divide encoding units. 9, the image decoding apparatus 100 may determine a plurality of encoding units 710a, 710b, 730a, 730b, 750a, 750b, 750c and 750d by dividing the first encoding unit 700, The determined plurality of encoding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, and 750d can be recursively divided.
- the method of dividing the plurality of encoding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, and 750d may be a method corresponding to the method of dividing the first encoding unit 700.
- the plurality of encoding units 710a, 710b, 730a, 730b, 750a, 750b, 750c, and 750d may be independently divided into a plurality of encoding units. Referring to FIG.
- the image decoding apparatus 100 can determine the second encoding units 710a and 710b by dividing the first encoding unit 700 in the vertical direction, and can further determine the second encoding units 710a and 710b Can be determined not to divide or separate independently.
- the image decoding apparatus 100 may divide the second encoding unit 710a on the left side in the horizontal direction into the third encoding units 720a and 720b and the second encoding units 710b ) May not be divided.
- the processing order of the encoding units may be determined based on the division process of the encoding units.
- the processing order of the divided coding units can be determined based on the processing order of the coding units immediately before being divided.
- the image decoding apparatus 100 can determine the order in which the third encoding units 720a and 720b determined by dividing the second encoding unit 710a on the left side are processed independently of the second encoding unit 710b on the right side.
- the third encoding units 720a and 720b may be processed in the vertical direction 720c because the second encoding units 710a on the left side are divided in the horizontal direction and the third encoding units 720a and 720b are determined.
- the order in which the left second encoding unit 710a and the right second encoding unit 710b are processed corresponds to the horizontal direction 710c
- the right encoding unit 710b can be processed after the blocks 720a and 720b are processed in the vertical direction 720c.
- the above description is intended to explain the process sequence in which encoding units are determined according to the encoding units before division. Therefore, it should not be construed to be limited to the above-described embodiments, It should be construed as being used in various ways that can be handled independently in sequence.
- FIG. 10 illustrates a process of determining that the current encoding unit is divided into odd number of encoding units when the image decoding apparatus 100 can not process the encoding units in a predetermined order according to an embodiment.
- the image decoding apparatus 100 may determine that the current encoding unit is divided into odd number of encoding units based on the obtained block type information and information on the split mode mode.
- the first encoding unit 800 in the form of a square may be divided into second non-square encoding units 810a and 810b, and the second encoding units 810a and 810b may be independently 3 encoding units 820a, 820b, 820c, 820d, and 820e.
- the image decoding apparatus 100 can determine the plurality of third encoding units 820a and 820b by dividing the left encoding unit 810a of the second encoding unit in the horizontal direction, and the right encoding unit 810b Can be divided into an odd number of third encoding units 820c, 820d, and 820e.
- the image decoding apparatus 100 determines whether or not the third encoding units 820a, 820b, 820c, 820d, and 820e can be processed in a predetermined order and determines whether there are odd- You can decide. Referring to FIG. 8, the image decoding apparatus 100 may recursively divide the first encoding unit 800 to determine the third encoding units 820a, 820b, 820c, 820d, and 820e.
- the video decoding apparatus 100 may further include a first coding unit 800, a second coding unit 810a and 810b or a third coding unit 820a and 820b based on at least one of information on the block type information and the information on the division mode mode , 820c, 820d, and 820e are divided into odd number of coding units among the divided types. For example, an encoding unit located on the right of the second encoding units 810a and 810b may be divided into odd third encoding units 820c, 820d, and 820e.
- the order in which the plurality of coding units included in the first coding unit 800 are processed may be a predetermined order (for example, a z-scan order 830) 100 can determine whether the third encoding units 820c, 820d, and 820e determined by dividing the right second encoding unit 810b into odd numbers satisfy the condition that the third encoding units 820c, 820d, and 820e can be processed according to the predetermined order.
- a predetermined order for example, a z-scan order 830
- the image decoding apparatus 100 satisfies a condition that third encoding units 820a, 820b, 820c, 820d, and 820e included in the first encoding unit 800 can be processed in a predetermined order And it is determined whether or not at least one of the widths and heights of the second encoding units 810a and 810b is divided in half according to the boundaries of the third encoding units 820a, 820b, 820c, 820d, and 820e, .
- the third encoding units 820a and 820b which are determined by dividing the height of the left second encoding unit 810a in the non-square shape by half, can satisfy the condition.
- the boundaries of the third encoding units 820c, 820d, and 820e determined by dividing the right second encoding unit 810b into three encoding units do not divide the width or height of the right second encoding unit 810b in half ,
- the third encoding units 820c, 820d, and 820e may be determined as not satisfying the condition.
- the image decoding apparatus 100 may determine that the scan order is disconnection in the case of such unsatisfactory condition and determine that the right second encoding unit 810b is divided into odd number of encoding units based on the determination result.
- the image decoding apparatus 100 may limit a coding unit of a predetermined position among the divided coding units when the coding unit is divided into odd number of coding units. Since the embodiment has been described above, a detailed description thereof will be omitted.
- FIG. 11 illustrates a process in which the image decoding apparatus 100 determines at least one encoding unit by dividing a first encoding unit 900 according to an embodiment.
- the image decoding apparatus 100 may divide the first encoding unit 900 based on at least one of the block type information acquired through the acquisition unit (not shown) and the information about the split mode mode .
- the first coding unit 900 in the form of a square may be divided into four coding units having a square form, or may be divided into a plurality of non-square coding units.
- the image decoding apparatus 100 1 encoding unit 900 into a plurality of non-square encoding units.
- the image decoding apparatus 100 performs a first encoding
- the unit 900 can be divided into the second coding units 910a, 910b and 910c divided in the vertical direction as the odd number of coding units or the second coding units 920a, 920b and 920c divided in the horizontal direction .
- the image decoding apparatus 100 may be configured such that the second encoding units 910a, 910b, 910c, 920a, 920b, and 920c included in the first encoding unit 900 are processed in a predetermined order And the condition is that at least one of the width and the height of the first encoding unit 900 is divided in half according to the boundaries of the second encoding units 910a, 910b, 910c, 920a, 920b, and 920c .
- the boundaries of the second encoding units 910a, 910b, and 910c which are determined by vertically dividing the first encoding unit 900 in the square shape, are divided in half by the width of the first encoding unit 900
- the first encoding unit 900 can be determined as not satisfying a condition that can be processed in a predetermined order.
- the boundaries of the second encoding units 920a, 920b, and 920c which are determined by dividing the first encoding unit 900 in the horizontal direction into the horizontal direction, can not divide the width of the first encoding unit 900 in half, 1 encoding unit 900 may be determined as not satisfying a condition that can be processed in a predetermined order.
- the image decoding apparatus 100 may determine that the scan sequence is disconnection in the case of such unsatisfactory condition and determine that the first encoding unit 900 is divided into odd number of encoding units based on the determination result. According to an embodiment, the image decoding apparatus 100 may limit a coding unit of a predetermined position among the divided coding units when the coding unit is divided into odd number of coding units. Since the embodiment has been described above, a detailed description thereof will be omitted.
- the image decoding apparatus 100 may determine the encoding units of various types by dividing the first encoding unit.
- the image decoding apparatus 100 may divide a first coding unit 900 in a square form and a first coding unit 930 or 950 in a non-square form into various types of coding units .
- the image decoding apparatus 100 divides the first encoding unit 1000 in a square form into at least one of a block type information obtained through an acquisition unit (not shown) - the second encoding units 1010a, 1010b, 1020a, and 1020b in the form of a square.
- the second encoding units 1010a, 1010b, 1020a, and 1020b may be independently divided. Accordingly, the image decoding apparatus 100 divides or divides the image data into a plurality of encoding units based on at least one of the block type information and the division type mode information related to each of the second encoding units 1010a, 1010b, 1020a, and 1020b You can decide not to.
- the image decoding apparatus 100 divides the left second encoding unit 1010a in a non-square form determined by dividing the first encoding unit 1000 in the vertical direction into a horizontal direction, 1012a, and 1012b.
- the right-side second encoding unit 1010b is arranged in the horizontal direction in the same manner as the direction in which the left second encoding unit 1010a is divided, As shown in Fig.
- the left second encoding unit 1010a and the right second encoding unit 1010b are arranged in the horizontal direction
- the third encoding units 1012a, 1012b, 1014a, and 1014b can be determined by being independently divided.
- the image decoding apparatus 100 may divide the first encoding unit 1000 into four square-shaped second encoding units 1030a, 1030b, 1030c, and 1030d based on at least one of the block type information and the information on the split mode mode ), which may be inefficient in terms of image decoding.
- the image decoding apparatus 100 divides a second encoding unit 1020a or 1020b in a non-square form determined by dividing a first encoding unit 1000 in a horizontal direction into a vertical direction, (1022a, 1022b, 1024a, 1024b).
- the image decoding apparatus 100 may be configured to encode the second encoding unit (for example, The encoding unit 1020b) can be restricted such that the upper second encoding unit 1020a can not be divided vertically in the same direction as the divided direction.
- FIG. 13 illustrates a process in which the image decoding apparatus 100 divides a square-shaped encoding unit when the information on the split mode mode can not indicate division into four square-shaped encoding units according to an embodiment .
- the image decoding apparatus 100 divides the first encoding unit 1100 based on at least one of information on the block type information and the information on the split mode mode to generate second encoding units 1110a, 1110b, 1120a, and 1120b Etc.) can be determined.
- the information on the division type mode may include information on various types in which the coding unit can be divided, but information on various types may not include information for dividing into four square units of coding units.
- the image decoding apparatus 100 can not divide the first encoding unit 1100 in the square form into the second encoding units 1130a, 1130b, 1130c, and 1130d in the form of four squares .
- the image decoding apparatus 100 may determine the second encoding units 1110a, 1110b, 1120a, and 1120b in the non-square form based on the information on the split mode mode.
- the image decoding apparatus 100 may independently divide the non-square second encoding units 1110a, 1110b, 1120a, and 1120b, respectively.
- Each of the second encoding units 1110a, 1110b, 1120a, and 1120b may be divided in a predetermined order through a recursive method, and the first encoding units 1110a, 1110b, 1120a, and 1120b may be divided according to at least one of the block type information, May be a division method corresponding to how the unit 1100 is divided.
- the image decoding apparatus 100 can determine the third encoding units 1112a and 1112b in the form of a square by dividing the left second encoding unit 1110a in the horizontal direction and the right second encoding unit 1110b It is possible to determine the third encoding units 1114a and 1114b in the form of a square by being divided in the horizontal direction. Furthermore, the image decoding apparatus 100 may divide the left second encoding unit 1110a and the right second encoding unit 1110b in the horizontal direction to determine the third encoding units 1116a, 1116b, 1116c, and 1116d in the form of a square have. In this case, the encoding unit can be determined in the same manner as the first encoding unit 1100 is divided into the four second square encoding units 1130a, 1130b, 1130c, and 1130d.
- the image decoding apparatus 100 can determine the third encoding units 1122a and 1122b in the form of a square by dividing the upper second encoding unit 1120a in the vertical direction, and the lower second encoding units 1120b May be divided in the vertical direction to determine the third encoding units 1124a and 1124b in the form of a square. Further, the image decoding apparatus 100 may divide the upper second encoding unit 1120a and the lower second encoding unit 1120b in the vertical direction to determine the square-shaped third encoding units 1126a, 1126b, 1126a, and 1126b have. In this case, the encoding unit can be determined in the same manner as the first encoding unit 1100 is divided into the four second square encoding units 1130a, 1130b, 1130c, and 1130d.
- FIG. 14 illustrates that the processing order among a plurality of coding units may be changed according to the division process of the coding unit according to an embodiment.
- the image decoding apparatus 100 may divide the first encoding unit 1200 based on information on the block type information and the split mode mode.
- the block type information indicates a square shape and the information on the split mode mode indicates that the first encoding unit 1200 is divided into at least one of a horizontal direction and a vertical direction
- the unit 1200 can be divided to determine the second encoding unit (e.g., 1210a, 1210b, 1220a, 1220b, etc.). Referring to FIG.
- the non-square second encoding units 1210a, 1210b, 1220a, and 1220b which are determined by dividing the first encoding unit 1200 only in the horizontal direction or the vertical direction, Can be independently divided based on information on the < / RTI >
- the image decoding apparatus 100 divides the second encoding units 1210a and 1210b, which are generated by dividing the first encoding unit 1200 in the vertical direction, in the horizontal direction, and outputs the third encoding units 1216a, 1216b, 1216c and 1216d can be determined and the second encoding units 1220a and 1220b generated by dividing the first encoding unit 1200 in the horizontal direction are divided in the horizontal direction and the third encoding units 1226a, , 1226d. Since the process of dividing the second encoding units 1210a, 1210b, 1220a, and 1220b has been described above with reference to FIG. 13, a detailed description will be omitted.
- the image decoding apparatus 100 may process an encoding unit in a predetermined order.
- the features of the processing of the encoding unit in the predetermined order have been described in detail with reference to FIG. 7, and a detailed description thereof will be omitted.
- the image decoding apparatus 100 divides a first encoding unit 1200 of a square shape into 4 pieces of fourth encoding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, 1226d Can be determined.
- the image decoding apparatus 100 may process the third encoding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d according to the form in which the first encoding unit 1200 is divided You can decide.
- the image decoding apparatus 100 divides the generated second encoding units 1210a and 1210b in the vertical direction and divides them in the horizontal direction to determine third encoding units 1216a, 1216b, 1216c, and 1216d And the image decoding apparatus 100 first processes the third encoding units 1216a and 1216c included in the left second encoding unit 1210a in the vertical direction and then processes the third encoding units 1216a and 1216c included in the second right encoding unit 1210b The third encoding units 1216a, 1216b, 1216c, and 1216d can be processed according to the order 1217 of processing the third encoding units 1216b and 1216d in the vertical direction.
- the image decoding apparatus 100 divides the second encoding units 1220a and 1220b generated in the horizontal direction into vertical directions to determine the third encoding units 1226a, 1226b, 1226c and 1226d And the image decoding apparatus 100 first processes the third encoding units 1226a and 1226b included in the upper second encoding unit 1220a in the horizontal direction and then encodes the third encoding units 1226a and 1226b included in the lower second encoding unit 1220b The third encoding units 1226a, 1226b, 1226c, and 1226d may be processed in accordance with an order 1227 for processing the third encoding units 1226c and 1226d in the horizontal direction.
- the second encoding units 1210a, 1210b, 1220a, and 1220b are divided to determine the third encoding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d, have.
- the second encoding units 1210a and 1210b determined to be divided in the vertical direction and the second encoding units 1220a and 1220b determined to be divided in the horizontal direction are divided into different formats, but the third encoding units 1216a , 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d, the result is that the first encoding unit 1200 is divided into the same type of encoding units.
- the image decoding apparatus 100 recursively divides the encoding units based on at least one of the block type information and the information on the division type mode, thereby eventually determining the same type of encoding units, A plurality of encoding units may be processed in different orders.
- FIG. 15 illustrates a process of determining the depth of an encoding unit according to a change in type and size of an encoding unit when the encoding unit is recursively divided according to an embodiment to determine a plurality of encoding units.
- the image decoding apparatus 100 may determine the depth of a coding unit according to a predetermined criterion.
- a predetermined criterion may be a length of a long side of a coding unit.
- the depth of the current encoding unit is smaller than the depth of the encoding unit before being divided it can be determined that the depth is increased by n.
- an encoding unit with an increased depth is expressed as a lower-depth encoding unit.
- the image decoding apparatus 100 may generate block shape information indicating a square shape (for example, block shape information may indicate '0: SQUARE') according to an embodiment, 1 encoding unit 1300 can be divided to determine the second encoding unit 1302, the third encoding unit 1304, etc. of the lower depth. If the size of the first encoding unit 1300 in the form of a square is 2Nx2N, the second encoding unit 1302 determined by dividing the width and height of the first encoding unit 1300 by 1/2 may have a size of NxN have. Further, the third encoding unit 1304 determined by dividing the width and height of the second encoding unit 1302 by a half size may have a size of N / 2xN / 2.
- the width and height of the third encoding unit 1304 correspond to 1/4 of the first encoding unit 1300. If the depth of the first encoding unit 1300 is D, the depth of the second encoding unit 1302, which is half the width and height of the first encoding unit 1300, may be D + 1, The depth of the third encoding unit 1304, which is one fourth of the width and height of the third encoding unit 1300, may be D + 2.
- block type information indicating a non-square shape for example, block type information is' 1: NS_VER 'indicating that the height is a non-square having a width greater than the width or' 2 >
- the image decoding apparatus 100 divides the first coding unit 1310 or 1320 in a non-square form into a second coding unit 1312 or 1322 of a lower depth, The third encoding unit 1314 or 1324, or the like.
- the image decoding apparatus 100 may determine a second coding unit (for example, 1302, 1312, 1322, etc.) by dividing at least one of the width and the height of the first coding unit 1310 of Nx2N size. That is, the image decoding apparatus 100 can determine the second encoding unit 1302 of NxN size or the second encoding unit 1322 of NxN / 2 size by dividing the first encoding unit 1310 in the horizontal direction, It is also possible to determine the second encoding unit 1312 of N / 2xN size by dividing it in the horizontal direction and the vertical direction.
- a second coding unit for example, 1302, 1312, 1322, etc.
- the image decoding apparatus 100 divides at least one of a width and a height of a 2NxN first encoding unit 1320 to determine a second encoding unit (e.g., 1302, 1312, 1322, etc.) It is possible. That is, the image decoding apparatus 100 can determine the second encoding unit 1302 of NxN size or the second encoding unit 1312 of N / 2xN size by dividing the first encoding unit 1320 in the vertical direction, The second encoding unit 1322 of the NxN / 2 size may be determined by dividing the image data in the horizontal direction and the vertical direction.
- a second encoding unit e.g. 1302, 1312, 1322, etc.
- the image decoding apparatus 100 divides at least one of the width and the height of the second encoding unit 1302 of NxN size to determine a third encoding unit (for example, 1304, 1314, 1324, etc.) It is possible. That is, the image decoding apparatus 100 determines the third encoding unit 1304 of N / 2xN / 2 size by dividing the second encoding unit 1302 in the vertical direction and the horizontal direction, or determines the third encoding unit 1304 of N / 4xN / 3 encoding unit 1314 or a third encoding unit 1324 of N / 2xN / 4 size.
- a third encoding unit for example, 1304, 1314, 1324, etc.
- the image decoding apparatus 100 may divide at least one of the width and the height of the second encoding unit 1312 of N / 2xN size into a third encoding unit (e.g., 1304, 1314, 1324, etc.) . That is, the image decoding apparatus 100 divides the second encoding unit 1312 in the horizontal direction to generate a third encoding unit 1304 of N / 2xN / 2 or a third encoding unit 1324 of N / 2xN / 4 size ) Or may be divided in the vertical and horizontal directions to determine the third encoding unit 1314 of N / 4xN / 2 size.
- a third encoding unit e.g. 1304, 1314, 1324, etc.
- the image decoding apparatus 100 divides at least one of the width and the height of the second encoding unit 1322 of NxN / 2 size to generate a third encoding unit 1304, 1314, 1324, . That is, the image decoding apparatus 100 divides the second encoding unit 1322 in the vertical direction to generate a third encoding unit 1304 of N / 2xN / 2 or a third encoding unit 1314 of N / 4xN / 2 size ) Or may be divided in the vertical and horizontal directions to determine the third encoding unit 1324 of N / 2xN / 4 size.
- the image decoding apparatus 100 may divide a square-shaped encoding unit (for example, 1300, 1302, and 1304) into a horizontal direction or a vertical direction.
- a square-shaped encoding unit for example, 1300, 1302, and 1304
- the first encoding unit 1300 having a size of 2Nx2N is divided in the vertical direction to determine a first encoding unit 1310 having a size of Nx2N or the first encoding unit 1310 having a size of 2NxN to determine a first encoding unit 1320 having a size of 2NxN .
- the depth of the encoding unit when the depth is determined based on the length of the longest side of the encoding unit, the depth of the encoding unit, which is determined by dividing the first encoding unit 1300 of 2Nx2N size in the horizontal direction or the vertical direction, May be the same as the depth of the unit (1300).
- the width and height of the third encoding unit 1314 or 1324 may correspond to one fourth of the first encoding unit 1310 or 1320.
- the depth of the first coding unit 1310 or 1320 is D
- the depth of the second coding unit 1312 or 1322 which is half the width and height of the first coding unit 1310 or 1320 is D +
- the depth of the third encoding unit 1314 or 1324, which is one fourth of the width and height of the first encoding unit 1310 or 1320 may be D + 2.
- FIG. 16 illustrates a depth index (hereinafter referred to as a PID) for classification of coding units and depths that can be determined according to the type and size of coding units according to an exemplary embodiment.
- a PID depth index
- the image decoding apparatus 100 may divide the first encoding unit 1400 in a square form to determine various types of second encoding units. 14, the image decoding apparatus 100 divides a first encoding unit 1400 into at least one of a vertical direction and a horizontal direction according to information on a division mode mode, and outputs the second encoding units 1402a and 1402b , 1404a, 1404b, 1406a, 1406b, 1406c, 1406d. That is, the image decoding apparatus 100 determines the second encoding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, and 1406d based on the information on the split mode mode for the first encoding unit 1400 .
- the second encoding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, and 1406d which are determined according to the information on the split mode mode for the first encoding unit 1400 in the square form.
- the depth can be determined based on the length of the sides. For example, since the length of one side of the first encoding unit 1400 in the square form is the same as the length of long sides of the second encoding units 1402a, 1402b, 1404a, and 1404b in the non-square form, 1400) and the non-square type second encoding units 1402a, 1402b, 1404a, 1404b are denoted by D in the same manner.
- the length of one side of the second encoding units 1406a, 1406b, 1406c and 1406d in the form of the second encoding units 1406a, 1406b, 1406c and 1406d is 1/2 of the length of one side of the first encoding unit 1400, May be a depth of D + 1 that is one depth lower than D, which is the depth of the first encoding unit 1400.
- the image decoding apparatus 100 divides a first encoding unit 1410 having a height greater than a width in a horizontal direction according to information on a split mode, and generates a plurality of second encoding units 1412a and 1412b , 1414a, 1414b, and 1414c.
- the image decoding apparatus 100 divides a first encoding unit 1420 of a shape whose width is longer than a height in a vertical direction according to information on a division mode, and generates a plurality of second encoding units 1422a and 1422b , 1424a, 1424b, 1424c.
- 1412b, 1414a, 1414b, 1414c. 1422a, 1422b, 1414c, 1414b, 1414c, 1414b, 1414c, 1414b, 1414c, 1414b, 1414c, 1424a, 1424b, 1424c can be determined in depth based on the length of the long side. For example, since the length of one side of the square-shaped second encoding units 1412a and 1412b is 1/2 times the length of one side of the non-square first encoding unit 1410 whose height is longer than the width, The depth of the second encoding units 1412a and 1412b of the form is D + 1 which is one depth lower than the depth D of the first encoding unit 1410 of the non-square form.
- the image decoding apparatus 100 may divide the non-square first coding unit 1410 into odd second coding units 1414a, 1414b and 1414c based on the information on the division mode mode.
- the odd number of second encoding units 1414a, 1414b and 1414c may include non-square second encoding units 1414a and 1414c and a square second encoding unit 1414b.
- the length of the long sides of the non-square type second encoding units 1414a and 1414c and the length of one side of the second encoding unit 1414b in the square form are set to 1/10 of the length of one side of the first encoding unit 1410
- the depth of the second encoding units 1414a, 1414b, and 1414c may be a depth of D + 1 which is one depth lower than D, which is the depth of the first encoding unit 1410.
- the image decoding apparatus 100 is connected to the first encoding unit 1420 in the form of a non-square shape whose width is longer than the height in a manner corresponding to the scheme for determining the depths of the encoding units associated with the first encoding unit 1410 The depth of the encoding units can be determined.
- the image decoding apparatus 100 determines an index (PID) for distinguishing the divided coding units. If the odd-numbered coding units are not the same size, The index can be determined based on the index.
- an encoding unit 1414b positioned at the center among the odd-numbered encoding units 1414a, 1414b, and 1414c has the same width as other encoding units 1414a and 1414c, Lt; / RTI > 1414a and 1414c. That is, in this case, the encoding unit 1414b positioned in the middle may include two of the other encoding units 1414a and 1414c.
- the coding unit 1414c positioned next to the coding unit 1414c may be three days in which the index is increased by two. That is, there may be a discontinuity in the value of the index.
- the image decoding apparatus 100 may determine whether odd-numbered encoding units are not the same size based on the presence or absence of an index discontinuity for distinguishing between the divided encoding units.
- the image decoding apparatus 100 may determine whether the image is divided into a specific division form based on an index value for distinguishing a plurality of coding units divided from the current coding unit. 14, the image decoding apparatus 100 divides a first coding unit 1410 of a rectangular shape whose height is longer than the width to determine an even number of coding units 1412a and 1412b or an odd number of coding units 1414a and 1414b , And 1414c.
- the image decoding apparatus 100 may use an index (PID) indicating each coding unit in order to distinguish each of the plurality of coding units.
- the PID may be obtained at a sample of a predetermined position of each coding unit (e.g., the upper left sample).
- the image decoding apparatus 100 may determine a coding unit of a predetermined position among the coding units determined by using the index for classifying the coding unit. According to an embodiment, when the information on the division type mode for the rectangular first type encoding unit 1410 whose height is longer than the width is divided into three encoding units, the image decoding apparatus 100 may encode the first encoding unit 1410 can be divided into three coding units 1414a, 1414b, 1414c. The image decoding apparatus 100 can assign an index to each of the three encoding units 1414a, 1414b, and 1414c. The image decoding apparatus 100 may compare the indexes of the respective encoding units in order to determine the middle encoding unit among the encoding units divided into odd numbers.
- the image decoding apparatus 100 encodes an encoding unit 1414b having an index corresponding to a middle value among the indices based on the indices of the encoding units by encoding the middle position among the encoding units determined by dividing the first encoding unit 1410 Can be determined as a unit.
- the image decoding apparatus 100 may determine an index based on a size ratio between coding units when the coding units are not the same size in determining the index for dividing the divided coding units .
- the coding unit 1414b generated by dividing the first coding unit 1410 is divided into coding units 1414a and 1414c having the same width as the other coding units 1414a and 1414c but different in height Can be double the height.
- the image decoding apparatus 100 may determine that the image decoding apparatus 100 is divided into a plurality of encoding units including encoding units having different sizes from other encoding units.
- the image decoding apparatus 100 determines that the encoding unit (for example, the middle encoding unit) at a predetermined position among the odd- The current encoding unit can be divided into different sizes.
- the image decoding apparatus 100 may determine an encoding unit having a different size by using an index (PID) for the encoding unit.
- PID index
- the index and the size or position of the encoding unit at a predetermined position to be determined are specific for explaining an embodiment, and thus should not be construed to be limited thereto, and various indexes, positions and sizes of encoding units can be used Should be interpreted.
- the image decoding apparatus 100 may use a predetermined data unit in which a recursive division of an encoding unit starts.
- FIG. 17 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.
- a predetermined data unit may be defined as a unit of data in which an encoding unit starts to be recursively segmented using at least one of block type information and information on a division mode mode. That is, it may correspond to a 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 is referred to as a reference data unit for convenience of explanation.
- the reference data unit may represent a predetermined size and shape.
- the reference encoding unit may comprise samples of MxN.
- M and N may be equal to each other, or may be an integer represented by a multiplier of 2. That is, the reference data unit may represent a square or a non-square shape, and may be divided into an integer number of encoding units.
- the image decoding apparatus 100 may divide the current picture into a plurality of reference data units. According to an exemplary embodiment, the image decoding apparatus 100 may divide a plurality of reference data units for dividing a current picture into pieces using information on a division type mode for each reference data unit. The segmentation process of the reference data unit may correspond to the segmentation process using a quad-tree structure.
- the image decoding apparatus 100 may determine in advance a minimum size that the reference data unit included in the current picture can have. Accordingly, the image decoding apparatus 100 can determine reference data units of various sizes having a size of a minimum size or more, and use at least one of the block type information and the division mode mode information based on the determined reference data unit The encoding unit can be determined.
- the image decoding apparatus 100 may use a square-shaped reference encoding unit 1500 or a non-square-shaped reference encoding unit 1502.
- the type and size of the reference encoding unit may include various data units (e.g., a sequence, a picture, a slice, a slice segment a slice segment, a maximum encoding unit, and the like).
- the acquisition unit (not shown) of the image decoding apparatus 100 may acquire at least one of the information on the type of the reference encoding unit and the size of the reference encoding unit from the bitstream for each of the various data units .
- the process of determining at least one encoding unit included in the reference type encoding unit 1500 is described in detail in the process of dividing the current encoding unit 300 of FIG. 3, and the non- Is determined in the process of dividing the current encoding unit 400 or 450 of FIG. 6, so that a detailed description thereof will be omitted.
- the image decoding apparatus 100 may include an index for identifying the size and type of the reference encoding unit Can be used. That is, the acquisition unit (not shown) acquires predetermined conditions (for example, data having a size equal to or smaller than a slice) among the various data units (e.g., sequence, picture, slice, slice segment, Unit), it is possible to obtain only an index for identification of the size and type of the reference encoding unit for each slice, slice segment, maximum encoding unit, and the like.
- the image decoding apparatus 100 can determine the size and shape of the reference data unit for each data unit satisfying the predetermined condition by using the index.
- the use efficiency of the bitstream may not be good. Therefore, Information on the size of the reference encoding unit and information on the size of the reference encoding unit can be acquired and used.
- at least one of the size and the type of the reference encoding unit corresponding to the index indicating the size and type of the reference encoding unit may be predetermined. That is, the image decoding apparatus 100 selects at least one of the size and the type of the reference encoding unit in accordance with the index, thereby obtaining at least one of the size and the type of the reference encoding unit included in the data unit, You can decide.
- the image decoding apparatus 100 may use at least one reference encoding unit included in one maximum encoding unit. That is, the maximum encoding unit for dividing an image may include at least one reference encoding unit, and the encoding unit may be determined through a recursive division process of each reference encoding unit. According to an exemplary embodiment, at least one of the width and the height of the maximum encoding unit may correspond to at least one integer multiple of the width and height of the reference encoding unit. According to an exemplary embodiment, the size of the reference encoding unit may be a size obtained by dividing the maximum encoding unit n times according to a quadtree structure.
- the image decoding apparatus 100 can determine the reference encoding unit by dividing the maximum encoding unit n times according to the quad tree structure, and determine the reference encoding unit as the block type information and the information about the split mode Based on at least one of them.
- FIG. 18 shows a processing block serving as a reference for determining a determination order of a reference encoding unit included in the picture 1600 according to an embodiment.
- the image decoding apparatus 100 may determine at least one processing block for dividing a picture.
- the processing block is a data unit including at least one reference encoding unit for dividing an image, and at least one reference encoding unit included in the processing block may be determined in a specific order. That is, the order of determination of at least one reference encoding unit determined in each processing block may correspond to one of various kinds of order in which the reference encoding unit can be determined, and the reference encoding unit determination order determined in each processing block May be different for each processing block.
- the order of determination of the reference encoding unit determined for each processing block is a raster scan, a Z scan, an N scan, an up-right diagonal scan, a horizontal scan a horizontal scan, and a vertical scan. However, the order that can be determined should not be limited to the scan orders.
- the image decoding apparatus 100 may obtain information on the size of the processing block and determine the size of the at least one processing block included in the image.
- the image decoding apparatus 100 may obtain information on the size of the processing block from the bitstream to determine the size of the at least one processing block included in the image.
- the size of such a processing block may be a predetermined size of a data unit represented by information on the size of the processing block.
- the acquisition unit (not shown) of the image decoding apparatus 100 may acquire information on the size of the processing block from the bitstream for each specific data unit.
- information on the size of a processing block can be obtained from a bitstream in units of data such as an image, a sequence, a picture, a slice, a slice segment, and the like. That is, the acquiring unit (not shown) may acquire information on the size of the processing block from the bitstream for each of the plurality of data units, and the image decoding apparatus 100 may divide the picture using information on the size of the obtained processing block And the size of the processing block may be an integer multiple of the reference encoding unit.
- the image decoding apparatus 100 may determine the sizes of the processing blocks 1602 and 1612 included in the picture 1600.
- the video decoding apparatus 100 can determine the size of the processing block based on information on the size of the processing block obtained from the bitstream.
- the image decoding apparatus 100 according to an exemplary embodiment of the present invention may be configured such that the horizontal size of the processing blocks 1602 and 1612 is four times the horizontal size of the reference encoding unit, four times the vertical size of the reference encoding unit, You can decide.
- the image decoding apparatus 100 may determine an order in which at least one reference encoding unit is determined in at least one processing block.
- the video decoding apparatus 100 may determine each processing block 1602, 1612 included in the picture 1600 based on the size of the processing block, and may include in the processing blocks 1602, 1612 The determination order of at least one reference encoding unit is determined.
- the determination of the reference encoding unit may include determining the size of the reference encoding unit according to an embodiment.
- the image decoding apparatus 100 may obtain information on a determination order of at least one reference encoding unit included in at least one processing block from a bitstream, So that the order in which at least one reference encoding unit is determined can be determined.
- the information on the decision order can be defined in the order or direction in which the reference encoding units are determined in the processing block. That is, the order in which the reference encoding units are determined may be independently determined for each processing block.
- the image decoding apparatus 100 may obtain information on a determination order of a reference encoding unit from a bitstream for each specific data unit.
- the acquiring unit (not shown) may acquire information on the order of determination of the reference encoding 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 on the determination order of the reference encoding unit indicates the reference encoding unit determination order in the processing block, the information on the determination order can 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 encoding unit based on the determined order according to an embodiment.
- the acquiring unit may acquire information on the reference encoding unit determination order from the bitstream as information related to the processing blocks 1602 and 1612, and the video decoding apparatus 100 may acquire information It is possible to determine the order of determining at least one reference encoding unit included in the blocks 1602 and 1612 and determine at least one reference encoding unit included in the picture 1600 according to the determination order of the encoding units.
- the image decoding apparatus 100 may determine a determination order 1604 and 1614 of at least one reference encoding unit associated with each of the processing blocks 1602 and 1612.
- the reference encoding unit determination order associated with each processing block 1602, 1612 may be different for each processing block. If the reference encoding unit determination order 1604 related to the processing block 1602 is a raster scan order, the reference encoding unit included in the processing block 1602 can be determined according to the raster scan order. On the other hand, when the reference encoding unit determination order 1614 related to the other processing block 1612 is a reverse order of the raster scan order, the reference encoding unit included in the processing block 1612 can be determined according to the reverse order of the raster scan order.
- the image decoding apparatus 100 may decode the determined at least one reference encoding unit according to an embodiment.
- the image decoding apparatus 100 can decode an image based on the reference encoding unit determined through the above-described embodiment.
- the method of decoding the reference encoding unit may include various methods of decoding the image.
- the image decoding apparatus 100 may obtain block type information indicating a type of a current encoding unit or information on a split mode mode indicating a method of dividing a current encoding unit from a bitstream.
- Information about the block type information or the split mode mode may be included in a bitstream related to various data units.
- the video decoding apparatus 100 may include a sequence parameter set, a picture parameter set, a video parameter set, a slice header, a slice segment header slice block type information included in the segment header or information on the split mode mode can be used.
- the image decoding apparatus 100 may obtain a syntax element corresponding to information on the maximum encoding unit, the reference encoding unit, the block format information from the bit stream, or the split format mode for each processing block from the bit stream and use the syntax element.
- the above-described embodiments of the present disclosure can be embodied in a general-purpose digital computer that can be created as a program that can be executed by a computer and operates the program using a computer-readable recording medium.
- the computer readable recording medium includes a storage medium such as a magnetic storage medium (e.g., ROM, floppy disk, hard disk, etc.), optical reading medium (e.g., CD ROM, DVD, etc.).
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
레벨(Level) | 최소 블록 크기(너비 또는 높이) |
1 | 4 |
2 | 4 |
3 | 4 |
4 | 8 |
5 | 8 |
레벨(Level) | 최소 블록 면적(높이 * 너비) |
1 | 16 |
2 | 16 |
3 | 16 |
4 | 32 |
5 | 32 |
6 | 64 |
7 | 64 |
Claims (15)
- 영상에 포함된 제1 블록에 대한 분할 타입 및 분할 방향 중 적어도 하나에 기초하여 상기 제1 블록을 분할하여 상기 제1 블록으로부터 적어도 하나의 제2 블록을 결정하는 단계;상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계;상기 결정된 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록을 획득하는 단계; 및상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록을 복원하는 단계를 포함하고,상기 분할 타입은 바이너리 분할, 트라이 분할, 쿼드 분할 중 하나를 나타내는 것을 특징으로 하는 영상 복호화 방법.
- 제 1항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록의 크기가 소정의 크기보다 작거나 같은 경우, 인트라 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록의 크기가 소정의 크기보다 크거나 같은 경우, 인터 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록의 넓이가 소정의 값보다 작거나 같은 경우, 인트라 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록의 넓이가 소정의 값보다 크거나 같은 경우, 인터 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록의 높이 및 너비의 합이 소정의 제1 값보다 작거나 같은 경우, 상기 적어도 하나의 제2 블록의 예측 모드를 인트라 모드로 결정하는 단계; 및상기 적어도 하나의 제2 블록의 높이 및 너비의 합이 소정의 제2 값보다 큰 경우, 인터 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 결정된 적어도 하나의 제2 블록의 높이 및 너비 중 적어도 하나가 소정의 값 이상인 경우, 인터 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 결정된 적어도 하나의 제2 블록의 높이 및 너비 중 적어도 하나가 소정의 값 이하인 경우, 인트라 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록이 직사각형(non-square) 또는 정사각형(square)인지 여부 및 상기 적어도 하나의 제2 블록의 높이 및 너비의 비율 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드를 결정하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 적어도 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록을 포함하는 슬라이스가 인트라 슬라이스이고, 상기 적어도 하나의 제2 블록의 크기가 소정의 크기보다 큰 경우, 상기 적어도 하나의 제2 블록을 분할한다고 결정하는 단계를 포함하고,상기 결정된 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록을 획득하는 단계는,상기 적어도 하나의 제2 블록을 분할한다고 결정한 경우, 상기 제2 블록을 소정의 분할 타입 및 소정의 분할 방향 중 적어도 하나에 기초하여 제2 블록을 분할하여 적어도 하나의 제3 블록을 결정하는 단계; 및상기 적어도 하나의 제3 블록이 상기 소정의 크기보다 작거나 같은 경우, 상기 제3 블록의 예측 블록을 획득하는 단계를 포함하는 것을 특징으로 하는 영상 복호화 방법.
- 영상에 포함된 제1 블록에 대한 분할 타입 및 분할 방향 중 적어도 하나에 기초하여 상기 제1 블록을 분할하여 상기 블록으로부터 적어도 하나의 제2 블록을 결정하고, 상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하고 상기 결정된 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록을 획득하는 예측부; 및상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록을 복원하는 영상 복호화부를 포함하고,상기 분할 타입은 바이너리 분할, 트라이 분할, 쿼드 분할 중 하나를 나타내는 것을 특징으로 하는 영상 복호화 장치.
- 영상에 포함된 제1 블록에 대한 분할 타입 및 분할 방향 중 적어도 하나에 기초하여 상기 제1 블록을 분할하여 상기 제1 블록으로부터 적어도 하나의 제2 블록을 결정하는 단계;상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계;상기 결정된 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록을 획득하는 단계; 및상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록을 부호화하는 단계;를 포함하고,상기 분할 타입은 바이너리 분할, 트라이 분할, 쿼드 분할 중 하나를 나타내는 것을 특징으로 하는 영상 부호화 방법.
- 제 12항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록의 크기가 소정의 제1 크기보다 작거나 같은 경우, 상기 적어도 하나의 제2 블록의 예측 모드를 인트라 모드로 결정하는 단계; 및상기 적어도 하나의 제2 블록의 크기가 소정의 제2 크기보다 크거나 같은 경우, 인터 모드를 상기 적어도 하나의 제2 블록의 예측 모드로 결정하는 단계를 포함하는 것을 특징으로 하는 영상 부호화 방법.
- 제 12항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록이 직사각형(non-square) 또는 정사각형(square)인지 여부 및 상기 적어도 하나의 제2 블록의 높이 및 너비의 비율 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드를 결정하는 단계를 포함하는 것을 특징으로 하는 영상 부호화 방법.
- 제 12항에 있어서,상기 결정된 적어도 하나의 제2 블록의 크기 및 모양(shape) 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록의 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 하나를 결정하는 단계는,상기 적어도 하나의 제2 블록을 포함하는 슬라이스가 인트라 슬라이스이고, 상기 적어도 하나의 제2 블록의 크기가 소정의 크기보다 큰 경우, 상기 적어도 하나의 제2 블록을 분할한다고 결정하는 단계를 포함하고,상기 결정된 예측 모드 및 상기 적어도 하나의 제2 블록의 분할 여부 중 적어도 하나에 기초하여 상기 적어도 하나의 제2 블록에 포함된 블록의 예측 블록을 획득하는 단계는,상기 적어도 하나의 제2 블록을 분할한다고 결정한 경우, 상기 제2 블록을 소정의 분할 타입 및 소정의 분할 방향 중 적어도 하나에 기초하여 제2 블록을 분할하여 적어도 하나의 제3 블록을 결정하는 단계; 및상기 적어도 하나의 제3 블록이 소정의 크기보다 작거나 같은 경우, 상기 제3 블록의 예측 블록을 획득하는 단계를 포함하는 것을 특징으로 하는 영상 부호화 방법.
Priority Applications (19)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/627,551 US11095884B2 (en) | 2017-07-06 | 2018-07-06 | Image encoding method and apparatus, and image decoding method and apparatus |
CA3069009A CA3069009C (en) | 2017-07-06 | 2018-07-06 | Image encoding method and apparatus, and image decoding method and apparatus |
KR1020227011351A KR102446445B1 (ko) | 2017-07-06 | 2018-07-06 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
CN202210965813.9A CN115348444A (zh) | 2017-07-06 | 2018-07-06 | 图像编码方法和设备以及图像解码方法和设备 |
EP21182740.7A EP3910944A1 (en) | 2017-07-06 | 2018-07-06 | Image encoding method and apparatus, and image decoding method and apparatus |
CN201880045227.4A CN110870309B (zh) | 2017-07-06 | 2018-07-06 | 图像编码方法和设备以及图像解码方法和设备 |
CN202210967951.0A CN115348447A (zh) | 2017-07-06 | 2018-07-06 | 图像编码方法和设备以及图像解码方法和设备 |
CN202210966434.1A CN115348446A (zh) | 2017-07-06 | 2018-07-06 | 图像编码方法和设备以及图像解码方法和设备 |
EP18828575.3A EP3637766B1 (en) | 2017-07-06 | 2018-07-06 | Image encoding method, and image decoding method and apparatus |
KR1020227032280A KR102637661B1 (ko) | 2017-07-06 | 2018-07-06 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
KR1020247004490A KR20240023240A (ko) | 2017-07-06 | 2018-07-06 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
CN202210966065.6A CN115348445A (zh) | 2017-07-06 | 2018-07-06 | 图像编码方法和设备以及图像解码方法和设备 |
MYPI2019007690A MY202512A (en) | 2017-07-06 | 2018-07-06 | Image encoding method and apparatus, and image decoding method and apparatus |
KR1020227011352A KR102446446B1 (ko) | 2017-07-06 | 2018-07-06 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
KR1020207000380A KR102386291B1 (ko) | 2017-07-06 | 2018-07-06 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
US17/375,674 US11528479B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
US17/375,632 US11539942B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
US17/375,535 US11523110B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
US17/375,582 US11528478B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201762529156P | 2017-07-06 | 2017-07-06 | |
US62/529,156 | 2017-07-06 |
Related Child Applications (6)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/627,551 A-371-Of-International US11095884B2 (en) | 2017-07-06 | 2018-07-06 | Image encoding method and apparatus, and image decoding method and apparatus |
US201916627551A Substitution | 2017-07-06 | 2019-12-30 | |
US17/375,632 Continuation US11539942B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
US17/375,674 Continuation US11528479B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
US17/375,582 Continuation US11528478B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
US17/375,535 Continuation US11523110B2 (en) | 2017-07-06 | 2021-07-14 | Image encoding method and apparatus, and image decoding method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019009666A1 true WO2019009666A1 (ko) | 2019-01-10 |
Family
ID=64950226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2018/007701 WO2019009666A1 (ko) | 2017-07-06 | 2018-07-06 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
Country Status (7)
Country | Link |
---|---|
US (5) | US11095884B2 (ko) |
EP (2) | EP3910944A1 (ko) |
KR (5) | KR102446445B1 (ko) |
CN (5) | CN110870309B (ko) |
CA (3) | CA3069009C (ko) |
MY (1) | MY202512A (ko) |
WO (1) | WO2019009666A1 (ko) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102446445B1 (ko) * | 2017-07-06 | 2022-09-22 | 삼성전자주식회사 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
KR20200087086A (ko) * | 2019-01-10 | 2020-07-20 | 세종대학교산학협력단 | 영상 부호화/복호화 방법 및 장치 |
US11445174B2 (en) * | 2019-05-06 | 2022-09-13 | Tencent America LLC | Method and apparatus for video coding |
CN113302929A (zh) * | 2019-06-24 | 2021-08-24 | 华为技术有限公司 | 几何分割模式的样本距离计算 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130067038A (ko) * | 2011-12-13 | 2013-06-21 | 연세대학교 산학협력단 | 적응적인 인트라 예측 모드 부호화 방법 및 장치, 그리고 복호화 방법 및 장치 |
US20160277758A1 (en) * | 2013-10-16 | 2016-09-22 | Sharp Kabushiki Kaisha | Image decoding device and image coding device |
KR20160132893A (ko) * | 2014-03-31 | 2016-11-21 | 삼성전자주식회사 | 서브블록 기반 예측을 수행하는 인터 레이어 비디오 복호화 방법 및 그 장치 및 서브블록 기반 예측을 수행하는 인터 레이어 비디오 부호화 방법 및 그 장치 |
KR101698509B1 (ko) * | 2009-10-01 | 2017-01-23 | 에스케이텔레콤 주식회사 | 분할 레이어를 이용한 영상 부호화/복호화 방법 및 장치 |
KR101712351B1 (ko) * | 2009-06-26 | 2017-03-06 | 에스케이 텔레콤주식회사 | 다차원 정수 변환을 이용한 영상 부호화/복호화 장치 및 방법 |
Family Cites Families (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7643559B2 (en) * | 2001-09-14 | 2010-01-05 | Ntt Docomo, Inc. | Coding method, decoding method, coding apparatus, decoding apparatus, image processing system, coding program, and decoding program |
WO2006052577A2 (en) * | 2004-11-04 | 2006-05-18 | Thomson Licensing | Method and apparatus for fast mode decision of b-frames in a video encoder |
US7929606B2 (en) * | 2005-01-21 | 2011-04-19 | Lg Electronics Inc. | Method and apparatus for encoding/decoding video signal using block prediction information |
KR101356448B1 (ko) * | 2008-10-01 | 2014-02-06 | 한국전자통신연구원 | 예측 모드를 이용한 복호화 장치 |
KR101527085B1 (ko) * | 2009-06-30 | 2015-06-10 | 한국전자통신연구원 | 인트라 부호화/복호화 방법 및 장치 |
KR101452859B1 (ko) * | 2009-08-13 | 2014-10-23 | 삼성전자주식회사 | 움직임 벡터를 부호화 및 복호화하는 방법 및 장치 |
HUE047479T2 (hu) * | 2009-10-01 | 2020-04-28 | Sk Telecom Co Ltd | Eljárás és készülék képek változtatható méretû makroblokkok használatával történõ kódolására/dekódolására |
CN102835111B (zh) * | 2010-01-19 | 2015-08-12 | 三星电子株式会社 | 使用先前块的运动矢量作为当前块的运动矢量来对图像进行编码/解码的方法和设备 |
CN105025301B (zh) * | 2010-01-19 | 2019-08-23 | 三星电子株式会社 | 图像解码设备 |
WO2011096770A2 (ko) * | 2010-02-02 | 2011-08-11 | (주)휴맥스 | 영상 부호화/복호화 장치 및 방법 |
US8619857B2 (en) * | 2010-04-09 | 2013-12-31 | Sharp Laboratories Of America, Inc. | Methods and systems for intra prediction |
KR101379188B1 (ko) * | 2010-05-17 | 2014-04-18 | 에스케이 텔레콤주식회사 | 인트라 블록 및 인터 블록이 혼합된 코딩블록을 이용하는 영상 부호화/복호화 장치 및 그 방법 |
CN103392341A (zh) * | 2010-12-23 | 2013-11-13 | 三星电子株式会社 | 用于对图像预测单元的帧内预测模式进行编码的方法和装置,以及用于对图像预测单元的帧内预测模式进行解码的方法和装置 |
AU2015202844B2 (en) * | 2011-01-12 | 2016-03-17 | Ntt Docomo, Inc. | Image predict coding method, image predict coding device, image predict coding program, image predict decoding method, image predict decoding device, and image predict decoding program |
WO2012101781A1 (ja) * | 2011-01-26 | 2012-08-02 | 株式会社日立製作所 | 画像復号化装置 |
CN105791875B (zh) * | 2011-06-10 | 2018-12-11 | 联发科技股份有限公司 | 可伸缩视频编码方法及其装置 |
EP2777283B1 (en) * | 2011-11-11 | 2018-01-10 | GE Video Compression, LLC | Effective prediction using partition coding |
JP5987768B2 (ja) * | 2012-04-16 | 2016-09-07 | 株式会社Jvcケンウッド | 動画像符号化装置、動画像符号化方法、動画像符号化プログラム、送信装置、送信方法及び送信プログラム |
JP6080405B2 (ja) * | 2012-06-29 | 2017-02-15 | キヤノン株式会社 | 画像符号化装置、画像符号化方法及びプログラム、画像復号装置、画像復号方法及びプログラム |
US9743091B2 (en) * | 2012-12-17 | 2017-08-22 | Lg Electronics Inc. | Method for encoding/decoding image, and device using same |
KR101596085B1 (ko) * | 2012-12-18 | 2016-02-19 | 한양대학교 산학협력단 | 적응적인 인트라 예측을 이용한 영상 부호화/복호화 장치 및 방법 |
US9877020B2 (en) * | 2013-01-10 | 2018-01-23 | Samsung Electronics Co., Ltd. | Method for encoding inter-layer video for compensating luminance difference and device therefor, and method for decoding video and device therefor |
CN105264890B (zh) * | 2013-04-05 | 2019-05-31 | 三星电子株式会社 | 用于补偿亮度差的层间视频编码方法和设备以及层间视频解码方法和设备 |
CN105308966B (zh) * | 2013-04-05 | 2019-01-04 | 三星电子株式会社 | 视频编码方法及其设备以及视频解码方法及其设备 |
CN103237216B (zh) * | 2013-04-12 | 2017-09-12 | 华为技术有限公司 | 深度图像的编解码方法和编解码装置 |
KR101412176B1 (ko) * | 2013-06-28 | 2014-07-01 | 한국전자통신연구원 | 예측 모드를 이용한 영상 부호화 장치 |
JP2015119396A (ja) * | 2013-12-19 | 2015-06-25 | キヤノン株式会社 | イントラ予測モード決定装置、イントラ予測モード決定方法、及びイントラ予測モード決定プログラム |
EP3089452A4 (en) * | 2013-12-26 | 2017-10-25 | Samsung Electronics Co., Ltd. | Inter-layer video decoding method for performing subblock-based prediction and apparatus therefor, and inter-layer video encoding method for performing subblock-based prediction and apparatus therefor |
CA2942292A1 (en) * | 2014-03-11 | 2015-09-17 | Samsung Electronics Co., Ltd. | Depth image prediction mode transmission method and apparatus for encoding and decoding inter-layer video |
KR101606853B1 (ko) * | 2014-05-15 | 2016-04-11 | 삼성전자주식회사 | 영상의 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
WO2016090568A1 (en) * | 2014-12-10 | 2016-06-16 | Mediatek Singapore Pte. Ltd. | Binary tree block partitioning structure |
KR101625632B1 (ko) * | 2015-04-07 | 2016-05-31 | 삼성전자주식회사 | 큰 크기의 변환 단위를 이용한 영상 부호화, 복호화 방법 및 장치 |
JP2016208094A (ja) * | 2015-04-15 | 2016-12-08 | 富士通株式会社 | 動画像符号化装置、動画像符号化方法、及び動画像符号化プログラム |
KR102230264B1 (ko) * | 2015-08-28 | 2021-03-22 | 삼성전자주식회사 | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 |
KR102446445B1 (ko) * | 2017-07-06 | 2022-09-22 | 삼성전자주식회사 | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 |
-
2018
- 2018-07-06 KR KR1020227011351A patent/KR102446445B1/ko active IP Right Grant
- 2018-07-06 KR KR1020207000380A patent/KR102386291B1/ko active IP Right Grant
- 2018-07-06 CN CN201880045227.4A patent/CN110870309B/zh active Active
- 2018-07-06 MY MYPI2019007690A patent/MY202512A/en unknown
- 2018-07-06 CN CN202210967951.0A patent/CN115348447A/zh active Pending
- 2018-07-06 KR KR1020247004490A patent/KR20240023240A/ko active Application Filing
- 2018-07-06 EP EP21182740.7A patent/EP3910944A1/en active Pending
- 2018-07-06 KR KR1020227032280A patent/KR102637661B1/ko active IP Right Grant
- 2018-07-06 WO PCT/KR2018/007701 patent/WO2019009666A1/ko unknown
- 2018-07-06 CA CA3069009A patent/CA3069009C/en active Active
- 2018-07-06 CA CA3153608A patent/CA3153608A1/en active Pending
- 2018-07-06 KR KR1020227011352A patent/KR102446446B1/ko active IP Right Grant
- 2018-07-06 CA CA3153607A patent/CA3153607C/en active Active
- 2018-07-06 CN CN202210966434.1A patent/CN115348446A/zh active Pending
- 2018-07-06 CN CN202210966065.6A patent/CN115348445A/zh active Pending
- 2018-07-06 US US16/627,551 patent/US11095884B2/en active Active
- 2018-07-06 EP EP18828575.3A patent/EP3637766B1/en active Active
- 2018-07-06 CN CN202210965813.9A patent/CN115348444A/zh active Pending
-
2021
- 2021-07-14 US US17/375,674 patent/US11528479B2/en active Active
- 2021-07-14 US US17/375,582 patent/US11528478B2/en active Active
- 2021-07-14 US US17/375,632 patent/US11539942B2/en active Active
- 2021-07-14 US US17/375,535 patent/US11523110B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101712351B1 (ko) * | 2009-06-26 | 2017-03-06 | 에스케이 텔레콤주식회사 | 다차원 정수 변환을 이용한 영상 부호화/복호화 장치 및 방법 |
KR101698509B1 (ko) * | 2009-10-01 | 2017-01-23 | 에스케이텔레콤 주식회사 | 분할 레이어를 이용한 영상 부호화/복호화 방법 및 장치 |
KR20130067038A (ko) * | 2011-12-13 | 2013-06-21 | 연세대학교 산학협력단 | 적응적인 인트라 예측 모드 부호화 방법 및 장치, 그리고 복호화 방법 및 장치 |
US20160277758A1 (en) * | 2013-10-16 | 2016-09-22 | Sharp Kabushiki Kaisha | Image decoding device and image coding device |
KR20160132893A (ko) * | 2014-03-31 | 2016-11-21 | 삼성전자주식회사 | 서브블록 기반 예측을 수행하는 인터 레이어 비디오 복호화 방법 및 그 장치 및 서브블록 기반 예측을 수행하는 인터 레이어 비디오 부호화 방법 및 그 장치 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3637766A4 * |
Also Published As
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021006692A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2019066384A1 (ko) | 크로스-성분 예측에 의한 비디오 복호화 방법 및 장치, 크로스-성분 예측에 의한 비디오 부호화 방법 및 장치 | |
WO2019009502A1 (ko) | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 | |
WO2018030599A1 (ko) | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 | |
WO2018012808A1 (ko) | 크로마 인트라 예측 방법 및 그 장치 | |
WO2020027551A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2020040619A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2019143093A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2017142327A1 (ko) | 인트라 예측오차의 감소를 위한 인트라 예측 방법 및 그 장치 | |
WO2019088700A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2019009666A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2020076130A1 (ko) | 타일 및 타일 그룹을 이용하는 비디오 부호화 및 복호화 방법, 및 타일 및 타일 그룹을 이용하는 비디오 부호화 및 복호화 장치 | |
WO2019066472A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2017090968A1 (ko) | 영상을 부호화/복호화 하는 방법 및 그 장치 | |
WO2019216712A1 (ko) | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 | |
WO2019135558A1 (ko) | 비디오 복호화 방법 및 장치, 비디오 부호화 방법 및 장치 | |
WO2019009503A1 (ko) | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 | |
WO2019098464A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2020189980A1 (ko) | 영상 부호화 방법 및 장치, 영상 복호화 방법 및 장치 | |
WO2020130712A1 (ko) | 삼각 예측 모드를 이용하는 영상 부호화 장치 및 영상 복호화 장치, 및 이에 의한 영상 부호화 방법 및 영상 복호화 방법 | |
WO2019216710A1 (ko) | 영상의 부호화 및 복호화를 위한 영상의 분할 방법 및 장치 | |
WO2017195945A1 (ko) | 영상을 부호화/복호화 하는 방법 및 그 장치 | |
WO2019066514A1 (ko) | 부호화 방법 및 그 장치, 복호화 방법 및 그 장치 | |
WO2019209028A1 (ko) | 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치 | |
WO2020013627A1 (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: 18828575 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2018828575 Country of ref document: EP Effective date: 20191209 |
|
ENP | Entry into the national phase |
Ref document number: 3069009 Country of ref document: CA |
|
ENP | Entry into the national phase |
Ref document number: 20207000380 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |