WO2022108419A1 - 선택적 서브블록 분할정보 전송을 이용하는 영상 부호화 및 복호화 방법과 장치 - Google Patents
선택적 서브블록 분할정보 전송을 이용하는 영상 부호화 및 복호화 방법과 장치 Download PDFInfo
- Publication number
- WO2022108419A1 WO2022108419A1 PCT/KR2021/017261 KR2021017261W WO2022108419A1 WO 2022108419 A1 WO2022108419 A1 WO 2022108419A1 KR 2021017261 W KR2021017261 W KR 2021017261W WO 2022108419 A1 WO2022108419 A1 WO 2022108419A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- intra prediction
- block
- sub
- subblock
- stop range
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000005192 partition Methods 0.000 title claims abstract description 7
- 230000005540 biological transmission Effects 0.000 title abstract description 8
- 239000013598 vector Substances 0.000 description 47
- 238000013139 quantization Methods 0.000 description 23
- 238000005516 engineering process Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 13
- 238000010586 diagram Methods 0.000 description 13
- 239000013074 reference sample Substances 0.000 description 8
- 230000009466 transformation Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 241000023320 Luma <angiosperm> Species 0.000 description 6
- 239000000284 extract Substances 0.000 description 6
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 6
- 230000006835 compression Effects 0.000 description 5
- 238000007906 compression Methods 0.000 description 5
- 238000001914 filtration Methods 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 4
- 230000001965 increasing effect Effects 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 4
- 239000000523 sample Substances 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000000638 solvent extraction Methods 0.000 description 2
- 230000001131 transforming effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 208000034188 Stiff person spectrum disease Diseases 0.000 description 1
- 229920010524 Syndiotactic polystyrene Polymers 0.000 description 1
- 108010063123 alfare Proteins 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 208000012112 ischiocoxopodopatellar syndrome Diseases 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000002490 spark plasma sintering Methods 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/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/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/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/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for 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/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/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
Definitions
- the present disclosure relates to an image encoding and decoding method and apparatus using selective sub-block division information transmission.
- video data Since video data has a large amount of data compared to audio data or still image data, it requires a lot of hardware resources including memory to store or transmit itself without compression processing.
- an encoder when storing or transmitting video data, an encoder is used to compress and store or transmit the video data, and a decoder receives, decompresses, and reproduces the compressed video data.
- video compression technologies there are H.264/AVC, High Efficiency Video Coding (HEVC), and the like, as well as Versatile Video Coding (VVC), which improves coding efficiency by about 30% or more compared to HEVC.
- ISP Intra Sub-Partition
- the present disclosure provides an image encoding/decoding method for selectively encoding and decoding a division direction of a subblock in order to efficiently perform subblock-based intra prediction while reducing a transmission overhead of a signal for using subblock division, and
- the purpose is to provide a device.
- the size of the current block and the intra prediction mode decrypting in an intra prediction method for applying an intra prediction mode of a current block to a subblock into which the current block is subdivided, performed by an image decoding apparatus, the size of the current block and the intra prediction mode decrypting; generating a pre-stop range of the sub-block based on the size of the current block and the number of divisions of the sub-block, wherein the pre-stop range includes a vertical pre-stop range and a horizontal pre-stop range, reconstructed samples of a reconstructed adjacent subblock indicate intra prediction directions not used by the subblock; and setting a division direction of the subblock according to whether the intra prediction mode is included in the vertical prestop range or the horizontal prestop range.
- an image decoding apparatus for applying an intra prediction mode of a current block to a subblock into which the current block is divided, comprising: an entropy decoding unit for decoding a size of the current block and an intra prediction mode; A pre-stop range generator for generating a pre-stop range of the sub-block based on the size of the current block, wherein the pre-stop range includes a vertical pre-stop range and a horizontal pre-stop range, and a newly restored proximity at the time of prediction reconstructed samples of a subblock indicate intra prediction directions not used by the subblock; and an intra prediction unit configured to set a division direction of the sub-block according to whether the intra prediction mode is included in the vertical pre-stop range or the horizontal pre-stop range.
- the size of the current block and the intra prediction mode obtaining a; generating a pre-stop range of the sub-block based on the size of the current block, wherein the pre-stop range includes a vertical pre-stop range and a horizontal pre-stop range, and restoration of a newly reconstructed adjacent sub-block at the time of prediction samples indicate intra prediction directions not used by the subblock; and setting a division direction of the subblock according to whether the intra prediction mode is included in the vertical prestop range or the horizontal prestop range.
- an image encoding/decoding method and apparatus for selectively encoding and decoding a division direction of a subblock are provided, thereby efficiently performing intra prediction in units of subblocks and using subblock division There is an effect that it becomes possible to reduce the transmission overhead of a signal for
- FIG. 1 is an exemplary block diagram of an image encoding apparatus that can implement techniques of the present disclosure.
- FIG. 2 is a diagram for explaining a method of dividing a block using a QTBTTT structure.
- 3A and 3B are diagrams illustrating a plurality of intra prediction modes including wide-angle intra prediction modes.
- FIG. 4 is an exemplary diagram of a neighboring block of the current block.
- FIG. 5 is an exemplary block diagram of an image decoding apparatus capable of implementing the techniques of the present disclosure.
- FIG. 6 is an exemplary diagram illustrating a current block and a divided subblock.
- 7A to 7C are exemplary views illustrating sub-block undivided, horizontal division, and vertical division.
- 8A to 8F are exemplary diagrams illustrating a method of deriving pre_prunable_range according to an embodiment of the present disclosure.
- 9A and 9B are exemplary diagrams illustrating pre_prunable_range_VER and pre_prunable_range_HOR according to an embodiment of the present disclosure.
- FIG. 10 is a block diagram conceptually illustrating a pre-stop range generator according to an embodiment of the present disclosure.
- FIG. 11 is a flowchart illustrating an intra prediction method including selective encoding in a subblock division direction according to an embodiment of the present disclosure.
- FIG. 12 is a flowchart illustrating an intra prediction method including selective decoding in a subblock division direction according to an embodiment of the present disclosure.
- FIG. 1 is an exemplary block diagram of an image encoding apparatus that can implement techniques of the present disclosure.
- an image encoding apparatus and sub-configurations of the apparatus will be described with reference to FIG. 1 .
- the image encoding apparatus includes a picture division unit 110 , a prediction unit 120 , a subtractor 130 , a transform unit 140 , a quantization unit 145 , a reordering unit 150 , an entropy encoding unit 155 , and an inverse quantization unit. 160 , an inverse transform unit 165 , an adder 170 , a loop filter unit 180 , and a memory 190 may be included.
- Each component of the image encoding apparatus may be implemented as hardware or software, or a combination of hardware and software.
- the function of each component may be implemented as software and the microprocessor may be implemented to execute the function of software corresponding to each component.
- One image is composed of one or more sequences including a plurality of pictures.
- Each picture is divided into a plurality of regions, and encoding is performed for each region.
- one picture is divided into one or more tiles and/or slices.
- one or more tiles may be defined as a tile group.
- Each tile or/slice is divided into one or more Coding Tree Units (CTUs).
- CTUs Coding Tree Units
- each CTU is divided into one or more CUs (Coding Units) by a tree structure.
- Information applied to each CU is encoded as a syntax of the CU, and information commonly applied to CUs included in one CTU is encoded as a syntax of the CTU.
- information commonly applied to all blocks in one slice is encoded as a syntax of a slice header
- information applied to all blocks constituting one or more pictures is a picture parameter set (PPS) or a picture. encoded in the header.
- PPS picture parameter set
- information commonly referenced by a plurality of pictures is encoded in a sequence parameter set (SPS).
- SPS sequence parameter set
- VPS video parameter set
- information commonly applied to one tile or tile group may be encoded as a syntax of a tile or tile group header. Syntax included in the SPS, PPS, slice header, tile or tile group header may be referred to as high-level syntax.
- the picture divider 110 determines the size of a coding tree unit (CTU).
- CTU size Information on the size of the CTU (CTU size) is encoded as a syntax of the SPS or PPS and transmitted to the video decoding apparatus.
- the picture divider 110 divides each picture constituting an image into a plurality of coding tree units (CTUs) having a predetermined size, and then repeatedly divides the CTUs using a tree structure. (recursively) divide.
- a leaf node in the tree structure becomes a coding unit (CU), which is a basic unit of encoding.
- CU coding unit
- a quadtree in which a parent node (or parent node) is divided into four child nodes (or child nodes) of the same size, or a binary tree (BinaryTree) in which a parent node is divided into two child nodes , BT), or a ternary tree (TT) in which a parent node is divided into three child nodes in a 1:2:1 ratio, or a structure in which two or more of these QT structures, BT structures, and TT structures are mixed have.
- a QuadTree plus BinaryTree (QTBT) structure may be used, or a QuadTree plus BinaryTree TernaryTree (QTBTTT) structure may be used.
- BTTT may be combined to be referred to as a Multiple-Type Tree (MTT).
- MTT Multiple-Type Tree
- FIG. 2 is a diagram for explaining a method of dividing a block using a QTBTTT structure.
- the CTU may be first divided into a QT structure.
- the quadtree splitting may be repeated until the size of a splitting block reaches the minimum block size of a leaf node (MinQTSize) allowed in QT.
- a first flag (QT_split_flag) indicating whether each node of the QT structure is divided into four nodes of a lower layer is encoded by the entropy encoder 155 and signaled to the image decoding apparatus. If the leaf node of the QT is not larger than the maximum block size (MaxBTSize) of the root node allowed in the BT, it may be further divided into any one or more of the BT structure or the TT structure.
- MaxBTSize maximum block size
- a plurality of division directions may exist in the BT structure and/or the TT structure. For example, there may be two directions in which the block of the corresponding node is divided horizontally and vertically.
- a second flag indicating whether or not nodes are split, and a flag indicating additionally splitting direction (vertical or horizontal) if split and/or splitting type (Binary) or Ternary) is encoded by the entropy encoder 155 and signaled to the video decoding apparatus.
- a CU split flag (split_cu_flag) indicating whether the node is split is encoded it might be
- the CU split flag (split_cu_flag) value indicates that it is not split
- the block of the corresponding node becomes a leaf node in the split tree structure and becomes a coding unit (CU), which is a basic unit of coding.
- the CU split flag (split_cu_flag) value indicates to be split, the image encoding apparatus starts encoding from the first flag in the above-described manner.
- split_flag split flag indicating whether each node of the BT structure is split into blocks of a lower layer and split type information indicating a split type are encoded by the entropy encoder 155 and transmitted to the image decoding apparatus.
- a type for dividing the block of the corresponding node into two blocks having an asymmetric shape may further exist.
- the asymmetric form may include a form in which the block of the corresponding node is divided into two rectangular blocks having a size ratio of 1:3, or a form in which the block of the corresponding node is divided in a diagonal direction.
- a CU may have various sizes depending on the QTBT or QTBTTT split from the CTU.
- a block corresponding to a CU to be encoded or decoded ie, a leaf node of QTBTTT
- a 'current block' a block corresponding to a CU to be encoded or decoded
- the shape of the current block may be not only a square but also a rectangle.
- the prediction unit 120 generates a prediction block by predicting the current block.
- the prediction unit 120 includes an intra prediction unit 122 and an inter prediction unit 124 .
- each of the current blocks in a picture may be predictively coded.
- prediction of the current block is performed using an intra prediction technique (using data from the picture containing the current block) or inter prediction technique (using data from a picture coded before the picture containing the current block). can be performed.
- Inter prediction includes both uni-prediction and bi-prediction.
- the intra prediction unit 122 predicts pixels in the current block by using pixels (reference pixels) located around the current block in the current picture including the current block.
- a plurality of intra prediction modes exist according to a prediction direction.
- the plurality of intra prediction modes may include two non-directional modes including a planar mode and a DC mode and 65 directional modes. According to each prediction mode, the neighboring pixels to be used and the calculation expression are defined differently.
- directional modes Nos. 67 to 80 and No. -1 to No. -14 intra prediction modes
- These may be referred to as “wide angle intra-prediction modes”.
- Arrows in FIG. 3B indicate corresponding reference samples used for prediction, not prediction directions. The prediction direction is opposite to the direction indicated by the arrow.
- the wide-angle intra prediction modes are modes in which a specific directional mode is predicted in the opposite direction without additional bit transmission when the current block is rectangular. In this case, among the wide-angle intra prediction modes, some wide-angle intra prediction modes available for the current block may be determined by the ratio of the width to the height of the rectangular current block.
- the wide-angle intra prediction modes having an angle smaller than 45 degrees are available when the current block has a rectangular shape with a height smaller than the width, and a wide angle having an angle greater than -135 degrees.
- the intra prediction modes are available when the current block has a rectangular shape with a width greater than a height.
- the intra prediction unit 122 may determine an intra prediction mode to be used for encoding the current block.
- the intra prediction unit 122 may encode the current block using several intra prediction modes and select an appropriate intra prediction mode to use from the tested modes. For example, the intra prediction unit 122 calculates bit rate distortion values using rate-distortion analysis for several tested intra prediction modes, and has the best bit rate distortion characteristics among the tested modes. An intra prediction mode may be selected.
- the intra prediction unit 122 selects one intra prediction mode from among a plurality of intra prediction modes, and predicts the current block by using a neighboring pixel (reference pixel) determined according to the selected intra prediction mode and an equation.
- Information on the selected intra prediction mode is encoded by the entropy encoder 155 and transmitted to an image decoding apparatus.
- the inter prediction unit 124 generates a prediction block for the current block by using a motion compensation process.
- the inter prediction unit 124 searches for a block most similar to the current block in the reference picture encoded and decoded before the current picture, and generates a prediction block for the current block using the searched block. Then, a motion vector (MV) corresponding to displacement between the current block in the current picture and the prediction block in the reference picture is generated.
- MV motion vector
- motion estimation is performed for a luma component, and a motion vector calculated based on the luma component is used for both the luma component and the chroma component.
- Motion information including information on a reference picture and information on a motion vector used to predict the current block is encoded by the entropy encoder 155 and transmitted to the image decoding apparatus.
- the inter prediction unit 124 may perform interpolation on a reference picture or reference block to increase prediction accuracy. That is, subsamples between two consecutive integer samples are interpolated by applying filter coefficients to a plurality of consecutive integer samples including the two integer samples.
- the motion vector can be expressed up to the precision of the decimal unit rather than the precision of the integer sample unit.
- the precision or resolution of the motion vector may be set differently for each unit of a target region to be encoded, for example, a slice, a tile, a CTU, or a CU.
- AMVR adaptive motion vector resolution
- information on the motion vector resolution to be applied to each target region should be signaled for each target region.
- the target region is a CU
- information on motion vector resolution applied to each CU is signaled.
- the information on the motion vector resolution may be information indicating the precision of a differential motion vector, which will be described later.
- the inter prediction unit 124 may perform inter prediction using bi-prediction.
- bidirectional prediction two reference pictures and two motion vectors indicating the position of a block most similar to the current block in each reference picture are used.
- the inter prediction unit 124 selects a first reference picture and a second reference picture from the reference picture list 0 (RefPicList0) and the reference picture list 1 (RefPicList1), respectively, and searches for a block similar to the current block in each reference picture. A first reference block and a second reference block are generated. Then, the first reference block and the second reference block are averaged or weighted to generate a prediction block for the current block.
- reference picture list 0 consists of pictures before the current picture in display order among the restored pictures
- reference picture list 1 consists of pictures after the current picture in display order among the restored pictures.
- the present invention is not necessarily limited thereto, and in display order, the restored pictures after the current picture may be further included in the reference picture list 0, and conversely, the restored pictures before the current picture are additionally added to the reference picture list 1. may be included.
- the motion information of the current block may be transmitted to the image decoding apparatus by encoding information for identifying the neighboring block. This method is called 'merge mode'.
- the inter prediction unit 124 selects a predetermined number of merge candidate blocks (hereinafter referred to as 'merge candidates') from neighboring blocks of the current block.
- the left block (A0), the lower left block (A1), the upper block (B0), and the upper right block (B1) adjacent to the current block in the current picture. ), and all or part of the upper left block (A2) may be used.
- a block located in a reference picture (which may be the same as or different from the reference picture used to predict the current block) other than the current picture in which the current block is located may be used as a merge candidate.
- a block co-located with the current block in the reference picture or blocks adjacent to the co-located block may be further used as merge candidates. If the number of merge candidates selected by the above-described method is smaller than the preset number, a 0 vector is added to the merge candidates.
- the inter prediction unit 124 constructs a merge list including a predetermined number of merge candidates by using these neighboring blocks.
- a merge candidate to be used as motion information of the current block is selected from among the merge candidates included in the merge list, and merge index information for identifying the selected candidate is generated.
- the generated merge index information is encoded by the encoder 150 and transmitted to the image decoding apparatus.
- the merge skip mode is a special case of the merge mode. After quantization, when all transform coefficients for entropy encoding are close to zero, only neighboring block selection information is transmitted without transmission of a residual signal. By using the merge skip mode, it is possible to achieve relatively high encoding efficiency in an image with little motion, a still image, and a screen content image.
- merge mode and the merge skip mode are collectively referred to as a merge/skip mode.
- AMVP Advanced Motion Vector Prediction
- the inter prediction unit 124 derives motion vector prediction candidates for the motion vector of the current block using neighboring blocks of the current block.
- neighboring blocks used to derive prediction motion vector candidates the left block (A0), the lower left block (A1), the upper block (B0), and the upper right block (A0) adjacent to the current block in the current picture shown in FIG. B1), and all or part of the upper left block (A2) may be used.
- a block located in a reference picture (which may be the same as or different from the reference picture used to predict the current block) other than the current picture in which the current block is located is used as a neighboring block used to derive prediction motion vector candidates.
- a block co-located with the current block in the reference picture or blocks adjacent to the co-located block may be used. If the number of motion vector candidates is smaller than the preset number by the method described above, 0 vectors are added to the motion vector candidates.
- the inter prediction unit 124 derives prediction motion vector candidates by using the motion vectors of the neighboring blocks, and determines a predicted motion vector with respect to the motion vector of the current block by using the prediction motion vector candidates. Then, a differential motion vector is calculated by subtracting the predicted motion vector from the motion vector of the current block.
- the prediction motion vector may be obtained by applying a predefined function (eg, a median value, an average value operation, etc.) to the prediction motion vector candidates.
- a predefined function eg, a median value, an average value operation, etc.
- the image decoding apparatus also knows the predefined function.
- the neighboring block used to derive the prediction motion vector candidate is a block that has already been encoded and decoded
- the video decoding apparatus already knows the motion vector of the neighboring block. Therefore, the image encoding apparatus does not need to encode information for identifying the prediction motion vector candidate. Accordingly, in this case, information on a differential motion vector and information on a reference picture used to predict a current block are encoded.
- the prediction motion vector may be determined by selecting any one of the prediction motion vector candidates.
- information for identifying the selected prediction motion vector candidate is additionally encoded together with information on the differential motion vector and information on the reference picture used to predict the current block.
- the subtractor 130 generates a residual block by subtracting the prediction block generated by the intra prediction unit 122 or the inter prediction unit 124 from the current block.
- the transform unit 140 transforms the residual signal in the residual block having pixel values in the spatial domain into transform coefficients in the frequency domain.
- the transform unit 140 may transform the residual signals in the residual block by using the entire size of the residual block as a transform unit, or divide the residual block into a plurality of sub-blocks and use the sub-blocks as transform units to perform transformation. You may.
- the residual signals may be transformed by dividing the sub-block into two sub-blocks, which are a transform region and a non-transform region, and use only the transform region sub-block as a transform unit.
- the transform region subblock may be one of two rectangular blocks having a size ratio of 1:1 based on the horizontal axis (or vertical axis).
- the flag (cu_sbt_flag) indicating that only the subblock has been transformed, the vertical/horizontal information (cu_sbt_horizontal_flag), and/or the position information (cu_sbt_pos_flag) are encoded by the entropy encoder 155 and signaled to the video decoding apparatus.
- the size of the transform region subblock may have a size ratio of 1:3 based on the horizontal axis (or vertical axis). Signaled to the decoding device.
- the transform unit 140 may individually transform the residual block in a horizontal direction and a vertical direction.
- various types of transformation functions or transformation matrices may be used.
- a pair of transform functions for horizontal transformation and vertical transformation may be defined as a multiple transform set (MTS).
- the transform unit 140 may select one transform function pair having the best transform efficiency among MTSs and transform the residual block in horizontal and vertical directions, respectively.
- Information (mts_idx) on a transform function pair selected from among MTS is encoded by the entropy encoder 155 and signaled to the image decoding apparatus.
- the quantization unit 145 quantizes the transform coefficients output from the transform unit 140 using a quantization parameter, and outputs the quantized transform coefficients to the entropy encoding unit 155 .
- the quantization unit 145 may directly quantize a related residual block for a certain block or frame without transformation.
- the quantization unit 145 may apply different quantization coefficients (scaling values) according to positions of the transform coefficients in the transform block.
- a quantization matrix applied to two-dimensionally arranged quantized transform coefficients may be encoded and signaled to an image decoding apparatus.
- the rearrangement unit 150 may rearrange the coefficient values on the quantized residual values.
- the reordering unit 150 may change a two-dimensional coefficient array into a one-dimensional coefficient sequence by using coefficient scanning. For example, the reordering unit 150 may output a one-dimensional coefficient sequence by scanning from DC coefficients to coefficients in a high frequency region using a zig-zag scan or a diagonal scan. .
- a vertical scan for scanning a two-dimensional coefficient array in a column direction and a horizontal scan for scanning a two-dimensional block shape coefficient in a row direction may be used instead of the zig-zag scan according to the size of the transform unit and the intra prediction mode. That is, a scanning method to be used among a zig-zag scan, a diagonal scan, a vertical scan, and a horizontal scan may be determined according to the size of the transform unit and the intra prediction mode.
- the entropy encoding unit 155 uses various encoding methods such as Context-based Adaptive Binary Arithmetic Code (CABAC) and Exponential Golomb to convert the one-dimensional quantized transform coefficients output from the reordering unit 150 .
- CABAC Context-based Adaptive Binary Arithmetic Code
- Exponential Golomb Exponential Golomb
- the entropy encoding unit 155 encodes information such as CTU size, CU split flag, QT split flag, MTT split type, and MTT split direction related to block splitting, so that the video decoding apparatus divides the block in the same way as the video encoding apparatus. to be able to divide.
- the entropy encoder 155 encodes information on a prediction type indicating whether the current block is encoded by intra prediction or inter prediction, and intra prediction information (ie, intra prediction) according to the prediction type.
- Mode information or inter prediction information (information on an encoding mode (merge mode or AMVP mode) of motion information, a merge index in the case of a merge mode, and a reference picture index and information on a differential motion vector in the case of an AMVP mode) is encoded.
- the entropy encoder 155 encodes information related to quantization, that is, information about a quantization parameter and information about a quantization matrix.
- the inverse quantization unit 160 inverse quantizes the quantized transform coefficients output from the quantization unit 145 to generate transform coefficients.
- the inverse transform unit 165 reconstructs a residual block by transforming the transform coefficients output from the inverse quantization unit 160 from the frequency domain to the spatial domain.
- the addition unit 170 restores the current block by adding the reconstructed residual block to the prediction block generated by the prediction unit 120 . Pixels in the reconstructed current block are used as reference pixels when intra-predicting the next block.
- the loop filter unit 180 reconstructs pixels to reduce blocking artifacts, ringing artifacts, blurring artifacts, etc. generated due to block-based prediction and transformation/quantization. filter on them.
- the filter unit 180 may include all or a part of a deblocking filter 182, a sample adaptive offset (SAO) filter 184, and an adaptive loop filter (ALF) 186 as an in-loop filter. .
- SAO sample adaptive offset
- ALF adaptive loop filter
- the deblocking filter 182 filters the boundary between reconstructed blocks in order to remove blocking artifacts caused by block-by-block encoding/decoding, and the SAO filter 184 and alf 186 deblocking filtering Additional filtering is performed on the captured image.
- the SAO filter 184 and alf 186 are filters used to compensate for a difference between a reconstructed pixel and an original pixel caused by lossy coding.
- the SAO filter 184 improves encoding efficiency as well as subjective image quality by applying an offset in units of CTUs.
- the ALF 186 performs block-by-block filtering, and the distortion is compensated by applying different filters by classifying the edge of the corresponding block and the degree of change.
- Information on filter coefficients to be used for ALF may be encoded and signaled to an image decoding apparatus.
- the restored block filtered through the deblocking filter 182 , the SAO filter 184 and the ALF 186 is stored in the memory 190 .
- the reconstructed picture may be used as a reference picture for inter prediction of blocks in a picture to be encoded later.
- FIG. 5 is an exemplary block diagram of an image decoding apparatus capable of implementing the techniques of the present disclosure.
- an image decoding apparatus and sub-components of the apparatus will be described with reference to FIG. 5 .
- the image decoding apparatus includes an entropy decoding unit 510, a reordering unit 515, an inverse quantization unit 520, an inverse transform unit 530, a prediction unit 540, an adder 550, a loop filter unit 560, and a memory ( 570) may be included.
- each component of the image decoding apparatus may be implemented as hardware or software, or a combination of hardware and software.
- the function of each component may be implemented as software and the microprocessor may be implemented to execute the function of software corresponding to each component.
- the entropy decoding unit 510 decodes the bitstream generated by the image encoding apparatus and extracts information related to block division to determine a current block to be decoded, and prediction information and residual signal required to reconstruct the current block. extract information, etc.
- the entropy decoder 510 extracts information on the CTU size from a sequence parameter set (SPS) or a picture parameter set (PPS), determines the size of the CTU, and divides the picture into CTUs of the determined size. Then, the CTU is determined as the uppermost layer of the tree structure, that is, the root node, and the CTU is divided using the tree structure by extracting division information on the CTU.
- SPS sequence parameter set
- PPS picture parameter set
- a first flag (QT_split_flag) related to QT splitting is first extracted and each node is split into four nodes of a lower layer.
- the second flag (MTT_split_flag) related to the division of MTT and the division direction (vertical / horizontal) and / or division type (binary / ternary) information are extracted and the corresponding leaf node is set to MTT divided into structures. Accordingly, each node below the leaf node of the QT is recursively divided into a BT or TT structure.
- a CU split flag (split_cu_flag) indicating whether a CU is split is first extracted, and when the block is split, a first flag (QT_split_flag) is extracted.
- each node may have zero or more repeated MTT splits after zero or more repeated QT splits. For example, in the CTU, MTT division may occur immediately, or conversely, only multiple QT divisions may occur.
- a first flag (QT_split_flag) related to QT splitting is extracted and each node is split into four nodes of a lower layer. And, for a node corresponding to a leaf node of QT, a split flag (split_flag) indicating whether to further split into BT and split direction information is extracted.
- the entropy decoding unit 510 determines a current block to be decoded by using the tree structure division, information on a prediction type indicating whether the current block is intra-predicted or inter-predicted is extracted.
- the prediction type information indicates intra prediction
- the entropy decoder 510 extracts a syntax element for intra prediction information (intra prediction mode) of the current block.
- the prediction type information indicates inter prediction
- the entropy decoding unit 510 extracts a syntax element for the inter prediction information, that is, a motion vector and information indicating a reference picture referenced by the motion vector.
- the entropy decoding unit 510 extracts quantization-related information and information on quantized transform coefficients of the current block as information on the residual signal.
- the reordering unit 515 re-orders the sequence of one-dimensional quantized transform coefficients entropy-decoded by the entropy decoding unit 510 in the reverse order of the coefficient scanning order performed by the image encoding apparatus into a two-dimensional coefficient array (that is, block) can be changed.
- the inverse quantization unit 520 inversely quantizes the quantized transform coefficients and inversely quantizes the quantized transform coefficients using the quantization parameter.
- the inverse quantizer 520 may apply different quantization coefficients (scaling values) to the two-dimensionally arranged quantized transform coefficients.
- the inverse quantizer 520 may perform inverse quantization by applying a matrix of quantization coefficients (scaling values) from the image encoding apparatus to a 2D array of quantized transform coefficients.
- the inverse transform unit 530 inversely transforms the inverse quantized transform coefficients from the frequency domain to the spatial domain to reconstruct residual signals to generate a residual block for the current block.
- the inverse transform unit 530 when the inverse transform unit 530 inversely transforms only a partial region (subblock) of the transform block, a flag (cu_sbt_flag) indicating that only the subblock of the transform block has been transformed, and subblock directional (vertical/horizontal) information (cu_sbt_horizontal_flag) ) and/or sub-block position information (cu_sbt_pos_flag), and by inversely transforming the transform coefficients of the sub-block from the frequency domain to the spatial domain, the residual signals are restored. By filling in , the final residual block for the current block is created.
- the inverse transform unit 530 determines a transform function or transform matrix to be applied in the horizontal and vertical directions, respectively, using the MTS information (mts_idx) signaled from the image encoding apparatus, and uses the determined transform function. Inverse transform is performed on transform coefficients in the transform block in the horizontal and vertical directions.
- the prediction unit 540 may include an intra prediction unit 542 and an inter prediction unit 544 .
- the intra prediction unit 542 is activated when the prediction type of the current block is intra prediction
- the inter prediction unit 544 is activated when the prediction type of the current block is inter prediction.
- the intra prediction unit 542 determines the intra prediction mode of the current block from among the plurality of intra prediction modes from the syntax element for the intra prediction mode extracted from the entropy decoding unit 510, and references the vicinity of the current block according to the intra prediction mode. Predict the current block using pixels.
- the inter prediction unit 544 determines a motion vector of the current block and a reference picture referenced by the motion vector by using the syntax element for the inter prediction mode extracted from the entropy decoding unit 510, and divides the motion vector and the reference picture. is used to predict the current block.
- the adder 550 reconstructs the current block by adding the residual block output from the inverse transform unit and the prediction block output from the inter prediction unit or the intra prediction unit. Pixels in the reconstructed current block are used as reference pixels when intra-predicting a block to be decoded later.
- the loop filter unit 560 may include a deblocking filter 562 , an SAO filter 564 , and an ALF 566 as an in-loop filter.
- the deblocking filter 562 deblocks and filters the boundary between the reconstructed blocks in order to remove a blocking artifact caused by block-by-block decoding.
- the SAO filter 564 and the ALF 566 perform additional filtering on the reconstructed block after deblocking filtering to compensate for a difference between the reconstructed pixel and the original pixel caused by lossy coding.
- the filter coefficients of the ALF are determined using information about the filter coefficients decoded from the non-stream.
- the restored block filtered through the deblocking filter 562 , the SAO filter 564 , and the ALF 566 is stored in the memory 570 .
- the reconstructed picture is used as a reference picture for inter prediction of blocks in a picture to be encoded later.
- This embodiment relates to encoding and decoding of an image (video) as described above. More specifically, an image encoding/decoding method for selectively encoding and decoding a division direction of a subblock in order to efficiently perform subblock-based intra prediction while reducing a signal transmission overhead for using subblock division, and provide the device.
- the following embodiment may be performed by the intra predictor 122 of the image encoding apparatus and the intra predictor 542 of the image decoding apparatus.
- the aspect ratio of a block is defined as a value obtained by dividing the horizontal length of the block by the vertical length.
- the intra prediction mode of the luma block has an additionally subdivided directional mode (ie, -14 to 80) in addition to the non-directional mode (ie, Planar and DC), as illustrated in FIGS. 3A and 3B . .
- various techniques exist for improving encoding efficiency of intra prediction In the ISP technique, after subdividing a current block into small blocks of the same size, an intra prediction mode is shared among all subblocks, but a transform can be applied to each subblock. In this case, the sub-division of the block may be performed in a horizontal or vertical direction.
- a large block before subdivision is referred to as a current block, and each of the subdivided small blocks is expressed as a subblock.
- the operation of the ISP technology is as follows.
- the video encoding apparatus signals intra_subpartitions_mode_flag indicating whether ISP is applied or not and intra_subpartitions_split_flag indicating the sub-segmentation method to the video decoding apparatus.
- Table 1 shows the sub-division types IntraSubPartitionsSplitType according to intra_subpartitions_mode_flag and intra_subpartitions_split_flag.
- ISP technology sets the split type IntraSubPartitionsSplitType as follows.
- IntraSubPartitionsSplitType is set to 0, and sub-block division is not performed as in the example of FIG. 7A . That is, the ISP does not apply.
- IntraSubPartitionsSplitType is 1
- intra_subpartitions_mode_flag is 1
- intra_subpartitions_split_flag is 0.
- intra_subpartitions_mode_flag is expressed as a sub-block division application flag
- intra_subpartitions_split_flag is expressed as a sub-block division direction flag
- IntraSubPartitionsSplitType is expressed as a sub-block division type.
- ISP_HOR_SPLIT is used interchangeably with horizontal division
- ISP_VER_SPLIT is used interchangeably with vertical division
- ISP application may be limited according to the size of the current block during subdivision. That is, when the size of the current block is 4x4, ISP is not applied.
- a block having a size of 4 ⁇ 8 or 8 ⁇ 4 can be divided into two subblocks having the same shape and size, which is called Half_Split.
- blocks having other sizes may be divided into 4 sub-blocks having the same shape and size, which is called Quarter_Split.
- the image encoding apparatus sequentially encodes each subblock.
- each subblock shares the same intra prediction information.
- intra prediction for encoding each subblock as in the horizontal division illustrated in FIG. 7B and the vertical division illustrated in FIG. 7C , the image encoding apparatus first converts the reconstructed pixels in the encoded subblock into the subsequent subblocks. By using it as the predicted pixel value of , compression efficiency can be increased.
- the existing method of subdividing one block into a plurality of sub-divisions, but sharing one prediction mode is inefficient.
- intra prediction when intra prediction is applied to each subblock, it is assumed that the current block is divided in a specific direction (eg, vertical direction) according to the intra prediction mode (for example, let's say the mode is predicted in a vertical direction). do.
- the intra prediction mode for example, let's say the mode is predicted in a vertical direction.
- the video encoder signals the application of the ISP technology, in this case, it indicates splitting in the horizontal direction, not the vertical direction in the above example. Accordingly, there may be a number of cases in which the image decoding apparatus can autonomously determine in which direction the subblock is divided in either a vertical or a horizontal direction according to the intra prediction mode.
- the subblock division direction flag intra_subpartitions_split_flag is always transmitted to indicate the division direction to the image decoding apparatus, there is a disadvantage that the efficiency and advantage of the ISP technique in intra prediction cannot be maximized.
- the video encoding apparatus does not always transmit the sub-block division direction flag intra_subpartitions_split_flag indicating which direction to split horizontally or vertically,
- the intra_subpartitions_split_flag is transmitted only when the image decoding apparatus cannot determine the subblock division direction by itself. That is, when the image decoding apparatus can determine the sub-block division direction by itself, the image encoding apparatus does not signal the sub-block division direction, instead, the image decoding apparatus checks the sub-block division direction by itself and uses it for decoding.
- the image encoding apparatus may designate a pre-prunable range pre_prunable_range.
- the prestop range pre_prunable_range is a subset of intra prediction modes, and is a set including intra prediction directions in which prediction is not performed using reconstructed samples of a newly reconstructed adjacent subblock when the ISP technique is applied to a subblock. Therefore, even if the current block is divided into subblocks using the ISP technique, when prediction is performed in the intra prediction direction belonging to the pre_prunable_range, the image encoding apparatus does not refer to pixel values of the subblocks that are already reconstructed in the current block.
- the image encoding apparatus performs intra prediction using adjacent pixels of the current block, which may have a long spatial distance. That is, in this case, the characteristic of the ISP technology of dividing the current block and predicting using a closer reference sample is not utilized. The reason for this is because of the intra prediction direction. For example, if the intra prediction mode indicates a vertical direction and subblocks are vertically split, there is no need to use a previously coded subblock at all. In this case, the intra prediction mode pointing in the vertical direction belongs to pre_prunable_range when the subblock is vertically divided (ie, in the case of ISP_VER_SPLIT).
- the pre-stop range pre_prunable_range may be set in advance for each sub-block division direction as follows. First, a method of generating the pre-stop range pre_prunable_range when the current block is vertically divided will be described with reference to FIGS. 8A to 8C .
- Table 2 also specifies the mapping between predModeIntra and the angle parameter intraPredAngle.
- IntraPredAngle is a value with 1/32 pixel accuracy.
- iIdx illustrated in FIG. 8A is calculated as in Equation 1 using a bit shift operation in order to reduce the complexity of the calculation.
- Equation (2) the tangent with respect to the angle ⁇ may be expressed as Equation (2).
- Equation 3 the slope for the angle ⁇ can be approximated as in Equation 3.
- the current block is vertically divided and the size of the lower sub-block is PW ⁇ PH.
- PW and PH are the horizontal and vertical lengths of the divided subblocks, respectively.
- the slope with respect to the angle ⁇ may be expressed as Equation (4).
- Equation 3 Equation 5, and Equation 6, N represents interpolation accuracy, and a preferred embodiment of this value is 32.
- intraPredAngle is calculated as -8.
- predModeIntra corresponding to intraPredAngle -8 is intra prediction mode No. 44.
- the video encoding apparatus can determine ISP_HOR_SPLIT without considering ISP_VER_SPLIT during encoding. have. Accordingly, in this case, the subblock division direction flag intra_subpartitions_split_flag indicating the subblock division direction need not be signaled.
- Equation 7 the angle between the horizontal line and the line passing through any pixel p(x, y) in the current block and the reference sample r(-1, y + iIdy) is denoted by ⁇ .
- iIdy is calculated as in Equation 7.
- Equation (8) the tangent with respect to the angle ⁇ may be expressed as Equation (8).
- Equation 3 the slope with respect to the angle ⁇ can be approximated as Equation 3 above.
- Equation (9) the horizontal line and the upper left side of the subblock If the angle between the diagonals is expressed as ⁇ , the slope with respect to the angle ⁇ can be expressed as in Equation (9).
- Equation 10 can be derived from Equations 3 and 9.
- N the interpolation accuracy, and one preferred embodiment of this value is 32.
- the current block is a 16 ⁇ 16 luma CU block.
- intraPredAngle is calculated as -8, and referring to Table 2, predModeIntra corresponding to intraPredAngle -8 is intra prediction mode No. 24.
- modes smaller than 24 in ISP_VER_SPLIT indicating the horizontal division direction of the sub-block are included in pre_prunable_range, so the video encoding apparatus can determine ISP_VER_SPLIT without considering ISP_HOR_SPLIT during encoding have. Accordingly, in this case, the subblock division direction flag intra_subpartitions_split_flag indicating the subblock division direction need not be signaled.
- pre_prunable_range may be differently determined for each of the vertical division ISP_VER_SPLIT and the horizontal division ISP_HOR_SPLIT.
- the pre_prunable_range may be defined as a vertical pre-prunable range pre_prunable_range_VER and a horizontal pre-prunable range pre_prunable_range_HOR, respectively, as illustrated in FIGS. 9A and 9B .
- pre_prunable_range_VER includes values larger than the prediction direction corresponding to the upper left diagonal of the subblock.
- pre_prunable_range_HOR may include values smaller than the prediction direction corresponding to the upper left diagonal of the subblock.
- pre_prunable_range may be determined as shown in Table 3 depending on the aspect ratio of the current block, the number of sub-division blocks, and the division direction.
- X represents an intra prediction mode
- pre_prunable_range may be expressed as in Equation 11.
- X1 and X2 represent a lower limit value and an upper limit value of pre_prunable_range, respectively.
- FIG. 10 is a block diagram conceptually illustrating a pre-stop range generator according to an embodiment of the present disclosure.
- the pre-prunable range generator (1010) is It is included in the intra prediction unit 122 of the image encoding apparatus.
- the pre-stop range generator 1010 may determine X1 and X2 according to Table 3 by using the horizontal and vertical lengths of the sub-blocks and the division direction of the sub-blocks.
- pre_prunable_range is checked according to Table 3 after converting the aspect ratio of the current block from the horizontal and vertical lengths of the subblocks while the division direction is fixed, the pre_prunable_range is the same regardless of the number of divisions of the subblocks. For example, it is assumed that the aspect ratio of the horizontally divided subblocks is 4. If it is Half_Split, the aspect ratio of the current block is 2, and if it is Quarter_Split, the aspect ratio of the current block is 1. According to Table 3, it can be seen that 'X ⁇ 24' in any case.
- the pre-stop range generation unit 1010 uses the horizontal and vertical lengths of the current block before division into sub-blocks, the number of sub-blocks, and the sub-block division direction according to Table 3 for X1 and X2 can be determined.
- the intra prediction unit 122 determines that the intra prediction mode X is included in the pre_prunable_range when the intra prediction mode X satisfies the corresponding condition for horizontal division or vertical division of Equation (11).
- a current block having a size of 4 ⁇ 8 or 8 ⁇ 4 is subdivided into two (Half_Split) in order to limit the block from being split too small.
- a large current block may be subdivided into four (Quarter_Split). That is, in the existing ISP technology, the number of sub-divisions may be determined according to the size of the current block.
- Quarter_Split by the pre-stop range generating unit 1010 according to Table 3 and Equation 11 X1 and X2 to be determined are expressed as shown in Table 4.
- X1 and X2 can be expressed as in Table 5.
- the size of a block limiting division into sub-blocks may be set to a different value.
- the current block may be divided into subblocks so that the size of the divided block is not smaller than 8 ⁇ 8.
- the current block may be divided into subblocks so that the size of the block is not smaller than 2 ⁇ 2.
- the intra prediction unit 542 may also include a pre-prunable range generator.
- FIG. 11 is a flowchart illustrating an intra prediction method including selective encoding in a subblock division direction according to an embodiment of the present disclosure.
- the image encoding apparatus obtains the size of the current block and the intra prediction mode X (S1100).
- the size of the current block may be expressed by a horizontal length and a vertical length.
- the video encoding apparatus generates a pre-stop range pre_prunable_range of the subblock ( S1102 ).
- pre_prunable_range includes pre_prunable_range_VER and pre_prunable_range_HOR.
- the image encoding apparatus may generate pre_prunable_range_VER and pre_prunable_range_HOR according to Table 3 by using the aspect ratio of the current block and the number of subblocks. Meanwhile, in the existing ISP technology, since the image encoding apparatus can determine the number of subblocks to be divided according to the size of the current block, there is no need to encode the number of subblocks.
- the image encoding apparatus may obtain and encode the number of sub-blocks and then transmit it to the image decoding apparatus.
- the video encoding apparatus checks whether the intra prediction mode X of the current block is included in pre_prunable_range_VER or pre_prunable_range_HOR (S1104).
- the video encoding apparatus checks whether the intra prediction mode X of the current block is included in pre_prunable_range_VER ( S1106 ).
- applying the corresponding intra mode to vertical division means that intra prediction is performed without using a newly reconstructed near prediction sample. This case represents the same case as not performing sub-block division.
- the video encoding apparatus may select and encode a better case among a case in which an ISP is used and a case in which an ISP is not used.
- the video encoding apparatus sets intra_subpartitions_split_flag to ISP_VER_SPLIT for encoding efficiency calculation ( 1110 ).
- the image encoding apparatus may not signal the intra_subpartitions_split_flag indicating the subblock division direction.
- the video encoding apparatus may use a conventional method.
- the video encoding apparatus performs ISP_HOR_SPLIT verification and ISP_VER_SPLIT verification (S1112).
- the image encoding apparatus may determine the division direction by using a process of searching for the ISP subblock division in the horizontal direction and the vertical direction.
- FIG. 12 is a flowchart illustrating an intra prediction method including selective decoding in a subblock division direction according to an embodiment of the present disclosure.
- intra_subpartitions_mode_flag 1 so that the image decoding apparatus performs ISP subblock division of the current block.
- the entropy decoding unit 510 in the image decoding apparatus decodes the size of the current block and the intra prediction mode X (S1200).
- the size of the current block may be expressed by a horizontal length and a vertical length.
- the image decoding apparatus generates a pre-stop range pre_prunable_range of the subblock ( S1202 ).
- pre_prunable_range includes pre_prunable_range_VER and pre_prunable_range_HOR.
- the image decoding apparatus may generate pre_prunable_range_VER and pre_prunable_range_HOR according to Table 3 by using the aspect ratio of the current block and the number of sub-blocks. Meanwhile, in the existing ISP technology, since the image decoding apparatus can determine the number of subblocks to be divided according to the size of the current block, there is no need to decode the number of subblocks.
- the image decoding apparatus may decode the number of sub-blocks transmitted by the image encoding apparatus.
- the image decoding apparatus checks whether the intra prediction mode X of the current block is included in pre_prunable_range_VER or pre_prunable_range_HOR ( S1204 ).
- the image decoding apparatus checks whether the intra prediction mode X of the current block is included in pre_prunable_range_VER (S1206).
- the image decoding apparatus decodes a value of intra_subpartitions_split_flag indicating the division direction of the subblock (S1212) to determine the division direction of the subblock. can be set.
- each process is sequentially executed in each flowchart according to the present embodiment
- the present invention is not limited thereto.
- the flowchart since it may be applicable to change and execute the processes described in the flowchart or to execute one or more processes in parallel, the flowchart is not limited to a time-series order.
- the non-transitory recording medium includes, for example, all kinds of recording devices in which data is stored in a form readable by a computer system.
- the non-transitory recording medium includes a storage medium such as an erasable programmable read only memory (EPROM), a flash drive, an optical drive, a magnetic hard drive, and a solid state drive (SSD).
- EPROM erasable programmable read only memory
- SSD solid state drive
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (18)
- 영상 복호화 장치가 수행하는, 현재블록의 인트라 예측모드를 상기 현재블록이 서브분할된 서브블록에 적용하는 인트라 예측방법에 있어서,상기 현재블록의 크기 및 인트라 예측모드를 복호화하는 단계;상기 현재블록의 크기 및 상기 서브블록의 분할 개수를 기반으로 상기 서브블록의 사전정지 범위를 생성하는 단계, 여기서, 사전정지 범위는 수직 사전정지 범위 및 수평 사전정지 범위를 포함하고, 예측 시에 신규 복원된 근접 서브블록의 복원 샘플들이 상기 서브블록에 의해 이용되지 않는 인트라 예측 방향들을 나타냄; 및상기 인트라 예측모드가 상기 수직 사전정지 범위 또는 상기 수평 사전정지 범위에 포함되는지 여부에 따라 상기 서브블록의 분할 방향을 설정하는 단계를 포함하는 것을 특징으로 하는, 인트라 예측방법.
- 제1항에 있어서,상기 사전정지 범위를 생성하는 단계는,상기 현재블록의 크기에 따라 상기 서브블록의 분할 개수를 결정하거나, 기복호화된 서브블록의 분할 개수를 이용하는 것은 특징으로 하는, 인트라 예측방법.
- 제1항에 있어서,상기 분할 방향을 설정하는 단계는,상기 인트라 예측모드가 상기 수직 사전정지 범위에 포함되는 경우, 상기 서브블록의 분할 방향을 수평방향으로 설정하는 것을 특징으로 하는, 인트라 예측방법.
- 제1항에 있어서,상기 분할 방향을 설정하는 단계는,상기 인트라 예측모드가 상기 수평 사전정지 범위에 포함되는 경우, 상기 서브블록의 분할 방향을 수직방향으로 설정하는 것을 특징으로 하는, 인트라 예측방법.
- 제1항에 있어서,상기 분할 방향을 설정하는 단계는,상기 인트라 예측모드가 상기 사전정지 범위에 포함되지 않는 경우, 상기 서브블록의 분할 방향을 지시하는 서브블록 분할방향 플래그를 복호화한 후, 상기 서브블록 분할방향 플래그에 따라 상기 서브블록의 분할 방향을 설정하는 것을 특징으로 하는, 인트라 예측방법.
- 현재블록의 인트라 예측모드를 상기 현재블록이 분할된 서브블록에 적용하는 영상 복호화 장치에 있어서,상기 현재블록의 크기 및 인트라 예측모드를 복호화하는 엔트로피 복호화부;상기 현재블록의 크기를 기반으로 상기 서브블록의 사전정지 범위를 생성하는 사전정지범위 생성부, 여기서, 사전정지 범위는 수직 사전정지 범위 및 수평 사전정지 범위를 포함하고, 예측 시에 신규 복원된 근접 서브블록의 복원 샘플들이 상기 서브블록에 의해 이용되지 않는 인트라 예측 방향들을 나타냄; 및상기 인트라 예측모드가 상기 수직 사전정지 범위 또는 상기 수평 사전정지 범위에 포함되는지 여부에 따라 상기 서브블록의 분할 방향을 설정하는 인트라 예측부를 포함하는 것을 특징으로 하는, 영상 복호화 장치.
- 제6항에 있어서,상기 사전정지범위 생성부는,상기 현재블록의 크기에 따라 상기 서브블록의 분할 개수를 결정하거나, 기복호화된 서브블록의 분할 개수를 이용하는 것은 특징으로 하는, 영상 복호화 장치.
- 제6항에 있어서,상기 수직 사전정지 범위는,수직방향 분할된 서브블록의 좌상향 대각선에 해당하는 예측 방향보다 큰 값들을 포함하는 것을 특징으로 하는, 영상 복호화 장치.
- 제6항에 있어서,상기 수평 사전정지 범위는,수평방향 분할된 서브블록의 좌상향 대각선에 해당하는 예측 방향보다 작은 값들을 포함하는 것을 특징으로 하는, 영상 복호화 장치.
- 제6항에 있어서,상기 인트라 예측부는,상기 인트라 예측모드가 상기 수직 사전정지 범위에 포함되는 경우, 상기 서브블록의 분할 방향을 수평방향으로 설정하는 것을 특징으로 하는, 영상 복호화 장치.
- 제6항에 있어서,상기 인트라 예측부는,상기 인트라 예측모드가 상기 수평 사전정지 범위에 포함되는 경우, 상기 서브블록의 분할 방향을 수직방향으로 설정하는 것을 특징으로 하는, 영상 복호화 장치.
- 제6항에 있어서,상기 엔트로피 복호화부는,상기 인트라 예측모드가 상기 사전정지 범위에 포함되지 않는 경우, 상기 서브블록의 분할 방향을 지시하는 서브블록 분할방향 플래그를 복호화하는 것을 특징으로 하는, 영상 복호화 장치.
- 제12항에 있어서,상기 인트라 예측부는,상기 서브블록 분할방향 플래그에 따라 상기 서브블록의 분할 방향을 설정하는 것을 특징으로 하는, 영상 복호화 장치.
- 영상 부호화 장치가 수행하는, 현재블록의 인트라 예측모드를 상기 현재블록이 서브분할된 서브블록에 적용하는 인트라 예측방법에 있어서,상기 현재블록의 크기 및 인트라 예측모드를 획득하는 단계;상기 현재블록의 크기를 기반으로 상기 서브블록의 사전정지 범위를 생성하는 단계, 여기서, 사전정지 범위는 수직 사전정지 범위 및 수평 사전정지 범위를 포함하고, 예측 시에 신규 복원된 근접 서브블록의 복원 샘플들이 상기 서브블록에 의해 이용되지 않는 인트라 예측 방향들을 나타냄; 및상기 인트라 예측모드가 상기 수직 사전정지 범위 또는 상기 수평 사전정지 범위에 포함되는지 여부에 따라 상기 서브블록의 분할 방향을 설정하는 단계를 포함하는 것을 특징으로 하는, 인트라 예측방법.
- 제14항에 있어서,상기 사전정지 범위를 생성하는 단계는,상기 현재블록의 크기에 따라 상기 서브블록의 분할 개수를 결정하거나, 기획득된 서브블록의 분할 개수를 이용하는 것을 특징으로 하는, 인트라 예측방법.
- 제14항에 있어서,상기 분할 방향을 설정하는 단계는,상기 인트라 예측모드가 상기 수직 사전정지 범위에 포함되는 경우, 상기 서브블록의 분할 방향을 수평방향으로 설정하고, 서브블록의 분할 방향을 지시하는 서브블록 분할방향 플래그를 생성하지 않는 것을 특징으로 하는, 인트라 예측방법.
- 제14항에 있어서,상기 분할 방향을 설정하는 단계는,상기 인트라 예측모드가 상기 수평 사전정지 범위에 포함되는 경우, 상기 서브블록의 분할 방향을 수직방향으로 설정하고, 상기 서브블록의 분할 방향을 지시하는 서브블록 분할방향 플래그를 생성하지 않는 것을 특징으로 하는, 인트라 예측방법.
- 제14항에 있어서,상기 분할 방향을 설정하는 단계는,상기 인트라 예측모드가 상기 사전정지 범위에 포함되지 않는 경우, 상기 현재블록의 수평방향 분할 및 수직방향 분할에 따른 부호화 효율을 생성하고, 상기 부호화 효율에 기초하여 상기 서브블록의 분할 방향을 지시하는 서브블록 분할방향 플래그를 설정하는 것을 특징으로 하는, 인트라 예측방법.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202180076528.5A CN116671108A (zh) | 2020-11-23 | 2021-11-23 | 利用选择性子块分区信息传输的编码和解码影像的方法和装置 |
US18/198,061 US20230291928A1 (en) | 2020-11-23 | 2023-05-16 | Video encoding and decoding method and apparatus using selective subblock split information signaling |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2020-0157793 | 2020-11-23 | ||
KR20200157793 | 2020-11-23 | ||
KR10-2021-0161995 | 2021-11-23 | ||
KR1020210161995A KR20220071130A (ko) | 2020-11-23 | 2021-11-23 | 선택적 서브블록 분할정보 전송을 이용하는 영상 부호화 및 복호화 방법과 장치 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/198,061 Continuation US20230291928A1 (en) | 2020-11-23 | 2023-05-16 | Video encoding and decoding method and apparatus using selective subblock split information signaling |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022108419A1 true WO2022108419A1 (ko) | 2022-05-27 |
Family
ID=81709566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2021/017261 WO2022108419A1 (ko) | 2020-11-23 | 2021-11-23 | 선택적 서브블록 분할정보 전송을 이용하는 영상 부호화 및 복호화 방법과 장치 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20230291928A1 (ko) |
WO (1) | WO2022108419A1 (ko) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190042090A (ko) * | 2016-09-30 | 2019-04-23 | 엘지전자 주식회사 | 영상 코딩 시스템에서 블록 분할 및 인트라 예측 방법 및 장치 |
KR20190062585A (ko) * | 2016-11-21 | 2019-06-05 | 파나소닉 인텔렉츄얼 프로퍼티 코포레이션 오브 아메리카 | 부호화 장치, 복호 장치, 부호화 방법 및 복호 방법 |
KR20200013766A (ko) * | 2018-04-01 | 2020-02-07 | 김기백 | 영상 부호화/복호화 방법 및 장치 |
KR20200093468A (ko) * | 2019-01-28 | 2020-08-05 | 주식회사 엑스리스 | 영상 신호 부호화/복호화 방법 및 이를 위한 장치 |
KR20200110214A (ko) * | 2019-03-12 | 2020-09-23 | 현대자동차주식회사 | 예측 유닛을 서브 유닛들로 분할하여 예측하는 인트라 예측 방법 및 장치 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11516507B2 (en) * | 2018-10-12 | 2022-11-29 | Intellectual Discovery Co., Ltd. | Image encoding/decoding methods and apparatuses |
JP7328346B2 (ja) * | 2019-03-12 | 2023-08-16 | フラウンホーファー-ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン | 実装効率の良いパーティションベースのイントラ符号化概念 |
-
2021
- 2021-11-23 WO PCT/KR2021/017261 patent/WO2022108419A1/ko active Application Filing
-
2023
- 2023-05-16 US US18/198,061 patent/US20230291928A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190042090A (ko) * | 2016-09-30 | 2019-04-23 | 엘지전자 주식회사 | 영상 코딩 시스템에서 블록 분할 및 인트라 예측 방법 및 장치 |
KR20190062585A (ko) * | 2016-11-21 | 2019-06-05 | 파나소닉 인텔렉츄얼 프로퍼티 코포레이션 오브 아메리카 | 부호화 장치, 복호 장치, 부호화 방법 및 복호 방법 |
KR20200013766A (ko) * | 2018-04-01 | 2020-02-07 | 김기백 | 영상 부호화/복호화 방법 및 장치 |
KR20200093468A (ko) * | 2019-01-28 | 2020-08-05 | 주식회사 엑스리스 | 영상 신호 부호화/복호화 방법 및 이를 위한 장치 |
KR20200110214A (ko) * | 2019-03-12 | 2020-09-23 | 현대자동차주식회사 | 예측 유닛을 서브 유닛들로 분할하여 예측하는 인트라 예측 방법 및 장치 |
Also Published As
Publication number | Publication date |
---|---|
US20230291928A1 (en) | 2023-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022186616A1 (ko) | 인트라 예측모드 유도를 이용하는 비디오 코딩방법 및 장치 | |
WO2022119301A1 (ko) | 인트라 예측을 이용하는 비디오 코딩 방법 및 장치 | |
WO2023038447A1 (ko) | 비디오 부호화/복호화 방법 및 장치 | |
WO2023014164A1 (ko) | 비디오 부호화/복호화 방법 및 장치 | |
WO2022114770A1 (ko) | 기하학적 변환에 기반하는 블록 복사를 이용하는 인트라 예측방법과 장치 | |
WO2022045738A1 (ko) | 딥러닝 기반 인루프 필터를 이용하는 영상 부호화 및 복호화 | |
WO2022108419A1 (ko) | 선택적 서브블록 분할정보 전송을 이용하는 영상 부호화 및 복호화 방법과 장치 | |
WO2022177317A1 (ko) | 서브블록 분할 기반 인트라 예측을 이용하는 비디오 코딩방법 및 장치 | |
WO2022211374A1 (ko) | 매핑 기반 비디오 코딩방법 및 장치 | |
WO2023101525A1 (ko) | 다중 변환 선택에서 다중 변환 선택 후보의 개수를 조정하는 비디오 부호화/복호화 방법 및 장치 | |
WO2022103240A1 (ko) | 크로마 인트라 방향성 예측모드를 적응적으로 결정하는 영상 부호화 및 복호화 방법 | |
WO2023191332A1 (ko) | 적응적 다중변환선택을 이용하는 비디오 코딩을 위한 방법 및 장치 | |
WO2022119302A1 (ko) | 블록병합을 이용하는 비디오 코딩 방법 및 장치 | |
WO2022108421A1 (ko) | 적응적 대체 모드를 이용한 영상 부호화 및 복호화 방법 | |
WO2023132510A1 (ko) | 개선된 차분 움직임벡터 머지를 이용하는 비디오 코딩을 위한 방법 및 장치 | |
WO2022211463A1 (ko) | 적응적 인트라 예측 정밀도를 이용하는 비디오 코딩방법 및 장치 | |
WO2024034886A1 (ko) | 인트라 블록 복사 모드에서 예측신호들의 재배열을 이용하는 비디오 코딩을 위한 방법 및 장치 | |
WO2023219279A1 (ko) | 기하학적 분할에 기초하는 인터/인트라 예측을 이용하는 비디오 코딩을 위한방법 및 장치 | |
WO2023038444A1 (ko) | 비디오 부호화/복호화 방법 및 장치 | |
WO2023059100A1 (ko) | 기하학적 분할 모드를 이용한 비디오 부호화/복호화 방법 및 장치 | |
WO2023219301A1 (ko) | 인트라 예측 블록에 대한 움직임벡터 저장을 위한 방법 및 장치 | |
WO2023277602A1 (ko) | 비디오 부호화/복호화 방법 및 장치 | |
WO2024122886A1 (ko) | 적응적 템플릿 기반 인트라 예측모드 유도를 이용하는 비디오 코딩방법 및 장치 | |
WO2022211492A1 (ko) | 디코더 측면의 움직임 보상을 이용하는 비디오 코딩방법 및 장치 | |
WO2022191554A1 (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: 21895186 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180076528.5 Country of ref document: CN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202317037030 Country of ref document: IN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21895186 Country of ref document: EP Kind code of ref document: A1 |