WO2019194501A1 - Image coding method on basis of motion vector refinement and apparatus thereof - Google Patents

Image coding method on basis of motion vector refinement and apparatus thereof Download PDF

Info

Publication number
WO2019194501A1
WO2019194501A1 PCT/KR2019/003809 KR2019003809W WO2019194501A1 WO 2019194501 A1 WO2019194501 A1 WO 2019194501A1 KR 2019003809 W KR2019003809 W KR 2019003809W WO 2019194501 A1 WO2019194501 A1 WO 2019194501A1
Authority
WO
WIPO (PCT)
Prior art keywords
motion vector
derived
amvr
prediction
unit
Prior art date
Application number
PCT/KR2019/003809
Other languages
French (fr)
Korean (ko)
Inventor
이재호
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of WO2019194501A1 publication Critical patent/WO2019194501A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • H04N19/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/53Multi-resolution motion estimation; Hierarchical motion estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/56Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • the present invention relates to an image coding technique, and more particularly, to an image coding method and apparatus based on motion vector refinement in an image 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 image coding efficiency.
  • Another technical problem of the present invention is to provide a method and apparatus for increasing the efficiency of inter prediction.
  • Another technical problem of the present invention is to provide a method and apparatus for increasing the efficiency of inter prediction based on AMVP (Advanced Motion Vector Prediction).
  • AMVP Advanced Motion Vector Prediction
  • Another technical problem of the present invention is to provide a method and apparatus for increasing the efficiency of inter prediction based on adaptive motion vector resolution (AMVR).
  • AMVR adaptive motion vector resolution
  • Another technical problem of the present invention is to provide a method and apparatus for applying motion vector refinement in performing AMVR.
  • a picture decoding method performed by a decoding apparatus includes motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode.
  • AMVR Adaptive Motion Vector Resolution
  • a decoding device for performing picture decoding.
  • the decoding apparatus may include motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode.
  • An entropy decoding unit for obtaining information from a bitstream, and when the value of the AMVR flag is 1, a motion vector for the current block is derived based on the value of the AMVR mode flag, and the derived motion vector is refined.
  • a predictor that derives prediction samples for the current block based on the refined motion vector, and an adder that generates reconstruction samples for the current block based on the derived prediction samples.
  • the overall video / video compression efficiency can be improved.
  • the efficiency of inter prediction can be improved.
  • image coding efficiency can be improved by performing inter prediction based on AMVP.
  • image coding efficiency can be improved by performing inter prediction based on AMVR.
  • the accuracy of inter prediction can be improved by applying motion vector refinement in performing AMVR.
  • motion vector refinement may be applied depending on conditions in performing AMVR.
  • FIG. 1 is a diagram schematically illustrating a configuration of an encoding apparatus according to an embodiment.
  • FIG. 2 is a diagram schematically illustrating a configuration of a decoding apparatus according to an embodiment.
  • FIG. 3 is a flowchart illustrating a method of operating a decoding apparatus, according to an exemplary embodiment.
  • FIG. 4 is a block diagram illustrating a configuration of a decoding apparatus according to an embodiment.
  • a picture decoding method performed by a decoding apparatus includes motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode.
  • AMVR Adaptive Motion Vector Resolution
  • each configuration in the drawings described in the present invention are shown independently for the convenience of description of the different characteristic functions, it does not mean that each configuration is implemented by separate hardware or separate software.
  • 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 scope of the present invention without departing from the spirit of the present invention.
  • VVC Versatile Video Coding
  • HEVC High Efficiency Video Coding
  • a video may mean a series of images over time.
  • a picture generally refers to a unit representing one image in a specific time zone, and a slice is a unit constituting a part of a picture in coding.
  • One picture may be composed of a plurality of slices, and if necessary, the picture and the slice may be mixed with each other.
  • an "image” may mean a concept including a still image and a video, which is a set of a series of still images over time.
  • video does not necessarily mean a set of a series of still images over time, and in some embodiments, may be interpreted as a concept in which still images are included in video.
  • a pixel or a pel may refer to a minimum unit constituting one picture (or image). Also, 'sample' may be used as a term corresponding to a pixel.
  • a sample may generally represent a pixel or a value of a pixel, and may only represent pixel / pixel values of the luma component, or only pixel / pixel values of the chroma component.
  • a unit represents the basic unit of image processing.
  • the unit may include at least one of a specific region of the picture and information related to the region.
  • the unit may be used interchangeably with terms such as block or area in some cases.
  • an M ⁇ N block may represent a set of samples or transform coefficients composed of M columns and N rows.
  • the encoding / decoding device may include a video encoding / decoding device and / or an image encoding / decoding device, and the video encoding / decoding device is used as a concept including the image encoding / decoding device, or the image encoding / decoding device is It may be used in a concept including a video encoding / decoding device.
  • the (video) encoding apparatus 100 may include a picture partitioning module 105, a prediction module 110, a residual processing module 120, and an entropy encoding unit (
  • the entropy encoding module 130 may include an adder 140, a filtering module 150, and a memory 160.
  • the residual processor 120 may include a substractor 121, a transform module 122, a quantization module 123, a rearrangement module 124, and a dequantization module 125. ) And an inverse transform module 126.
  • the picture divider 105 may divide the input picture into at least one processing unit.
  • the processing unit may be called a coding unit (CU).
  • the coding unit may be recursively split from the largest coding unit (LCU) according to a quad-tree binary-tree (QTBT) structure.
  • QTBT quad-tree binary-tree
  • one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure, a binary tree structure, and / or a ternary tree structure.
  • the quad tree structure may be applied first, and the binary tree structure and the ternary tree structure may be applied later.
  • the binary tree structure / tunary tree structure may be applied first.
  • the coding procedure according to the present invention may be performed based on the final coding unit that is no longer split.
  • the maximum coding unit may be used as the final coding unit immediately based on coding efficiency according to the image characteristic, or if necessary, the coding unit is recursively divided into coding units of lower depths and optimized.
  • a coding unit of size may be used as the final coding unit.
  • the coding procedure may include a procedure of prediction, transform, and reconstruction, which will be described later.
  • the processing unit may include a coding unit (CU) prediction unit (PU) or a transform unit (TU).
  • the coding unit may be split from the largest coding unit (LCU) into coding units of deeper depths along the quad tree structure.
  • LCU largest coding unit
  • the maximum coding unit may be used as the final coding unit immediately based on coding efficiency according to the image characteristic, or if necessary, the coding unit is recursively divided into coding units of lower depths and optimized.
  • a coding unit of size may be used as the final coding unit. If a smallest coding unit (SCU) is set, the coding unit may not be split into smaller coding units than the minimum coding unit.
  • the final coding unit refers to a coding unit that is the basis of partitioning or partitioning into a prediction unit or a transform unit.
  • the prediction unit is a unit partitioning from the coding unit and may be a unit of sample prediction. In this case, the prediction unit may be divided into sub blocks.
  • the transform unit may be divided along the quad tree structure from the coding unit, and may be a unit for deriving a transform coefficient and / or a unit for deriving a residual signal from the transform coefficient.
  • a coding unit may be called a coding block (CB)
  • a prediction unit is a prediction block (PB)
  • a transform unit may be called a transform block (TB).
  • a prediction block or prediction unit may mean a specific area in the form of a block within a picture, and may include an array of prediction samples.
  • a transform block or a transform unit may mean a specific area in a block form within a picture, and may include an array of transform coefficients or residual samples.
  • the prediction unit 110 performs prediction on a block to be processed (hereinafter, may mean a current block or a residual block), and generates a predicted block including prediction samples for the current block. can do.
  • the unit of prediction performed by the prediction unit 110 may be a coding block, a transform block, or a prediction block.
  • the prediction unit 110 may determine whether intra prediction or inter prediction is applied to the current block. As an example, the prediction unit 110 may determine whether intra prediction or inter prediction is applied on a CU basis.
  • the prediction unit 110 may derive a prediction sample for the current block based on reference samples outside the current block in the picture to which the current block belongs (hereinafter, referred to as the current picture). In this case, the prediction unit 110 may (i) derive the prediction sample based on the average or interpolation of neighboring reference samples of the current block, and (ii) the neighbor reference of the current block.
  • the prediction sample may be derived based on a reference sample present in a specific (prediction) direction with respect to the prediction sample among the samples. In case of (i), it may be called non-directional mode or non-angle mode, and in case of (ii), it may be called directional mode or angular mode.
  • 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).
  • the prediction unit 110 may determine the prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
  • the prediction unit 110 may derive the prediction sample for the current block based on the sample specified by the motion vector on the reference picture.
  • the prediction unit 110 may apply one of a skip mode, a merge mode, and a motion vector prediction (MVP) mode to derive a prediction sample for the current block.
  • the prediction unit 110 may use the motion information of the neighboring block as the motion information of the current block.
  • the skip mode unlike the merge mode, the difference (residual) between the prediction sample and the original sample is not transmitted.
  • the MVP mode the motion vector of the current block may be derived using the motion vector of the neighboring block as a motion vector predictor.
  • the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture.
  • a reference picture including the temporal neighboring block may be called a collocated picture (colPic).
  • the motion information may include a motion vector and a reference picture index.
  • Information such as prediction mode information and motion information may be encoded (entropy) and output in the form of a bitstream.
  • the highest picture on the reference picture list may be used as the reference picture.
  • Reference pictures included in a reference picture list may be sorted based on a difference in a picture order count (POC) between a current picture and a corresponding reference picture.
  • POC picture order count
  • the subtraction unit 121 generates a residual sample which is a difference between the original sample and the prediction sample.
  • residual samples may not be generated as described above.
  • the transform unit 122 generates transform coefficients by transforming the residual sample in units of transform blocks.
  • the transform unit 122 may perform the transform according to the size of the transform block and the prediction mode applied to the coding block or the prediction block that spatially overlaps the transform block. For example, if intra prediction is applied to the coding block or the prediction block that overlaps the transform block, and the transform block is a 4 ⁇ 4 residual array, the residual sample is configured to perform a discrete sine transform (DST) transform kernel.
  • the residual sample may be transformed using a discrete cosine transform (DCT) transform kernel.
  • DST discrete sine transform
  • DCT discrete cosine transform
  • the quantization unit 123 may quantize the transform coefficients to generate quantized transform coefficients.
  • the reordering unit 124 rearranges the quantized transform coefficients.
  • the reordering unit 124 may reorder the quantized transform coefficients in the form of a block into a one-dimensional vector form through a coefficient scanning method. Although the reordering unit 124 has been described in a separate configuration, the reordering unit 124 may be part of the quantization unit 123.
  • the entropy encoding unit 130 may perform entropy encoding on the quantized transform coefficients.
  • Entropy encoding may include, for example, encoding methods such as exponential Golomb, context-adaptive variable length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), and the like.
  • the entropy encoding unit 130 may encode information necessary for video reconstruction other than the quantized transform coefficients (for example, a value of a syntax element) together or separately according to entropy encoding or a predetermined method.
  • the encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of bitstreams.
  • the bitstream may be transmitted over a network or may be stored in a digital storage medium.
  • the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, and the like.
  • the inverse quantization unit 125 inverse quantizes the quantized values (quantized transform coefficients) in the quantization unit 123, and the inverse transformer 126 inverse transforms the inverse quantized values in the inverse quantization unit 125 to obtain a residual sample.
  • the adder 140 reconstructs the picture by combining the residual sample and the predictive sample.
  • the residual sample and the predictive sample may be added in units of blocks to generate a reconstructed block.
  • the adder 140 may be part of the predictor 110.
  • the adder 140 may also be called a reconstruction module or a restore block generator.
  • the filter unit 150 may apply a deblocking filter and / or a sample adaptive offset to the reconstructed picture. Through deblocking filtering and / or sample adaptive offset, the artifacts of the block boundaries in the reconstructed picture or the distortion in the quantization process can be corrected.
  • the sample adaptive offset may be applied on a sample basis and may be applied after the process of deblocking filtering is completed.
  • the filter unit 150 may apply an adaptive loop filter (ALF) to the reconstructed picture. ALF may be applied to the reconstructed picture after the deblocking filter and / or sample adaptive offset is applied.
  • ALF adaptive loop filter
  • the memory 160 may store reconstructed pictures (decoded pictures) or information necessary for encoding / decoding.
  • the reconstructed picture may be a reconstructed picture after the filtering process is completed by the filter unit 150.
  • the stored reconstructed picture may be used as a reference picture for (inter) prediction of another picture.
  • the memory 160 may store (reference) pictures used for inter prediction.
  • pictures used for inter prediction may be designated by a reference picture set or a reference picture list.
  • FIG. 2 is a diagram schematically illustrating a configuration of a video / video decoding apparatus to which the present invention can be applied.
  • the video decoding apparatus may include an image decoding apparatus.
  • the (video) decoding apparatus 200 may include an entropy decoding module 210, a residual processing module 220, a prediction module 230, and an adder. , 240, a filtering module 250, and a memory 260.
  • the residual processor 220 may include a rearrangement module 221, a dequantization module 222, and an inverse transform module 223.
  • the video decoding apparatus 200 may include a receiver that receives a bitstream including video information. The receiver may be configured as a separate module or may be included in the entropy decoding unit 210.
  • the (video) decoding apparatus 200 may restore the video / image / picture in response to a process in which the video / image information is processed in the (video) encoding apparatus. .
  • the video decoding apparatus 200 may perform video decoding using a processing unit applied in the video encoding apparatus.
  • the processing unit block of video decoding may be, for example, a coding unit, and in another example, a coding unit, a prediction unit, or a transform unit.
  • the coding unit may be split along the quad tree structure, binary tree structure and / or ternary tree structure from the largest coding unit.
  • the prediction unit and the transform unit may be further used in some cases, in which case the prediction block is a block derived or partitioned from the coding unit and may be a unit of sample prediction. At this point, the prediction unit may be divided into subblocks.
  • the transform unit may be divided along the quad tree structure from the coding unit, and may be a unit for deriving a transform coefficient or a unit for deriving a residual signal from the transform coefficient.
  • the entropy decoding unit 210 may parse the bitstream and output information necessary for video reconstruction or picture reconstruction. For example, the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, quantized values of syntax elements necessary for video reconstruction, and residual coefficients. Can be output.
  • a coding method such as exponential Golomb coding, CAVLC, or CABAC, quantized values of syntax elements necessary for video reconstruction, and residual coefficients. Can be output.
  • 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 is determined using the context model, the probability of occurrence of a bin is predicted according to the determined context model, and arithmetic decoding of the bin is performed to generate a symbol corresponding to the value of each syntax element. can do.
  • 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 / bin after determining the context model.
  • the information related to the prediction among the information decoded by the entropy decoding unit 210 is provided to the prediction unit 230, and the residual value on which the entropy decoding has been performed by the entropy decoding unit 210, that is, the quantized transform coefficient, is used as a reordering unit ( 221 may be input.
  • the reordering unit 221 may rearrange the quantized transform coefficients in a two-dimensional block form.
  • the reordering unit 221 may perform reordering in response to coefficient scanning performed by the encoding apparatus.
  • the rearrangement unit 221 has been described in a separate configuration, but the rearrangement unit 221 may be part of the inverse quantization unit 222.
  • the inverse quantization unit 222 may dequantize the quantized transform coefficients based on the (inverse) quantization parameter and output the transform coefficients.
  • information for deriving a quantization parameter may be signaled from the encoding apparatus.
  • the inverse transform unit 223 may inversely transform transform coefficients to derive residual samples.
  • the prediction unit 230 may perform prediction on the current block and generate a predicted block including prediction samples for the current block.
  • the unit of prediction performed by the prediction unit 230 may be a coding block, a transform block, or a prediction block.
  • the prediction unit 230 may determine whether to apply intra prediction or inter prediction based on the information about the prediction.
  • a unit for determining which of intra prediction and inter prediction is to be applied and a unit for generating a prediction sample may be different.
  • the unit for generating a prediction sample in inter prediction and intra prediction may also be different.
  • whether to apply inter prediction or intra prediction may be determined in units of CUs.
  • a prediction mode may be determined and a prediction sample may be generated in PU units
  • intra prediction a prediction mode may be determined in PU units and a prediction sample may be generated in TU units.
  • the prediction unit 230 may derive the prediction sample for the current block based on the neighbor reference samples in the current picture.
  • the prediction unit 230 may derive the prediction sample for the current block by applying the directional mode or the non-directional mode based on the neighbor reference samples of the current block.
  • the prediction mode to be applied to the current block may be determined using the intra prediction mode of the neighboring block.
  • the prediction unit 230 may derive the prediction sample for the current block based on the sample specified on the reference picture by the motion vector on the reference picture.
  • the prediction unit 230 may apply any one of a skip mode, a merge mode, and an MVP mode to derive a prediction sample for the current block.
  • motion information required for inter prediction of the current block provided by the video encoding apparatus for example, information about a motion vector, a reference picture index, and the like may be obtained or derived based on the prediction information.
  • the motion information of the neighboring block may be used as the motion information of the current block.
  • the neighboring block may include a spatial neighboring block and a temporal neighboring block.
  • the prediction unit 230 may construct a merge candidate list using motion information of available neighboring blocks, and may use information indicated by the merge index on the merge candidate list as a motion vector of the current block.
  • the merge index may be signaled from the encoding device.
  • the motion information may include a motion vector and a reference picture. When the motion information of the temporal neighboring block is used in the skip mode and the merge mode, the highest picture on the reference picture list may be used as the reference picture.
  • the difference (residual) between the prediction sample and the original sample is not transmitted.
  • the motion vector of the current block may be derived using the motion vector of the neighboring block as a motion vector predictor.
  • the neighboring block may include a spatial neighboring block and a temporal neighboring block.
  • a merge candidate list may be generated by using a motion vector of a reconstructed spatial neighboring block and / or a motion vector corresponding to a 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 information about the prediction may include a merge index indicating a candidate block having an optimal motion vector selected from candidate blocks included in the merge candidate list.
  • the prediction unit 230 may derive the motion vector of the current block by using the merge index.
  • a motion vector predictor candidate list may be generated using a motion vector of a reconstructed spatial neighboring block and / or a motion vector corresponding to a Col block, which is a temporal neighboring block.
  • the prediction information may include a prediction motion vector index indicating an optimal motion vector selected from the motion vector candidates included in the list.
  • the prediction unit 230 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 prediction unit of the encoding apparatus may obtain a motion vector difference (MVD) between the motion vector of the current block and the motion vector predictor, and may encode the output vector in a bitstream form. That is, MVD may be obtained by subtracting the motion vector predictor from the motion vector of the current block.
  • the prediction unit 230 may obtain a motion vector difference included in the information about the prediction, and derive the motion vector of the current block by adding the motion vector difference and the motion vector predictor.
  • the prediction unit may also obtain or derive a reference picture index or the like indicating a reference picture from the information about the prediction.
  • the adder 240 may reconstruct the current block or the current picture by adding the residual sample and the predictive sample.
  • the adder 240 may reconstruct the current picture by adding the residual sample and the predictive sample in block units. Since the residual is not transmitted when the skip mode is applied, the prediction sample may be a reconstruction sample.
  • the adder 240 has been described in a separate configuration, the adder 240 may be part of the predictor 230.
  • the adder 240 may also be called a reconstruction module or a reconstruction block generator.
  • the filter unit 250 may apply the deblocking filtering sample adaptive offset, and / or ALF to the reconstructed picture.
  • the sample adaptive offset may be applied in units of samples and may be applied after deblocking filtering.
  • ALF may be applied after deblocking filtering and / or sample adaptive offset.
  • the memory 260 may store reconstructed pictures (decoded pictures) or information necessary for decoding.
  • the reconstructed picture may be a reconstructed picture after the filtering process is completed by the filter unit 250.
  • the memory 260 may store pictures used for inter prediction.
  • pictures used for inter prediction may be designated by a reference picture set or a reference picture list.
  • the reconstructed picture can be used as a reference picture for another picture.
  • the memory 260 may output the reconstructed picture in an output order.
  • a predicted block including prediction samples of the current block which is a coding target block
  • the predicted block comprises prediction samples in the spatial domain (or pixel domain).
  • the predicted block is derived identically in the encoding apparatus and the decoding apparatus, and the encoding apparatus decodes information (residual information) about the residual between the original block and the predicted block, not the original sample value itself of the original block. Signaling to an apparatus may increase image coding efficiency.
  • the decoding apparatus may derive a residual block including residual samples based on the residual information, generate the reconstructed block including reconstructed samples by adding the residual block and the predicted block, and generate reconstructed blocks. A reconstructed picture may be generated.
  • the residual information may be generated through a transform and quantization procedure.
  • the encoding apparatus derives a residual block between the original block and the predicted block, and performs transform procedure on residual samples (residual sample array) included in the residual block to derive transform coefficients.
  • the quantized transform coefficients may be derived by performing a quantization procedure on the transform coefficients to signal related residual information to the decoding device (via a bitstream).
  • the residual information may include information such as value information of the quantized transform coefficients, position information, a transform scheme, a transform kernel, and a quantization parameter.
  • the decoding apparatus may perform an inverse quantization / inverse transformation procedure and derive residual samples (or residual blocks) based on the residual information.
  • the decoding apparatus may generate a reconstructed picture based on the predicted block and the residual block.
  • the encoding apparatus may then dequantize / inverse transform the quantized transform coefficients for reference for inter prediction of the picture to derive a residual block, and generate a reconstructed picture based thereon.
  • Inter prediction of video encoding may be performed based on motion compensation using motion information.
  • motion information such as Advanced Motion Vector Prediction (AMVP), which directly encodes / decodes motion information
  • Merge mode which transmits only an optimal index by listing peripheral motion information of the current block.
  • AMVP mode the motion information to be encoded / decoded includes a prediction direction (bi or uni), a reference picture index, a motion vector information (for example, a motion vector predictor index, and a motion vector (MVD).
  • the motion information may include a prediction direction (bi or uni), a reference picture index, a motion vector, and the like.
  • motion vector information of AMVP may be expressed up to a decimal point unit.
  • motion vector information may be expressed up to a decimal point based on a quarter pixel unit, a 1/8 pixel unit, and the like.
  • the motion vector information may be inefficient to decode / decode the motion vector information of AMVP in the unit of decimal pixels.
  • the motion vector information may be encoded / decoded in the unit of decimal pixels. May be inefficient. Therefore, in order to solve the above-mentioned problem, it is possible to use adaptive motion vector resolution (AMVR) that adaptively selects the resolution of the motion vector information.
  • AMVR adaptive motion vector resolution
  • a signal for determining whether to express motion information in units of fractional pixels or in units of integer pixels may be explicitly encoded / decoded.
  • a signal for determining whether to express in 1 pixel unit or 4 pixel unit may be explicitly encoded / decoded.
  • Tables 1 and 2 below show the syntax of the AMVP mode when AMVR is applied, and Table 2 shows the decoding process in that case.
  • skip_flag represents a flag for specifying whether or not a skip mode. If the value of skip_flag is 1, the skip mode is performed. If the value of skip_flag is 0, the skip mode is not performed.
  • merge_flag represents a flag for specifying whether the merge mode or not. If the merge_flag value is 1, the merge mode is performed. If the merge_flag value is 0, the merge mode is not performed.
  • amvr_flag represents a flag for specifying whether to be in AMVR mode or not. If the value of amvr_flag is 1, the AMVR mode is executed. If the value of amvr_flag is 0, the AMVR mode is not performed.
  • amvr_mode represents a flag for specifying whether to perform a 1 pixel reference AMVR or a 4 pixel reference AMVR.
  • the motion vector is derived (or determined) by performing AMVR on the basis of 1 pixel, and when the value of amvr_mode is 1, the motion vector is derived (or determined) on the basis of 4 pixels.
  • motion vector refinement for AMVR can be based on the following three methods.
  • the motion vector may be determined based on the similarity between the peripheral pixels of the predetermined area of the current block and the peripheral pixels of the predefined area of the reference block. At this time, the neighboring pixels of the current block must satisfy the decodable condition.
  • a motion vector may be determined based on the similarity between two reference blocks.
  • the motion vector in each direction may be determined based on the similarity with the average block of the two prediction blocks.
  • a method of applying motion vector refinement to an AMVR may be a method of applying to an AMVR mode first, a method of applying to an AMVR mode of a second pixel, and a third of There may be a method applied to the AMVR mode in the 4-pixel unit.
  • motion vector refinement can be applied to the AMVR.
  • the motion vector refinement may be performed after encoding the motion vector.
  • An example of the decoding process in which the motion vector refinement is applied to the AMVR is shown in Table 3 below.
  • motion vector refinement may be applied to an AMVR mode in one pixel.
  • Motion vector refinement has a trade-off relationship between complexity and coding efficiency. Therefore, refinement can be performed by selecting a specific mode among AMVR modes. In general, when the AMVR mode is selected, most of the 1-pixel unit AMVR mode can be selected. Therefore, in order to design the motion vector refinement process in the direction of reducing the coding complexity while maintaining the maximum coding efficiency, refinement may be performed only in the 1-pixel AMVR mode. Table 4 below shows the decoding process.
  • motion vector refinement may be applied to a 4-pixel AMVR mode.
  • the 4-pixel AMVR has low reliability in motion vectors when compared to the 1-pixel AMVR mode. Therefore, it can be designed to perform the motion vector refinement only in the 4-pixel AMVR mode.
  • Table 5 shows the decoding process of the method.
  • the search range (SR) of the motion vector refinement technique for AMVR may be considered.
  • the search range has a trade-off relationship between coding complexity and coding performance. If the search range is too large, the coding performance improvement may be small compared to the coding complexity. If the search range is too small, the absolute coding performance may be small. Therefore, the search range needs to be determined in consideration of coding complexity and efficiency.
  • the search range for AMVR can be defined as follows.
  • Equation 1 may be expressed as in Equation 2, and m and n values may be determined in consideration of encoding complexity and encoding performance.
  • Equation 2 m, n or 1 / m, 1 / n may be transmitted in a high level syntax such as Picture Parameter Set (PPS) or Sequence Parameter Set (SPS), or may be determined at the frame or coding block level. Can be.
  • PPS Picture Parameter Set
  • SPS Sequence Parameter Set
  • FIG. 3 is a flowchart illustrating a method of operating a decoding apparatus according to an embodiment
  • FIG. 4 is a block diagram illustrating a configuration of a decoding apparatus according to an embodiment.
  • the decoding apparatus according to FIGS. 3 and 4 and the operating method of the decoding apparatus may be similarly applied to the encoding apparatus according to FIG. 1.
  • Each step disclosed in FIG. 3 may be performed by the decoding apparatus 200 disclosed in FIG. 2. More specifically, S300 may be performed by the entropy decoding unit 210 shown in FIG. 2, S310 to S330 may be performed by the predictor 230 shown in FIG. 2, and S340 may be added as shown in FIG. 2. It may be performed by the unit 240. Therefore, detailed descriptions that overlap with the foregoing description in FIG. 2 will be omitted or simply described.
  • the decoding apparatus may include an entropy decoding unit 210, a predictor 230, and an adder 240.
  • the decoding apparatus may be implemented by more or fewer components than those illustrated in FIG. 4.
  • the entropy decoding unit 210, the prediction unit 230, and the adder 240 are each implemented as separate chips, or at least two or more components are implemented through one chip. May be
  • a decoding apparatus includes: motion prediction including information on an AMVR flag indicating whether to apply an adaptive motion vector resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode; Motion prediction information may be obtained from the bitstream (S300). More specifically, the entropy decoding unit 210 of the decoding apparatus may provide information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. Motion prediction information including may be obtained from the bitstream.
  • AMVR adaptive motion vector resolution
  • AMVR Adaptive Motion Vector Resolution
  • the decoding apparatus may derive a motion vector for the current block based on the value of the AMVR mode flag (S310). More specifically, when the value of the AMVR flag is 1, the prediction unit 230 of the decoding apparatus may derive a motion vector for the current block based on the value of the AMVR mode flag.
  • the motion vector when the value of the AMVR mode flag is 0, the motion vector is derived based on 1 pixel unit, and when the value of the AMVR mode flag is 1, the motion vector is derived based on 4 pixel unit. Can be.
  • the decoding apparatus may refine the derived motion vector (S320). More specifically, the prediction unit 230 of the decoding apparatus may refine the derived motion vector.
  • the decoding apparatus may refine the motion vector when the motion vector is derived based on the one pixel unit or the four pixel unit.
  • the decoding apparatus may refine the motion vector when the motion vector is derived based on the one pixel unit.
  • the decoding apparatus may refine the motion vector when the motion vector is derived based on the 4 pixel unit.
  • the decoding apparatus may refine the derived motion vector based on a similarity between neighboring pixels of the predefined area of the current block and neighboring pixels of the predefined area of the reference block with respect to the current block. Can be.
  • the decoding apparatus may refine the derived motion vector based on the similarity between the bidirectional reference blocks with respect to the current block.
  • the decoding apparatus may refine the derived motion vector based on the similarity of the average block of the bidirectional reference blocks to the current block.
  • the decoding apparatus may refine the derived motion vector within a search range.
  • the search range may be determined as a value between -1 and 1.
  • the search range may be determined as a value between -4 and 4.
  • the search range is determined as a value between -1 / m and 1 / m, wherein the value of m is determined by the motion prediction information. May be included.
  • the search range is determined as a value between -4 / n and 4 / n, wherein the value of n is determined in the motion prediction information. May be included.
  • the decoding apparatus may derive prediction samples for the current block based on the refined motion vector (S330). More specifically, the prediction unit 230 of the decoding apparatus may derive the prediction samples for the current block based on the refined motion vector.
  • the decoding apparatus may generate reconstruction samples for the current block based on the derived prediction samples (S340). More specifically, the adder 240 of the decoding apparatus may generate reconstruction samples for the current block based on the derived prediction samples.
  • Motion prediction information including information on the indicated AMVR mode flag is obtained from the bitstream (S300).
  • the current block is determined based on the value of the AMVR mode flag.
  • Derive a motion vector for the current block (S310), refine the derived motion vector (S320), and derive prediction samples for the current block based on the refined motion vector (S330).
  • Reconstruction samples for the current block may be generated (S340) based on prediction samples. That is, the accuracy of inter prediction can be improved by applying motion vector refinement in performing AMVR.
  • 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 an application-specific integrated circuit (ASIC), other chipsets, logic circuits, and / or data processing devices.
  • the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory card, storage medium and / or other storage device.

Abstract

A picture decoding method performed by a decoding apparatus according to the present invention, comprises the steps of: obtaining, from a bitstream, information on an adaptive motion vector resolution (AMVR) flag indicating whether to apply an AMVR mode and motion prediction information including information on an AMVR mode flag indicating a type of the AMVR mode; deriving a motion vector for a current block on the basis of the value of the AMVR mode flag when the value of the AMVR flag is 1; refining the derived motion vector; deriving prediction samples for the current block on the basis of the refined motion vector; and generating reconstruction samples for the current block on the basis of the derived prediction samples.

Description

움직임 벡터 리파인먼트에 기반한 영상 코딩 방법 및 그 장치Image Coding Method and Apparatus Based on Motion Vector Refinement
본 발명은 영상 코딩 기술에 관한 것으로서 보다 상세하게는 영상 코딩 시스템에서 움직임 벡터 리파인먼트에 기반한 영상 코딩 방법 및 그 장치에 관한 것이다.The present invention relates to an image coding technique, and more particularly, to an image coding method and apparatus based on motion vector refinement in an image coding system.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 전송되는 정보량 또는 비트량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 영상 데이터를 저장하는 경우, 전송 비용과 저장 비용이 증가된다. Recently, 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.
이에 따라, 고해상도, 고품질 영상의 정보를 효과적으로 전송하거나 저장하고, 재생하기 위해 고효율의 영상 압축 기술이 요구된다.Accordingly, 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 image coding efficiency.
본 발명의 다른 기술적 과제는 인터 예측의 효율을 높이는 방법 및 장치를 제공함에 있다. Another technical problem of the present invention is to provide a method and apparatus for increasing the efficiency of inter prediction.
본 발명의 또 다른 기술적 과제는 AMVP(Advanced Motion Vector Prediction)를 기반으로 인터 예측의 효율을 높이는 방법 및 장치를 제공함에 있다.Another technical problem of the present invention is to provide a method and apparatus for increasing the efficiency of inter prediction based on AMVP (Advanced Motion Vector Prediction).
본 발명의 또 다른 기술적 과제는 AMVR(Adaptive Motion Vector Resolution)을 기반으로 인터 예측의 효율을 높이는 방법 및 장치를 제공함에 있다.Another technical problem of the present invention is to provide a method and apparatus for increasing the efficiency of inter prediction based on adaptive motion vector resolution (AMVR).
본 발명의 또 다른 기술적 과제는 AMVR을 수행함에 있어서 움직임 벡터 리파인먼트(motion vector refinement)를 적용하는 방법 및 장치를 제공함에 있다.Another technical problem of the present invention is to provide a method and apparatus for applying motion vector refinement in performing AMVR.
본 발명의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 픽처 디코딩 방법이 제공된다. 상기 방법은, AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득하는 단계, 상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출하는 단계, 상기 도출된 움직임 벡터를 리파인(refine)하는 단계, 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 한다.According to an embodiment of the present invention, a picture decoding method performed by a decoding apparatus is provided. The method includes motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. ) Obtaining a motion vector for the current block based on the value of the AMVR mode flag, and refining the derived motion vector when the value of the AMVR flag is 1; And deriving prediction samples for the current block based on the refined motion vector and generating reconstructed samples for the current block based on the derived prediction samples.
본 발명의 다른 일 실시예에 따르면, 픽처 디코딩을 수행하는 디코딩 장치가 제공된다. 상기 디코딩 장치는, AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득하는 엔트로피 디코딩부, 상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출하고, 상기 도출된 움직임 벡터를 리파인(refine)하고, 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부 및 상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 가산부를 포함하는 것을 특징으로 한다. According to another embodiment of the present invention, a decoding device for performing picture decoding is provided. The decoding apparatus may include motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. An entropy decoding unit for obtaining information from a bitstream, and when the value of the AMVR flag is 1, a motion vector for the current block is derived based on the value of the AMVR mode flag, and the derived motion vector is refined. And a predictor that derives prediction samples for the current block based on the refined motion vector, and an adder that generates reconstruction samples for the current block based on the derived prediction samples. .
본 발명에 따르면 전반적인 영상/비디오 압축 효율을 높일 수 있다.According to the present invention, the overall video / video compression efficiency can be improved.
본 발명에 따르면 인터 예측의 효율을 높일 수 있다. According to the present invention, the efficiency of inter prediction can be improved.
본 발명에 따르면 AMVP를 기반으로 인터 예측을 수행하여 영상 코딩 효율을 높일 수 있다.According to the present invention, image coding efficiency can be improved by performing inter prediction based on AMVP.
본 발명에 따르면 AMVR을 기반으로 인터 예측을 수행하여 영상 코딩 효율을 높일 수 있다.According to the present invention, image coding efficiency can be improved by performing inter prediction based on AMVR.
본 발명에 따르면 AMVR을 기반으로 인터 예측을 수행하여 움직임 정보를 위한 비트 사용을 줄일 수 있다.According to the present invention, it is possible to reduce the use of bits for motion information by performing inter prediction based on AMVR.
본 발명에 따르면 AMVR을 수행함에 있어서 움직임 벡터 리파인먼트를 적용하여 인터 예측의 정확성을 높일 수 있다.According to the present invention, the accuracy of inter prediction can be improved by applying motion vector refinement in performing AMVR.
본 발명에 따르면 AMVR을 수행함에 있어서 움직임 벡터 리파인먼트를 조건에 따라 적용할 수 있다.According to the present invention, motion vector refinement may be applied depending on conditions in performing AMVR.
본 발명에 따르면 움직임 벡터 리파인먼트의 서치 레인지(Search Range)를 기반으로 코딩 효율과 컴플렉시티(complexity) 간의 트레이드 오프(trade-off) 관계의 최적을 선택할 수 있다.According to the present invention, it is possible to select an optimal trade-off relationship between coding efficiency and complexity based on a search range of a motion vector refinement.
도 1은 일 실시예에 따른 인코딩 장치의 구성을 개략적으로 설명하는 도면이다. 1 is a diagram schematically illustrating a configuration of an encoding apparatus according to an embodiment.
도 2는 일 실시예에 따른 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.2 is a diagram schematically illustrating a configuration of a decoding apparatus according to an embodiment.
도 3은 일 실시예에 따른 디코딩 장치의 동작 방법을 도시하는 흐름도이다.3 is a flowchart illustrating a method of operating a decoding apparatus, according to an exemplary embodiment.
도 4는 일 실시예에 따른 디코딩 장치의 구성을 도시하는 블록도이다.4 is a block diagram illustrating a configuration of a decoding apparatus according to an embodiment.
본 발명의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 픽처 디코딩 방법이 제공된다. 상기 방법은, AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득하는 단계, 상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출하는 단계, 상기 도출된 움직임 벡터를 리파인(refine)하는 단계, 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 한다.According to an embodiment of the present invention, a picture decoding method performed by a decoding apparatus is provided. The method includes motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. ) Obtaining a motion vector for the current block based on the value of the AMVR mode flag, and refining the derived motion vector when the value of the AMVR flag is 1; And deriving prediction samples for the current block based on the refined motion vector and generating reconstructed samples for the current block based on the derived prediction samples.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정 실시예에 한정하려고 하는 것이 아니다. 본 명세서에서 상용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서 "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 도는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.As the present invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the invention to the specific embodiments. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the spirit of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. The terms "comprise" or "having" in this specification are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features It is to be understood that the numbers, steps, operations, components, parts or figures do not exclude in advance the presence or possibility of adding them.
한편, 본 발명에서 설명되는 도면상의 각 구성들은 서로 다른 특징적인 기능들에 관한 설명의 편의를 위해 독립적으로 도시된 것으로서, 각 구성들이 서로 별개의 하드웨어나 별개의 소프트웨어로 구현된다는 것을 의미하지는 않는다. 예컨대, 각 구성 중 두 개 이상의 구성이 합쳐져 하나의 구성을 이룰 수도 있고, 하나의 구성이 복수의 구성으로 나뉘어질 수도 있다. 각 구성이 통합 및/또는 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.On the other hand, each configuration in the drawings described in the present invention are shown independently for the convenience of description of the different characteristic functions, it does not mean that each configuration is implemented by separate hardware or separate software. For example, 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 scope of the present invention without departing from the spirit of the present invention.
이하의 설명은 비디오, 이미지 또는 영상에 대해 다루는 기술 분야에서 적용될 수 있다. 예를 들어, 이하의 설명에서 개시된 방법 또는 실시예는 VVC (Versatile Video Coding) 표준 (ITU-T Rec. H.266), VVC 이후의 차세대 비디오/이미지 코딩 표준, 또는 VVC 이전의 표준들(예를 들어, HEVC (High Efficiency Video Coding) 표준 (ITU-T Rec. H.265) 등)의 개시 내용과 관련될 수 있다. The following description may be applied in the technical field dealing with video, image or video. For example, the method or embodiment disclosed in the following description may include the Versatile Video Coding (VVC) standard (ITU-T Rec. H.266), the next generation video / image coding standard after VVC, or standards prior to VVC (eg For example, it may be related to the disclosure of the High Efficiency Video Coding (HEVC) standard (ITU-T Rec. H.265, etc.).
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성 요소에 대해서는 동일한 참조 부호를 사용하고 동일한 구성 요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail a preferred embodiment of the present invention. Hereinafter, the same reference numerals are used for the same components in the drawings, and redundant description of the same components is omitted.
본 명세서에서 비디오(video)는 시간의 흐름에 따른 일련의 영상(image)들의 집합을 의미할 수 있다. 픽처(picture)는 일반적으로 특정 시간대의 하나의 영상을 나타내는 단위를 의미하며, 슬라이스(slice)는 코딩에 있어서 픽처의 일부를 구성하는 단위이다. 하나의 픽처는 복수의 슬라이스로 구성될 수 있으며, 필요에 따라서 픽처 및 슬라이스는 서로 혼용되어 사용될 수 있다. 또한, 경우에 따라서 "이미지(image)"는 정지 영상 및 시간의 흐름에 따른 일련의 정지 영상들의 집합인 비디오(video)를 포함하는 개념을 의미할 수 있다. 또한, "비디오(video)"도 반드시 시간의 흐름에 따른 일련의 정지 영상들의 집합만을 의미하는 것은 아니고, 일부 실시예에서는 정지 영상이 비디오에 포함되는 개념으로 해석될 수 있다.In the present specification, a video may mean a series of images over time. A picture generally refers to a unit representing one image in a specific time zone, and a slice is a unit constituting a part of a picture in coding. One picture may be composed of a plurality of slices, and if necessary, the picture and the slice may be mixed with each other. Also, in some cases, an "image" may mean a concept including a still image and a video, which is a set of a series of still images over time. In addition, “video” does not necessarily mean a set of a series of still images over time, and in some embodiments, may be interpreted as a concept in which still images are included in video.
픽셀(pixel) 또는 펠(pel)은 하나의 픽처(또는 영상)을 구성하는 최소의 단위를 의미할 수 있다. 또한, 픽셀에 대응하는 용어로서 '샘플(sample)'이 사용될 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다. A pixel or a pel may refer to a minimum unit constituting one picture (or image). Also, 'sample' may be used as a term corresponding to a pixel. A sample may generally represent a pixel or a value of a pixel, and may only represent pixel / pixel values of the luma component, or only pixel / pixel values of the chroma component.
유닛(unit)은 영상 처리의 기본 단위를 나타낸다. 유닛은 픽처의 특정 영역 및 해당 영역에 관련된 정보 중 적어도 하나를 포함할 수 있다. 유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다.A unit represents the basic unit of image processing. The unit may include at least one of a specific region of the picture and information related to the region. The unit may be used interchangeably with terms such as block or area in some cases. In a general case, an M × N block may represent a set of samples or transform coefficients composed of M columns and N rows.
도 1은 본 발명이 적용될 수 있는 인코딩 장치(video encoding apparatus)의 구성을 개략적으로 설명하는 도면이다. 이하 인코딩/디코딩 장치는 비디오 인코딩/디코딩 장치 및/또는 영상 인코딩/디코딩 장치를 포함할 수 있고, 비디오 인코딩/디코딩 장치가 영상 인코딩/디코딩 장치를 포함하는 개념으로 사용되거나, 영상 인코딩/디코딩 장치가 비디오 인코딩/디코딩 장치를 포함하는 개념으로 사용될 수도 있다.1 is a diagram schematically illustrating a configuration of a video encoding apparatus to which the present invention may be applied. Hereinafter, the encoding / decoding device may include a video encoding / decoding device and / or an image encoding / decoding device, and the video encoding / decoding device is used as a concept including the image encoding / decoding device, or the image encoding / decoding device is It may be used in a concept including a video encoding / decoding device.
도 1을 참조하면, (비디오) 인코딩 장치(100)는 픽처 분할부(picture partitioning module, 105), 예측부(prediction module, 110), 레지듀얼 처리부(residual processing module, 120), 엔트로피 인코딩부(entropy encoding module, 130), 가산부(adder, 140), 필터부(filtering module, 150) 및 메모리(memory, 160)을 포함할 수 있다. 레지듀얼 처리부(120)는 감산부(substractor, 121), 변환부(transform module, 122), 양자화부(quantization module, 123), 재정렬부(rearrangement module, 124), 역양자화부(dequantization module, 125) 및 역변환부(inverse transform module, 126)를 포함할 수 있다. Referring to FIG. 1, the (video) encoding apparatus 100 may include a picture partitioning module 105, a prediction module 110, a residual processing module 120, and an entropy encoding unit ( The entropy encoding module 130 may include an adder 140, a filtering module 150, and a memory 160. The residual processor 120 may include a substractor 121, a transform module 122, a quantization module 123, a rearrangement module 124, and a dequantization module 125. ) And an inverse transform module 126.
픽처 분할부(105)는 입력된 픽처를 적어도 하나의 처리 유닛(processing unit)으로 분할할 수 있다. The picture divider 105 may divide the input picture into at least one processing unit.
일 예로, 처리 유닛은 코딩 유닛(coding unit, CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBT (Quad-tree binary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조, 바이너리 트리 구조 및/또는 터너리(ternary) 트리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조 및 터너리 트리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조/터너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 발명에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다. As an example, the processing unit may be called a coding unit (CU). In this case, the coding unit may be recursively split from the largest coding unit (LCU) according to a quad-tree binary-tree (QTBT) structure. For example, one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure, a binary tree structure, and / or a ternary tree structure. In this case, for example, the quad tree structure may be applied first, and the binary tree structure and the ternary tree structure may be applied later. Alternatively, the binary tree structure / tunary tree structure may be applied first. The coding procedure according to the present invention may be performed based on the final coding unit that is no longer split. In this case, the maximum coding unit may be used as the final coding unit immediately based on coding efficiency according to the image characteristic, or if necessary, the coding unit is recursively divided into coding units of lower depths and optimized. A coding unit of size may be used as the final coding unit. Here, the coding procedure may include a procedure of prediction, transform, and reconstruction, which will be described later.
다른 예로, 처리 유닛은 코딩 유닛(coding unit, CU) 예측 유닛(prediction unit, PU) 또는 변환 유닛(transform unit, TU)을 포함할 수도 있다. 코딩 유닛은 최대 코딩 유닛(largest coding unit, LCU)으로부터 쿼드 트리 구조를 따라서 하위(deeper) 뎁스의 코딩 유닛들로 분할(split)될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 최소 코딩 유닛(smallest coding unit, SCU)이 설정된 경우 코딩 유닛은 최소 코딩 유닛보다 더 작은 코딩 유닛으로 분할될 수 없다. 여기서 최종 코딩 유닛이라 함은 예측 유닛 또는 변환 유닛으로 파티셔닝 또는 분할되는 기반이 되는 코딩 유닛을 의미한다. 예측 유닛은 코딩 유닛으로부터 파티셔닝(partitioning)되는 유닛으로서, 샘플 예측의 유닛일 수 있다. 이 때, 예측 유닛은 서브 블록(sub block)으로 나뉠 수도 있다. 변환 유닛은 코딩 유닛으로부터 쿼드 트리 구조를 따라서 분할 될 수 있으며, 변환 계수를 유도하는 유닛 및/또는 변환 계수로부터 레지듀얼 신호(residual signal)를 유도하는 유닛일 수 있다. 이하, 코딩 유닛은 코딩 블록(coding block, CB), 예측 유닛은 예측 블록(prediction block, PB), 변환 유닛은 변환 블록(transform block, TB) 으로 불릴 수 있다. 예측 블록 또는 예측 유닛은 픽처 내에서 블록 형태의 특정 영역을 의미할 수 있고, 예측 샘플의 어레이(array)를 포함할 수 있다. 또한, 변환 블록 또는 변환 유닛은 픽처 내에서 블록 형태의 특정 영역을 의미할 수 있고, 변환 계수 또는 레지듀얼 샘플의 어레이를 포함할 수 있다.As another example, the processing unit may include a coding unit (CU) prediction unit (PU) or a transform unit (TU). The coding unit may be split from the largest coding unit (LCU) into coding units of deeper depths along the quad tree structure. In this case, the maximum coding unit may be used as the final coding unit immediately based on coding efficiency according to the image characteristic, or if necessary, the coding unit is recursively divided into coding units of lower depths and optimized. A coding unit of size may be used as the final coding unit. If a smallest coding unit (SCU) is set, the coding unit may not be split into smaller coding units than the minimum coding unit. Here, the final coding unit refers to a coding unit that is the basis of partitioning or partitioning into a prediction unit or a transform unit. The prediction unit is a unit partitioning from the coding unit and may be a unit of sample prediction. In this case, the prediction unit may be divided into sub blocks. The transform unit may be divided along the quad tree structure from the coding unit, and may be a unit for deriving a transform coefficient and / or a unit for deriving a residual signal from the transform coefficient. Hereinafter, a coding unit may be called a coding block (CB), a prediction unit is a prediction block (PB), and a transform unit may be called a transform block (TB). A prediction block or prediction unit may mean a specific area in the form of a block within a picture, and may include an array of prediction samples. In addition, a transform block or a transform unit may mean a specific area in a block form within a picture, and may include an array of transform coefficients or residual samples.
예측부(110)는 처리 대상 블록(이하, 현재 블록 또는 레지듀얼 블록을 의미할 수도 있다)에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(110)에서 수행되는 예측의 단위는 코딩 블록일 수 있고, 변환 블록일 수도 있고, 예측 블록일 수도 있다.The prediction unit 110 performs prediction on a block to be processed (hereinafter, may mean a current block or a residual block), and generates a predicted block including prediction samples for the current block. can do. The unit of prediction performed by the prediction unit 110 may be a coding block, a transform block, or a prediction block.
예측부(110)는 현재 블록에 인트라 예측이 적용되는지 인터 예측이 적용되는지를 결정할 수 있다. 일 예로, 예측부(110)는 CU 단위로 인트라 예측 또는 인터 예측이 적용되는지를 결정할 수 있다.The prediction unit 110 may determine whether intra prediction or inter prediction is applied to the current block. As an example, the prediction unit 110 may determine whether intra prediction or inter prediction is applied on a CU basis.
인트라 예측의 경우에, 예측부(110)는 현재 블록이 속하는 픽처(이하, 현재 픽처) 내의 현재 블록 외부의 참조 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이 때, 예측부(110)는 (i) 현재 블록의 주변(neighboring) 참조 샘플들의 평균(average) 혹은 인터폴레이션(interpolation)을 기반으로 예측 샘플을 유도할 수 있고, (ii) 현재 블록의 주변 참조 샘플들 중 예측 샘플에 대하여 특정 (예측) 방향에 존재하는 참조 샘플을 기반으로 상기 예측 샘플을 유도할 수도 있다. (i)의 경우는 비방향성 모드 또는 비각도 모드, (ii)의 경우는 방향성(directional) 모드 또는 각도(angular) 모드라고 불릴 수 있다. 인트라 예측에서 예측 모드는 예를 들어 33개의 방향성 예측 모드와 적어도 2개 이상의 비방향성 모드를 가질 수 있다. 비방향성 모드는 DC 예측 모드 및 플래너 모드(Planar 모드)를 포함할 수 있다. 예측부(110)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.In the case of intra prediction, the prediction unit 110 may derive a prediction sample for the current block based on reference samples outside the current block in the picture to which the current block belongs (hereinafter, referred to as the current picture). In this case, the prediction unit 110 may (i) derive the prediction sample based on the average or interpolation of neighboring reference samples of the current block, and (ii) the neighbor reference of the current block. The prediction sample may be derived based on a reference sample present in a specific (prediction) direction with respect to the prediction sample among the samples. In case of (i), it may be called non-directional mode or non-angle mode, and in case of (ii), it may be called directional mode or angular mode. In intra prediction, 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). The prediction unit 110 may determine the prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
인터 예측의 경우에, 예측부(110)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 샘플을 기반으로, 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(110)는 스킵(skip) 모드, 머지(merge) 모드, 및 MVP(motion vector prediction) 모드 중 어느 하나를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 스킵 모드와 머지 모드의 경우에, 예측부(110)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 예측 샘플과 원본 샘플 사이의 차(레지듀얼)가 전송되지 않는다. MVP 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(Motion Vector Predictor)로 이용하여 현재 블록의 움직임 벡터 예측자로 이용하여 현재 블록의 움직임 벡터를 유도할 수 있다.In the case of inter prediction, the prediction unit 110 may derive the prediction sample for the current block based on the sample specified by the motion vector on the reference picture. The prediction unit 110 may apply one of a skip mode, a merge mode, and a motion vector prediction (MVP) mode to derive a prediction sample for the current block. In the skip mode and the merge mode, the prediction unit 110 may use the motion information of the neighboring block as the motion information of the current block. In the skip mode, unlike the merge mode, the difference (residual) between the prediction sample and the original sample is not transmitted. In the MVP mode, the motion vector of the current block may be derived using the motion vector of the neighboring block as a motion vector predictor.
인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처(reference picture)에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 움직임 정보(motion information)는 움직임 벡터와 참조 픽처 인덱스를 포함할 수 있다. 예측 모드 정보와 움직임 정보 등의 정보는 (엔트로피) 인코딩되어 비트스트림 형태로 출력될 수 있다.In the case of inter prediction, the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture. A reference picture including the temporal neighboring block may be called a collocated picture (colPic). The motion information may include a motion vector and a reference picture index. Information such as prediction mode information and motion information may be encoded (entropy) and output in the form of a bitstream.
스킵 모드와 머지 모드에서 시간적 주변 블록의 움직임 정보가 이용되는 경우에, 참조 픽처 리스트(reference picture list) 상의 최상위 픽처가 참조 픽처로서 이용될 수도 있다. 참조 픽처 리스트(Picture Order Count)에 포함되는 참조 픽처들은 현재 픽처와 해당 참조 픽처 간의 POC(Picture order count) 차이 기반으로 정렬될 수 있다. POC는 픽처의 디스플레이 순서에 대응하며, 코딩 순서와 구분될 수 있다.When the motion information of the temporal neighboring block is used in the skip mode and the merge mode, the highest picture on the reference picture list may be used as the reference picture. Reference pictures included in a reference picture list may be sorted based on a difference in a picture order count (POC) between a current picture and a corresponding reference picture. The POC corresponds to the display order of the pictures and may be distinguished from the coding order.
감산부(121)는 원본 샘플과 예측 샘플 간의 차이인 레지듀얼 샘플을 생성한다. 스킵 모드가 적용되는 경우에는, 상술한 바와 같이 레지듀얼 샘플을 생성하지 않을 수 있다.The subtraction unit 121 generates a residual sample which is a difference between the original sample and the prediction sample. When the skip mode is applied, residual samples may not be generated as described above.
변환부(122)는 변환 블록 단위로 레지듀얼 샘플을 변환하여 변환 계수(transform coefficient)를 생성한다. 변환부(122)는 해당 변환 블록의 사이즈와, 해당 변환 블록과 공간적으로 겹치는 코딩 블록 또는 예측 블록에 적용된 예측 모드에 따라서 변환을 수행할 수 있다. 예컨대, 상기 변환 블록과 겹치는 상기 코딩 블록 또는 상기 예측 블록에 인트라 예측이 적용되었고, 상기 변환 블록이 4×4의 레지듀얼 어레이(array)라면, 레지듀얼 샘플은 DST(Discrete Sine Transform) 변환 커널을 이용하여 변환되고, 그 외의 경우라면 레지듀얼 샘플은 DCT(Discrete Cosine Transform) 변환 커널을 이용하여 변환할 수 있다.The transform unit 122 generates transform coefficients by transforming the residual sample in units of transform blocks. The transform unit 122 may perform the transform according to the size of the transform block and the prediction mode applied to the coding block or the prediction block that spatially overlaps the transform block. For example, if intra prediction is applied to the coding block or the prediction block that overlaps the transform block, and the transform block is a 4 × 4 residual array, the residual sample is configured to perform a discrete sine transform (DST) transform kernel. The residual sample may be transformed using a discrete cosine transform (DCT) transform kernel.
양자화부(123)는 변환 계수들을 양자화하여, 양자화된 변환 계수를 생성할 수 있다.The quantization unit 123 may quantize the transform coefficients to generate quantized transform coefficients.
재정렬부(124)는 양자화된 변환 계수를 재정렬한다. 재정렬부(124)는 계수들 스캐닝(scanning) 방법을 통해 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있다. 여기서 재정렬부(124)는 별도의 구성으로 설명하였으나, 재정렬부(124)는 양자화부(123)의 일부일 수 있다.The reordering unit 124 rearranges the quantized transform coefficients. The reordering unit 124 may reorder the quantized transform coefficients in the form of a block into a one-dimensional vector form through a coefficient scanning method. Although the reordering unit 124 has been described in a separate configuration, the reordering unit 124 may be part of the quantization unit 123.
엔트로피 인코딩부(130)는 양자화된 변환 계수들에 대한 엔트로피 인코딩을 수행할 수 있다. 엔트로피 인코딩은 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding) 등과 같은 인코딩 방법을 포함할 수 있다. 엔트로피 인코딩부(130)는 양자화된 변환 계수 외 비디오 복원에 필요한 정보들(예컨대 신택스 요소(syntax element)의 값 등)을 함께 또는 별도로 엔트로피 인코딩 또는 기 설정된 방법에 따라 인코딩할 수도 있다. 인코딩된 정보들은 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 상기 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 디지털 저장매체에 저장될 수 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.The entropy encoding unit 130 may perform entropy encoding on the quantized transform coefficients. Entropy encoding may include, for example, encoding methods such as exponential Golomb, context-adaptive variable length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), and the like. The entropy encoding unit 130 may encode information necessary for video reconstruction other than the quantized transform coefficients (for example, a value of a syntax element) together or separately according to entropy encoding or a predetermined method. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of bitstreams. The bitstream may be transmitted over a network or may be stored in a digital storage medium. The network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, and the like.
역양자화부(125)는 양자화부(123)에서 양자화된 값(양자화된 변환 계수)들을 역양자화하고, 역변환부(126)는 역양자화부(125)에서 역양자화된 값들을 역변환하여 레지듀얼 샘플을 생성한다.The inverse quantization unit 125 inverse quantizes the quantized values (quantized transform coefficients) in the quantization unit 123, and the inverse transformer 126 inverse transforms the inverse quantized values in the inverse quantization unit 125 to obtain a residual sample. Create
가산부(140)는 레지듀얼 샘플과 예측 샘플을 합쳐서 픽처를 복원한다. 레지듀얼 샘플과 예측 샘플은 블록 단위로 더해져서 복원 블록이 생성될 수 있다. 여기서 가산부(140)는 별도의 구성으로 설명하였으나, 가산부(140)는 예측부(110)의 일부일 수 있다. 한편, 가산부(140)는 복원부(reconstruction module) 또는 복원 블록 생성부로 불릴 수도 있다.The adder 140 reconstructs the picture by combining the residual sample and the predictive sample. The residual sample and the predictive sample may be added in units of blocks to generate a reconstructed block. Although the adder 140 has been described in a separate configuration, the adder 140 may be part of the predictor 110. The adder 140 may also be called a reconstruction module or a restore block generator.
복원된 픽처(reconstructed picture)에 대하여 필터부(150)는 디블록킹 필터 및/또는 샘플 적응적 오프셋(sample adaptive offset)을 적용할 수 있다. 디블록킹 필터링 및/또는 샘플 적응적 오프셋을 통해, 복원 픽처 내 블록 경계의 아티팩트나 양자화 과정에서의 왜곡이 보정될 수 있다. 샘플 적응적 오프셋은 샘플 단위로 적용될 수 있으며, 디블록킹 필터링의 과정이 완료된 후 적용될 수 있다. 필터부(150)는 ALF(Adaptive Loop Filter)를 복원된 픽처에 적용할 수도 있다. ALF는 디블록킹 필터 및/또는 샘플 적응적 오프셋이 적용된 후의 복원된 픽처에 대하여 적용될 수 있다.The filter unit 150 may apply a deblocking filter and / or a sample adaptive offset to the reconstructed picture. Through deblocking filtering and / or sample adaptive offset, the artifacts of the block boundaries in the reconstructed picture or the distortion in the quantization process can be corrected. The sample adaptive offset may be applied on a sample basis and may be applied after the process of deblocking filtering is completed. The filter unit 150 may apply an adaptive loop filter (ALF) to the reconstructed picture. ALF may be applied to the reconstructed picture after the deblocking filter and / or sample adaptive offset is applied.
메모리(160)는 복원 픽처(디코딩된 픽처) 또는 인코딩/디코딩에 필요한 정보를 저장할 수 있다. 여기서 복원 픽처는 상기 필터부(150)에 의하여 필터링 절차가 완료된 복원 픽처일 수 있다. 상기 저장된 복원 픽처는 다른 픽처의 (인터) 예측을 위한 참조 픽처로 활용될 수 있다. 예컨대, 메모리(160)는 인터 예측에 사용되는 (참조) 픽처들을 저장할 수 있다. 이 때, 인터 예측에 사용되는 픽처들은 참조 픽처 세트(reference picture set) 혹은 참조 픽처 리스트(reference picture list)에 의해 지정될 수 있다.The memory 160 may store reconstructed pictures (decoded pictures) or information necessary for encoding / decoding. Here, the reconstructed picture may be a reconstructed picture after the filtering process is completed by the filter unit 150. The stored reconstructed picture may be used as a reference picture for (inter) prediction of another picture. For example, the memory 160 may store (reference) pictures used for inter prediction. In this case, pictures used for inter prediction may be designated by a reference picture set or a reference picture list.
도 2는 본 발명이 적용될 수 있는 비디오/영상 디코딩 장치(video decoding apparatus)의 구성을 개략적으로 설명하는 도면이다. 이하 비디오 디코딩 장치라 함은 영상 디코딩 장치를 포함할 수 있다.FIG. 2 is a diagram schematically illustrating a configuration of a video / video decoding apparatus to which the present invention can be applied. Hereinafter, the video decoding apparatus may include an image decoding apparatus.
도 2를 참조하면, (비디오) 디코딩 장치(200)는 엔트로피 디코딩부(entropy decoding module, 210), 레지듀얼 처리부(residual processing module, 220), 예측부(prediction module, 230), 가산부(adder, 240), 필터부(filtering module, 250) 및 메모리(memory, 260)을 포함할 수 있다. 여기서 레지듀얼 처리부(220)는 재정렬부(rearrangement module, 221), 역양자화부(dequantization module, 222), 역변환부(inverse transform module, 223)을 포함할 수 있다. 또한, 비록 도시되지는 않았으나, 비디오 디코딩 장치(200)는 비디오 정보를 포함하는 비트스트림을 수신하는 수신부를 포함할 수 있다. 상기 수신부는 별도의 모듈로 구성될 수도 있고 또는 엔트로피 디코딩부(210)에 포함될 수 있다. Referring to FIG. 2, the (video) decoding apparatus 200 may include an entropy decoding module 210, a residual processing module 220, a prediction module 230, and an adder. , 240, a filtering module 250, and a memory 260. The residual processor 220 may include a rearrangement module 221, a dequantization module 222, and an inverse transform module 223. In addition, although not shown, the video decoding apparatus 200 may include a receiver that receives a bitstream including video information. The receiver may be configured as a separate module or may be included in the entropy decoding unit 210.
비디오/영상 정보를 포함하는 비트스트림이 입력되면, (비디오) 디코딩 장치는(200)는 (비디오) 인코딩 장치에서 비디오/영상 정보가 처리된 프로세스에 대응하여 비디오/영상/픽처를 복원할 수 있다.When the bitstream including the video / image information is input, the (video) decoding apparatus 200 may restore the video / image / picture in response to a process in which the video / image information is processed in the (video) encoding apparatus. .
예컨대, 비디오 디코딩 장치(200)는 비디오 인코딩 장치에서 적용된 처리 유닛을 이용하여 비디오 디코딩을 수행할 수 있다. 따라서 비디오 디코딩의 처리 유닛 블록은 일 예로 코딩 유닛일 수 있고, 다른 예로 코딩 유닛, 예측 유닛 또는 변환 유닛일 수 있다. 코딩 유닛은 최대 코딩 유닛으로부터 쿼드 트리 구조, 바이너리 트리 구조 및/또는 터너리 트리 구조를 따라서 분할될 수 있다. For example, the video decoding apparatus 200 may perform video decoding using a processing unit applied in the video encoding apparatus. Thus, the processing unit block of video decoding may be, for example, a coding unit, and in another example, a coding unit, a prediction unit, or a transform unit. The coding unit may be split along the quad tree structure, binary tree structure and / or ternary tree structure from the largest coding unit.
예측 유닛 및 변환 유닛이 경우에 따라 더 사용될 수 있으며, 이 경우 예측 블록은 코딩 유닛으로부터 도출 또는 파티셔닝되는 블록으로서, 샘플 예측의 유닛일 수 있다. 이 때, 예측 유닛은 서브 블록으로 나뉠 수도 있다. 변환 유닛은 코딩 유닛으로부터 쿼드 트리 구조를 따라서 분할 될 수 있으며, 변환 계수를 유도하는 유닛 또는 변환 계수로부터 레지듀얼 신호를 유도하는 유닛일 수 있다. The prediction unit and the transform unit may be further used in some cases, in which case the prediction block is a block derived or partitioned from the coding unit and may be a unit of sample prediction. At this point, the prediction unit may be divided into subblocks. The transform unit may be divided along the quad tree structure from the coding unit, and may be a unit for deriving a transform coefficient or a unit for deriving a residual signal from the transform coefficient.
엔트로피 디코딩부(210)는 비트스트림을 파싱하여 비디오 복원 또는 픽처 복원에 필요한 정보를 출력할 수 있다. 예컨대, 엔트로피 디코딩부(210)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 비디오 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다. The entropy decoding unit 210 may parse the bitstream and output information necessary for video reconstruction or picture reconstruction. For example, the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, quantized values of syntax elements necessary for video reconstruction, and residual coefficients. Can be output.
보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 컨택스트(context) 모델을 결정하고, 결정된 컨택스트 모델에 따라 빈(bin)의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 컨택스트 모델 결정 후 다음 심볼/빈의 컨택스트 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 컨택스트 모델을 업데이트할 수 있다.More specifically, 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 is determined using the context model, the probability of occurrence of a bin is predicted according to the determined context model, and arithmetic decoding of the bin is performed to generate a symbol corresponding to the value of each syntax element. can do. In this case, 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 / bin after determining the context model.
엔트로피 디코딩부(210)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(230)로 제공되고, 엔트로피 디코딩부(210)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수는 재정렬부(221)로 입력될 수 있다.The information related to the prediction among the information decoded by the entropy decoding unit 210 is provided to the prediction unit 230, and the residual value on which the entropy decoding has been performed by the entropy decoding unit 210, that is, the quantized transform coefficient, is used as a reordering unit ( 221 may be input.
재정렬부(221)는 양자화되어 있는 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 재정렬부(221)는 인코딩 장치에서 수행된 계수 스캐닝에 대응하여 재정렬을 수행할 수 있다. 여기서 재정렬부(221)는 별도의 구성으로 설명하였으나, 재정렬부(221)는 역양자화부(222)의 일부일 수 있다.The reordering unit 221 may rearrange the quantized transform coefficients in a two-dimensional block form. The reordering unit 221 may perform reordering in response to coefficient scanning performed by the encoding apparatus. Here, the rearrangement unit 221 has been described in a separate configuration, but the rearrangement unit 221 may be part of the inverse quantization unit 222.
역양자화부(222)는 양자화되어 있는 변환 계수들을 (역)양자화 파라미터를 기반으로 역양자화하여 변환 계수를 출력할 수 있다. 이 때, 양자화 파라미터를 유도하기 위한 정보는 인코딩 장치로부터 시그널링될 수 있다.The inverse quantization unit 222 may dequantize the quantized transform coefficients based on the (inverse) quantization parameter and output the transform coefficients. In this case, information for deriving a quantization parameter may be signaled from the encoding apparatus.
역변환부(223)는 변환 계수들을 역변환하여 레지듀얼 샘플들을 유도할 수 있다. The inverse transform unit 223 may inversely transform transform coefficients to derive residual samples.
예측부(230)는 현재 블록에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(230)에서 수행되는 예측의 단위는 코딩 블록일 수도 있고, 변환 블록일 수도 있고, 예측 블록일 수도 있다. The prediction unit 230 may perform prediction on the current block and generate a predicted block including prediction samples for the current block. The unit of prediction performed by the prediction unit 230 may be a coding block, a transform block, or a prediction block.
예측부(230)는 상기 예측에 관한 정보를 기반으로 인트라 예측을 적용할 것인지 인터 예측을 적용할 것인지를 결정할 수 있다. 이 때, 인트라 예측과 인터 예측 중 어느 것을 적용할 것인지를 결정하는 단위와 예측 샘플을 생성하는 단위는 상이할 수 있다. 아울러, 인터 예측과 인트라 예측에 있어서 예측 샘플을 생성하는 단위 또한 상이할 수 있다. 예를 들어, 인터 예측과 인트라 예측 중 어느 것을 적용할 것인지는 CU 단위로 결정할 수 있다. 또한 예를 들어, 인터 예측에 있어서 PU 단위로 예측 모드를 결정하고 예측 샘플을 생성할 수 있고, 인트라 예측에 있어서 PU 단위로 예측 모드를 결정하고 TU 단위로 예측 샘플을 생성할 수도 있다. The prediction unit 230 may determine whether to apply intra prediction or inter prediction based on the information about the prediction. In this case, a unit for determining which of intra prediction and inter prediction is to be applied and a unit for generating a prediction sample may be different. In addition, the unit for generating a prediction sample in inter prediction and intra prediction may also be different. For example, whether to apply inter prediction or intra prediction may be determined in units of CUs. In addition, for example, in inter prediction, a prediction mode may be determined and a prediction sample may be generated in PU units, and in intra prediction, a prediction mode may be determined in PU units and a prediction sample may be generated in TU units.
인트라 예측의 경우에, 예측부(230)는 현재 픽처 내의 주변 참조 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(230)는 현재 블록의 주변 참조 샘플을 기반으로 방향성 모드 또는 비방향성 모드를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이 때, 주변 블록의 인트라 예측 모드를 이용하여 현재 블록에 적용할 예측 모드가 결정될 수도 있다. In the case of intra prediction, the prediction unit 230 may derive the prediction sample for the current block based on the neighbor reference samples in the current picture. The prediction unit 230 may derive the prediction sample for the current block by applying the directional mode or the non-directional mode based on the neighbor reference samples of the current block. In this case, the prediction mode to be applied to the current block may be determined using the intra prediction mode of the neighboring block.
인터 예측의 경우에, 예측부(230)는 참조 픽처 상에서 움직임 벡터에 의해 참조 픽처 상에서 특정되는 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(230)는 스킵(skip) 모드, 머지(merge) 모드 및 MVP 모드 중 어느 하나를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이때, 비디오 인코딩 장치에서 제공된 현재 블록의 인터 예측에 필요한 움직임 정보, 예컨대 움직임 벡터, 참조 픽처 인덱스 등에 관한 정보는 상기 예측에 관한 정보를 기반으로 획득 또는 유도될 수 있다In the case of inter prediction, the prediction unit 230 may derive the prediction sample for the current block based on the sample specified on the reference picture by the motion vector on the reference picture. The prediction unit 230 may apply any one of a skip mode, a merge mode, and an MVP mode to derive a prediction sample for the current block. In this case, motion information required for inter prediction of the current block provided by the video encoding apparatus, for example, information about a motion vector, a reference picture index, and the like may be obtained or derived based on the prediction information.
스킵 모드와 머지 모드의 경우에, 주변 블록의 움직임 정보가 현재 블록의 움직임 정보로 이용될 수 있다. 이 때, 주변 블록은 공간적 주변 블록과 시간적 주변 블록을 포함할 수 있다.In the skip mode and the merge mode, the motion information of the neighboring block may be used as the motion information of the current block. In this case, the neighboring block may include a spatial neighboring block and a temporal neighboring block.
예측부(230)는 가용한 주변 블록의 움직임 정보로 머지 후보 리스트를 구성하고, 머지 인덱스가 머지 후보 리스트 상에서 지시하는 정보를 현재 블록의 움직임 벡터로 사용할 수 있다. 머지 인덱스는 인코딩 장치로부터 시그널링될 수 있다. 움직임 정보는 움직임 벡터와 참조 픽처를 포함할 수 있다. 스킵 모드와 머지 모드에서 시간적 주변 블록의 움직임 정보가 이용되는 경우에, 참조 픽처 리스트 상의 최상위 픽처가 참조 픽처로서 이용될 수 있다.The prediction unit 230 may construct a merge candidate list using motion information of available neighboring blocks, and may use information indicated by the merge index on the merge candidate list as a motion vector of the current block. The merge index may be signaled from the encoding device. The motion information may include a motion vector and a reference picture. When the motion information of the temporal neighboring block is used in the skip mode and the merge mode, the highest picture on the reference picture list may be used as the reference picture.
스킵 모드의 경우, 머지 모드와 달리 예측 샘플과 원본 샘플 사이의 차이(레지듀얼)이 전송되지 않는다.In the skip mode, unlike the merge mode, the difference (residual) between the prediction sample and the original sample is not transmitted.
MVP 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하여 현재 블록의 움직임 벡터가 유도될 수 있다. 이 때, 주변 블록은 공간적 주변 블록과 시간적 주변 블록을 포함할 수 있다.In the MVP mode, the motion vector of the current block may be derived using the motion vector of the neighboring block as a motion vector predictor. In this case, the neighboring block may include a spatial neighboring block and a temporal neighboring block.
일 예로, 머지 모드가 적용되는 경우, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 머지 후보 리스트가 생성될 수 있다. 머지 모드에서는 머지 후보 리스트에서 선택된 후보 블록의 움직임 벡터가 현재 블록의 움직임 벡터로 사용된다. 상기 예측에 관한 정보는 상기 머지 후보 리스트에 포함된 후보 블록들 중에서 선택된 최적의 움직임 벡터를 갖는 후보 블록을 지시하는 머지 인덱스를 포함할 수 있다. 이 때, 예측부(230)는 상기 머지 인덱스를 이용하여, 현재 블록의 움직임 벡터를 도출할 수 있다.For example, when the merge mode is applied, a merge candidate list may be generated by using a motion vector of a reconstructed spatial neighboring block and / or a motion vector corresponding to a Col block, which is a temporal neighboring block. In the merge mode, the motion vector of the candidate block selected from the merge candidate list is used as the motion vector of the current block. The information about the prediction may include 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 prediction unit 230 may derive the motion vector of the current block by using the merge index.
다른 예로, MVP(Motion Vector Prediction) 모드가 적용되는 경우, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 움직임 벡터 예측자 후보 리스트가 생성될 수 있다. 즉, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터는 움직임 벡터 후보로 사용될 수 있다. 상기 예측에 관한 정보는 상기 리스트에 포함된 움직임 벡터 후보 중에서 선택된 최적의 움직임 벡터를 지시하는 예측 움직임 벡터 인덱스를 포함할 수 있다. 이 때, 예측부(230)는 상기 움직임 벡터 인덱스를 이용하여, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보 중에서, 현재 블록의 예측 움직임 벡터를 선택할 수 있다. 인코딩 장치의 예측부는 현재 블록의 움직임 벡터와 움직임 벡터 예측자 간의 움직임 벡터 차분(MVD)을 구할 수 있고, 이를 인코딩하여 비트스트림 형태로 출력할 수 있다. 즉, MVD는 현재 블록의 움직임 벡터에서 상기 움직임 벡터 예측자를 뺀 값으로 구해질 수 있다. 이 때, 예측부(230)는 상기 예측에 관한 정보에 포함된 움직임 벡터 차분을 획득하고, 상기 움직임 벡터 차분과 상기 움직임 벡터 예측자의 가산을 통해 현재 블록의 상기 움직임 벡터를 도출할 수 있다. 예측부는 또한 참조 픽처를 지시하는 참조 픽처 인덱스 등을 상기 예측에 관한 정보로부터 획득 또는 유도할 수 있다. As another example, when the Motion Vector Prediction (MVP) mode is applied, a motion vector predictor candidate list may be generated using a motion vector of a reconstructed spatial neighboring block and / or a motion vector corresponding to a Col block, which is a temporal neighboring block. Can be. 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 prediction information may include a prediction motion vector index indicating an optimal motion vector selected from the motion vector candidates included in the list. In this case, the prediction unit 230 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 prediction unit of the encoding apparatus may obtain a motion vector difference (MVD) between the motion vector of the current block and the motion vector predictor, and may encode the output vector in a bitstream form. That is, MVD may be obtained by subtracting the motion vector predictor from the motion vector of the current block. In this case, the prediction unit 230 may obtain a motion vector difference included in the information about the prediction, and derive the motion vector of the current block by adding the motion vector difference and the motion vector predictor. The prediction unit may also obtain or derive a reference picture index or the like indicating a reference picture from the information about the prediction.
가산부(240)는 레지듀얼 샘플과 예측 샘플을 더하여 현재 블록 혹은 현재 픽처를 복원할 수 있다. 가산부(240)는 레지듀얼 샘플과 예측 샘플을 블록 단위로 더하여 현재 픽처를 복원할 수도 있다. 스킵 모드가 적용된 경우에는 레지듀얼이 전송되지 않으므로, 예측 샘플이 복원 샘플이 될 수 있다. 여기서는 가산부(240)를 별도의 구성으로 설명하였으나, 가산부(240)는 예측부(230)의 일부일 수도 있다. 한편, 가산부(240)는 복원부(reconstruction module) 또는 복원 블록 생성부로 불릴 수도 있다. The adder 240 may reconstruct the current block or the current picture by adding the residual sample and the predictive sample. The adder 240 may reconstruct the current picture by adding the residual sample and the predictive sample in block units. Since the residual is not transmitted when the skip mode is applied, the prediction sample may be a reconstruction sample. Although the adder 240 has been described in a separate configuration, the adder 240 may be part of the predictor 230. The adder 240 may also be called a reconstruction module or a reconstruction block generator.
필터부(250)는 복원된 픽처에 디블록킹 필터링 샘플 적응적 오프셋, 및/또는 ALF 등을 적용할 수 있다. 이 때, 샘플 적응적 오프셋은 샘플 단위로 적용될 수 있으며, 디블록킹 필터링 이후 적용될 수도 있다. ALF는 디블록킹 필터링 및/또는 샘플 적응적 오프셋 이후 적용될 수도 있다.The filter unit 250 may apply the deblocking filtering sample adaptive offset, and / or ALF to the reconstructed picture. In this case, the sample adaptive offset may be applied in units of samples and may be applied after deblocking filtering. ALF may be applied after deblocking filtering and / or sample adaptive offset.
메모리(260)는 복원 픽처(디코딩된 픽처) 또는 디코딩에 필요한 정보를 저장할 수 있다. 여기서 복원 픽처는 상기 필터부(250)에 의하여 필터링 절차가 완료된 복원 픽처일 수 있다. 예컨대, 메모리(260)는 인터 예측에 사용되는 픽처들을 저장할 수 있다. 이 때, 인터 예측에 사용되는 픽처들은 참조 픽처 세트 혹은 참조 픽처 리스트에 의해 지정될 수도 있다. 복원된 픽처는 다른 픽처에 대한 참조 픽처로서 이용될 수 있다. 또한, 메모리(260)는 복원된 픽처를 출력 순서에 따라서 출력할 수도 있다. The memory 260 may store reconstructed pictures (decoded pictures) or information necessary for decoding. Here, the reconstructed picture may be a reconstructed picture after the filtering process is completed by the filter unit 250. For example, the memory 260 may store pictures used for inter prediction. In this case, pictures used for inter prediction may be designated by a reference picture set or a reference picture list. The reconstructed picture can be used as a reference picture for another picture. In addition, the memory 260 may output the reconstructed picture in an output order.
한편, 상술한 바와 같이 비디오 코딩을 수행함에 있어 압축 효율을 높이기 위하여 예측을 수행한다. 이를 통하여 코딩 대상 블록인 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록을 생성할 수 있다. 여기서 상기 예측된 블록은 공간 도메인(또는 픽셀 도메인)에서의 예측 샘플들을 포함한다. 상기 예측된 블록은 인코딩 장치 및 디코딩 장치에서 동일하게 도출되며, 상기 인코딩 장치는 원본 블록의 원본 샘플 값 자체가 아닌 상기 원본 블록과 상기 예측된 블록 간의 레지듀얼에 대한 정보(레지듀얼 정보)를 디코딩 장치로 시그널링함으로써 영상 코딩 효율을 높일 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 레지듀얼 샘플들을 포함하는 레지듀얼 블록을 도출하고, 상기 레지듀얼 블록과 상기 예측된 블록을 합하여 복원 샘플들을 포함하는 복원 블록을 생성할 수 있고, 복원 블록들을 포함하는 복원 픽처를 생성할 수 있다. Meanwhile, as described above, prediction is performed in order to increase compression efficiency in performing video coding. Through this, a predicted block including prediction samples of the current block, which is a coding target block, may be generated. Wherein the predicted block comprises prediction samples in the spatial domain (or pixel domain). The predicted block is derived identically in the encoding apparatus and the decoding apparatus, and the encoding apparatus decodes information (residual information) about the residual between the original block and the predicted block, not the original sample value itself of the original block. Signaling to an apparatus may increase image coding efficiency. The decoding apparatus may derive a residual block including residual samples based on the residual information, generate the reconstructed block including reconstructed samples by adding the residual block and the predicted block, and generate reconstructed blocks. A reconstructed picture may be generated.
상기 레지듀얼 정보는 변환 및 양자화 절차를 통하여 생성될 수 있다. 예를 들어, 인코딩 장치는 상기 원본 블록과 상기 예측된 블록 간의 레지듀얼 블록을 도출하고, 상기 레지듀얼 블록에 포함된 레지듀얼 샘플들(레지듀얼 샘플 어레이)에 변환 절차를 수행하여 변환 계수들을 도출하고, 상기 변환 계수들에 양자화 절차를 수행하여 양자화된 변환 계수들을 도출하여 관련된 레지듀얼 정보를 (비트스트림을 통하여) 디코딩 장치로 시그널링할 수 있다. 여기서 상기 레지듀얼 정보는 상기 양자화된 변환 계수들의 값 정보, 위치 정보, 변환 기법, 변환 커널, 양자화 파라미터 등의 정보를 포함할 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 역양자화/역변환 절차를 수행하고 레지듀얼 샘플들(또는 레지듀얼 블록)을 도출할 수 있다. 디코딩 장치는 예측된 블록과 상기 레지듀얼 블록을 기반으로 복원 픽처를 생성할 수 있다. 인코딩 장치는 또한 이후 픽처의 인터 예측을 위한 참조를 위하여 양자화된 변환 계수들을 역양자화/역변환하여 레지듀얼 블록을 도출하고, 이를 기반으로 복원 픽처를 생성할 수 있다.The residual information may be generated through a transform and quantization procedure. For example, the encoding apparatus derives a residual block between the original block and the predicted block, and performs transform procedure on residual samples (residual sample array) included in the residual block to derive transform coefficients. The quantized transform coefficients may be derived by performing a quantization procedure on the transform coefficients to signal related residual information to the decoding device (via a bitstream). Here, the residual information may include information such as value information of the quantized transform coefficients, position information, a transform scheme, a transform kernel, and a quantization parameter. The decoding apparatus may perform an inverse quantization / inverse transformation procedure and derive residual samples (or residual blocks) based on the residual information. The decoding apparatus may generate a reconstructed picture based on the predicted block and the residual block. The encoding apparatus may then dequantize / inverse transform the quantized transform coefficients for reference for inter prediction of the picture to derive a residual block, and generate a reconstructed picture based thereon.
이하에서는 본 발명의 일 실시예에 따른 디코딩 장치가 AMVR(Adaptive Motion Vector Resolution)을 수행함에 있어서 움직임 벡터 리파인먼트(motion vector refinement)를 적용하는 과정에 대해서 설명한다. 동영상 부호화의 인터 예측은 움직임 정보를 이용한 움직임 보상(Motion Compensation)을 기반으로 수행될 수 있다. 움직임 정보를 부/복호화하는 방법은 일반적으로 움직임 정보를 직접 부/복호화하는 AMVP(Advanced Motion Vector Prediction)와 현재블록의 주변 움직임 정보를 리스트화하여 최적의 인덱스만 전송하는 머지 모드가 있다. AMVP 모드에서 부/복호화하는 움직임 정보는 예측 방향 (bi 또는 uni), 참조 픽처 인덱스(reference picture index), 움직임 벡터 정보(motion vector information) (예를 들어, 움직임 벡터 예측자 인덱스, MVD(Motion Vector Difference)) 등을 포함할 수 있고, 머지 모드의 경우 움직임 정보는 예측 방향 (bi 또는 uni), 참조 픽처 인덱스(reference picture index), 움직임 벡터(motion vector) 등을 포함할 수 있다.Hereinafter, a process of applying motion vector refinement in performing the adaptive motion vector resolution (AMVR) by the decoding apparatus according to an embodiment of the present invention will be described. Inter prediction of video encoding may be performed based on motion compensation using motion information. In general, there is a method of encoding / decoding motion information, such as Advanced Motion Vector Prediction (AMVP), which directly encodes / decodes motion information, and Merge mode, which transmits only an optimal index by listing peripheral motion information of the current block. In the AMVP mode, the motion information to be encoded / decoded includes a prediction direction (bi or uni), a reference picture index, a motion vector information (for example, a motion vector predictor index, and a motion vector (MVD). In the merge mode, the motion information may include a prediction direction (bi or uni), a reference picture index, a motion vector, and the like.
부호화 효율 향상을 위해 AMVP 의 움직임 벡터 정보(motion vector information)는 소수점 단위까지 표현될 수 있다. 예를 들어, 1/4 화소 단위, 1/8 화소 단위 등을 기반으로 움직임 벡터 정보가 소수점 단위까지 표현될 수 있다. 그러나 움직임 벡터 정보가 정수 화소 단위에서 최적인 경우, AMVP의 움직임 벡터 정보를 소수 화소 단위에서 부/복호화하는 것은 비효율적일 수 있으며, 특히 고화질 영상의 경우 움직임 벡터 정보를 소수 화소 단위에서 부/복호화하는 것이 비효율적일 수 있다. 따라서 언급한 문제점을 해결하기 위해 움직임 벡터 정보의 리졸루션(resolution)을 적응적으로 선택하는 AMVR(adaptive motion vector resolution)을 이용할 수 있다.In order to improve coding efficiency, motion vector information of AMVP may be expressed up to a decimal point unit. For example, motion vector information may be expressed up to a decimal point based on a quarter pixel unit, a 1/8 pixel unit, and the like. However, when the motion vector information is optimal in integer pixel units, it may be inefficient to decode / decode the motion vector information of AMVP in the unit of decimal pixels. Especially, in the case of a high quality image, the motion vector information may be encoded / decoded in the unit of decimal pixels. May be inefficient. Therefore, in order to solve the above-mentioned problem, it is possible to use adaptive motion vector resolution (AMVR) that adaptively selects the resolution of the motion vector information.
AMVR에서는 움직임 정보를 소수 화소 단위로 표현할 것인지, 또는 정수 화소 단위로 표현할지 결정하는 신호를 명시적으로 부/복호화할 수 있다. 또한 정수단위에서 움직임 정보를 표현하는 경우 추가적으로 1 화소단위에서 표현할지 4 화소단위에서 표현할지 결정하는 신호를 명시적으로 부/복호화할 수 있다. 아래의 표 1 및 표 2는 각각 AMVR이 적용된 경우에 있어서 AMVP 모드의 신택스(syntax)를 나타내고, 표 2는 해당 경우의 디코딩 프로세스를 나타낸다.In the AMVR, a signal for determining whether to express motion information in units of fractional pixels or in units of integer pixels may be explicitly encoded / decoded. In addition, when the motion information is expressed in integer units, a signal for determining whether to express in 1 pixel unit or 4 pixel unit may be explicitly encoded / decoded. Tables 1 and 2 below show the syntax of the AMVP mode when AMVR is applied, and Table 2 shows the decoding process in that case.
[표 1]TABLE 1
Figure PCTKR2019003809-appb-I000001
Figure PCTKR2019003809-appb-I000001
[표 2]TABLE 2
Figure PCTKR2019003809-appb-I000002
Figure PCTKR2019003809-appb-I000002
표 1 및 표 2에서, skip_flag는 스킵 모드(skip mode)인지 아닌지를 명시하기 위한 플래그를 나타낸다. skip_flag의 값이 1인 경우 스킵 모드를 수행하고, skip_flag의 값이 0인 경우 스킵 모드를 수행하지 않는다. merge_flag는 머지 모드인지 아닌지 명시하기 위한 플래그를 나타낸다. merge_flag의 값이 1인 경우 머지 모드를 수행하고, merge_flag의 값이 0인 경우 머지 모드를 수행하지 않는다. amvr_flag는 AMVR 모드인지 아닌지 명시하기 위한 플래그를 나타낸다. amvr_flag의 값이 1인 경우 AMVR 모드를 수행하고, amvr_flag의 값이 0인 경우 AMVR 모드를 수행하지 않는다. amvr_mode는 1 화소 기준 AMVR을 수행할 것인지, 또는 4 화소 기준 AMVR을 수행할 것인지 명시하기 위한 플래그를 나타낸다. amvr_mode의 값이 0인 경우 1 화소 기준으로 AMVR을 수행하여 움직임 벡터를 도출(또는 결정)하고, amvr_mode의 값이 1 인 경우 4화소 기준으로 수행하여 움직임 벡터를 도출(또는 결정)한다. In Table 1 and Table 2, skip_flag represents a flag for specifying whether or not a skip mode. If the value of skip_flag is 1, the skip mode is performed. If the value of skip_flag is 0, the skip mode is not performed. merge_flag represents a flag for specifying whether the merge mode or not. If the merge_flag value is 1, the merge mode is performed. If the merge_flag value is 0, the merge mode is not performed. amvr_flag represents a flag for specifying whether to be in AMVR mode or not. If the value of amvr_flag is 1, the AMVR mode is executed. If the value of amvr_flag is 0, the AMVR mode is not performed. amvr_mode represents a flag for specifying whether to perform a 1 pixel reference AMVR or a 4 pixel reference AMVR. When the value of amvr_mode is 0, the motion vector is derived (or determined) by performing AMVR on the basis of 1 pixel, and when the value of amvr_mode is 1, the motion vector is derived (or determined) on the basis of 4 pixels.
AMVR에 의해 움직임 벡터가 결정되는 경우, 움직임 벡터를 부호화하는 비트 사용량은 절약할 수 있지만 움직임 벡터의 정확도는 상대적으로 낮을 수 있다. 따라서 본 실시예에서는 이를 보상하기 위해 움직임 벡터를 리파인함으로써 움직임 벡터의 정확도를 높이고자 한다. AMVR 을 위한 움직임 벡터 리파인먼트는 아래의 세 가지 방법을 기반으로 할 수 있다. When the motion vector is determined by the AMVR, bit usage for encoding the motion vector can be saved, but the accuracy of the motion vector can be relatively low. Therefore, in the present embodiment, to compensate for this, the accuracy of the motion vector is increased by refining the motion vector. Motion vector refinement for AMVR can be based on the following three methods.
첫 번째로, 현재블록의 주변 화소를 이용하는 방법이 있다. 현재 블록의 미리 정의된 임의의 영역의 주변 화소와 참조블록의 미리 정의된 영역의 주변 화소의 유사성을 기준으로 움직임 벡터가 결정될 수 있다. 이때 현재 블록의 주변 화소는 디코딩 가능하다는(decodable) 조건을 만족해야 한다.First, there is a method of using neighboring pixels of the current block. The motion vector may be determined based on the similarity between the peripheral pixels of the predetermined area of the current block and the peripheral pixels of the predefined area of the reference block. At this time, the neighboring pixels of the current block must satisfy the decodable condition.
두 번째로, 참조 블록의 유사성을 이용하는 방법이 있다. 양방향 예측에 있어서, 두 참조 블록 사이의 유사성을 기준으로 움직임 벡터가 결정될 수 있다. Secondly, there is a method using the similarity of reference blocks. In bidirectional prediction, a motion vector may be determined based on the similarity between two reference blocks.
세 번째로, 예측블록의 유사성을 이용하는 방법이 있다. 양방향 예측 블록에 있어서, 두 예측 블록의 평균 블록과의 유사성을 기준으로 각 방향의 움직임 벡터를 결정할 수 있다.Third, there is a method using the similarity of prediction blocks. In the bidirectional prediction block, the motion vector in each direction may be determined based on the similarity with the average block of the two prediction blocks.
일 실시예에서, AMVR 에 움직임 벡터 리파인먼트를 적용하는 방법은, 첫 번째로 AMVR 모드에 적용하는 방법이 있을 수 있고, 두 번째로 1 화소 단위 AMVR 모드에 적용하는 방법이 있을 수 있고, 세 번째로 4 화소 단위 AMVR 모드에 적용하는 방법이 있을 수 있다.In one embodiment, a method of applying motion vector refinement to an AMVR may be a method of applying to an AMVR mode first, a method of applying to an AMVR mode of a second pixel, and a third of There may be a method applied to the AMVR mode in the 4-pixel unit.
일 예시에서, 움직임 벡터 리파인먼트가 AMVR에 적용될 수 있다. AMVR 모드인 경우 움직임 벡터를 부호화한 후 움직임 벡터 리파인먼트를 수행할 수 있다. 움직임 벡터 리파인먼트가 AMVR에 적용되는 디코딩 프로세스의 예시는 아래의 표 3과 같다.In one example, motion vector refinement can be applied to the AMVR. In the AMVR mode, the motion vector refinement may be performed after encoding the motion vector. An example of the decoding process in which the motion vector refinement is applied to the AMVR is shown in Table 3 below.
[표 3]TABLE 3
Figure PCTKR2019003809-appb-I000003
Figure PCTKR2019003809-appb-I000003
다른 일 예시에서, 움직임 벡터 리파인먼트가 1 화소 단위 AMVR 모드에 적용될 수 있다. 움직임 벡터 리파인먼트는 복잡도와 부호화 효율 사이의 트레이드 오프(trade-off) 관계를 가진다. 따라서 AMVR 모드 중 특정 모드를 선택해서 리파인을 수행할 수 있다. 일반적으로 AMVR 모드가 선택되었을 때 대부분 1 화소단위 AMVR mode가 선택될 수 있다. 따라서 부호화 효율을 최대로 유지하면서 부호화 복잡도를 줄이는 방향으로 움직임 벡터 리파인먼트 과정을 설계하기 위해서는 1 화소 단위 AMVR 모드에만 리파인을 수행하도록 할 수 있다. 아래의 표 4는 디코딩 프로세스를 나타낸다.In another example, motion vector refinement may be applied to an AMVR mode in one pixel. Motion vector refinement has a trade-off relationship between complexity and coding efficiency. Therefore, refinement can be performed by selecting a specific mode among AMVR modes. In general, when the AMVR mode is selected, most of the 1-pixel unit AMVR mode can be selected. Therefore, in order to design the motion vector refinement process in the direction of reducing the coding complexity while maintaining the maximum coding efficiency, refinement may be performed only in the 1-pixel AMVR mode. Table 4 below shows the decoding process.
[표 4]TABLE 4
Figure PCTKR2019003809-appb-I000004
Figure PCTKR2019003809-appb-I000004
또 다른 일 예시에서, 움직임 벡터 리파인먼트가 4 화소 단위 AMVR 모드에 적용될 수 있다. 4화소 단위 AMVR은 1화소 단위 AMVR 모드와 비교할 경우 움직임 벡터의 신뢰도가 낮다. 따라서 4화소 단위 AMVR 모드에서만 움직임 벡터 리파인먼트를 수행하도록 설계할 수 있다. 표 5는 해당 방법의 디코딩 프로세스를 나타낸다.In another example, motion vector refinement may be applied to a 4-pixel AMVR mode. The 4-pixel AMVR has low reliability in motion vectors when compared to the 1-pixel AMVR mode. Therefore, it can be designed to perform the motion vector refinement only in the 4-pixel AMVR mode. Table 5 shows the decoding process of the method.
[표 5]TABLE 5
Figure PCTKR2019003809-appb-I000005
Figure PCTKR2019003809-appb-I000005
일 실시예에서, AMVR을 위한 움직임 벡터 리파인먼트 기술의 서치 레인지(Search Range, SR)가 고려될 수 있다. 서치 레인지는 부호화 복잡도와 부호화 성능 간의 트레이드 오프 관계를 가지고 있으며 서치 레인지가 너무 큰 경우 부호화 복잡도 대비 부호화 성능 향상이 작을 수 있고 서치 레인지가 너무 작으면 절대적인 부호화 성능 향상이 작을 수 있다. 따라서 서치 레인지는 부호화 복잡도와 효율을 적절히 고려하여 결정될 필요가 있다.In one embodiment, the search range (SR) of the motion vector refinement technique for AMVR may be considered. The search range has a trade-off relationship between coding complexity and coding performance. If the search range is too large, the coding performance improvement may be small compared to the coding complexity. If the search range is too small, the absolute coding performance may be small. Therefore, the search range needs to be determined in consideration of coding complexity and efficiency.
1화소 단위 AMVR의 경우 결정된 움직임 벡터는 ±1 범위에서 최적의 움직임 벡터가 존재하고, 4화소 단위 AMVR에 의해 결정된 움직임 벡터는 ±4 범위에서 최적의 움직임 벡터가 존재할 수 있다. 따라서 1화소 단위 AMVR의 서치 레인지를 SR_1 이라 표시하고, 4화소 단위 AMVR의 서치 레인지를 SR_4라 표시하면, AMVR을 위한 서치 레인지는 다음과 같이 정의될 수 있다.In the case of a 1-pixel unit AMVR, an optimal motion vector exists in a range of ± 1, and a motion vector determined by the 4-pixel unit AMVR may have an optimal motion vector in a range of ± 4. Therefore, if the search range of one pixel unit AMVR is indicated as SR_1, and the search range of four pixel unit AMVR is indicated as SR_4, the search range for AMVR can be defined as follows.
[수학식 1][Equation 1]
-1 < SR_1 < 1, -4 < SR_4 < 4-1 <SR_1 <1, -4 <SR_4 <4
수학식 1은 수학식 2와 같이도 표현 가능하고, m, n 값은 부호화 복잡도와 부호화 성능을 고려해서 결정될 수 있다.Equation 1 may be expressed as in Equation 2, and m and n values may be determined in consideration of encoding complexity and encoding performance.
[수학식 2][Equation 2]
-1/m < SR_1 < 1/m, -4/n < SR_4 < 4/n-1 / m <SR_1 <1 / m, -4 / n <SR_4 <4 / n
수학식 2에서 m, n 또는 1/m, 1/n 은 PPS(Picture Parameter Set) 또는 SPS(Sequence Parameter Set)과 같은 하이 레벨 신택스(high level syntax)에서 전송하거나, 프레임 또는 부호화 블록 레벨에서 결정될 수 있다.In Equation 2, m, n or 1 / m, 1 / n may be transmitted in a high level syntax such as Picture Parameter Set (PPS) or Sequence Parameter Set (SPS), or may be determined at the frame or coding block level. Can be.
수학식 1 및 수학식 2의 부등호 <는 =로 대체하여 사용할 수 있다. 상기와 같은 대체는 AMVR의 움직임 벡터의 신뢰도가 낮은 경우 효과적일 수 있다.Inequalities <in Equations 1 and 2 may be replaced with =. Such substitution may be effective when the reliability of the motion vector of the AMVR is low.
도 3은 일 실시예에 따른 디코딩 장치의 동작 방법을 도시하는 흐름도이고, 도 4는 일 실시예에 따른 디코딩 장치의 구성을 도시하는 블록도이다.3 is a flowchart illustrating a method of operating a decoding apparatus according to an embodiment, and FIG. 4 is a block diagram illustrating a configuration of a decoding apparatus according to an embodiment.
도 3 및 도 4에 따른 디코딩 장치 및 디코딩 장치의 동작 방법은 도 1에 따른 인코딩 장치에도 마찬가지로 적용될 수 있다.The decoding apparatus according to FIGS. 3 and 4 and the operating method of the decoding apparatus may be similarly applied to the encoding apparatus according to FIG. 1.
도 3에 개시된 각 단계는 도 2 에 개시된 디코딩 장치(200)에 의하여 수행될 수 있다. 보다 구체적으로, S300은 도 2에 개시된 엔트로피 디코딩부(210)에 의하여 수행될 수 있고, S310 내지 S330은 도 2에 개시된 예측부(230)에 의하여 수행될 수 있고, S340은 도 2에 개시된 가산부(240)에 의하여 수행될 수 있다. 따라서, 도 2에서 전술된 내용과 중복되는 구체적인 내용은 설명을 생략하거나 간단히 하기로 한다. Each step disclosed in FIG. 3 may be performed by the decoding apparatus 200 disclosed in FIG. 2. More specifically, S300 may be performed by the entropy decoding unit 210 shown in FIG. 2, S310 to S330 may be performed by the predictor 230 shown in FIG. 2, and S340 may be added as shown in FIG. 2. It may be performed by the unit 240. Therefore, detailed descriptions that overlap with the foregoing description in FIG. 2 will be omitted or simply described.
도 4에 도시된 바와 같이, 일 실시예에 따른 디코딩 장치는 엔트로피 디코딩부(210), 예측부(230) 및 가산부(240)를 포함할 수 있다. 그러나, 경우에 따라서는 도 4에 도시된 구성 요소 모두가 디코딩 장치의 필수 구성 요소가 아닐 수 있고, 디코딩 장치는 도 4에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 구현될 수 있다.As shown in FIG. 4, the decoding apparatus according to an embodiment may include an entropy decoding unit 210, a predictor 230, and an adder 240. However, in some cases, all of the components shown in FIG. 4 may not be essential components of the decoding apparatus, and the decoding apparatus may be implemented by more or fewer components than those illustrated in FIG. 4.
일 실시예에 따른 디코딩 장치에서 엔트로피 디코딩부(210), 예측부(230) 및 가산부(240)는 각각 별도의 칩(chip)으로 구현되거나, 적어도 둘 이상의 구성 요소가 하나의 칩을 통해 구현될 수도 있다. In the decoding apparatus according to an embodiment, the entropy decoding unit 210, the prediction unit 230, and the adder 240 are each implemented as separate chips, or at least two or more components are implemented through one chip. May be
일 실시예에 따른 디코딩 장치는, AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득할 수 있다(S300). 보다 구체적으로, 디코딩 장치의 엔트로피 디코딩부(210)는 AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득할 수 있다.According to an embodiment, a decoding apparatus includes: motion prediction including information on an AMVR flag indicating whether to apply an adaptive motion vector resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode; Motion prediction information may be obtained from the bitstream (S300). More specifically, the entropy decoding unit 210 of the decoding apparatus may provide information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. Motion prediction information including may be obtained from the bitstream.
일 실시예에 따른 디코딩 장치는, 상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출할 수 있다(S310). 보다 구체적으로, 디코딩 장치의 예측부(230)는 상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출할 수 있다.If the value of the AMVR flag is 1, the decoding apparatus according to an embodiment may derive a motion vector for the current block based on the value of the AMVR mode flag (S310). More specifically, when the value of the AMVR flag is 1, the prediction unit 230 of the decoding apparatus may derive a motion vector for the current block based on the value of the AMVR mode flag.
일 실시예에서, 상기 AMVR 모드 플래그의 값이 0인 경우 상기 움직임 벡터는 1화소 단위를 기반으로 도출되고, 상기 AMVR 모드 플래그의 값이 1인 경우 상기 움직임 벡터는 4화소 단위를 기반으로 도출될 수 있다.In one embodiment, when the value of the AMVR mode flag is 0, the motion vector is derived based on 1 pixel unit, and when the value of the AMVR mode flag is 1, the motion vector is derived based on 4 pixel unit. Can be.
일 실시예에 따른 디코딩 장치는, 상기 도출된 움직임 벡터를 리파인(refine)할 수 있다(S320). 보다 구체적으로, 디코딩 장치의 예측부(230)는 상기 도출된 움직임 벡터를 리파인(refine)할 수 있다. The decoding apparatus according to an embodiment may refine the derived motion vector (S320). More specifically, the prediction unit 230 of the decoding apparatus may refine the derived motion vector.
일 실시예에서, 디코딩 장치는 상기 움직임 벡터가 상기 1화소 단위 또는 상기 4화소 단위를 기반으로 도출된 경우, 상기 움직임 벡터를 리파인할 수 있다.According to an embodiment, the decoding apparatus may refine the motion vector when the motion vector is derived based on the one pixel unit or the four pixel unit.
다른 일 실시예에서, 디코딩 장치는 상기 움직임 벡터가 상기 1화소 단위를 기반으로 도출된 경우, 상기 움직임 벡터를 리파인할 수 있다.In another embodiment, the decoding apparatus may refine the motion vector when the motion vector is derived based on the one pixel unit.
또 다른 일 실시예에서, 디코딩 장치는 상기 움직임 벡터가 상기 4화소 단위를 기반으로 도출된 경우, 상기 움직임 벡터를 리파인할 수 있다.According to another embodiment, the decoding apparatus may refine the motion vector when the motion vector is derived based on the 4 pixel unit.
일 실시예에서, 디코딩 장치는 현재 블록의 기 정의된 영역의 주변 화소와 상기 현재 블록에 대한 참조 블록의 기 정의된 영역의 주변 화소간의 유사성(similarity)을 기반으로 상기 도출된 움직임 벡터를 리파인할 수 있다.In an embodiment, the decoding apparatus may refine the derived motion vector based on a similarity between neighboring pixels of the predefined area of the current block and neighboring pixels of the predefined area of the reference block with respect to the current block. Can be.
다른 일 실시예에서, 디코딩 장치는 현재 블록에 대한 양방향 참조 블록들간의 유사성을 기반으로 상기 도출된 움직임 벡터를 리파인할 수 있다.In another embodiment, the decoding apparatus may refine the derived motion vector based on the similarity between the bidirectional reference blocks with respect to the current block.
또 다른 일 실시예에서, 디코딩 장치는 현재 블록에 대한 양방향 참조 블록들의 평균 블록과의 유사성을 기반으로 상기 도출된 움직임 벡터를 리파인할 수 있다.In another embodiment, the decoding apparatus may refine the derived motion vector based on the similarity of the average block of the bidirectional reference blocks to the current block.
일 실시예에서, 디코딩 장치는 서치 레인지(search range) 내에서 상기 도출된 움직임 벡터를 리파인할 수 있다. 일 예시에서, 상기 움직임 벡터가 1화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -1과 1 사이의 값으로 결정될 수 있다. 다른 일 예시에서, 상기 움직임 벡터가 4화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -4와 4 사이의 값으로 결정될 수 있다. 또 다른 일 예시에서, 상기 움직임 벡터가 1화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -1/m과 1/m 사이의 값으로 결정되며, 이때 상기 m의 값은 상기 움직임 예측 정보에 포함될 수 있다. 또 다른 일 예시에서, 상기 움직임 벡터가 4화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -4/n과 4/n 사이의 값으로 결정되며, 이때 상기 n의 값은 상기 움직임 예측 정보에 포함될 수 있다.In one embodiment, the decoding apparatus may refine the derived motion vector within a search range. In one example, when the motion vector is derived based on one pixel unit, the search range may be determined as a value between -1 and 1. FIG. In another example, when the motion vector is derived based on four pixel units, the search range may be determined as a value between -4 and 4. In another example, when the motion vector is derived based on one pixel unit, the search range is determined as a value between -1 / m and 1 / m, wherein the value of m is determined by the motion prediction information. May be included. In another example, when the motion vector is derived based on four pixel units, the search range is determined as a value between -4 / n and 4 / n, wherein the value of n is determined in the motion prediction information. May be included.
일 실시예에 따른 디코딩 장치는, 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다(S330). 보다 구체적으로, 디코딩 장치의 예측부(230)는 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다. The decoding apparatus according to an embodiment may derive prediction samples for the current block based on the refined motion vector (S330). More specifically, the prediction unit 230 of the decoding apparatus may derive the prediction samples for the current block based on the refined motion vector.
일 실시예에 따른 디코딩 장치는, 상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성할 수 있다(S340). 보다 구체적으로, 디코딩 장치의 가산부(240)는 상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성할 수 있다.The decoding apparatus according to an embodiment may generate reconstruction samples for the current block based on the derived prediction samples (S340). More specifically, the adder 240 of the decoding apparatus may generate reconstruction samples for the current block based on the derived prediction samples.
도 3 및 도 4에 개시된 디코딩 장치 및 디코딩 장치의 동작 방법에 따르면, 디코딩 장치는 AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득하고(S300), 상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출하고(S310), 상기 도출된 움직임 벡터를 리파인(refine)하고(S320), 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하고(S330), 상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성(S340)할 수 있다. 즉 AMVR을 수행함에 있어서 움직임 벡터 리파인먼트를 적용하여 인터 예측의 정확성을 높일 수 있다.According to the decoding apparatus and the method of operating the decoding apparatus disclosed in Figs. Motion prediction information including information on the indicated AMVR mode flag is obtained from the bitstream (S300). When the value of the AMVR flag is 1, the current block is determined based on the value of the AMVR mode flag. Derive a motion vector for the current block (S310), refine the derived motion vector (S320), and derive prediction samples for the current block based on the refined motion vector (S330). Reconstruction samples for the current block may be generated (S340) based on prediction samples. That is, the accuracy of inter prediction can be improved by applying motion vector refinement in performing AMVR.
상술한 본 발명에 따른 방법은 소프트웨어 형태로 구현될 수 있으며, 본 발명에 따른 인코딩 장치 및/또는 디코딩 장치는 예를 들어 TV, 컴퓨터, 스마트폰, 셋톱박스, 디스플레이 장치 등의 영상 처리를 수행하는 장치에 포함될 수 있다.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.
본 발명에서 실시예들이 소프트웨어로 구현될 때, 상술한 방법은 상술한 기능을 수행하는 모듈(과정, 기능 등)로 구현될 수 있다. 모듈은 메모리에 저장되고, 프로세서에 의해 실행될 수 있다. 메모리는 프로세서 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 프로세서와 연결될 수 있다. 프로세서는 ASIC(appICation-specific integrated circuit), 다른 칩셋, 논리 회로 및/또는 데이터 처리 장치를 포함할 수 있다. 메모리는 ROM(read-only memory), RAM(random access memory), 플래쉬 메모리, 메모리 카드, 저장 매체 및/또는 다른 저장 장치를 포함할 수 있다.When the embodiments of the present invention are implemented in software, 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 an application-specific integrated circuit (ASIC), other chipsets, logic circuits, and / or data processing devices. The memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory card, storage medium and / or other storage device.

Claims (12)

  1. 디코딩 장치에 의하여 수행되는 픽처 디코딩 방법에 있어서,In the picture decoding method performed by the decoding apparatus,
    AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득하는 단계;A bitstream of motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. Obtaining from;
    상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출하는 단계;When the value of the AMVR flag is 1, deriving a motion vector for the current block based on the value of the AMVR mode flag;
    상기 도출된 움직임 벡터를 리파인(refine)하는 단계;Refining the derived motion vector;
    상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계; 및Deriving prediction samples for the current block based on the refined motion vector; And
    상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 하는 픽처 디코딩 방법.Generating reconstructed samples for the current block based on the derived prediction samples.
  2. 제1항에 있어서, The method of claim 1,
    상기 AMVR 모드 플래그의 값이 0인 경우 상기 움직임 벡터는 1화소 단위를 기반으로 도출되고,When the value of the AMVR mode flag is 0, the motion vector is derived based on one pixel unit.
    상기 AMVR 모드 플래그의 값이 1인 경우 상기 움직임 벡터는 4화소 단위를 기반으로 도출되고,When the value of the AMVR mode flag is 1, the motion vector is derived based on 4 pixel units.
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    상기 움직임 벡터가 상기 1화소 단위 또는 상기 4화소 단위를 기반으로 도출된 경우, 상기 움직임 벡터를 리파인하는 단계를 포함하는 것을 특징으로 하는, 픽처 디코딩 방법.And refining the motion vector when the motion vector is derived based on the one pixel unit or the four pixel unit.
  3. 제1항에 있어서, The method of claim 1,
    상기 AMVR 모드 플래그의 값이 0인 경우 상기 움직임 벡터는 1화소 단위를 기반으로 도출되고,When the value of the AMVR mode flag is 0, the motion vector is derived based on one pixel unit.
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    상기 움직임 벡터가 상기 1화소 단위를 기반으로 도출된 경우, 상기 움직임 벡터를 리파인하는 단계를 포함하는 것을 특징으로 하는, 픽처 디코딩 방법.And refining the motion vector when the motion vector is derived based on the unit of one pixel.
  4. 제1항에 있어서, The method of claim 1,
    상기 AMVR 모드 플래그의 값이 1인 경우 상기 움직임 벡터는 4화소 단위를 기반으로 도출되고,When the value of the AMVR mode flag is 1, the motion vector is derived based on 4 pixel units.
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    상기 움직임 벡터가 상기 4화소 단위를 기반으로 도출된 경우, 상기 움직임 벡터를 리파인하는 단계를 포함하는 것을 특징으로 하는, 픽처 디코딩 방법.Refining the motion vector when the motion vector is derived based on the 4 pixel unit.
  5. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    상기 현재 블록의 기 정의된 영역의 주변 화소와 상기 현재 블록에 대한 참조 블록의 기 정의된 영역의 주변 화소간의 유사성(similarity)을 기반으로 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하는 것을 특징으로 하는, 픽처 디코딩 방법.Refining the derived motion vector based on similarity between neighboring pixels of the predefined area of the current block and neighboring pixels of the predefined area of the reference block with respect to the current block. A picture decoding method.
  6. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    상기 현재 블록에 대한 양방향 참조 블록들간의 유사성을 기반으로 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하는 것을 특징으로 하는, 픽처 디코딩 방법.Refining the derived motion vector based on the similarity between bidirectional reference blocks with respect to the current block.
  7. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    상기 현재 블록에 대한 양방향 참조 블록들의 평균 블록과의 유사성을 기반으로 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하는 것을 특징으로 하는, 픽처 디코딩 방법.Refining the derived motion vector based on similarity of the average block of bidirectional reference blocks to the current block.
  8. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    서치 레인지(search range) 내에서 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하고,Refine the derived motion vector within a search range,
    상기 움직임 벡터가 1화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -1과 1 사이의 값으로 결정되는 것을 특징으로 하는, 픽처 디코딩 방법.When the motion vector is derived based on one pixel unit, the search range is determined as a value between -1 and 1.
  9. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    서치 레인지 내에서 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하고,Refine the derived motion vector within a search range,
    상기 움직임 벡터가 4화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -4와 4 사이의 값으로 결정되는 것을 특징으로 하는, 픽처 디코딩 방법.If the motion vector is derived based on a unit of 4 pixels, the search range is determined as a value between -4 and 4.
  10. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    서치 레인지 내에서 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하고,Refine the derived motion vector within a search range,
    상기 움직임 벡터가 1화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -1/m과 1/m 사이의 값으로 결정되며,When the motion vector is derived based on one pixel unit, the search range is determined as a value between -1 / m and 1 / m.
    상기 m의 값은 상기 움직임 예측 정보에 포함되는 것을 특징으로 하는, 픽처 디코딩 방법.The value of m is included in the motion prediction information, picture decoding method.
  11. 제1항에 있어서, The method of claim 1,
    상기 도출된 움직임 벡터를 리파인하는 단계는,Refining the derived motion vector,
    서치 레인지 내에서 상기 도출된 움직임 벡터를 리파인하는 단계를 포함하고,Refine the derived motion vector within a search range,
    상기 움직임 벡터가 4화소 단위를 기반으로 도출되는 경우, 상기 서치 레인지는 -4/n과 4/n 사이의 값으로 결정되며,When the motion vector is derived based on four pixel units, the search range is determined as a value between -4 / n and 4 / n.
    상기 n의 값은 상기 움직임 예측 정보에 포함되는 것을 특징으로 하는, 픽처 디코딩 방법.The value of n is included in the motion prediction information, picture decoding method.
  12. 픽처 디코딩을 수행하는 디코딩 장치에 있어서,In the decoding apparatus for performing picture decoding,
    AMVR(Adaptive Motion Vector Resolution) 모드를 적용할지 여부를 나타내는 AMVR 플래그에 대한 정보 및 상기 AMVR 모드의 타입(type)을 나타내는 AMVR 모드 플래그에 대한 정보를 포함하는 움직임 예측 정보(motion prediction information)를 비트스트림으로부터 획득하는 엔트로피 디코딩부;A bitstream of motion prediction information including information on an AMVR flag indicating whether to apply an Adaptive Motion Vector Resolution (AMVR) mode and information on an AMVR mode flag indicating a type of the AMVR mode. An entropy decoding unit obtained from the;
    상기 AMVR 플래그의 값이 1인 경우, 상기 AMVR 모드 플래그의 값을 기반으로 현재 블록에 대한 움직임 벡터를 도출하고, 상기 도출된 움직임 벡터를 리파인(refine)하고, 상기 리파인된 움직임 벡터를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부; 및When the value of the AMVR flag is 1, the motion vector for the current block is derived based on the value of the AMVR mode flag, the derived motion vector is refined, and the motion vector is refined based on the refined motion vector. A prediction unit for deriving prediction samples for the current block; And
    상기 도출된 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 가산부를 포함하는 것을 특징으로 하는 픽처 디코딩 장치.And an adder configured to generate reconstructed samples for the current block based on the derived prediction samples.
PCT/KR2019/003809 2018-04-01 2019-04-01 Image coding method on basis of motion vector refinement and apparatus thereof WO2019194501A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862651250P 2018-04-01 2018-04-01
US62/651,250 2018-04-01

Publications (1)

Publication Number Publication Date
WO2019194501A1 true WO2019194501A1 (en) 2019-10-10

Family

ID=68101094

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/003809 WO2019194501A1 (en) 2018-04-01 2019-04-01 Image coding method on basis of motion vector refinement and apparatus thereof

Country Status (1)

Country Link
WO (1) WO2019194501A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120170660A1 (en) * 2007-11-29 2012-07-05 Pavel Novotny Refinement of motion vectors in hierarchical motion estimation
KR20160106127A (en) * 2014-01-08 2016-09-09 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Representing motion vectors in an encoded bitstream
WO2017052000A1 (en) * 2015-09-24 2017-03-30 엘지전자 주식회사 Method and apparatus for motion vector refinement-based inter prediction in image coding system
KR20170113513A (en) * 2015-06-05 2017-10-12 인텔렉추얼디스커버리 주식회사 Image encoding/decoding method and image decoding apparatus using motion vector precision
KR20180004147A (en) * 2015-05-11 2018-01-10 퀄컴 인코포레이티드 Search region determination for inter coding within a particular picture of video data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120170660A1 (en) * 2007-11-29 2012-07-05 Pavel Novotny Refinement of motion vectors in hierarchical motion estimation
KR20160106127A (en) * 2014-01-08 2016-09-09 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Representing motion vectors in an encoded bitstream
KR20180004147A (en) * 2015-05-11 2018-01-10 퀄컴 인코포레이티드 Search region determination for inter coding within a particular picture of video data
KR20170113513A (en) * 2015-06-05 2017-10-12 인텔렉추얼디스커버리 주식회사 Image encoding/decoding method and image decoding apparatus using motion vector precision
WO2017052000A1 (en) * 2015-09-24 2017-03-30 엘지전자 주식회사 Method and apparatus for motion vector refinement-based inter prediction in image coding system

Similar Documents

Publication Publication Date Title
WO2018174402A1 (en) Transform method in image coding system and apparatus for same
WO2018062921A1 (en) Method and apparatus for block partitioning and intra prediction in image coding system
WO2017043786A1 (en) Intra prediction method and device in video coding system
WO2017082670A1 (en) Method and apparatus for coefficient induced intra prediction in image coding system
WO2017052000A1 (en) Method and apparatus for motion vector refinement-based inter prediction in image coding system
WO2018056603A1 (en) Illumination compensation-based inter-prediction method and apparatus in image coding system
WO2017034331A1 (en) Method and device for chroma sample intra prediction in video coding system
WO2019198997A1 (en) Intra-prediction-based image coding method and apparatus thereof
WO2019194500A1 (en) Intra-prediction-based image coding method and device therefor
WO2018056602A1 (en) Inter-prediction method and apparatus in image coding system
WO2017048008A1 (en) Inter-prediction method and apparatus in video coding system
WO2016200043A1 (en) Method and apparatus for inter prediction on basis of virtual reference picture in video coding system
WO2019112071A1 (en) Image decoding method and apparatus based on efficient transformation of chroma component in image coding system
WO2018212430A1 (en) Frequency domain filtering method in image coding system, and device therefor
WO2019194507A1 (en) Image coding method based on affine motion prediction, and device for same
WO2018066791A1 (en) Method and apparatus for decoding image in image coding system
WO2018174357A1 (en) Method and device for image decoding in image coding system
WO2018062699A1 (en) Image decoding method and apparatus in image coding system
WO2018128222A1 (en) Method and apparatus for image decoding in image coding system
WO2019212230A1 (en) Method and apparatus for decoding image by using transform according to block size in image coding system
WO2020013480A1 (en) Method for coding intra-prediction mode, and device for same
WO2018131838A1 (en) Method and device for image decoding according to intra-prediction in image coding system
WO2019194436A1 (en) Image coding method based on motion vector and apparatus therefor
WO2016204372A1 (en) Method and device for filtering image using filter bank in image coding system
WO2020141884A1 (en) Method and apparatus for coding image by using mmvd based on cpr

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19780543

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19780543

Country of ref document: EP

Kind code of ref document: A1