WO2017164441A1 - 비디오 코딩 시스템에서 인터 예측 방법 및 장치 - Google Patents
비디오 코딩 시스템에서 인터 예측 방법 및 장치 Download PDFInfo
- Publication number
- WO2017164441A1 WO2017164441A1 PCT/KR2016/002961 KR2016002961W WO2017164441A1 WO 2017164441 A1 WO2017164441 A1 WO 2017164441A1 KR 2016002961 W KR2016002961 W KR 2016002961W WO 2017164441 A1 WO2017164441 A1 WO 2017164441A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- motion vector
- current block
- prediction
- sample
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000033001 locomotion Effects 0.000 claims abstract description 402
- 239000013598 vector Substances 0.000 claims abstract description 380
- 230000002093 peripheral effect Effects 0.000 claims description 52
- 230000009466 transformation Effects 0.000 abstract description 7
- 239000000523 sample Substances 0.000 description 177
- 238000009795 derivation Methods 0.000 description 36
- 238000013139 quantization Methods 0.000 description 13
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 239000013256 coordination polymer Substances 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000013074 reference sample Substances 0.000 description 3
- 230000002123 temporal effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 101150114515 CTBS gene Proteins 0.000 description 1
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 1
- 244000046052 Phaseolus vulgaris Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
- H04N19/517—Processing of motion vectors by encoding
- H04N19/52—Processing of motion vectors by encoding by predictive encoding
-
- 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/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/537—Motion estimation other than block-based
-
- 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/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
-
- 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/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- 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
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
- H04N19/139—Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
-
- 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/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
Definitions
- the present invention relates to video coding techniques, and more particularly, to an inter prediction method and apparatus in a video coding system.
- the demand for high resolution and high quality images such as high definition (HD) images and ultra high definition (UHD) images is increasing in various fields.
- the higher the resolution and the higher quality of the image data the more information or bit rate is transmitted than the existing image data. Therefore, the image data can be transmitted by using a medium such as a conventional wired / wireless broadband line or by using a conventional storage medium. In the case of storage, the transmission cost and the storage cost are increased.
- a high efficiency image compression technique is required to effectively transmit, store, and reproduce high resolution, high quality image information.
- An object of the present invention is to provide a method and apparatus for improving video coding efficiency.
- Another technical problem of the present invention is to provide an inter prediction method and apparatus based on a modified prediction model.
- Another technical problem of the present invention is to provide a method and apparatus for performing motion prediction on a sample or subblock basis.
- Another technical problem of the present invention is to provide a motion vector predictor or a motion vector for a control point.
- Another technical problem of the present invention is to derive a motion vector for a current block based on a motion vector for a control point.
- Another technical problem of the present invention is to provide a method and apparatus for deriving a motion vector for a control point based on a peripheral reference block or a peripheral reference sample.
- a video decoding method performed by a decoding apparatus includes deriving control points (CPs) for a current block, obtaining motion vectors for the CPs, and subblock or sample unit in the current block based on the obtained motion vectors. Deriving a motion vector of the derivation, deriving a prediction sample for the current block based on the derived motion vector, and generating a reconstructed sample based on the prediction sample.
- CPs control points
- a decoding apparatus for performing video decoding.
- the decoding apparatus obtains a decoding unit for obtaining prediction mode information about a current block from a bitstream, control points (CPs) for a current block, obtains motion vectors for the CPs, A predictor which derives a motion vector of a subblock or a sample unit in the current block based on the motion vectors, and derives a predictive sample for the current block based on the derived motion vector, and reconstructs based on the predicted sample And an adder for generating a sample.
- CPs control points
- a video encoding method performed by an encoding apparatus includes deriving control points (CPs) for a current block, obtaining motion vectors for the CPs, and subblock or sample unit in the current block based on the obtained motion vectors. Deriving a motion vector of the second block, generating a prediction sample for the current block based on the derived motion vector, and encoding and outputting prediction mode information for the current block and information about the derived motion vector. Characterized in that it comprises a step.
- CPs control points
- an encoding apparatus for performing video encoding.
- the encoding apparatus determines a prediction mode for the current block, derives control points (CPs) for the current block, obtains motion vectors for the CPs, and based on the obtained motion vectors
- a prediction unit for deriving a motion vector of a subblock or a sample unit in the current block and generating a prediction sample for the current block based on the derived motion vector, and prediction mode information for the current block and the derived
- an encoding unit for encoding and outputting information about the motion vector.
- inter prediction can be effectively performed through motion vectors for not only a plane shifted image but also a rotational, zoom-in, zoom-out, or planar distortion transformation. This can eliminate or reduce the amount of data for the residual signal for the current block and improve the overall coding efficiency.
- FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
- FIG. 2 is a block diagram schematically illustrating a video decoding apparatus according to an embodiment of the present invention.
- 3 exemplarily shows a deformation prediction model.
- FIG. 5 schematically illustrates a method of deriving a motion vector in units of subblocks.
- 6 exemplarily shows a method of deriving a motion vector for the other control point based on two control points.
- FIG. 7 schematically illustrates an example of deriving a motion vector at a control point from a motion vector of a neighboring block.
- FIG. 8 exemplarily illustrates a method of deriving motion vectors for control points of a current block based on motion vectors of a plurality of neighboring blocks.
- FIG. 9 illustrates an example of setting reference points of a current block and neighboring blocks for coordinate expansion.
- FIG. 11 schematically illustrates an example of a video encoding method according to the present invention.
- FIG. 12 schematically illustrates an example of a video decoding method according to the present invention.
- FIG. 13 schematically illustrates a block diagram of a prediction unit included in an encoding apparatus according to the present invention.
- FIG. 14 schematically illustrates a block diagram of a prediction unit included in a decoding apparatus according to the present invention.
- each of the components in the drawings described in the present invention are shown independently for the convenience of description of the different characteristic functions in the video encoding apparatus / decoding apparatus, each component is a separate hardware or separate software It does not mean that it is implemented.
- two or more of each configuration may be combined to form one configuration, or one configuration may be divided into a plurality of configurations.
- Embodiments in which each configuration is integrated and / or separated are also included in the present invention without departing from the spirit of the present invention.
- FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
- the encoding apparatus 100 may include a picture divider 105, a predictor 110, a transformer 115, a quantizer 120, a reordering unit 125, an entropy encoding unit 130, An inverse quantization unit 135, an inverse transform unit 140, a filter unit 145, and a memory 150 are provided.
- the picture dividing unit 105 may divide the input picture into at least one processing unit block.
- the block as the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU).
- a picture may be composed of a plurality of coding tree units (CTUs), and each CTU may be split into CUs in a quad-tree structure.
- a CU may be divided into quad tree structures with CUs of a lower depth.
- PU and TU may be obtained from a CU.
- a PU may be partitioned from a CU into a symmetrical or asymmetrical square structure.
- the TU may also be divided into quad tree structures from the CU.
- the CTU may correspond to a coding tree block (CTB), the CU may correspond to a coding block (CB), the PU may correspond to a prediction block (PB), and the TU may correspond to a transform block (TB).
- CTB coding tree block
- the predictor 110 includes an inter predictor for performing inter prediction and an intra predictor for performing intra prediction, as described below.
- the prediction unit 110 performs prediction on the processing unit of the picture in the picture division unit 105 to generate a prediction block including a prediction sample (or a prediction sample array).
- the processing unit of the picture in the prediction unit 110 may be a CU, a TU, or a PU.
- the prediction unit 110 may determine whether the prediction performed on the processing unit is inter prediction or intra prediction, and determine specific contents (eg, prediction mode, etc.) of each prediction method.
- the processing unit in which the prediction is performed and the processing unit in which the details of the prediction method and the prediction method are determined may be different.
- the prediction method and the prediction mode may be determined in units of PUs, and the prediction may be performed in units of TUs.
- a prediction block may be generated by performing prediction based on information of at least one picture of a previous picture and / or a subsequent picture of the current picture.
- a prediction block may be generated by performing prediction based on pixel information in a current picture.
- a skip mode, a merge mode, an advanced motion vector prediction (AMVP), and the like can be used.
- a reference picture may be selected for a PU and a reference block corresponding to the PU may be selected.
- the reference block may be selected in units of integer pixels (or samples) or fractional pixels (or samples).
- a predictive block is generated in which a residual signal with the PU is minimized and the size of the motion vector is also minimized.
- a pixel, a pel, and a sample may be mixed with each other.
- the prediction block may be generated in integer pixel units, or may be generated in sub-pixel units such as 1/2 pixel unit or 1/4 pixel unit.
- the motion vector may also be expressed in units of integer pixels or less.
- Information such as an index of a reference picture selected through inter prediction, a motion vector difference (MVD), a motion vector predictor (MVD), and a residual signal may be entropy encoded and transmitted to a decoding apparatus.
- the prediction block may be a reconstruction block, the residual may not be generated, transformed, quantized, or transmitted.
- a prediction mode When performing intra prediction, a prediction mode may be determined in units of PUs, and prediction may be performed in units of PUs. In addition, a prediction mode may be determined in units of PUs, and intra prediction may be performed in units of TUs.
- the prediction mode may have, for example, 33 directional prediction modes and at least two non-directional modes.
- the non-directional mode may include a DC prediction mode and a planner mode (Planar mode).
- a prediction block may be generated after applying a filter to a reference sample.
- whether to apply the filter to the reference sample may be determined according to the intra prediction mode and / or the size of the current block.
- the residual value (the residual block or the residual signal) between the generated prediction block and the original block is input to the converter 115.
- the prediction mode information, the motion vector information, etc. used for the prediction are encoded by the entropy encoding unit 130 together with the residual value and transmitted to the decoding apparatus.
- the transform unit 115 performs transform on the residual block in units of transform blocks and generates transform coefficients.
- the transform block is a rectangular block of samples to which the same transform is applied.
- the transform block can be a transform unit (TU) and can have a quad tree structure.
- the transformer 115 may perform the transformation according to the prediction mode applied to the residual block and the size of the block.
- the residual block is transformed using a discrete sine transform (DST), otherwise the residual block is transformed into a DCT (Discrete). Can be transformed using Cosine Transform.
- DST discrete sine transform
- DCT Discrete
- the transform unit 115 may generate a transform block of transform coefficients by the transform.
- the quantization unit 120 may generate quantized transform coefficients by quantizing the residual values transformed by the transform unit 115, that is, the transform coefficients.
- the value calculated by the quantization unit 120 is provided to the inverse quantization unit 135 and the reordering unit 125.
- the reordering unit 125 rearranges the quantized transform coefficients provided from the quantization unit 120. By rearranging the quantized transform coefficients, the encoding efficiency of the entropy encoding unit 130 may be increased.
- the reordering unit 125 may rearrange the quantized transform coefficients in the form of a 2D block into a 1D vector form through a coefficient scanning method.
- the entropy encoding unit 130 entropy-codes a symbol according to a probability distribution based on the quantized transform values rearranged by the reordering unit 125 or the encoding parameter value calculated in the coding process, thereby performing a bitstream. You can output The entropy encoding method receives a symbol having various values and expresses it as a decodable column while removing statistical redundancy.
- the symbol means a syntax element, a coding parameter, a value of a residual signal, etc., to be encoded / decoded.
- An encoding parameter is a parameter necessary for encoding and decoding, and may include information that may be inferred in the encoding or decoding process as well as information encoded by an encoding device and transmitted to the decoding device, such as a syntax element. It means the information you need when you do.
- the encoding parameter may be, for example, a value such as an intra / inter prediction mode, a moving / motion vector, a reference image index, a coding block pattern, a residual signal presence, a transform coefficient, a quantized transform coefficient, a quantization parameter, a block size, block partitioning information, or the like. May include statistics.
- the residual signal may mean a difference between the original signal and the prediction signal, and a signal in which the difference between the original signal and the prediction signal is transformed or a signal in which the difference between the original signal and the prediction signal is converted and quantized It may mean.
- the residual signal may be referred to as a residual block in the block unit, and the residual sample in the sample unit.
- Encoding methods such as exponential golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC) may be used for entropy encoding.
- the entropy encoding unit 130 may store a table for performing entropy encoding, such as a variable length coding (VLC) table, and the entropy encoding unit 130 may store the variable length coding. Entropy encoding can be performed using the (VLC) table.
- the entropy encoding unit 130 derives the binarization method of the target symbol and the probability model of the target symbol / bin, and then uses the derived binarization method or the probability model to entropy. You can also perform encoding.
- the entropy encoding unit 130 may apply a constant change to a parameter set or syntax to be transmitted.
- the inverse quantizer 135 inversely quantizes the quantized values (quantized transform coefficients) in the quantizer 120, and the inverse transformer 140 inversely transforms the inverse quantized values in the inverse quantizer 135.
- the residual value (or the residual sample or the residual sample array) generated by the inverse quantizer 135 and the inverse transform unit 140 and the prediction block predicted by the predictor 110 are added together to reconstruct the sample (or the reconstructed sample array).
- a reconstructed block including a may be generated.
- a reconstructed block is generated by adding a residual block and a prediction block through an adder.
- the adder may be viewed as a separate unit (restore block generation unit) for generating a reconstruction block.
- the filter unit 145 may apply a deblocking filter, an adaptive loop filter (ALF), and a sample adaptive offset (SAO) to the reconstructed picture.
- ALF adaptive loop filter
- SAO sample adaptive offset
- the deblocking filter may remove distortion generated at the boundary between blocks in the reconstructed picture.
- the adaptive loop filter may perform filtering based on a value obtained by comparing the reconstructed image with the original image after the block is filtered through the deblocking filter. ALF may be performed only when high efficiency is applied.
- the SAO restores the offset difference from the original image on a pixel-by-pixel basis for the residual block to which the deblocking filter is applied, and is applied in the form of a band offset and an edge offset.
- the memory 150 may store the reconstructed block or the picture calculated by the filter unit 145.
- the reconstructed block or picture stored in the memory 150 may be provided to the predictor 110 that performs inter prediction.
- the video decoding apparatus 200 includes an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, and a filter unit 235.
- Memory 240 may be included.
- the input bitstream may be decoded according to a procedure in which image information is processed in the video encoding apparatus.
- the entropy decoding unit 210 may entropy decode the input bitstream according to a probability distribution to generate symbols including symbols in the form of quantized coefficients.
- the entropy decoding method is a method of generating each symbol by receiving a binary string.
- the entropy decoding method is similar to the entropy encoding method described above.
- VLC variable length coding
- 'VLC' variable length coding
- CABAC CABAC
- the CABAC entropy decoding method receives a bin corresponding to each syntax element in a bitstream, and decodes syntax element information and decoding information of neighboring and decoding target blocks or information of symbols / bins decoded in a previous step.
- the context model may be determined using the context model, the probability of occurrence of a bin may be predicted according to the determined context model, and arithmetic decoding of the bin may be performed to generate a symbol corresponding to the value of each syntax element. have.
- the CABAC entropy decoding method may update the context model by using the information of the decoded symbol / bin for the context model of the next symbol / bean after determining the context model.
- Information for generating the prediction block among the information decoded by the entropy decoding unit 210 is provided to the predictor 230, and a residual value where entropy decoding is performed by the entropy decoding unit 210, that is, a quantized transform coefficient It may be input to the reordering unit 215.
- the reordering unit 215 may reorder the information of the bitstream entropy decoded by the entropy decoding unit 210, that is, the quantized transform coefficients, based on the reordering method in the encoding apparatus.
- the reordering unit 215 may reorder the coefficients expressed in the form of a one-dimensional vector by restoring the coefficients in the form of a two-dimensional block.
- the reordering unit 215 scans the coefficients based on the prediction mode applied to the current block (transform block) and the size of the transform block to generate an array of coefficients (quantized transform coefficients) in the form of a two-dimensional block. Can be.
- the inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoding apparatus and the coefficient values of the rearranged block.
- the inverse transform unit 225 may perform inverse DCT and / or inverse DST on the DCT and the DST performed by the transform unit of the encoding apparatus with respect to the quantization result performed by the video encoding apparatus.
- the inverse transformation may be performed based on a transmission unit determined by the encoding apparatus or a division unit of an image.
- the DCT and / or DST in the encoding unit of the encoding apparatus may be selectively performed according to a plurality of pieces of information, such as a prediction method, a size and a prediction direction of the current block, and the inverse transformer 225 of the decoding apparatus may be Inverse transformation may be performed based on the performed transformation information.
- the prediction unit 230 may include prediction samples (or prediction sample arrays) based on prediction block generation related information provided by the entropy decoding unit 210 and previously decoded block and / or picture information provided by the memory 240.
- a prediction block can be generated.
- intra prediction for generating a prediction block based on pixel information in the current picture may be performed.
- inter prediction on the current PU may be performed based on information included in at least one of a previous picture or a subsequent picture of the current picture.
- motion information required for inter prediction of the current PU provided by the video encoding apparatus for example, a motion vector, a reference picture index, and the like, may be derived by checking a skip flag, a merge flag, and the like received from the encoding apparatus.
- a prediction block may be generated such that a residual signal with a current block is minimized and a motion vector size is also minimized.
- the motion information derivation scheme may vary depending on the prediction mode of the current block.
- Prediction modes applied for inter prediction may include an advanced motion vector prediction (AMVP) mode, a merge mode, and the like.
- AMVP advanced motion vector prediction
- the encoding apparatus and the decoding apparatus may generate a merge candidate list by using the motion vector of the reconstructed spatial neighboring block and / or the motion vector corresponding to the Col block, which is a temporal neighboring block.
- the motion vector of the candidate block selected from the merge candidate list is used as the motion vector of the current block.
- the encoding apparatus may transmit, to the decoding apparatus, a merge index indicating a candidate block having an optimal motion vector selected from candidate blocks included in the merge candidate list. In this case, the decoding apparatus may derive the motion vector of the current block by using the merge index.
- the encoding device and the decoding device use a motion vector corresponding to a motion vector of a reconstructed spatial neighboring block and / or a Col block, which is a temporal neighboring block, and a motion vector.
- a predictor candidate list may be generated. That is, the motion vector of the reconstructed spatial neighboring block and / or the Col vector, which is a temporal neighboring block, may be used as a motion vector candidate.
- the encoding apparatus may transmit the predicted motion vector index indicating the optimal motion vector selected from the motion vector candidates included in the list to the decoding apparatus. In this case, the decoding apparatus may select the predicted motion vector of the current block from the motion vector candidates included in the motion vector candidate list using the motion vector index.
- the encoding apparatus may obtain a motion vector difference MVD between the motion vector MV of the current block and the motion vector predictor MVP, and may encode the same and transmit the encoded motion vector to the decoding device. That is, MVD may be obtained by subtracting MVP from MV of the current block.
- the decoding apparatus may decode the received motion vector difference and derive the motion vector of the current block through the addition of the decoded motion vector difference and the motion vector predictor.
- the encoding apparatus may also transmit a reference picture index or the like indicating the reference picture to the decoding apparatus.
- the prediction unit 230 of the decoding apparatus may predict the motion vector of the current block using the motion information of the neighboring block, and may derive the motion vector for the current block using the residual received from the encoding apparatus.
- the decoding apparatus may generate a prediction sample (or a prediction sample array) for the current block based on the derived motion vector and the reference picture index information received from the encoding apparatus.
- the decoding apparatus may generate a reconstructed sample (or reconstructed sample array) by adding a predictive sample (or a predictive sample array) and a residual sample (residual sample array) obtained from transform coefficients transmitted from the encoding apparatus. Based on this, a reconstruction block and a reconstruction picture may be generated.
- the motion information of the reconstructed neighboring block and / or the motion information of the call block may be used to derive the motion information of the current block.
- the encoding apparatus does not transmit syntax information such as residual to the decoding apparatus other than information indicating which block motion information to use as the motion information of the current block.
- the reconstruction block may be generated using the prediction block generated by the predictor 230 and the residual block provided by the inverse transform unit 225.
- the reconstructed block is generated by combining the prediction block and the residual block in the adder.
- the adder may be viewed as a separate unit (restore block generation unit) for generating a reconstruction block.
- the reconstruction block includes a reconstruction sample (or reconstruction sample array) as described above
- the prediction block includes a prediction sample (or a prediction sample array)
- the residual block is a residual sample (or a residual sample). Array).
- a reconstructed sample (or reconstructed sample array) may be expressed as the sum of the corresponding predictive sample (or predictive sample array) and the residual sample (residual sample array).
- the residual is not transmitted for the block to which the skip mode is applied, and the prediction block may be a reconstruction block.
- the reconstructed block and / or picture may be provided to the filter unit 235.
- the filter unit 235 may apply deblocking filtering, sample adaptive offset (SAO), and / or ALF to the reconstructed block and / or picture.
- SAO sample adaptive offset
- the memory 240 may store the reconstructed picture or block to use as a reference picture or reference block and provide the reconstructed picture to the output unit.
- Components directly related to the decoding of an image for example, an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, and a filter unit ( 235) and the like may be distinguished from other components by a decoder or a decoder.
- the decoding apparatus 200 may further include a parsing unit (not shown) for parsing information related to the encoded image included in the bitstream.
- the parsing unit may include the entropy decoding unit 210 or may be included in the entropy decoding unit 210. Such a parser may also be implemented as one component of the decoder.
- the inter prediction on the current block may be performed in consideration of the movement of the target object or the image between the pictures.
- PB prediction block
- the distortion of an image may include deformation of the image such as rotation, zoom in, or zoom out.
- the present invention provides an inter prediction method in consideration of such distortion of an image. According to the present invention, it is possible to efficiently derive a motion vector with respect to sub-blocks or sample points of the current block, and improve the accuracy of inter prediction despite deformation of rotation, zoom-in or zoom-out of an image.
- the prediction model according to the present invention may be referred to as a deformation prediction model, and according to the present invention, for example, it is possible to predict the equilateral quadrature deformation of the current block. That is, according to the present invention, even in the case where an image in a current block has a quadrilateral deformation in a reference picture, inter prediction may be efficiently performed through motion prediction.
- the distortion shape of the image can be predicted based on the motion vectors at the control points (CPs) of the current block, and the compression performance of the image is improved by increasing the accuracy of inter prediction. You can.
- the motion vector of at least one control point of the current block may be derived using the motion vector of the neighboring block, thereby reducing the data amount burden on additional information added and significantly improving inter prediction efficiency. Can be improved.
- the prediction method according to the present invention requires, for example, motion information at three control points, that is, three reference points.
- the current block 300 may include a prediction block PB.
- the prediction block may be a block derived through a partitioning procedure from a coding block, and a specific inter prediction mode such as whether to apply a modified prediction model (or a modified prediction mode) may be determined in units of the prediction block. For example, whether inter prediction or intra prediction is applied is determined in units of the coding block, and when inter prediction is applied to the coding block including the prediction block, specific inter prediction to the prediction block is performed. It may be determined whether the mode is applied.
- x and y represent x and y coordinates of respective samples in the current block 300, respectively.
- x 'and y' represent x-coordinates and y-coordinates of the corresponding samples in the reference picture corresponding to x and y, respectively.
- the region including the samples of the sample position indicated by (x ', y') may be referred to as the reference block 350 or the reference region 350.
- the reference block 350 may correspond to an area including an image modified according to the above-described rotation, zoom-in, or zoom-out of the image in the current block 300. Therefore, the size and shape of the reference block 350 may be different from the size and shape of the current block 300.
- x and y may be determined based on the top-left sample position (0,0). Also, x 'and y' may be determined based on coordinates of the same or corresponding position as the upper left sample position of the current block 300 in the reference picture.
- v x is the x component of the motion vector of the (x, y) coordinate sample in the current block 300
- v y is the y component of the motion vector of the (x, y) coordinate sample in the current block 300.
- (v x , v y ) becomes the motion vector for the (x, y) coordinate sample. Therefore, according to the deformation prediction model, it may have a different motion vector according to each sample coordinate in the current block.
- Control points must be defined to apply the deformation prediction model.
- (0,0), (S, 0), and (0, S) sample positions may be defined as control points.
- the control point of the (0,0) sample position may be called CP0
- the control point of the (S, 0) sample position the point is CP1
- the control point of the (0, S) sample position may be called CP2.
- the height and width of the current block 300 are the same as S, but if the height of the current block 300 is H and the width is W, the control points are (0, 0), ( It is apparent that the coordinates may have the same coordinates as W, 0) and (0, H), and W or H may be inserted instead of S based on the equations described below.
- the deformation prediction model equation may be solved by using the above-described control point and the motion vector of the corresponding control point.
- the parameters a, b, c, d, e and f of the deformation prediction model equation may be solved as follows.
- v x0 and v y0 represent the x component and the y component of the motion vector of CP0, respectively
- v x1 and v y1 represent the x component and the y component of the motion vector of CP1, respectively
- v x2 and v y2 each represent CP2. Shows the x and y components of the motion vector of.
- Equation 1 Based on the parameters of Equation 1, the deformation prediction model equation may be summarized as follows.
- a motion vector according to the sample position in the current block can be derived according to Equation 2. That is, according to the deformation prediction model, the motion vectors v0 (v x0 , v y0 ) and v1 (at the control points are based on the coordinate ratio (x, y) of the target sample and the distance ratio between the three control points. v x1 , v y1 ) and v2 (v x2 , v y2 ) may be scaled to derive the motion vector of the sample position.
- the reference region 450 or 460 when performing prediction according to a transform prediction model on a current block 400 in a current picture, the reference region 450 or 460 may be located as shown.
- reference picture list 0 or reference picture list 1 may be used for prediction for the current block, or both reference picture lists 0 and 1 may be configured.
- the slice type of the slice including the current block is B (B slice)
- at least one of the two reference picture lists may be used, and the slice type of the slice including the current block is P (P slice).
- P slice P slice
- Only the reference picture list 0 may be used.
- the reference picture list 0 may be called L0
- the reference picture list 1 may be called L1.
- L0 prediction when performing inter prediction based on the L0, it may be called LO prediction, and when performing inter prediction based on the L1, it may be called L1 prediction, and L0 and L1.
- BI-prediction When performing inter prediction based on both (ie, combining LO prediction and L1 prediction), it may be called BI-prediction.
- separate motion vectors may be used for the L0 prediction and the L1 prediction, respectively. That is, when a motion vector is derived in a sample unit or a subblock unit described later according to the transform prediction model, a separate motion vector is included in the sample unit or the subblock unit according to whether the L0 prediction and / or the L1 prediction is applied. Can be derived.
- the motion vector MVL0 for the L0 prediction for the first sample or the first subblock in the current block and the motion vector MVL1 for the L1 prediction may be derived separately.
- the first reference picture when the first reference picture is a decoded picture included in the LO, and the slice type of the slice including the current block 400 is P or B and LO is used, according to the present invention.
- the first reference picture may be used for prediction of the current block 400.
- the reference region 450 in the first reference picture may be derived based on the motion vectors of the current block 400 derived according to the above-described deformation prediction model, and the reconstructed sample in the reference region 450 may be derived. Can be derived the prediction samples of the current block 400.
- the first reference picture is a decoded picture included in L0 and the second reference picture is a decoded picture included in L1, and the slice type of the slice including the current block 400 is B and LO and L1.
- the first reference picture and the second reference picture may be used for prediction of the current block 400 according to the present invention.
- the reference region 450 in the first reference picture may be derived based on the motion vectors for the L0 prediction for the current block 400 derived according to the above-described transform prediction model, and the motion vector for the L1 prediction may be derived.
- the reference region 460 in the second reference picture may be derived.
- prediction samples of the current block 400 may be derived based on the reconstructed samples in the reference region 450 and the reconstructed samples in the reference region 460.
- the prediction samples of the current block 400 may be derived through a weighted sum of the reconstructed samples in the reference region 450 and the reconstructed samples in the reference region 460.
- the weighted sum may be performed based on a first time distance between the current picture and the first reference picture and a second time distance between the current picture and the second reference picture.
- the time distance may indicate a difference in a picture order count (POC).
- POC picture order count
- the difference between the POC value of the current picture and the POC value of the first reference picture may be the first time distance
- the difference between the POC value of the current picture and the POC value of the second reference picture is the first time distance. It can be 2 hours away.
- a motion vector in a pixel unit ie, a sample unit
- the accuracy of inter prediction can be significantly improved.
- the complexity in the motion compensation process can be greatly increased.
- three motion information per prediction block should be given (i.e., signaled), and in general, compared with the conventional motion prediction method having one motion information per prediction block.
- the present invention may involve the following method to improve this.
- the motion vector may be limited to the subblock unit in the prediction block.
- the subblock may be set to various sizes. For example, if the subblock is set to n ⁇ n size (n is a positive integer, ex, n is 4), the subblock may be configured in units of n ⁇ n subblocks in the current block. (Deformation Prediction)
- a motion vector can be derived, and various methods for deriving a motion vector representing each subblock can be applied.
- 5 schematically illustrates a method of deriving a motion vector in units of subblocks.
- 5 exemplarily illustrates a case in which a size of a current block is 16 ⁇ 16 and a motion vector is derived in units of 4 ⁇ 4 subblocks.
- the current block may be divided into a plurality of subblocks of 4 ⁇ 4 size.
- One representative motion vector may be set for each subblock.
- a motion vector of a representative coordinate (ie, a representative sample position) of each subblock may be the representative motion vector.
- FIG. 5A illustrates a case in which a representative motion vector is derived using the top-left sample position of each subblock as a representative coordinate.
- representative coordinates (0, 0), (4, 0), (8, 0), ..., (12, 12) for each subblock are substituted into the above-described equation (2), and each subblock A representative motion vector of can be derived.
- the center lower right position indicates a sample position located on the lower right side among four samples located at the center of the subblock.
- the center sample position may be used.
- the representative coordinates (2, 2), (6, 2), (10, 2), ..., (14, 14) for each subblock are substituted into the above-described equation (2).
- a representative motion vector of each subblock can be derived.
- two control points may be limited. That is, instead of signaling the motion information for the three control points for the prediction block, information about the motion information for the two control points may be signaled.
- the deformation prediction model may represent rotation, zoom-in, zoom-out, and parallelogram deformations, and if two control points lying on a straight line are valid, they may represent at least rotation, zoom-in, zoom-out deformations. Therefore, in order to reduce the amount of data for motion information, motion prediction may be performed using motion vectors of two control points, and motion vectors for the current block may be derived.
- the motion vectors for CP0 and CP1 may be explicitly signaled or information for deriving the motion vectors may be signaled, and a motion vector for CP2 may be calculated based on the signals.
- 6 exemplarily shows a method of deriving a motion vector for the other control point based on two control points.
- FIG. 6 when there are two control points for the current block 600, CP0 and CP1 lying on a straight line, the left side of the current block 600 based on the motion vectors for the CP0 and CP1.
- a motion vector v2 (v x2 , v y2 ) for CP2 located at the lower sample position can be derived. If the motion vector v0 for CP0 is (v x0 , v y0 ), the motion vector v1 for CP1 is (x v1 , v y1 ), and the height and width of the current block are equal to S, as shown in FIG. 6.
- the deformation prediction model equation derived based on the two control points CP0 and CP1 may be expressed as follows.
- the deformation prediction model may be applied using the motion vectors at the two control points, and the reference region 650 may be detected and the prediction accuracy may be increased based on the derived motion vectors.
- motion vectors for control points may be derived based on neighboring blocks (or neighboring subblocks and neighboring samples).
- the motion vector of the neighboring block or the neighboring subblock and the neighboring sample
- the motion vector of the neighboring block may be directly derived as the motion vector of the control point through scaling or a predefined transformation.
- a motion vector predictor (MVP) of a control point is derived based on a motion block (or neighboring subblock, neighboring sample) motion vector.
- the motion vector of the control point may be derived by adding a signaled motion vector difference to the MVP.
- the motion vector of the neighboring block may be used as the motion vector of the control point.
- the motion vector at the control point of the current block may be derived using the motion vector of the neighboring block.
- FIG. 7 schematically illustrates an example of deriving a motion vector at a control point from a motion vector of a neighboring block.
- the transform prediction model is applied to the left neighboring block 720 of the current block 700, and the motion vector of the control point cp0 of the left neighboring block 720 is controlled by v0 (v x0 , v y0 ) and the control vector.
- the motion vector of the point cp1 is v1 (v x1 , v y1 )
- the motion vector of the control point cp2 is v2 (v x2 , v y2 ).
- v2 may be a motion vector derived to v0 and v1 as shown in the relation of FIG.
- the motion vector of the control point CP0 of the current block 700 is V0 (V x0 , V y0 ), the motion vector of the control point CP1 is V1 (V x1 , V y1 ), and the motion vector of the control point CP2 is V2 (V x2 , V y2 ), V0, V1, and V2 may be derived by scaling the motion vector of the left neighboring block 720 by the magnitude ratio between the current block 700 and the left neighboring block 720.
- the sample coordinates (s, s) derived based on the upper left sample position of the left peripheral block 720 based on (0, 0) are Assuming that the block 700 is a block of size S ⁇ S, the upper left sample position of the current block 700 may be equal to the sample coordinates (0, S) derived from the reference (0, 0). Accordingly, the motion vector of the sample coordinates (s, s) derived according to the transform prediction model equation of the left neighboring block 720 may be used as the motion vector of CP2 of the current block 700.
- the sample coordinates derived according to the deformation prediction model equation of the left peripheral block 720 may be used as the motion vector of CP2 of the current block 700.
- motion vectors for the control points of the current block may be derived based on a number of neighboring blocks for more efficient inter prediction.
- FIG. 8 exemplarily illustrates a method of deriving motion vectors for control points of a current block based on motion vectors of a plurality of neighboring blocks.
- motion vectors for the control points may be derived based on motion vectors of neighboring blocks (or neighboring subblocks) adjacent to each of the control points of the current block.
- a block may include a subblock.
- FIG. 8A illustrates an example of reusing a motion vector of a neighboring block as a motion vector at a control point of a current block.
- a candidate for deriving the motion vector V0 of CP0 of the (0, 0) sample position of the current block.
- the upper left neighboring block and the lower left neighboring block may be determined as candidates for deriving the motion vector V2 of the CP2 of the (0, S) sample position.
- another block adjacent to the neighboring block may be used as a candidate block. The case where the neighboring block is not available will be described later.
- the motion vector of the available candidate block may be used as the motion vector of the corresponding control point.
- the motion vector of the upper left peripheral block or the representative motion vector of the upper left peripheral subblock may be used as V0 of the CP0
- the motion vector of the right upper peripheral block or the representative motion vector of the right upper peripheral subblock is V1 of CP1
- a motion vector of a lower left peripheral block or a representative motion vector of a lower left peripheral subblock may be used as V2 of the CP2.
- FIG. 8B illustrates an example of extending coordinates based on neighboring blocks adjacent to a current block and deriving a motion vector according to coordinates at each control point using the motion vector of the neighboring block. That is, after reconstructing the coordinates including the neighboring block, the motion vector for the reconstructed coordinates can be derived using Equation 2 described above. In this case, if only two control points on a straight line are available, that is, when the neighboring blocks of CP0 and CP1 or CP1 and CP2 are valid, a motion vector for a reconstructed coordinate is derived based on Equation 3 described above. You may.
- FIG. 9 illustrates an example of setting reference points of a current block and neighboring blocks for coordinate expansion.
- the derived motion vector may vary according to the coordinates of the neighboring block adjacent to the current block and the coordinates of the control point of the current block.
- the reference point (O, 0) may be set to the upper left sample position of the upper left peripheral block (subblock), and may be set to the center or the center lower right sample position.
- the coordinates of each sample and subblock in the current block are changed according to the reference point, and the coordinates of the control points are changed.
- a motion vector according to each coordinate in the current block may be obtained by reflecting the changed coordinate.
- the motion vector for each control point in the current block may be obtained, and then the transform prediction model equation may be derived again, or the motion vector of the sample unit or subblock unit in the current block may be directly obtained based on the changed coordinates. It may be.
- the coordinates for neighboring candidate blocks according to the extended coordinates are (0, 0), (S, respectively). +4, 0), (0, S + 4).
- a motion vector for each of the neighboring candidate blocks exists as corresponding coordinates, and the motion vector for each control point of the current block may be arranged as follows based on Equation 2 described above.
- the motion vector at each control point may also be derived in the same manner based on the changed coordinates, or the motion of the sample unit or subblock unit in the current block based on the changed coordinates. You can also get vectors directly.
- a plurality of neighboring blocks may exist as candidate blocks for each control point of the current block.
- an availability check may be performed according to the priority among candidate blocks.
- neighboring candidate blocks for CP0 of the current block 1000 may include an upper left neighboring block 1011, a left neighboring block 1012, and an upper neighboring block 1013 of the current block 1000.
- the left peripheral block 1012 may be the uppermost block among the left blocks adjacent to the left boundary of the current block 1000
- the upper peripheral block 1013 is the upper boundary of the current block 1000. It may be the leftmost block among the upper blocks adjacent to the upper boundary.
- the availability check order of the candidate blocks may be variously applied, for example, the availability check may be performed in the order of the upper left peripheral block 1011, the left peripheral block 1012, the upper peripheral block 1013, or the left side. The availability check may be performed in the order of the neighboring block 1012, the upper left neighboring block 1011, and the upper neighboring block 1013.
- neighbor candidate blocks for CP1 of the current block 1000 may include an upper right neighboring block 1021 and an upper neighboring block 1022 of the current block 1000.
- the upper peripheral block 1022 may be a block located at the rightmost side among the upper blocks adjacent to the upper boundary of the current block 1000.
- the availability check order of the candidate blocks may be variously applied, for example, the availability check may be performed in the order of the upper right side block 1021, the upper side neighbor block 1022, or the upper neighboring block 1022, the upper right side.
- the availability check may be performed in the order of the side peripheral block 1021.
- neighbor candidate blocks for CP2 of the current block 1000 may include a lower left neighboring block 1031 and a left neighboring block 1032 of the current block 1000.
- the left peripheral block 1032 may be a block located at the lowermost side of the left blocks adjacent to the left boundary of the current block 1000.
- the availability check order of the candidate blocks may be variously applied. For example, the availability check may be performed in the order of the lower left peripheral block 1031, the left peripheral block 1032, or the left neighboring block 1032, the lower left. The availability check may be performed in the order of the side peripheral block 1031.
- an availability check for determining suitability of neighboring candidate blocks may be performed based on at least one of the following conditions.
- the position of the neighbor candidate block is present in the picture and / or in the slice, and the neighbor candidate block must be a referenceable block in coding order.
- the position of the neighbor block is located outside the current picture (for example, if the current block is located adjacent to the left boundary of the current picture). It may be determined that the upper left neighboring block or the lower left neighboring block is not available), or the corresponding neighboring block is located in a different slice or tile than the current block.
- the slice may be a sequence of integer CTUs.
- the CTUs within a slice may be included in one independent slice segment and subsequent dependent slice segments.
- the tile is a rectangular region containing CTUs (CTBs). The rectangular area may be divided based on a specific tile column and a specific tile row in the picture.
- the transform prediction model may not be applied to the current block. This is because it is difficult to determine the motion tendency of the image for the current block when any one of neighboring candidate blocks is coded in the intra prediction mode.
- the limited prediction model may be applied to only two control points. In this case, Equation 3 may be applied as described above.
- any one of neighboring candidate blocks may be applied when the transform prediction mode is applied.
- the neighbor candidate block is coded in the transform prediction mode, since the transform information of the block between the current block and the neighbor candidate block may be similar, this is likely to be an MVP suitable for deriving a motion vector of the control point.
- the reference picture index for the current block may be explicitly signaled from the encoding apparatus or may be derived based on neighbor candidate blocks. If the available candidate blocks use the same reference picture index, the reference picture index may be used as a reference picture index for the current block. Meanwhile, when reference picture indices are different between available candidate blocks, the accuracy of the current block may be low when the transform information of the current block is predicted from motion vectors for other reference pictures. Therefore, the same reference picture index should be used. When the reference picture index is different between candidate blocks, the reference picture index for the current block may be derived based on one of the following methods.
- the reference picture index for the current block is fixed to zero.
- the mode of the reference picture index in the same reference picture list of neighboring candidate blocks is used.
- the motion vector of the candidate block may be scaled in consideration of the POC distance according to the derived reference picture index.
- the motion vector of the candidate block is to be scaled based on a POC difference between the current picture and a reference picture of the candidate block and a POC difference between the current picture and a reference picture (pointed to by the reference picture index) of the current block. Can be.
- the (transform prediction) motion vectors of the control points of the current block may be obtained based on neighboring candidate blocks, and based on the motion vectors of the control points, Transform prediction) It is possible to efficiently derive motion vectors.
- the decoding apparatus may derive the reference region on the reference picture indicated by the reference picture index for the current block based on the motion vectors of the current block, and predict the samples and the reconstructed samples for the current block based on the reconstructed samples in the reference region. Can create them.
- FIG. 11 schematically illustrates an example of a video encoding method according to the present invention.
- the method disclosed in FIG. 11 may be performed by an encoding device.
- the encoding apparatus derives control points (CPs) for the current block (S1100). Two CPs may be used or three CPs may be used.
- the number of CPs may be two.
- the coordinate of CP0 of the CPs is (0, 0)
- the coordinate of CP1 may be (S, 0).
- the number of CPs may be three.
- the coordinate of the upper left sample position of the current block is (0, 0) and the height and width of the current block are S
- the coordinate of CP0 among the CPs is (0, 0)
- the coordinate of CP1 is (S, 0)
- the coordinates of CP2 may be (0, S).
- the height of the current block S width is W
- the coordinates of CP0 of the CPs is (0, 0)
- the coordinates of CP1 is (W, 0)
- the coordinates of CP2 is (0, H) Can be.
- the encoding apparatus obtains motion vectors for the CPs (S1110).
- the encoding apparatus may obtain motion vectors for the CPs according to a predefined method based on neighboring candidate blocks. That is, motion vectors for the CPs may be derived based on motion vectors of neighboring blocks of the current block. In this case, based on the motion vector of the neighboring block adjacent to each of the CPs, a motion vector for the corresponding CP can be obtained.
- the encoding apparatus may detect optimal motion vectors for the CPs based on motion estimation.
- the encoding apparatus derives a motion vector of a subblock or a sample unit in the current block based on the obtained motion vectors (S1120).
- the encoding apparatus may derive a motion vector of a subblock unit or a sample unit in the current block according to the transform prediction model according to the present invention, and may perform more accurate inter prediction.
- the motion vector of the subblock or the sample unit in the current block may be derived based on Equation 3 described above.
- v x and v y may be calculated based on Equation 3, wherein v x and v y represent x components and y components of a motion vector for any (x, y) coordinates in the current block. As described above.
- the motion vector of the subblock or the sample unit in the current block may be derived based on Equation 2 described above.
- the subblocks may have a uniform size. That is, the subblock may have an n ⁇ n size.
- n may be a positive integer or a power of 2.
- n may be 4.
- a motion vector corresponding to the upper left sample position coordinate of the subblock may be used as the motion vector for the subblock.
- a motion vector corresponding to the center right lower sample position of the subblock may be used as the motion vector for the subblock.
- the center lower right sample position may indicate a sample position located on the lower right side among four samples located at the center of the subblock as described above.
- the encoding apparatus generates a prediction sample for the current block based on the derived motion vector (S1130). If the prediction mode for the current block is not the skip mode, the encoding apparatus may generate a residual sample (or a residual signal) based on the original sample of the original picture and the prediction sample.
- the encoding apparatus encodes and outputs information about the prediction mode and the derived motion vector for the current block (S1140).
- the encoding apparatus may encode and output the information about the prediction mode and the derived motion vector for the current block in the form of a bitstream.
- the bitstream may be transmitted to a decoding apparatus via a network or a storage medium.
- the decoding apparatus may encode and output information about the residual sample for the current block.
- the information about the residual sample may include transform coefficients related to the residual sample.
- 12 schematically illustrates an example of a video decoding method according to the present invention. The method disclosed in FIG. 12 may be performed by a decoding apparatus.
- the decoding apparatus derives control points (CPs) for the current block (S1200). Two CPs may be used or three CPs may be used.
- the number of CPs may be two.
- the coordinate of CP0 of the CPs is (0, 0)
- the coordinate of CP1 may be (S, 0).
- the number of CPs may be three.
- the coordinate of the upper left sample position of the current block is (0, 0) and the height and width of the current block are S
- the coordinate of CP0 among the CPs is (0, 0)
- the coordinate of CP1 is (S, 0)
- the coordinates of CP2 may be (0, S).
- the height of the current block S width is W
- the coordinates of CP0 of the CPs is (0, 0)
- the coordinates of CP1 is (W, 0)
- the coordinates of CP2 is (0, H) Can be.
- the decoding apparatus derives and obtains motion vectors for the CPs (S1210).
- the motion vectors for the CPs may be derived based on the motion vectors of the neighboring blocks of the current block. In this case, based on the motion vector of the neighboring block adjacent to each of the CPs, a motion vector for the corresponding CP can be obtained.
- the decoding apparatus may derive neighboring candidate blocks for the current block.
- the neighbor candidate blocks may include an upper left peripheral block, an upper right peripheral block, and a lower left peripheral block.
- a motion vector of CP0 is obtained based on the upper left neighboring block
- a motion vector of the CP1 is obtained based on the upper right neighboring block
- a motion vector of the CP2 is based on the lower left neighboring block. Can be obtained.
- the coordinates of the upper left sample position or the center lower right sample position of the upper left peripheral block are reset to (0, 0), and the reset coordinate and the neighbor candidate block are reset. Based on the motion vectors of the two vectors, the motion vectors for the CPs may be obtained.
- the decoding apparatus derives a motion vector 0 for CP0 based on the neighboring block group 0 including the upper left neighboring block, the first left neighboring block, and the first upper neighboring block, and the right upper neighboring block and the second upper neighboring block.
- a motion vector 1 for CP1 is derived based on the neighboring block group 1 including the upper neighboring block, and based on the neighboring block group 2 including the lower left neighboring block and the second left neighboring block. 2 can be derived.
- the first left neighboring block is the uppermost block among the left neighboring blocks adjacent to the left boundary of the current block
- the first upper neighboring block is the upper neighboring block adjacent to the upper boundary of the current block.
- a leftmost block among the blocks, and the second upper neighboring block is a rightmost block among the upper neighboring blocks adjacent to the upper boundary of the current block, and the second left neighboring block is the left side of the current block. It may be the uppermost block among the left peripheral blocks adjacent to the boundary.
- the decoding apparatus may sequentially determine availability based on a predefined priority order among candidate blocks, and derive a motion vector of the corresponding CP based on the motion vectors of the available candidate blocks. For example, the decoding apparatus sequentially determines availability according to a predefined first priority order for the upper left neighboring block, the first left neighboring block, and the first upper neighboring block, and the right upper neighboring block. And whether availability is sequentially determined according to a second priority order predefined for the second upper peripheral block, and sequentially according to a third predefined priority order defined for the lower left peripheral block and the second left peripheral block. You can also determine availability.
- the decoding apparatus derives a motion vector of a subblock or a sample unit in the current block based on the obtained motion vectors (S1220).
- the decoding apparatus may derive a motion vector of a subblock unit or a sample unit in the current block according to the transform prediction model according to the present invention, and may perform more accurate inter prediction.
- the motion vector of the subblock or the sample unit in the current block may be derived based on Equation 3 described above.
- v x and v y may be calculated based on Equation 3, wherein v x and v y represent x components and y components of a motion vector for any (x, y) coordinates in the current block. As described above.
- the motion vector of the subblock or the sample unit in the current block may be derived based on Equation 2 described above.
- the subblocks may have a uniform size. That is, the subblock may have an n ⁇ n size.
- n may be a positive integer or a power of 2.
- n may be 4.
- a motion vector corresponding to the upper left sample position coordinate of the subblock may be used as the motion vector for the subblock.
- a motion vector corresponding to the center right lower sample position of the subblock may be used as the motion vector for the subblock.
- the center lower right sample position may indicate a sample position located on the lower right side among four samples located at the center of the subblock as described above.
- the decoding apparatus derives a prediction sample (or a prediction sample array) for the current block based on the derived motion vector (S1230).
- the decoding apparatus derives a reference picture based on the reference picture index of the current block, derives a reference region indicated by the motion vector in the sample unit or the subblock unit on the reference picture, and reconstructs in the reference region.
- a sample can be used as a prediction sample for the current block.
- the reference picture index of the current block may be fixed to 0 or may be derived based on the reference picture index of the neighboring block of the current block. Alternatively, the minimum value of the reference picture index in the same reference picture list of neighboring candidate blocks may be used as the reference picture index of the current block, or the mode may be used.
- the decoding apparatus generates a reconstructed sample based on the prediction sample (S1240).
- the decoding apparatus may directly use the prediction sample as a reconstruction sample according to a prediction mode, or generate a reconstruction sample by adding a residual sample to the prediction sample.
- the decoding apparatus may receive and parse the prediction mode information for the current block and the information about the motion vectors of the CPs from the bitstream.
- the prediction mode information may indicate a prediction mode for the current block.
- the prediction mode may indicate whether a skip mode, a merge mode, or an AVMP mode is applied to the current block, or may indicate whether a transform prediction model (mode) is applied to the current block.
- the information about the motion vectors of the CPs is information for indicating the motion vectors of the CPs, and may indicate, for example, which neighboring blocks of neighboring blocks of the current block are to be used.
- the CPs may indicate whether a motion vector is derived.
- the decoding apparatus may receive information about the residual sample for the current block from the bitstream.
- the information about the residual sample may include transform coefficients regarding the residual sample.
- the decoding apparatus may derive the residual sample (or residual sample array) for the current block based on the information about the residual sample.
- the decoding apparatus may generate a reconstructed sample based on the prediction sample and the residual sample, and may derive a reconstructed block or a reconstructed picture based on the reconstructed sample.
- FIG. 13 schematically illustrates a block diagram of a prediction unit included in an encoding apparatus according to the present invention.
- the prediction unit 1300 included in the encoding apparatus may include a prediction mode determiner 1310, a motion vector derivation unit 1320, and a prediction sample derivation unit 1330.
- the prediction mode determiner 1310 may determine an inter prediction mode for the current block. For example, the prediction mode determiner 1310 may determine whether the merge mode or the AMVP mode is applied to the current block, and determine whether the above-described modified prediction mode is applied. The prediction mode determiner 1310 may determine an optimal prediction mode based on the RD costs according to various prediction modes.
- the motion vector derivation unit 1320 derives at least one motion vector for the current block.
- the motion vector derivation unit 1330 may find a reference region on the reference picture through motion estimation. Alternatively, the motion vector derivation unit 1330 may derive an optimal motion vector candidate among limited motion vector candidates according to a predetermined algorithm.
- the motion vector derivation unit 1320 may derive control points (CPs) for the current block.
- CPs control points
- two CPs may be used, or three CPs may be used. That is, the motion vector derivation unit 1320 may determine the number of CPs used for the current block.
- the coordinate of CP0 of the CPs is ( 0, 0)
- the coordinate of CP1 may be (S, 0).
- the coordinate of the upper left sample position of the current block is (0, 0) and the height and width of the current block are S
- the coordinate of CP0 among the CPs is (0, 0).
- the coordinate of CP1 may be (S, 0)
- the coordinate of CP2 may be (0, S).
- the height of the current block S width is W
- the coordinates of CP0 of the CPs is (0, 0)
- the coordinates of CP1 is (W, 0)
- the coordinates of CP2 is (0, H) Can be.
- the motion vector derivation unit 1320 may derive and obtain motion vectors for the CPs.
- the motion vector derivation unit 1320 may derive motion vectors for the CPs based on the motion vector of the current block. In this case, the motion vector derivation unit 1320 may obtain a motion vector for the CP based on the motion vector of the neighboring block adjacent to each of the CPs.
- the motion vector derivator 1320 may derive neighboring candidate blocks for the current block.
- the neighbor candidate blocks may include an upper left peripheral block, an upper right peripheral block, and a lower left peripheral block.
- a motion vector of CP0 is obtained based on the upper left neighboring block
- a motion vector of the CP1 is obtained based on the upper right neighboring block
- a motion vector of the CP2 is based on the lower left neighboring block. Can be obtained.
- the motion vector derivation unit 1320 derives a motion vector 0 for CP0 based on the neighboring block group 0 including the upper left neighboring block, the first left neighboring block, and the first upper neighboring block, and the upper right side Deriving a motion vector 1 for CP1 based on the neighboring block group 1 including the neighboring block and the second upper neighboring block, and based on the neighboring block group 2 including the lower left neighboring block and the second left neighboring block, A motion vector 2 for CP2 may be derived.
- the first left neighboring block is the uppermost block among the left neighboring blocks adjacent to the left boundary of the current block
- the first upper neighboring block is the upper neighboring block adjacent to the upper boundary of the current block.
- a leftmost block among the blocks, and the second upper neighboring block is a rightmost block among the upper neighboring blocks adjacent to the upper boundary of the current block, and the second left neighboring block is the left side of the current block. It may be the uppermost block among the left peripheral blocks adjacent to the boundary.
- the motion vector derivation unit 1320 may sequentially determine availability based on a predefined priority order among candidate blocks, and derive a motion vector of a corresponding CP based on motion vectors of available candidate blocks. .
- the motion vector derivation unit 1320 sequentially determines availability according to a predefined first priority order for the upper left neighboring block, the first left neighboring block, and the first upper neighboring block. It is determined whether availability is sequentially based on a second priority order predefined for the upper right side neighboring block and the second upper neighboring block, and a third predefined third for the lower left neighboring block and the second left neighboring block. First, availability may be sequentially determined in order.
- the motion vector derivation unit 1320 derives a motion vector of a subblock or a sample unit in the current block based on the motion vectors of the CPs.
- the motion vector derivation unit 1320 may derive a motion vector of a subblock unit or a sample unit in the current block according to the transform prediction model according to the present invention, and may perform more accurate inter prediction.
- the motion vector derivation unit 1320 may derive the motion vector of the subblock or the sample unit in the current block based on Equation 3 described above.
- v x and v y may be calculated based on Equation 3, wherein v x and v y represent x components and y components of a motion vector for any (x, y) coordinates in the current block. As described above.
- the motion vector derivation unit 1320 may derive the motion vector of the subblock or the sample unit in the current block based on Equation 2 described above.
- the prediction sample derivator 1330 derives a prediction sample (or a prediction sample array) for the current block based on the derived subblock or a motion vector of a sample unit.
- the prediction sample derivation unit 1330 may derive the reference region indicated by the motion vector in the sample unit or the subblock unit on the reference picture, and use the reconstructed sample in the reference region as a prediction sample for the current block. have.
- at least one of reference picture list 0 (L0) and reference picture list 1 (L1) may be used.
- FIG. 14 schematically illustrates a block diagram of a predictor included in a decoding apparatus according to the present invention.
- the prediction unit 1400 included in the decoding apparatus may include a prediction mode determiner 1410, a motion vector derivation unit 1420, and a prediction sample derivation unit 1430.
- the prediction mode determiner 1410 may determine a prediction mode for the current block. For example, the prediction mode determiner 1410 may determine whether the merge mode or the AMVP mode is applied to the current block, and determine whether the above-described modified prediction mode is applied. The prediction mode determiner 1410 may determine a prediction mode applied to the current block based on mode information obtained from a bitstream through a predetermined reference or entropy decoding unit.
- the motion vector derivation unit 1420 derives at least one motion vector for the current block.
- the motion vector derivation unit 1420 may derive control points (CPs) for the current block.
- CPs control points
- two CPs may be used, or three CPs may be used. That is, the motion vector derivation unit 1420 may determine the number of CPs used for the current block.
- the coordinate of CP0 of the CPs is ( 0, 0)
- the coordinate of CP1 may be (S, 0).
- the coordinate of the upper left sample position of the current block is (0, 0) and the height and width of the current block are S
- the coordinate of CP0 among the CPs is (0, 0).
- the coordinate of CP1 may be (S, 0)
- the coordinate of CP2 may be (0, S).
- the height of the current block S width is W
- the coordinates of CP0 of the CPs is (0, 0)
- the coordinates of CP1 is (W, 0)
- the coordinates of CP2 is (0, H) Can be.
- the motion vector derivation unit 1420 may derive and obtain motion vectors for the CPs.
- the motion vector derivation unit 1420 may derive motion vectors for the CPs based on the motion vector of the current block. In this case, the motion vector derivation unit 1420 may obtain a motion vector for the CP based on the motion vectors of neighboring blocks adjacent to each of the CPs.
- the motion vector derivator 1420 may derive neighboring candidate blocks for the current block.
- the neighbor candidate blocks may include an upper left peripheral block, an upper right peripheral block, and a lower left peripheral block.
- a motion vector of CP0 is obtained based on the upper left neighboring block
- a motion vector of the CP1 is obtained based on the upper right neighboring block
- a motion vector of the CP2 is based on the lower left neighboring block. Can be obtained.
- the coordinates of the upper left sample position or the center lower right sample position of the upper left peripheral block are reset to (0, 0), and the reset coordinate and the neighbor candidate block are reset. Based on the motion vectors of the two vectors, the motion vectors for the CPs may be obtained.
- the motion vector derivation unit 1420 derives a motion vector 0 for CP0 based on the neighboring block group 0 including the upper left neighboring block, the first left neighboring block, and the first upper neighboring block, and the right upper side Deriving a motion vector 1 for CP1 based on the neighboring block group 1 including the neighboring block and the second upper neighboring block, and based on the neighboring block group 2 including the lower left neighboring block and the second left neighboring block, A motion vector 2 for CP2 may be derived.
- the first left neighboring block is the uppermost block among the left neighboring blocks adjacent to the left boundary of the current block
- the first upper neighboring block is the upper neighboring block adjacent to the upper boundary of the current block.
- a leftmost block among the blocks, and the second upper neighboring block is a rightmost block among the upper neighboring blocks adjacent to the upper boundary of the current block, and the second left neighboring block is the left side of the current block. It may be the uppermost block among the left peripheral blocks adjacent to the boundary.
- the motion vector derivation unit 1420 may sequentially determine availability based on a predefined priority order among candidate blocks, and derive a motion vector of a corresponding CP based on motion vectors of available candidate blocks. .
- the motion vector derivation unit 1420 sequentially determines availability based on a first priority order predefined for the upper left peripheral block, the first left peripheral block, and the first upper peripheral block, It is determined whether availability is sequentially based on a second priority order predefined for the upper right side neighboring block and the second upper neighboring block, and a third predefined third for the lower left neighboring block and the second left neighboring block.
- availability may be sequentially determined in order.
- the motion vector derivation unit 1420 derives a motion vector of a subblock or a sample unit in the current block based on the motion vectors of the CPs.
- the motion vector derivation unit 1420 may derive a motion vector of a subblock unit or a sample unit in the current block according to the transform prediction model according to the present invention, and may perform more accurate inter prediction.
- the motion vector derivation unit 1420 may derive the motion vector of the subblock or the sample unit in the current block based on Equation 3 described above.
- v x and v y may be calculated based on Equation 3, wherein v x and v y represent x components and y components of a motion vector for any (x, y) coordinates in the current block. As described above.
- the motion vector derivation unit 1420 may derive the motion vector of the subblock or the sample unit in the current block based on Equation 2 described above.
- the prediction sample derivator 1430 derives a prediction sample (or a prediction sample array) for the current block based on the derived subblock or a motion vector of a sample unit.
- the prediction sample derivator 1430 derives a reference picture based on the reference picture index of the current block, derives a reference region indicated by the motion vector in the sample unit or the subblock unit on the reference picture, A reconstructed sample in the reference region may be used as a prediction sample for the current block.
- at least one of reference picture list 0 (L0) and reference picture list 1 (L1) may be used.
- the reference picture index of the current block with respect to L0 or L1 may be fixed to 0, or may be derived based on the reference picture index of the neighboring block of the current block.
- the minimum value of the reference picture index in the same reference picture list of neighboring candidate blocks may be used as the reference picture index of the current block, or the mode may be used.
- the inter prediction may be effectively performed through the motion vectors (deformation prediction) not only when the image in the current block is plane-shifted, but also when the image is rotated, zoomed in, zoomed out, or flat-sized. This can eliminate or reduce the amount of data for the residual signal for the current block and improve the overall coding efficiency.
- the above-described method according to the present invention may be implemented in software, and the encoding device and / or the decoding device according to the present invention may perform image processing of, for example, a TV, a computer, a smartphone, a set top box, a display device, and the like. It can be included in the device.
- the above-described method may be implemented as a module (process, function, etc.) for performing the above-described function.
- the module may be stored in memory and executed by a processor.
- the memory may be internal or external to the processor and may be coupled to the processor by various well known means.
- the processor may include application-specific integrated circuits (ASICs), other chipsets, logic circuits, and / or data processing devices.
- the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory card, storage medium and / or other storage device.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (15)
- 디코딩 장치에 의하여 수행되는 비디오 디코딩 방법에 있어서,현재 블록에 대한 컨트롤 포인트(control point, CP)들을 도출하는 단계;상기 CP들에 대한 움직임 벡터들을 획득하는 단계;상기 획득된 움직임 벡터들을 기반으로 상기 현재 블록 내 서브블록 또는 샘플 단위의 움직임 벡터를 도출하는 단계;상기 도출된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플을 도출하는 단계; 및상기 예측 샘플을 기반으로 복원 샘플을 생성하는 단계를 포함함을 특징으로 하는, 디코딩 방법.
- 제1항에 있어서,상기 CP들의 개수는 2개이고,상기 현재 블록의 좌상단(top-left) 샘플 포지션의 좌표가 (0, 0)이고, 상기 현재 블록의 높이 및 너비는 S인 경우, 상기 CP들 중 CP0의 좌표는 (0, 0)이고, CP1의 좌표는 (S, 0)인 것을 특징으로 하는, 디코딩 방법.
- 제1항에 있어서,상기 서브블록은 n×n 사이즈를 갖고, 상기 n은 양의 정수인 것을 특징으로 하는, 디코딩 방법.
- 제4항에 있어서,상기 n은 4인 것을 특징으로 하는, 디코딩 방법.
- 제4항에 있어서,상기 서브블록의 좌상단 샘플 포지션에 대응하는 움직임 벡터가 상기 서브블록에 대한 움직임 벡터로 사용됨을 특징으로 하는, 디코딩 방법.
- 제4항에 있어서,상기 서브블록의 센터 우하측 샘플 포지션에 대응하는 움직임 벡터가 상기 서브블록에 대한 움직임 벡터로 사용됨을 특징으로 하는, 디코딩 방법.
- 제1항에 있어서,상기 CP들의 개수는 3개이고,상기 현재 블록의 좌상단(top-left) 샘플 포지션의 좌표가 (0, 0)이고, 상기 현재 블록의 높이 및 너비는 S인 경우, 상기 CP들 중 CP0의 좌표는 (0, 0)이고, CP1의 좌표는 (S, 0)이고, CP2의 좌표는 (0, S)인 것을 특징으로 하는, 디코딩 방법.
- 제1항에 있어서,상기 현재 블록의 주변 블록의 움직임 벡터를 기반으로 상기 CP들에 대한 움직임 벡터들을 획득하는 것을 특징으로 하는, 디코딩 방법.
- 제1항에 있어서,상기 현재 블록에 대한 주변 후보 블록들을 도출하는 단계를 더 포함하되,상기 주변 후보 블록들은 좌상측 주변 블록, 우상측 주변 블록 및 좌하측 주변 블록을 포함하고,상기 좌상측 주변 블록의 좌상단 샘플 포지션 또는 센터 우하측 샘플 포지션의 좌표가 (0, 0)으로 재설정되고, 상기 재설정된 좌표 및 상기 주변 후보 블록들의 움직임 벡터들을 기반으로, 상기 CP들에 대한 움직임 벡터들을 획득하는 것을 특징으로 하는, 디코딩 방법.
- 제8항에 있어서,상기 CP들에 대한 움직임 벡터들을 획득하는 단계는좌상측 주변 블록, 제1 좌측 주변 블록 및 제1 상측 주변 블록을 포함하는 주변 블록 그룹0을 기반으로 CP0에 대한 움직임 벡터0를 도출하는 단계;우상측 주변 블록 및 제2 상측 주변 블록을 포함하는 주변 블록 그룹1을 기반으로 CP1에 대한 움직임 벡터1을 도출하는 단계; 및좌하측 주변 블록 및 제2 좌측 주변 블록을 포함하는 주변 블록 그룹2를 기반으로, CP2에 대한 움직임 벡터2를 도출하는 단계를 포함하되,상기 좌상측 주변 블록, 상기 제1 좌측 주변 블록 및 상기 제1 상측 주변 블록은 미리 정의된 제1 우선 순서에 따라 순차적으로 가용성 여부가 판단되고,상기 우상측 주변 블록 및 상기 제2 상측 주변 블록은 미리 정의된 제2 우선 순서에 따라 순차적으로 가용성 여부가 판단되고,상기 좌하측 주변 블록 및 상기 제2 좌측 주변 블록은 미리 정의된 제3 우선 순서에 따라 순차적으로 가용성 여부가 판단됨을 특징으로 하는, 디코딩 방법.
- 제12항에 있어서,상기 제1 좌측 주변 블록은 현재 블록의 좌측 경계(left boundary)에 인접한 좌측 주변 블록들 중 가장 상측에 위치한 블록이고,상기 제1 상측 주변 블록은 상기 현재 블록의 상측 경계에 인접한 상측 주변 블록들 중 가장 좌측에 위치한 블록이고,상기 제2 상측 주변 블록은 상기 현재 블록의 상기 상측 경계에 인접한 상기 상측 주변 블록들 중 가장 우측에 위치한 블록이고,상기 제2 좌측 주변 블록은 상기 현재 블록의 상기 좌측 경계에 인접한 상기 좌측 주변 블록들 중 가장 상측에 위치한 블록인 것을 특징으로 하는, 디코딩 방법.
- 제1항에 있어서,상기 현재 블록에 대한 예측 샘플은 상기 도출된 움직임 벡터 및 상기 현재 블록의 참조 픽처 인덱스를 기반으로 도출되며,상기 현재 블록의 참조 픽처 인덱스는 상기 현재 블록의 주변 블록의 참조 픽처 인덱스를 기반으로 도출됨을 특징으로 하는, 디코딩 방법.
- 인코딩 장치에 의하여 수행되는 비디오 인코딩 방법에 있어서,현재 블록에 대한 컨트롤 포인트(control point, CP)들을 도출하는 단계;상기 CP들에 대한 움직임 벡터들을 획득하는 단계;상기 획득된 움직임 벡터들을 기반으로 상기 현재 블록 내 서브블록 또는 샘플 단위의 움직임 벡터를 도출하는 단계;상기 도출된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플을 생성하는 단계; 및상기 현재 블록에 대한 예측 모드 정보 및 상기 도출된 움직임 벡터에 관한 정보를 인코딩하여 출력하는 단계를 포함함을 특징으로 하는, 인코딩 방법.
Priority Applications (10)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680083890.4A CN108886618A (zh) | 2016-03-24 | 2016-03-24 | 视频编码***中的帧间预测方法和装置 |
KR1020187026589A KR102638991B1 (ko) | 2016-03-24 | 2016-03-24 | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 |
EP16895569.8A EP3432578A4 (en) | 2016-03-24 | 2016-03-24 | METHOD AND APPARATUS FOR INTER-PREDICTION IN A VIDEO CODING SYSTEM |
MX2018011412A MX2018011412A (es) | 2016-03-24 | 2016-03-24 | Metodo y aparato para inter-prediccion en sistema de codificacion de video. |
KR1020247005362A KR20240025714A (ko) | 2016-03-24 | 2016-03-24 | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 |
PCT/KR2016/002961 WO2017164441A1 (ko) | 2016-03-24 | 2016-03-24 | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 |
US16/087,963 US10659801B2 (en) | 2016-03-24 | 2016-03-24 | Method and apparatus for inter prediction in video coding system |
US16/863,871 US11303919B2 (en) | 2016-03-24 | 2020-04-30 | Method and apparatus for inter prediction in video coding system |
US17/688,076 US11750834B2 (en) | 2016-03-24 | 2022-03-07 | Method and apparatus for inter prediction in video coding system |
US18/224,852 US20230379489A1 (en) | 2016-03-24 | 2023-07-21 | Method and apparatus for inter prediction in video coding system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2016/002961 WO2017164441A1 (ko) | 2016-03-24 | 2016-03-24 | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/087,963 A-371-Of-International US10659801B2 (en) | 2016-03-24 | 2016-03-24 | Method and apparatus for inter prediction in video coding system |
US16/863,871 Continuation US11303919B2 (en) | 2016-03-24 | 2020-04-30 | Method and apparatus for inter prediction in video coding system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017164441A1 true WO2017164441A1 (ko) | 2017-09-28 |
Family
ID=59900457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2016/002961 WO2017164441A1 (ko) | 2016-03-24 | 2016-03-24 | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 |
Country Status (6)
Country | Link |
---|---|
US (4) | US10659801B2 (ko) |
EP (1) | EP3432578A4 (ko) |
KR (2) | KR20240025714A (ko) |
CN (1) | CN108886618A (ko) |
MX (1) | MX2018011412A (ko) |
WO (1) | WO2017164441A1 (ko) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019199067A1 (ko) * | 2018-04-13 | 2019-10-17 | 엘지전자 주식회사 | 비디오 처리 시스템에서 인터 예측 방법 및 장치 |
CN111492662A (zh) * | 2018-01-04 | 2020-08-04 | 高通股份有限公司 | 生成的仿射运动向量 |
CN111656783A (zh) * | 2018-01-25 | 2020-09-11 | 韦勒斯标准与技术协会公司 | 使用基于子块的运动补偿进行视频信号处理的方法和装置 |
US20210329289A1 (en) * | 2018-12-24 | 2021-10-21 | Huawei Technologies Co., Ltd. | Inter prediction method and apparatus |
CN115002454A (zh) * | 2019-07-10 | 2022-09-02 | 北京达佳互联信息技术有限公司 | 关于利用光流的预测细化的方法和装置 |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102548323B1 (ko) * | 2017-01-05 | 2023-06-28 | 프라운호퍼 게젤샤프트 쭈르 푀르데룽 데어 안겐반텐 포르슝 에. 베. | 화상의 블록 기반 예측 코딩 및 디코딩 |
US20190222834A1 (en) * | 2018-01-18 | 2019-07-18 | Mediatek Inc. | Variable affine merge candidates for video coding |
CN117294837A (zh) * | 2018-04-02 | 2023-12-26 | 深圳市大疆创新科技有限公司 | 用于图像处理的方法和图像处理装置 |
KR102030384B1 (ko) | 2018-06-19 | 2019-11-08 | 광운대학교 산학협력단 | 잔차 계수 부호화/복호화 방법 및 장치 |
US11350093B2 (en) | 2018-06-11 | 2022-05-31 | Hanwha Techwin Co., Ltd. | Residual coefficient encoding/decoding method and device |
EP3806472A4 (en) * | 2018-06-30 | 2021-04-14 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | METHOD AND DEVICE FOR INTERPRDICTION BASED ON MERGING MODE |
US10805624B2 (en) * | 2018-07-16 | 2020-10-13 | Tencent America LLC | Determination of parameters of an affine model |
CN116668719A (zh) * | 2018-09-06 | 2023-08-29 | Lg电子株式会社 | 图像解码方法、图像编码方法、存储介质和发送方法 |
US11212521B2 (en) * | 2018-11-07 | 2021-12-28 | Avago Technologies International Sales Pte. Limited | Control of memory bandwidth consumption of affine mode in versatile video coding |
WO2020135368A1 (zh) * | 2018-12-24 | 2020-07-02 | 华为技术有限公司 | 一种帧间预测的方法和装置 |
CN113348667B (zh) * | 2018-12-31 | 2023-06-20 | 北京字节跳动网络技术有限公司 | 在具有MVD的Merge下的距离索引的解析方法 |
WO2020141881A1 (ko) * | 2019-01-02 | 2020-07-09 | 엘지전자 주식회사 | 서브블록 단위의 움직임 정보 기반 인터 예측 방법 및 장치 |
US11758125B2 (en) | 2019-01-02 | 2023-09-12 | Lg Electronics Inc. | Device and method for processing video signal by using inter prediction |
WO2020143774A1 (en) | 2019-01-10 | 2020-07-16 | Beijing Bytedance Network Technology Co., Ltd. | Merge with mvd based on geometry partition |
MX2022003322A (es) * | 2019-09-21 | 2022-05-06 | Lg Electronics Inc | Dispositivo y metodo de codificacion de imagenes a base de transformacion. |
WO2022256353A1 (en) * | 2021-05-31 | 2022-12-08 | Beijing Dajia Internet Information Technology Co., Ltd. | Methods and devices for geometric partition mode with motion vector refinement |
CN114422797A (zh) * | 2021-12-28 | 2022-04-29 | 重庆邮电大学 | 一种基于时间依赖率失真优化的h.264到h.265转码方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09172644A (ja) * | 1995-10-18 | 1997-06-30 | Sharp Corp | アフィン変換による動き補償フレーム間予測方式を用いた動画像符号化・復号化装置 |
KR20080088299A (ko) * | 2007-03-29 | 2008-10-02 | 삼성전자주식회사 | 움직임 모델 파라메터의 부호화, 복호화 방법 및 움직임모델 파라메터를 이용한 영상의 부호화, 복호화 방법 및장치 |
US20110103487A1 (en) * | 2008-07-01 | 2011-05-05 | France Telecom | Method and device for encoding a sequence of images implementing a temporal prediction, corresponding signal, data storage medium, method and decoding device and computer program products |
JP2011146980A (ja) * | 2010-01-15 | 2011-07-28 | Sony Corp | 画像処理装置および方法 |
WO2015099816A1 (en) * | 2012-11-13 | 2015-07-02 | Intel Corporation | Content adaptive dominant motion compensated prediction for next generation video coding |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1274254B1 (en) * | 1995-08-29 | 2011-07-06 | Sharp Kabushiki Kaisha | Video coding device and video decoding device with a motion compensated interframe prediction |
US8824558B2 (en) | 2010-11-23 | 2014-09-02 | Mediatek Inc. | Method and apparatus of spatial motion vector prediction |
KR101756442B1 (ko) * | 2010-11-29 | 2017-07-11 | 에스케이텔레콤 주식회사 | 인트라예측모드의 중복성을 최소화하기 위한 영상 부호화/복호화 방법 및 장치 |
CN112087630B (zh) | 2014-09-30 | 2022-04-08 | 华为技术有限公司 | 图像预测方法、装置、解码器及存储介质 |
US10728571B2 (en) * | 2015-08-04 | 2020-07-28 | Lg Electronics Inc. | Inter prediction method and device in video coding system |
CN114866770A (zh) * | 2015-08-07 | 2022-08-05 | Lg 电子株式会社 | 视频编译***中的帧间预测方法和装置 |
CN105163116B (zh) * | 2015-08-29 | 2018-07-31 | 华为技术有限公司 | 图像预测的方法及设备 |
GB2561507B (en) * | 2016-01-07 | 2021-12-22 | Mediatek Inc | Method and apparatus for affine merge mode prediction for video coding system |
WO2017147765A1 (en) | 2016-03-01 | 2017-09-08 | Mediatek Inc. | Methods for affine motion compensation |
US10638152B2 (en) * | 2016-03-15 | 2020-04-28 | Mediatek Inc. | Method and apparatus of video coding with affine motion compensation |
JP2019519972A (ja) * | 2016-05-05 | 2019-07-11 | ヴィド スケール インコーポレイテッド | イントラコーディングのための制御点ベースのイントラ方向表現 |
US10448010B2 (en) * | 2016-10-05 | 2019-10-15 | Qualcomm Incorporated | Motion vector prediction for affine motion models in video coding |
US10701391B2 (en) * | 2017-03-23 | 2020-06-30 | Qualcomm Incorporated | Motion vector difference (MVD) prediction |
US10609384B2 (en) * | 2017-09-21 | 2020-03-31 | Futurewei Technologies, Inc. | Restriction on sub-block size derivation for affine inter prediction |
US11877001B2 (en) * | 2017-10-10 | 2024-01-16 | Qualcomm Incorporated | Affine prediction in video coding |
US11889100B2 (en) * | 2017-11-14 | 2024-01-30 | Qualcomm Incorporated | Affine motion vector prediction in video coding |
US20190208211A1 (en) * | 2018-01-04 | 2019-07-04 | Qualcomm Incorporated | Generated affine motion vectors |
US11451816B2 (en) * | 2018-04-24 | 2022-09-20 | Mediatek Inc. | Storage of motion vectors for affine prediction |
-
2016
- 2016-03-24 KR KR1020247005362A patent/KR20240025714A/ko active Application Filing
- 2016-03-24 US US16/087,963 patent/US10659801B2/en active Active
- 2016-03-24 EP EP16895569.8A patent/EP3432578A4/en not_active Ceased
- 2016-03-24 KR KR1020187026589A patent/KR102638991B1/ko active IP Right Grant
- 2016-03-24 WO PCT/KR2016/002961 patent/WO2017164441A1/ko active Application Filing
- 2016-03-24 MX MX2018011412A patent/MX2018011412A/es unknown
- 2016-03-24 CN CN201680083890.4A patent/CN108886618A/zh active Pending
-
2020
- 2020-04-30 US US16/863,871 patent/US11303919B2/en active Active
-
2022
- 2022-03-07 US US17/688,076 patent/US11750834B2/en active Active
-
2023
- 2023-07-21 US US18/224,852 patent/US20230379489A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09172644A (ja) * | 1995-10-18 | 1997-06-30 | Sharp Corp | アフィン変換による動き補償フレーム間予測方式を用いた動画像符号化・復号化装置 |
KR20080088299A (ko) * | 2007-03-29 | 2008-10-02 | 삼성전자주식회사 | 움직임 모델 파라메터의 부호화, 복호화 방법 및 움직임모델 파라메터를 이용한 영상의 부호화, 복호화 방법 및장치 |
US20110103487A1 (en) * | 2008-07-01 | 2011-05-05 | France Telecom | Method and device for encoding a sequence of images implementing a temporal prediction, corresponding signal, data storage medium, method and decoding device and computer program products |
JP2011146980A (ja) * | 2010-01-15 | 2011-07-28 | Sony Corp | 画像処理装置および方法 |
WO2015099816A1 (en) * | 2012-11-13 | 2015-07-02 | Intel Corporation | Content adaptive dominant motion compensated prediction for next generation video coding |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111492662A (zh) * | 2018-01-04 | 2020-08-04 | 高通股份有限公司 | 生成的仿射运动向量 |
CN111656783A (zh) * | 2018-01-25 | 2020-09-11 | 韦勒斯标准与技术协会公司 | 使用基于子块的运动补偿进行视频信号处理的方法和装置 |
CN111656783B (zh) * | 2018-01-25 | 2024-03-08 | 三星电子株式会社 | 使用基于子块的运动补偿进行视频信号处理的方法和装置 |
WO2019199067A1 (ko) * | 2018-04-13 | 2019-10-17 | 엘지전자 주식회사 | 비디오 처리 시스템에서 인터 예측 방법 및 장치 |
US11102478B2 (en) | 2018-04-13 | 2021-08-24 | Lg Electronics Inc. | Method and apparatus for inter prediction in video processing system |
US11601643B2 (en) | 2018-04-13 | 2023-03-07 | Lg Electronics Inc. | Method and apparatus for inter prediction in video processing system |
US20210329289A1 (en) * | 2018-12-24 | 2021-10-21 | Huawei Technologies Co., Ltd. | Inter prediction method and apparatus |
US11706444B2 (en) * | 2018-12-24 | 2023-07-18 | Huawei Technologies Co., Ltd. | Inter prediction method and apparatus |
CN115002454A (zh) * | 2019-07-10 | 2022-09-02 | 北京达佳互联信息技术有限公司 | 关于利用光流的预测细化的方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
US20190110061A1 (en) | 2019-04-11 |
EP3432578A4 (en) | 2019-11-20 |
MX2018011412A (es) | 2019-01-10 |
US20230379489A1 (en) | 2023-11-23 |
US10659801B2 (en) | 2020-05-19 |
KR102638991B1 (ko) | 2024-02-21 |
US20220191536A1 (en) | 2022-06-16 |
EP3432578A1 (en) | 2019-01-23 |
CN108886618A (zh) | 2018-11-23 |
US20200260101A1 (en) | 2020-08-13 |
US11303919B2 (en) | 2022-04-12 |
KR20240025714A (ko) | 2024-02-27 |
KR20180123041A (ko) | 2018-11-14 |
US11750834B2 (en) | 2023-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017164441A1 (ko) | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 | |
WO2017022973A1 (ko) | 비디오 코딩 시스템에서 인터 예측 방법 및 장치 | |
WO2018221817A1 (ko) | 영상 코딩 시스템에서 인트라 예측에 따른 영상 디코딩 방법 및 장치 | |
WO2017052081A1 (ko) | 영상 코딩 시스템에서 인터 예측 방법 및 장치 | |
WO2017014412A1 (ko) | 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2017209328A1 (ko) | 영상 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2017188652A1 (ko) | 영상 부호화/복호화 방법 및 장치 | |
WO2017179835A1 (ko) | 인트라 예측 기반의 비디오 신호 처리 방법 및 장치 | |
WO2016052977A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2019117634A1 (ko) | 2차 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2017069590A1 (ko) | 영상 코딩 시스템에서 모델링 기반 영상 디코딩 방법 및 장치 | |
WO2017052009A1 (ko) | 영상 코딩 시스템에서 amvr 기반한 영상 코딩 방법 및 장치 | |
WO2017082443A1 (ko) | 영상 코딩 시스템에서 임계값을 이용한 적응적 영상 예측 방법 및 장치 | |
WO2018008905A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2016159610A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2019117639A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2017061671A1 (ko) | 영상 코딩 시스템에서 적응적 변환에 기반한 영상 코딩 방법 및 장치 | |
WO2017057877A1 (ko) | 영상 코딩 시스템에서 영상 필터링 방법 및 장치 | |
WO2018044089A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2018021585A1 (ko) | 영상 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2016114583A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2016064123A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017159901A1 (ko) | 비디오 코딩 시스템에서 블록 구조 도출 방법 및 장치 | |
WO2016122253A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2016122251A1 (ko) | 비디오 신호 처리 방법 및 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 20187026589 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2018/011412 Country of ref document: MX |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2016895569 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2016895569 Country of ref document: EP Effective date: 20181018 |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16895569 Country of ref document: EP Kind code of ref document: A1 |