+

WO2019225933A1 - 영상 코딩 시스템에서 lut를 기반으로 도출된 mvd 를 사용하는 영상 디코딩 방법 및 그 장치 - Google Patents

영상 코딩 시스템에서 lut를 기반으로 도출된 mvd 를 사용하는 영상 디코딩 방법 및 그 장치 Download PDF

Info

Publication number
WO2019225933A1
WO2019225933A1 PCT/KR2019/006038 KR2019006038W WO2019225933A1 WO 2019225933 A1 WO2019225933 A1 WO 2019225933A1 KR 2019006038 W KR2019006038 W KR 2019006038W WO 2019225933 A1 WO2019225933 A1 WO 2019225933A1
Authority
WO
WIPO (PCT)
Prior art keywords
mvd
index
distance
component
lut
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/KR2019/006038
Other languages
English (en)
French (fr)
Inventor
장형문
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics Inc
Original Assignee
LG Electronics Inc
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 LG Electronics Inc filed Critical LG Electronics Inc
Priority to EP19807360.3A priority Critical patent/EP3787296A4/en
Priority to CN201980039881.9A priority patent/CN112313959A/zh
Priority to KR1020207033292A priority patent/KR20200139830A/ko
Publication of WO2019225933A1 publication Critical patent/WO2019225933A1/ko
Priority to US17/100,125 priority patent/US20210076062A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/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/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • H04N19/139Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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/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/184Methods 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 bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • 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
    • 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 technology, and more particularly, to an image decoding method and apparatus using a motion vector difference (MVD) derived based on a LUT in an image coding system.
  • VMD motion vector difference
  • 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 deriving MVD using additional information and LUT.
  • Another technical problem of the present invention is to provide a method and apparatus for deriving motion information based on MVD derived using additional information and LUT and performing prediction based on the derived motion information.
  • an image decoding method performed by a decoding apparatus.
  • the method may include obtaining prediction related information of a current block, constructing a motion information candidate list for the current block, and presenting a motion information candidate indicated by a candidate index among motion information candidates included in the motion information candidate list. Deriving MVD of the current block based on index information of a look-up table (LUT) and motion vector difference (MVD), based on the motion information and the MVD Deriving modified motion information of a current block, and performing prediction on the current block based on the modified motion information, wherein the prediction related information is stored in the candidate index and the MVD. It characterized by including the index information for.
  • a decoding apparatus for performing image decoding.
  • the decoding apparatus includes an entropy decoding unit for obtaining prediction related information of a current block; And constructing a motion information candidate list for the current block, deriving motion information candidate indicated by a candidate index among motion information candidates included in the motion information candidate list as motion information of the current block, and looking up table (LUT) And MVD of the current block based on index information on MVD (Motion Vector Difference), and derived modified motion information of the current block based on the motion information and the MVD, And a prediction unit configured to perform prediction on the current block based on the received motion information, wherein the prediction related information includes the candidate index and the index information on the MVD.
  • MVD Motion Vector Difference
  • a video encoding method performed by an encoding apparatus includes constructing a motion information candidate list for a current block, deriving motion information of the current block based on the motion information candidate list, and MVD of the current block based on a look-up table (LUT). Deriving, deriving modified motion information of the current block based on the motion information and the MVD, performing prediction on the current block based on the modified motion information, and And encoding image information including prediction related information of the current block, wherein the prediction related information includes index information of the MVD.
  • LUT look-up table
  • a video encoding apparatus constructs a motion information candidate list for the current block, derives motion information of the current block based on the motion information candidate list, and calculates an MVD of the current block based on a look-up table (LUT).
  • a prediction unit for deriving, deriving modified motion information of the current block based on the motion information and the MVD, and performing prediction for the current block based on the modified motion information, and the current And an entropy encoding unit for encoding image information including prediction related information of the block, wherein the prediction related information includes index information of the MVD.
  • the MVD is derived based on the signaled index information and the pre-defined look-up table (LUT), and the motion information of the current block is derived based on the derived MVD and MVP to perform prediction.
  • LUT pre-defined look-up table
  • the MVD is derived based on the signaled index information and the pre-defined look-up table (LUT), and the motion information of the current block is derived based on the derived MVD and MVP to perform prediction.
  • LUT pre-defined look-up table
  • FIG. 1 is a diagram schematically illustrating a configuration of a video encoding apparatus to which the present invention may be applied.
  • FIG. 2 is a diagram schematically illustrating a configuration of a video decoding apparatus to which the present invention may be applied.
  • 3 exemplarily illustrates neighboring blocks referred to for deriving a merge candidate in merge mode.
  • FIG. 4 illustrates an example of applying a method of deriving an MVD based on the additional information described above.
  • FIG 5 shows an example of deriving an MVD based on the additional information described above and an example of applying the AMVR.
  • 7 exemplarily shows a random access structure. 7 may indicate an encoding / decoding order of frames.
  • FIG. 11 schematically illustrates an image encoding method by an encoding apparatus according to the present invention.
  • FIG. 12 schematically illustrates an encoding apparatus for performing an image encoding method according to the present invention.
  • FIG. 13 schematically illustrates an image decoding method by a decoding apparatus according to the present invention.
  • FIG. 14 schematically illustrates a decoding apparatus for performing an image decoding method according to the present invention.
  • 15 exemplarily shows a structure diagram of a content streaming system to which the present invention is applied.
  • 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.
  • the present invention relates to video / image coding.
  • the methods / embodiments disclosed in the present invention may include a versatile video coding (VVC) standard, an essential video coding (ECC) standard, an AOMedia Video 1 (AV1) standard, a second generation of audio video coding standard (AVS2), or next-generation video.
  • VVC versatile video coding
  • ECC essential video coding
  • AV1 AOMedia Video 1
  • AVS2 second generation of audio video coding standard
  • next-generation video e.g., H.267, H.268, etc.
  • a picture generally refers to a unit representing one image of a specific time zone
  • 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.
  • 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.
  • FIG. 1 is a diagram schematically illustrating a configuration of a video encoding apparatus to which the present invention may be applied.
  • the video encoding apparatus 100 may include a picture splitter 105, a predictor 110, a residual processor 120, an entropy encoder 130, an adder 140, and a filter 150. ) And memory 160.
  • the residual processing unit 120 may include a subtraction unit 121, a conversion unit 122, a quantization unit 123, a reordering unit 124, an inverse quantization unit 125, and an inverse conversion unit 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.
  • LCU largest coding unit
  • 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 and / or a binary tree structure.
  • the quad tree structure may be applied first and the binary tree structure may be applied later.
  • the binary 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 may perform a prediction on a block to be processed (hereinafter, referred to as a current block) and generate a predicted block including prediction samples of the current block.
  • 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 coefficient (for example, a value of a syntax element) together or separately. Entropy encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of bitstreams.
  • NAL network abstraction layer
  • 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 be called a restoration unit or a restoration block generation unit.
  • 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 decoding apparatus to which the present invention may be applied.
  • the video decoding apparatus 200 may include an entropy decoding unit 210, a residual processor 220, a predictor 230, an adder 240, a filter 250, and a memory 260. It may include.
  • the residual processor 220 may include a rearrangement unit 221, an inverse quantization unit 222, and an inverse transform unit 223.
  • the video decoding apparatus 200 may restore video in response to a process in which video 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 and / or binary 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 may be determined using the context model, the probability of occurrence of a bin may be predicted according to the determined context model, and arithmetic decoding of the bin may be performed to generate a symbol corresponding to the value of each syntax element. have.
  • the CABAC entropy decoding method may update the context model by using the information of the decoded symbol / bin for the context model of the next symbol / bean after determining the context model.
  • 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. On the other hand, the adder 240 may be called a restoration unit or a restoration block generation unit.
  • 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.
  • MVP Motion Vector Predictor
  • the decoding apparatus may obtain a motion vector difference (MVD) of the current block through a bitstream, and may derive the motion vector of the current block through the addition of the MVP and the MVD.
  • the prediction accuracy may be lower than that of the AMVP mode in which the MVD is transmitted.
  • the present invention signals the index information instead of the existing MVD, derives the MVD based on the signaled index information and pre-defined look-up table (LUT), and based on the derived MVD and MVP
  • a method of restoring motion information of a current block is proposed.
  • the method proposed in the present invention serves as an intermediate role between the existing merge mode and the AMVP mode, and has the advantage of delivering more detailed motion information than the merge mode, and has the advantage of reducing the bit amount compared to the AMVP mode.
  • a decoding apparatus may propose a method of restoring motion information of a current block with reference to the LUTs defined with the indices.
  • the candidate index may be signaled.
  • the decoding apparatus may obtain a candidate index indicating one of the motion information candidates of the motion information candidate list derived based on the neighboring block, and base motion information (eg, based on the motion information candidate indicated by the candidate index).
  • the motion information candidate list may indicate an MVP candidate list
  • the motion information candidates may indicate MVP candidates
  • the candidate index may indicate an MVP index.
  • the motion information candidate list may indicate a merge candidate list
  • the motion information candidates may indicate merge candidates
  • the candidate index may indicate a merge index.
  • an index eg, a merge index
  • a merge candidate indicated by the index may be used as base motion information.
  • the candidate indexes of the motion information candidates can be represented as the following table.
  • the candidate index when the value of the candidate index is 0, the candidate index may indicate the first MVP candidate among MVP candidates included in the MVP candidate list, and when the value of the candidate index is 1, the candidate index May indicate a second MVP candidate among the MVP candidates included in the MVP candidate list, and when the value of the candidate index is 2, the candidate index may indicate a third MVP candidate among the MVP candidates included in the MVP candidate list; When the value of the candidate index is 3, the candidate index may indicate a fourth MVP candidate among MVP candidates included in the MVP candidate list.
  • information for decoding the MVD indicating based on the candidate index and the base motion information decoded based on the table 1 may be additionally transmitted.
  • a distance index indicating the distance of the MVD may be signaled.
  • the distance of the MVD may be referred to as the size of the MVD.
  • the distance of the MVD may be derived based on the value of the distance index and a predetermined LUT. That is, the MVD may be decoded by referring to the distance of the MVD corresponding to the distance index from the LUT.
  • the LUT for the distance of the MVD may be represented as the following table.
  • the distance of the MVD corresponding to the value of the distance index may be derived based on the LUT as shown in Table 2 above. For example, referring to Table 2, when the value of the distance index is 0, the distance of the MVD may be derived as 1/4 pel, and when the value of the distance index is 1, the distance of the MVD is 1/2.
  • the distance of the MVD can be derived to 1 pel, when the value of the distance index is 3, the distance of the MVD can be derived to 2 pel, the distance
  • the distance of the MVD can be derived as 4 pels, when the value of the distance index is 5, the distance of the MVD can be derived to 8 pels, when the value of the distance index is 6,
  • the distance of the MVD may be derived from 16 pels, and when the value of the distance index is 7, the distance of the MVD may be derived from 32 pels.
  • an index indicating the sign of the MVD may be signaled.
  • the symbol may indicate a direction. That is, a direction index indicating the direction of the MVD may be signaled.
  • the direction of the MVD may be derived based on the value of the direction index and a predetermined LUT. That is, the MVD may be decoded by referring to the direction of the MVD corresponding to the direction index in the LUT.
  • the LUT for the direction of the MVD may be represented as the following table.
  • the direction of the MVD corresponding to the value of the direction index may be derived based on the LUT as shown in Table 3 above. For example, referring to Table 3, when the value of the direction index is 00, the direction of the MVD may be derived in a positive direction on the x axis. When the distance of the MVD is n, the MVD may be derived as (n, 0). In addition, referring to Table 3, when the value of the direction index is 01, the direction of the MVD may be derived in a negative direction on the x-axis. When the distance of the MVD is n, the MVD may be derived as (-n, 0).
  • the direction of the MVD when the value of the direction index is 10, the direction of the MVD may be derived in a positive direction on the y axis.
  • the MVD when the distance of the MVD is n, the MVD may be derived as (0, n).
  • the direction of the MVD when the value of the direction index is 11, the direction of the MVD may be derived from the y-axis in the negative direction.
  • the MVD when the distance of the MVD is n, the MVD may be derived as (0, -n).
  • the MVD may be derived by multiplying the distance of the MVD by the direction, the positive direction may be 1, and the negative direction may be ⁇ 1.
  • N / A of Table 3 may be represented by 0.
  • a method of separately signaling an index for each of the x-axis and y-axis components of the MVD may be proposed. That is, the distance index and direction index for the x component of the MVD of the current block may be signaled, and the distance index and direction index for the y component of the MVD may be signaled.
  • a candidate index for the current block may be signaled.
  • the decoding apparatus may obtain a candidate index indicating one of the motion information candidates of the motion information candidate list derived based on the neighboring block, and replace the motion information candidate indicated by the candidate index with the base motion information of the current block. Can be used.
  • the candidate indexes of the motion information candidates can be represented as the following table.
  • the candidate index when the value of the candidate index is 0, the candidate index may indicate the first MVP candidate among MVP candidates included in the MVP candidate list, and when the value of the candidate index is 1, the candidate index May indicate a second MVP candidate among the MVP candidates included in the MVP candidate list, and when the value of the candidate index is 2, the candidate index may indicate a third MVP candidate among the MVP candidates included in the MVP candidate list; When the value of the candidate index is 3, the candidate index may indicate a fourth MVP candidate among MVP candidates included in the MVP candidate list.
  • an index indicating the distance of the x component of the MVD may be signaled.
  • the index may be referred to as an x component distance index.
  • the distance of the x component of the MVD may be expressed as the size of the x component of the MVD.
  • the distance of the x component of the MVD may be derived based on the value of the x component distance index and a predetermined LUT. That is, the MVD may be decoded by referring to the distance of the x component of the MVD corresponding to the x component distance index from the LUT.
  • the LUT for the distance of the x component of the MVD may be represented as in the following table.
  • the distance of the x component of the MVD corresponding to the value of the x component distance index may be derived based on the LUT as shown in Table 5 above. For example, referring to Table 5, when the value of the x component distance index is 0, the distance of the x component of the MVD may be derived as 1/4 pel, and the value of the x component distance index is 1, The distance of the x component of the MVD may be derived to 1/2 pel, and when the value of the x component distance index is 2, the distance of the x component of the MVD may be derived to 1 pel, and the value of the x component distance index is If 3, the distance of the x component of the MVD can be derived to 2 pels.
  • an index indicating the distance of the y component of the MVD may be signaled.
  • the index may be represented as a y component distance index.
  • the distance of the y component of the MVD may be expressed as the size of the y component of the MVD.
  • the distance of the y component of the MVD may be derived based on the value of the y component distance index and a predetermined LUT. That is, the MVD may be decoded by referring to the distance of the y component of the MVD corresponding to the y component distance index in the LUT.
  • the LUT for the distance of the y component of the MVD may be represented as in the following table.
  • the distance of the y component of the MVD corresponding to the value of the y component distance index may be derived based on the LUT as shown in Table 6 above. For example, referring to Table 6, when the value of the y component distance index is 0, the distance of the y component of the MVD may be derived as 1/4 pel, and when the value of the y component distance index is 1, The distance of the y component of the MVD may be derived from 1/2 pel, and when the value of the y component distance index is 2, the distance of the y component of the MVD may be derived from 1 pel, and the value of the y component distance index is If 3, the distance of the y component of the MVD can be derived to 2 pels.
  • an index indicating the sign of the x component of the MVD may be signaled.
  • the symbol may indicate a direction. That is, an x component direction index indicating the direction of the x component of the MVD may be signaled.
  • the direction of the x component of the MVD may be derived based on the value of the x component direction index and a predetermined LUT. That is, the MVD may be decoded by referring to the direction of the x component of the MVD corresponding to the x component direction index in the LUT.
  • the LUT for the direction of the x component of the MVD can be represented as the following table.
  • the direction of the x component of the MVD corresponding to the value of the x component direction index may be derived based on the LUT as shown in Table 7 above. For example, referring to Table 7, when the value of the x component direction index is 0, the direction of the x component of the MVD may be derived in a positive direction. When the distance of the x component of the MVD is n, the x component of the MVD may be derived as n. In addition, referring to Table 7, when the value of the x component direction index is 1, the direction of the x component of the MVD may be derived in a negative direction. When the distance of the x component of the MVD is n, the x component of the MVD may be derived as -n.
  • an index indicating a sign of the y component of the MVD may be signaled.
  • the symbol may indicate a direction. That is, a y component direction index indicating the direction of the y component of the MVD may be signaled.
  • the direction of the y component of the MVD may be derived based on the value of the y component direction index and a predetermined LUT. That is, the MVD may be decoded by referring to the direction of the y component of the MVD corresponding to the y component direction index in the LUT.
  • the LUT for the direction of the y component of the MVD may be represented as in the following table.
  • the direction of the y component of the MVD corresponding to the value of the y component direction index may be derived based on the LUT as shown in Table 8 above. For example, referring to Table 8, when the value of the y component direction index is 0, the direction of the y component of the MVD may be derived in a positive direction. When the distance of the y component of the MVD is n, the y component of the MVD may be derived as n. In addition, referring to Table 8, when the value of the y component direction index is 1, the direction of the y component of the MVD may be derived in a negative direction. When the distance of the y component of the MVD is n, the y component of the MVD may be derived as -n.
  • the present invention proposes a method of using the same candidate list for unification with the merge candidate list in deriving the MVP candidate list for the current block. That is, neighboring blocks for deriving the MVP candidate list may be the same as neighboring blocks for deriving the merge candidate list.
  • 3 exemplarily illustrates neighboring blocks referred to for deriving a merge candidate in merge mode.
  • the merge candidate list of the current block may be constructed based on the motion information of the spatial neighboring blocks and the temporal neighboring blocks.
  • the decoding apparatus may construct the merge candidate list by deriving the motion information of the spatial neighboring blocks and the temporal neighboring blocks as a merge candidate.
  • the MVP candidate list may be configured based on the motion information of the spatial neighboring blocks and the temporal neighboring blocks.
  • the spatial neighboring blocks include a left peripheral block, an upper peripheral block, a right upper corner peripheral block, a lower left corner peripheral block, and / or an upper left corner peripheral. It may include a block.
  • the left neighboring block is a sample of (-1, 2N-1) coordinates.
  • a block including a block wherein the upper peripheral block is a block including a sample of (2N-1, -1) coordinates, the upper right corner block is a block including a sample of (2N, -1) coordinates,
  • the lower left corner peripheral block may be a block including samples of (-1, 2N) coordinates, and the upper left corner peripheral block may be a block including samples of (-1, -1) coordinates.
  • the spatial neighboring blocks may include an upper peripheral block, an upper right corner peripheral block, a lower left corner peripheral block, and / or an upper left corner peripheral block. Can be.
  • the upper neighboring block is a sample of (N-1, -1) coordinates.
  • a block including the upper right corner peripheral block is a block including a sample of (N, -1) coordinates
  • the lower left corner peripheral block is a block including a sample of (-1, 2N) coordinates
  • the block around the upper left corner may be a block including samples of (-1, -1) coordinates.
  • the spatial peripheral blocks may include a left peripheral block, a right upper corner peripheral block, a lower left corner peripheral block, and / or a left upper corner peripheral block. Can be.
  • the left neighboring block is a sample of (-1, N-1) coordinates.
  • a block including a block the upper right corner peripheral block is a block including a sample of (2N, -1) coordinates, the lower left corner peripheral block is a block including a sample of (-1, N) coordinates,
  • the block around the upper left corner may be a block including samples of (-1, -1) coordinates.
  • the temporal neighboring blocks may include a center lower right block of the same position block of the current block and / or a lower right corner peripheral block of the same position block in a collocated picture. can do.
  • the co-located block may indicate a block located at a position in the collocated picture corresponding to the position of the current block.
  • a merge candidate having different motion information as a sub block may exist in the existing merge mode, and the decoding apparatus may perform prediction using the motion information. That is, the existing merge mode may include a mode for deriving a merge candidate indicating the sub block unit motion information and deriving the sub block unit motion information of the current block based on the merge candidate.
  • the method of deriving the MVD based on the additional information (ie, the index information) proposed by the present invention may not operate efficiently. Therefore, the proposed method may not be applied.
  • Syntax information may be signaled. For example, when a method of deriving MVD based on the additional information (that is, index information) is used, the method of deriving a merge candidate indicating the motion information of the sub-block may not be used.
  • FIG. 4 illustrates an example of applying a method of deriving an MVD based on the additional information described above.
  • the decoding apparatus may decode the candidate index (S400).
  • the decoding apparatus may construct a motion information candidate list based on a neighboring block of the current block, and decode the candidate index indicating one of the motion information candidates of the motion information candidate list.
  • the decoding apparatus may select the motion information candidate indicated by the candidate index.
  • the decoding apparatus may determine whether the selected motion information candidate is sub-block unit motion information (S410). The decoding apparatus may determine whether sub-block motion information is derived for the current block based on the selected motion information candidate.
  • the decoding apparatus may determine whether motion information of the current block is derived based on the selected motion information candidate (S420).
  • the decoding apparatus may decode flag information indicating whether to derive MVD based on the additional information proposed in the present invention (S430), and based on the flag information It may be determined whether to derive the MVD based on the additional information (S440).
  • the decoding apparatus may decode additional syntax information (S450).
  • the additional syntax information may include the aforementioned candidate index, distance index, and / or direction index.
  • the MVD of the current block may be derived based on the information and a predetermined LUT, and the motion information of the current block may be derived based on the MVD and the base motion information.
  • the present invention proposes another embodiment of the LUT for the distance of the MVD.
  • merging can be performed more efficiently by allowing the MVD-added motion information to indicate only a position near the periphery.
  • the LUT for the distance of the x component of the MVD may be represented as in the following table.
  • the distance of the x component of the MVD corresponding to the value of the x component distance index may be derived based on the LUT as shown in Table 9 above. For example, referring to Table 9, when the value of the x component distance index is 0, the distance of the x component of the MVD may be derived as 1/4 pel, and the value of the x component distance index is 1, The distance of the x component of the MVD may be derived from 1/2 pel, and when the value of the x component distance index is 2, the distance of the x component of the MVD may be derived from 3/4 pel, If the value is 3, the distance of the x component of the MVD can be derived to 1 pel.
  • the LUT for the distance of the y component of the MVD may be represented as the following table.
  • the distance of the y component of the MVD corresponding to the value of the y component distance index may be derived based on the LUT as shown in Table 10 above. For example, referring to Table 10, when the value of the y component distance index is 0, the distance of the y component of the MVD may be derived as 1/4 pel, and when the value of the y component distance index is 1, The distance of the y component of the MVD may be derived from 1/2 pel, and when the value of the y component distance index is 2, the distance of the y component of the MVD may be derived from 3/4 pel, When the value is 3, the distance of the y component of the MVD may be derived as 1 pel.
  • the present invention is another embodiment of the LUT for the distance of the MVD, LUT for maximizing the effect of AMVR may be proposed.
  • the LUT for the distance of the x component of the MVD may be represented as the following table.
  • the distance of the x component of the MVD corresponding to the value of the x component distance index may be derived based on the LUT as shown in Table 11 above. For example, referring to Table 11, when the value of the x component distance index is 0, the distance of the x component of the MVD may be derived as 1 pel, and when the value of the x component distance index is 1, the MVD The distance of the x component of the can be derived from 2 pels, when the value of the x component distance index is 2, the distance of the x component of the MVD can be derived to 4 pels, when the value of the x component distance index is 3, The distance of the x component of the MVD can be derived to 8 pels.
  • the LUT for the distance of the y component of the MVD may be represented as the following table.
  • the distance of the y component of the MVD corresponding to the value of the y component distance index may be derived based on the LUT as shown in Table 12. For example, referring to Table 12, when the value of the y component distance index is 0, the distance of the y component of the MVD may be derived as 1 pel, and when the value of the y component distance index is 1, the MVD When the distance of the y component of can be derived from 2 pels, the value of the y component distance index is 2, the distance of the y component of the MVD can be derived to 4 pels, when the value of the y component distance index is 3, The distance of the y component of the MVD can be derived as 8 pels.
  • the MVD LUT may be signaled via a high level.
  • the high level may indicate a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, a coding unit header, or the like.
  • flag information indicating whether to use the LUT used in the previous frame as it may be signaled at the frame or slice level, and whether the LUT used in the previous frame in the frame or the slice is used as it is based on the flag information. If it is determined that the LUT used in the previous frame is used as it is, the LUT may be referenced in the frame or the slice.
  • a method of not using an AMVR in the AMVP mode may be proposed.
  • Most of the blocks to which the AMVR is applied may be homogenous blocks or blocks in which MVD is large due to large movement of an object. In this case, the block has an inaccurate motion vector position than represented by a fractional pel, but the worst-case may be covered by the AMVR, thereby compressing performance. Can be improved.
  • the AMVR for the AMVP mode may not be used, and a flag indicating whether the AMVR is used may not be signaled.
  • FIG 5 shows an example of deriving an MVD based on the additional information described above and an example of applying the AMVR.
  • the decoding apparatus may derive the MVD based on the additional information described above, and determine whether a method of deriving the motion information of the current block is applied based on the MVD and the base motion information (S500).
  • a method of deriving MVD based on the additional information described above and deriving motion information of the current block based on the MVD and base motion information may be referred to as UMVI (Unified signaling for Motion Vector Information, UMVI).
  • UMVI Unified signaling for Motion Vector Information
  • MMVD merge with MVD
  • the decoding apparatus may parse an AMVR flag indicating whether the AMVR is applied (S510).
  • the decoding apparatus may perform inter prediction on the current block based on the motion information derived based on the MVD and the base motion information.
  • the LUT is signaled through a high level, so that the LUT may be referred to in a slice or a picture that follows the LUT and a decoding unit (eg, tile) for parallel processing. A method of doing so may be proposed. In addition, a method for managing whether a previously signaled LUT is to be used as it is or to signal and use a new LUT may be proposed.
  • the initial LUT may be fixed in advance to the decoding device. That is, at least one LUT may be defined in the decoding apparatus.
  • the decoding apparatus may parse a flag indicating whether a predefined LUT is present (S600).
  • the flag may be referred to as a LUT pre-define flag.
  • the decoding apparatus may determine whether the value of the flag is 1, that is, the flag indicates that a predefined LUT is present (S610).
  • the decoding apparatus may parse an index indicating the LUT (S620).
  • the index may point to one of the predefined LUTs.
  • the index may be referred to as a LUT index.
  • the decoding apparatus may apply the LUT indicated by the index as the LUT for the current region, and when additional information about a block included in the current region is signaled, based on the additional information and the LUT for the current region, The MVD of the block can be derived.
  • the current region may be a picture, tile or slice.
  • the flag of the LUT predefined and / or the LUT index may be signaled through high level syntax.
  • the high level syntax may indicate a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, or a coding unit header.
  • the high level syntax may be called a high level.
  • the decoding apparatus may parse information about new LUT elements (S630).
  • a LUT for a temporal layer may be preset.
  • a process of deriving a residual sample for the current block based on the original sample and the prediction sample for the current block may be performed by a subtractor of the encoding apparatus
  • the generating of the information about the residual on the basis of the current block may be performed by a converter of the encoding apparatus, and the encoding of the image information including the information of the residual may be performed by the encoding apparatus. It may be performed by the entropy encoding unit.
  • a block including a block wherein the upper peripheral block is a block including a sample of (2N-1, -1) coordinates, the upper right corner block is a block including a sample of (2N, -1) coordinates,
  • the lower left corner peripheral block may be a block including samples of (-1, 2N) coordinates, and the upper left corner peripheral block may be a block including samples of (-1, -1) coordinates.
  • the temporal neighboring blocks may include a center lower right block of the same position block of the current block and / or a lower right corner peripheral block of the same position block in a collocated picture.
  • the co-located block may indicate a block located at a position in the collocated picture corresponding to the position of the current block.
  • the encoding apparatus derives the motion information of the current block based on the motion information candidate list (S1110).
  • the encoding apparatus may select a specific motion information candidate from the motion information candidates of the motion information candidate list, and derive the selected motion information candidate as motion information for the current block.
  • the encoding apparatus may generate and encode a candidate index indicating the selected motion information candidate among the motion information candidates of the motion information candidate list.
  • the candidate index may indicate the selected motion information candidate among the motion information candidates.
  • the encoding apparatus may derive the distance of the MVD from the LUT to the MVD distance, and may derive the direction of the MVD from the LUT to the MVD direction.
  • index information for the MVD may be generated and encoded, and the index information may include a distance index and a direction index for the MVD.
  • the distance index may indicate the distance of the MVD in the LUT to the MVD distance
  • the direction index may indicate the direction of the MVD in the LUT relative to the MVD direction.
  • the distance of the MVD may be derived as a distance indicated by the value of the distance index in the LUT for the MVD distance, and the direction of the MVD is the value of the direction index in the LUT for the MVD direction. Can be derived in the pointing direction.
  • the LUT for the MVD direction may be as described in Table 3 above.
  • the direction of the MVD may be derived in a positive direction on the x-axis
  • the binary value of the direction index is 01
  • the direction of the MVD may be derived in a negative direction on the x axis
  • the direction of the MVD may be derived in a positive direction on the y axis
  • the direction of the MVD may be derived in the negative direction on the y axis.
  • the MVD may be derived by multiplying the distance of the MVD by the direction, the positive direction may be 1, and the negative direction may be ⁇ 1.
  • N / A of Table 3 may be represented by 0.
  • the encoding apparatus may derive the distance of the x component of the MVD from the LUT to the MVD x component distance, and may derive the direction of the x component of the MVD from the LUT with respect to the MVD x component direction.
  • the distance of the y component of the MVD may be derived from the LUT with respect to the y component distance of the MVD
  • the direction of the y component of the MVD may be derived from the LUT with respect to the direction of the y component of the MVD.
  • the distance index for the x component may represent the distance of the x component of the MVD at the LUT to the MVD x component distance, and the direction index for the x component is the x of the MVD at the LUT for the MVD x component direction
  • the direction of the component, the distance index for the y component may represent the distance of the y component of the MVD in the LUT to the MVD y component distance, the direction index for the y component is in the MVD y component direction In the LUT, the direction of the y component of the MVD may be indicated.
  • the distance of the x component of the MVD may be derived as a distance indicated by the value of the distance index for the x component in the LUT for the MVD x component distance
  • the direction of the x component of the MVD ( direction) may be derived in the direction indicated by the value of the direction index for the x component in the LUT for the MVD x component direction
  • the distance of the y component of the MVD is determined in the y component from the LUT to the MVD y component distance.
  • the LUT for the MVD x component distance may be as described in Table 5, Table 9, or Table 11.
  • the distance of the x component of the MVD may be derived as 1/4 pel, and the value of the distance index for the x component is 1
  • the distance of the x component of the MVD may be derived as 1/2 pel
  • the distance of the x component of the MVD may be derived as 1 pel
  • x When the value of the distance index for the component is 3, the distance of the x component of the MVD may be derived as 4 pels.
  • the distance of the x component of the MVD may be derived as 1 pel, and the value of the distance index for the x component is 1
  • the distance of the x component of the MVD may be derived from 2 pels
  • the distance of the x component of the MVD may be derived to 4 pels
  • the distance of the x component of the MVD may be derived as 8 pels.
  • the LUT for the MVD y component distance may be the same as in Table 6, Table 10, or Table 12.
  • the distance of the y component of the MVD may be derived as 1/4 pel, and the value of the distance index for the y component is 1
  • the distance of the y component of the MVD may be derived to 1/2 pel
  • the distance of the y component of the MVD may be derived to 1 pel
  • the distance of the y component of the MVD may be derived as 4 pels.
  • the distance of the y component of the MVD may be derived as 1/4 pel
  • the value of the distance index for the y component When 1, the distance of the y component of the MVD may be derived as 1/2 pel, and when the value of the distance index for the y component is 2, the distance of the y component of the MVD may be derived as 3/4 pel.
  • the distance of the y component of the MVD When the value of the distance index with respect to the y component is 3, the distance of the y component of the MVD may be derived as 1 pel.
  • the distance of the y component of the MVD may be derived as 1 pel
  • the value of the distance index for the y component is 1
  • the distance of the y component of the MVD may be derived from 2 pels
  • the distance of the y component of the MVD may be derived from 4 pels
  • the distance of the y component of the MVD may be derived as 8 pels.
  • the LUT for the MVD x component direction may be as shown in Table 7 above.
  • the direction of the x component of the MVD may be derived in a positive direction
  • the direction of the x component of the MVD may be derived in a negative direction.
  • the LUT for the MVD y component direction may be as described in Table 8 above.
  • the direction of the y component of the MVD may be derived in a positive direction
  • the direction of the y component of the MVD may be derived in a negative direction.
  • the LUT may be obtained through a bitstream.
  • the LUT may be signaled via a high level syntax.
  • the high level syntax may indicate a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, or a coding unit header.
  • a specific LUT candidate may be selected from among LUT candidates for a temporal layer of the current picture, and the selected LUT candidate may be derived to the LUT.
  • a LUT index indicating the selected LUT candidate may be generated and encoded.
  • a flag indicating whether the LUT candidates exist may be generated and encoded.
  • a flag indicating whether a previously used LUT is used may be generated and encoded.
  • the LUT candidates having the lowest selection probability among the LUT candidates may be removed.
  • the LUT candidates may be reordered in order of high selection probability.
  • the encoding apparatus derives modified motion information of the current block based on the motion information and the MVD (S1130).
  • the encoding apparatus may derive modified motion information of the current block based on the motion information and the MVD.
  • the modified motion information may include a modified motion vector, and the modified motion vector may be derived by adding the motion vector of the motion information and the MVD.
  • the encoding apparatus performs prediction on the current block based on the modified motion information (S1140).
  • a prediction block of the current block may be derived based on the modified motion information, and a reconstruction block may be derived based on the prediction block.
  • the encoding apparatus may derive the reference block in the reference picture based on the modified motion information.
  • the modified motion information may include the modified motion vector and a reference picture index.
  • the encoding apparatus may derive the reference picture indicated by the reference picture index among the reference pictures in the reference picture list as the reference picture of the current block, and refer to the block of the current block as the block indicated by the modified motion vector in the reference picture. Can be derived as a block.
  • the encoding apparatus may generate a prediction sample based on the reference block.
  • the encoding apparatus encodes image information including prediction related information of the current block (S1150).
  • the encoding apparatus may encode the image information including the prediction related information of the current block and output the encoded information in the form of a bitstream.
  • the bitstream may be transmitted to a decoding apparatus via a network or a storage medium.
  • the encoding apparatus may determine the prediction mode of the current block, and generate information indicating the prediction mode.
  • the encoding apparatus may encode a flag indicating whether a prediction mode for deriving an MVD is applied based on index information on a look-up table (LUT) and motion vector difference (MVD).
  • the prediction related information may include the flag.
  • the prediction related information may include a candidate index indicating the selected motion information candidate among the motion information candidates of the motion information candidate list.
  • the prediction related information may include index information for the MVD.
  • the index information may include a distance index and a direction index for the MVD.
  • the index information may include a distance index for the x component of the MVD, a direction index for the x component, a distance index for the y component of the MVD, and a direction index for the y component.
  • the image information may include a LUT index indicating a selected LUT candidate among the LUT candidates.
  • the image information may include a flag indicating whether the LUT candidates exist.
  • the image information may include a flag indicating whether a previously used LUT is used.
  • the encoding apparatus may generate information about the residual based on the residual sample.
  • the image information may include information about the residual, and the information about the residual may include transform coefficients related to the residual sample.
  • the encoding device may encode the information about the residual and output the encoded information about the residual.
  • the bitstream may be transmitted to a decoding apparatus via a network or a storage medium.
  • the process of acquiring information regarding the residual of the current block through the bitstream may be performed by an entropy decoding unit of the decoding apparatus, and based on the residual information, Deriving the residual sample may be performed by an inverse transform unit of the decoding apparatus, and generating a reconstructed picture based on the prediction sample and the residual sample of the current block may be performed by an adder of the decoding apparatus. It can be performed by.
  • the decoding apparatus obtains prediction related information of the current block (S1300).
  • the decoding apparatus may obtain prediction related information of the current block from the bitstream.
  • the prediction related information of the current block may include prediction mode information indicating a prediction mode.
  • the decoding apparatus may obtain a flag indicating whether a prediction mode for deriving an MVD is applied based on index information on a look-up table (LUT) and motion vector difference (MVD), and based on the flag. As a result, it may be determined whether the prediction mode is applied to the current block.
  • the prediction related information may include the flag. For example, when the value of the flag is 1, the MVD may be derived based on index information about the LUT and the MVD. Meanwhile, when the prediction mode is applied, a motion information candidate indicating motion information on a sub-block basis may not be derived. In this case, prediction related information on the motion information of the sub-block may not be signaled.
  • the prediction related information may include a candidate index and the index information about a motion vector difference (MVD).
  • the candidate index may indicate one of the motion information candidates included in the motion information candidate list.
  • the index information for the MVD may include a distance index and a direction index for the MVD.
  • the index information for the MVD may include a distance index for the x component of the MVD, a direction index for the x component, a distance index for the y component of the MVD, and a direction index for the y component. It may include.
  • the decoding apparatus configures a motion information candidate list for the current block (S1310).
  • the decoding apparatus may construct a motion information candidate list for the current block based on spatial neighboring blocks and / or temporal neighboring blocks of the current block. For example, motion information of the spatial neighboring blocks and / or the temporal neighboring blocks may be derived as a motion information candidate for the current block, and the motion information candidate list including the motion information candidate may be constructed. have.
  • the motion information candidate list may indicate a merge candidate list or an MVP candidate list, and the motion information candidate may indicate a merge candidate or an MVP candidate.
  • the MVP candidate list may be configured in the same manner as the merge candidate list.
  • the spatial peripheral blocks include a left peripheral block, an upper peripheral block, a right upper corner peripheral block, a lower left corner peripheral block, and / or an upper left corner peripheral block. can do.
  • the size of the current block is 2Nx2N and the x component of the top-left sample position of the current block is 0 and the y component is 0, the left neighboring block is a sample of (-1, 2N-1) coordinates.
  • the spatial peripheral blocks may include an upper peripheral block, a right upper corner peripheral block, a lower left corner peripheral block, and / or an upper left corner peripheral block.
  • the upper neighboring block is a sample of (N-1, -1) coordinates.
  • a block including the upper right corner peripheral block is a block including a sample of (N, -1) coordinates
  • the lower left corner peripheral block is a block including a sample of (-1, 2N) coordinates
  • the block around the upper left corner may be a block including samples of (-1, -1) coordinates.
  • the temporal neighboring blocks may include a center lower right block of the same position block of the current block and / or a lower right corner peripheral block of the same position block in a collocated picture.
  • the co-located block may indicate a block located at a position in the collocated picture corresponding to the position of the current block.
  • the decoding apparatus derives the motion information candidate indicated by the candidate index among the motion information candidates included in the motion information candidate list as the motion information of the current block (S1320).
  • the candidate index may indicate one of the motion information candidates included in the motion information candidate list.
  • the decoding apparatus may derive the motion information candidate indicated by the candidate index among the motion information candidates as the motion information of the current block.
  • the decoding apparatus may select a motion information candidate indicated by the candidate index among the motion information candidates, and derive the selected motion information candidate as the motion information of the current block.
  • the decoding apparatus derives the MVD of the current block based on the index information on the look-up table (LUT) and the motion vector difference (MVD) (S1330).
  • the decoding apparatus may derive the MVD by referring to a value indicated by the index information of the MVD in the LUT.
  • the index information may include a distance index and a direction index for the MVD
  • the distance of the MVD may be derived as a distance indicated by the value of the distance index in the LUT for the MVD distance
  • the direction of the MVD may be derived in the direction indicated by the value of the direction index in the LUT for the MVD direction.
  • the LUT for the MVD distance may be as shown in Table 2 above.
  • the distance of the MVD may be derived as 1/4 pel
  • the distance of the MVD may be derived as 1/2 pel.
  • the distance of the MVD can be derived to 1 pel, if the value of the distance index is 3, the distance of the MVD can be derived to 2 pel, the value of the distance index If 4, the distance of the MVD can be derived to 4 pels, when the value of the distance index is 5, the distance of the MVD can be derived to 8 pels, if the value of the distance index is 6, of the MVD The distance can be derived to 16 pels, and when the value of the distance index is 7, the distance of the MVD can be derived to 32 pels.
  • the LUT for the MVD direction may be as described in Table 3 above.
  • the direction of the MVD may be derived in a positive direction on the x-axis
  • the binary value of the direction index is 01
  • the direction of the MVD may be derived in a negative direction on the x axis
  • the direction of the MVD may be derived in a positive direction on the y axis
  • the direction of the MVD may be derived in the negative direction on the y axis.
  • the MVD may be derived by multiplying the distance of the MVD by the direction, the positive direction may be 1, and the negative direction may be ⁇ 1.
  • N / A of Table 3 may be represented by 0.
  • the direction of the y component of the MVD may be derived as a distance indicated by the value of the distance index, and the value of the direction index for the y component in the LUT for the MVD y component direction Ricky can be derived in a direction.
  • the LUT for the MVD x component distance may be as described in Table 5, Table 9, or Table 11.
  • the distance of the x component of the MVD may be derived as 1/4 pel, and the value of the distance index for the x component is 1
  • the distance of the x component of the MVD may be derived as 1/2 pel
  • the distance of the x component of the MVD may be derived as 1 pel
  • x When the value of the distance index for the component is 3, the distance of the x component of the MVD may be derived as 4 pels.
  • the distance of the x component of the MVD can be derived as 1/4 pel
  • the value of the distance index for the x component When 1, the distance of the x component of the MVD can be derived to 1/2 pel, and when the value of the distance index for the x component is 2, the distance of the x component of the MVD can be derived to 3/4 pel
  • the distance of the x component of the MVD can be derived to 1 pel.
  • the distance of the y component of the MVD may be derived as 1/4 pel
  • the value of the distance index for the y component When 1, the distance of the y component of the MVD may be derived as 1/2 pel, and when the value of the distance index for the y component is 2, the distance of the y component of the MVD may be derived as 3/4 pel.
  • the distance of the y component of the MVD When the value of the distance index with respect to the y component is 3, the distance of the y component of the MVD may be derived as 1 pel.
  • the LUT for the MVD x component direction may be as shown in Table 7 above.
  • the direction of the x component of the MVD may be derived in a positive direction
  • the direction of the x component of the MVD may be derived in a negative direction.
  • the LUT for the MVD y component direction may be as described in Table 8 above.
  • the direction of the y component of the MVD may be derived in a positive direction
  • the direction of the y component of the MVD may be derived in a negative direction.
  • the LUT may be obtained through a bitstream.
  • the LUT may be signaled via a high level syntax.
  • the high level syntax may indicate a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, or a coding unit header.
  • the decoding apparatus derives modified motion information of the current block based on the motion information and the MVD (S1340).
  • the decoding apparatus may derive modified motion information of the current block based on the motion information and the MVD.
  • the modified motion information may include a modified motion vector, and the modified motion vector may be derived by adding the motion vector of the motion information and the MVD.
  • a prediction block of the current block may be derived based on the modified motion information, and a reconstruction block may be derived based on the prediction block.
  • the decoding apparatus may derive a reference block within a reference picture based on the modified motion information.
  • the modified motion information may include the modified motion vector and a reference picture index.
  • the decoding apparatus may derive the reference picture indicated by the reference picture index as the reference picture of the current block, and may derive the block indicated by the modified motion vector in the reference picture as the reference block of the current block.
  • the decoding apparatus may generate a prediction sample based on the reference block, and may directly use the prediction sample as a reconstruction sample according to a prediction mode, or generate a reconstruction sample by adding a residual sample to the prediction sample. .
  • the decoding apparatus may obtain information about the residual for the current block from the bitstream.
  • the information about the residual may include transform coefficients regarding the residual sample.
  • the decoding apparatus may derive the residual sample (or residual sample array) for the current block based on the residual information.
  • the decoding apparatus may generate a reconstructed sample based on the prediction sample and the residual sample, and may derive a reconstructed block or a reconstructed picture based on the reconstructed sample. Thereafter, as described above, the decoding apparatus may apply an in-loop filtering procedure, such as a deblocking filtering and / or SAO procedure, to the reconstructed picture in order to improve subjective / objective picture quality as necessary.
  • an in-loop filtering procedure such as a deblocking filtering and / or SAO procedure
  • FIG. 14 schematically illustrates a decoding apparatus for performing an image decoding method according to the present invention.
  • the method disclosed in FIG. 13 may be performed by the decoding apparatus disclosed in FIG. 14.
  • the entropy decoding unit of the decoding apparatus of FIG. 14 may perform S1300 of FIG. 13
  • the prediction unit of the decoding apparatus of FIG. 14 may perform S1310 to S1350 of FIG. 13.
  • the process of acquiring image information including information on the residual of the current block through the bitstream may be performed by the entropy decoding unit of the decoding apparatus of FIG.
  • the process of deriving the residual sample for the current block may be performed by an inverse transform unit of the decoding apparatus of FIG. 14, and the process of generating a reconstructed picture based on the prediction sample and the residual sample may be performed. It may be performed by the adder of the decoding apparatus of FIG.
  • the MVD is derived based on the signaled index information and a pre-defined look-up table (LUT), and the motion information of the current block is derived based on the derived MVD and MVP. This can reduce the amount of bits for delivering MVD and improve the overall coding efficiency.
  • the MVD is derived based on the signaled index information and the pre-defined look-up table (LUT), and the motion information of the current block is derived based on the derived MVD and MVP.
  • the embodiments described herein may be implemented and performed on a processor, microprocessor, controller, or chip.
  • the functional units shown in each drawing may be implemented and performed on a computer, processor, microprocessor, controller, or chip.
  • information for implementation (ex. Information on instructions) or an algorithm may be stored in a digital storage medium.
  • the decoding apparatus and encoding apparatus to which the present invention is applied include a multimedia broadcasting transmitting and receiving device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real time communication device such as video communication, and mobile streaming.
  • the OTT video device may include a game console, a Blu-ray player, an internet access TV, a home theater system, a smartphone, a tablet PC, a digital video recorder (DVR), and the like.
  • the processing method to which the present invention is applied can be produced in the form of a program executed by a computer, and can be stored in a computer-readable recording medium.
  • Multimedia data having a data structure according to the present invention can also be stored in a computer-readable recording medium.
  • the computer readable recording medium includes all kinds of storage devices and distributed storage devices in which computer readable data is stored.
  • the computer-readable recording medium may be, for example, a Blu-ray disc (BD), a universal serial bus (USB), a ROM, a PROM, an EPROM, an EEPROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical disc. It may include a data storage device.
  • the computer-readable recording medium also includes media embodied in the form of a carrier wave (eg, transmission over the Internet).
  • the bitstream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
  • 15 exemplarily shows a structure diagram of a content streaming system to which the present invention is applied.
  • the content streaming system to which the present invention is applied may largely include an encoding server, a streaming server, a web server, a media storage, a user device, and a multimedia input device.
  • the encoding server compresses content input from multimedia input devices such as a smart phone, a camera, a camcorder, etc. into digital data to generate a bitstream and transmit the bitstream to the streaming server.
  • multimedia input devices such as smart phones, cameras, camcorders, etc. directly generate a bitstream
  • the encoding server may be omitted.
  • the bitstream may be generated by an encoding method or a bitstream generation method to which the present invention is applied, and the streaming server may temporarily store the bitstream in the process of transmitting or receiving the bitstream.
  • the streaming server transmits the multimedia data to the user device based on the user's request through the web server, and the web server serves as a medium for informing the user of what service.
  • the web server delivers it to a streaming server, and the streaming server transmits multimedia data to the user.
  • the content streaming system may include a separate control server.
  • the control server plays a role of controlling a command / response between devices in the content streaming system.
  • the streaming server may receive content from a media store and / or an encoding server. For example, when the content is received from the encoding server, the content may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server may store the bitstream for a predetermined time.
  • Examples of the user device include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation device, a slate PC, Tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, glass glasses, head mounted displays), digital TVs, desktops Computer, digital signage, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명에 따른 디코딩 장치에 의하여 수행되는 영상 디코딩 방법은 현재 블록의 예측 관련 정보를 획득하는 단계, 상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성하는 단계, 상기 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 후보 인덱스가 가리키는 움직임 정보 후보를 상기 현재 블록의 움직임 정보로 도출하는 단계, LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 상기 현재 블록의 MVD를 도출하는 단계, 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하는 단계, 및 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 단계를 포함하고, 상기 예측 관련 정보는 상기 후보 인덱스 및 상기 MVD 에 대한 상기 인덱스 정보를 포함하는 것을 특징으로 한다.

Description

영상 코딩 시스템에서 LUT를 기반으로 도출된 MVD 를 사용하는 영상 디코딩 방법 및 그 장치
본 발명은 영상 코딩 기술에 관한 것으로서 보다 상세하게는 영상 코딩 시스템에서 LUT를 기반으로 도출된 MVD(Motion Vector Difference)를 사용하는 영상 디코딩 방법 및 장치에 관한 것이다.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 전송되는 정보량 또는 비트량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 영상 데이터를 저장하는 경우, 전송 비용과 저장 비용이 증가된다.
이에 따라, 고해상도, 고품질 영상의 정보를 효과적으로 전송하거나 저장하고, 재생하기 위해 고효율의 영상 압축 기술이 요구된다.
본 발명의 기술적 과제는 영상 코딩 효율을 높이는 방법 및 장치를 제공함에 있다.
본 발명의 다른 기술적 과제는 추가 정보 및 LUT 를 이용하여 MVD를 도출하는 방법 및 장치를 제공함에 있다.
본 발명의 다른 기술적 과제는 추가 정보 및 LUT 를 이용하여 도출된 MVD 를 기반으로 움직임 정보를 도출하고, 도출된 움직임 정보를 기반으로 예측을 수행하는 방법 및 장치를 제공함에 있다.
본 발명의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 영상 디코딩 방법이 제공된다. 상기 방법은 현재 블록의 예측 관련 정보를 획득하는 단계, 상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성하는 단계, 상기 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 후보 인덱스가 가리키는 움직임 정보 후보를 상기 현재 블록의 움직임 정보로 도출하는 단계, LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 상기 현재 블록의 MVD를 도출하는 단계, 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하는 단계, 및 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 단계를 포함하고, 상기 예측 관련 정보는 상기 후보 인덱스 및 상기 MVD 에 대한 상기 인덱스 정보를 포함하는 것을 특징으로 한다.
본 발명의 다른 일 실시예에 따르면, 영상 디코딩을 수행하는 디코딩 장치가 제공된다. 상기 디코딩 장치는 현재 블록의 예측 관련 정보를 획득하는 엔트로피 디코딩부; 및 상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성하고, 상기 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 후보 인덱스가 가리키는 움직임 정보 후보를 상기 현재 블록의 움직임 정보로 도출하고, LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 상기 현재 블록의 MVD를 도출하고, 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하고, 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 예측부를 포함하고, 상기 예측 관련 정보는 상기 후보 인덱스 및 상기 MVD 에 대한 상기 인덱스 정보를 포함하는 것을 특징으로 한다.
본 발명의 또 다른 일 실시예에 따르면, 인코딩 장치에 의하여 수행되는 비디오 인코딩 방법을 제공한다. 상기 방법은 현재 블록에 대한 움직임 정보 후보 리스트를 구성하는 단계, 상기 움직임 정보 후보 리스트를 기반으로 상기 현재 블록의 움직임 정보를 도출하는 단계, LUT(Look-Up Table) 를 기반으로 상기 현재 블록의 MVD를 도출하는 단계, 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하는 단계, 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 단계, 및 상기 현재 블록의 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하고, 상기 예측 관련 정보는 상기 MVD 에 대한 인덱스 정보를 포함하는 것을 특징으로 한다.
본 발명의 또 다른 일 실시예에 따르면, 비디오 인코딩 장치를 제공한다. 상기 인코딩 장치는 현재 블록에 대한 움직임 정보 후보 리스트를 구성하고, 상기 움직임 정보 후보 리스트를 기반으로 상기 현재 블록의 움직임 정보를 도출하고, LUT(Look-Up Table) 를 기반으로 상기 현재 블록의 MVD를 도출하고, 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하고, 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 예측부, 및 상기 현재 블록의 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 엔트로피 인코딩부를 포함하고, 상기 예측 관련 정보는 상기 MVD 에 대한 인덱스 정보를 포함하는 것을 특징으로 한다.
본 발명에 따르면 시그널링된 인덱스 정보 및 기정의(pre-define)된 LUT(Look-Up Table)을 기반으로 MVD를 도출하고, 도출된 MVD 및 MVP 를 기반으로 현재 블록의 움직임 정보을 도출하여 예측을 수행할 수 있고, 이를 통하여 MVD 를 전달하기 위한 비트량을 줄일 수 있고, 전반적인 코딩 효율을 향상시킬 수 있다.
본 발명에 따르면 시그널링된 인덱스 정보 및 기정의(pre-define)된 LUT(Look-Up Table)을 기반으로 MVD를 도출하고, 도출된 MVD 및 MVP 를 기반으로 현재 블록의 움직임 정보을 도출하여 예측을 수행할 수 있고, 이를 통하여 MVD를 나타내기 위하여 작은 비트량을 할당하면서 주변 블록의 움직임 정보를 사용하여 수행되는 예측보다 정확한 움직임 정보를 도출할 수 있고, 예측 정확도를 향상시켜 전반적인 코딩 효율을 향상시킬 수 있다.
도 1은 본 발명이 적용될 수 있는 비디오 인코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 2는 본 발명이 적용될 수 있는 비디오 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 3은 머지 모드에서 머지 후보를 도출하기 위하여 참조되는 주변 블록을 예시적으로 나타낸다.
도 4는 상술한 추가적인 정보를 기반으로 MVD 를 도출하는 방법을 적용하는 일 예를 나타낸다.
도 5는 상술한 추가적인 정보를 기반으로 MVD 를 도출하는 방법과 상기 AMVR을 적용하는 일 예를 나타낸다.
도 6은 LUT 를 도출하는 일 예를 나타낸다.
도 7은 랜덤 액세스(Random access) 구조를 예시적으로 나타낸다. 도 7은 프레임들의 인코딩/디코딩 순서를 나타낼 수 있다.
도 8은 템포럴 레이어에 대한 참조 LUT 를 예시적으로 나타낸다.
도 9는 템포럴 레이어에 대한 LUT 후보를 관리하는 일 예를 나타낸다.
도 10은 템포럴 레이어에 대한 LUT 후보를 리오더링하는 일 예를 나타낸다.
도 11은 본 발명에 따른 인코딩 장치에 의한 영상 인코딩 방법을 개략적으로 나타낸다.
도 12는 본 발명에 따른 영상 인코딩 방법을 수행하는 인코딩 장치를 개략적으로 나타낸다.
도 13은 본 발명에 따른 디코딩 장치에 의한 영상 디코딩 방법을 개략적으로 나타낸다.
도 14는 본 발명에 따른 영상 디코딩 방법을 수행하는 디코딩 장치를 개략적으로 나타낸다.
도 15는 본 발명이 적용되는 컨텐츠 스트리밍 시스템 구조도를 예시적으로 나타낸다.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정 실시예에 한정하려고 하는 것이 아니다. 본 명세서에서 상용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서 "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 도는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
한편, 본 발명에서 설명되는 도면상의 각 구성들은 서로 다른 특징적인 기능들에 관한 설명의 편의를 위해 독립적으로 도시된 것으로서, 각 구성들이 서로 별개의 하드웨어나 별개의 소프트웨어로 구현된다는 것을 의미하지는 않는다. 예컨대, 각 구성 중 두 개 이상의 구성이 합쳐져 하나의 구성을 이룰 수도 있고, 하나의 구성이 복수의 구성으로 나뉘어질 수도 있다. 각 구성이 통합 및/또는 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성 요소에 대해서는 동일한 참조 부호를 사용하고 동일한 구성 요소에 대해서 중복된 설명은 생략한다.
한편, 본 발명은 비디오/영상 코딩에 관한 것이다. 예를 들어, 본 발명에서 개시된 방법/실시예는 VVC (versatile video coding) 표준, EVC (Essential Video Coding) 표준, AV1 (AOMedia Video 1) 표준, AVS2 (2nd generation of audio video coding standard) 또는 차세대 비디오/이미지 코딩 표준(예를 들어, H.267, H.268 등)에 개시된 방법에 적용될 수 있다.
본 명세서에서 픽처(picture)는 일반적으로 특정 시간대의 하나의 영상을 나타내는 단위를 의미하며, 슬라이스(slice)는 코딩에 있어서 픽처의 일부를 구성하는 단위이다. 하나의 픽처는 복수의 슬라이스로 구성될 수 있으며, 필요에 따라서 픽처 및 슬라이스는 서로 혼용되어 사용될 수 있다.
픽셀(pixel) 또는 펠(pel)은 하나의 픽처(또는 영상)을 구성하는 최소의 단위를 의미할 수 있다. 또한, 픽셀에 대응하는 용어로서 '샘플(sample)'이 사용될 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다.
유닛(unit)은 영상 처리의 기본 단위를 나타낸다. 유닛은 픽처의 특정 영역 및 해당 영역에 관련된 정보 중 적어도 하나를 포함할 수 있다. 유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다.
도 1은 본 발명이 적용될 수 있는 비디오 인코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 1을 참조하면, 비디오 인코딩 장치(100)는 픽처 분할부(105), 예측부(110), 레지듀얼 처리부(120), 엔트로피 인코딩부(130), 가산부(140), 필터부(150) 및 메모리(160)을 포함할 수 있다. 레지듀얼 처리부(120)는 감산부(121), 변환부(122), 양자화부(123), 재정렬부(124), 역양자화부(125) 및 역변환부(126)를 포함할 수 있다.
픽처 분할부(105)는 입력된 픽처를 적어도 하나의 처리 유닛(processing unit)으로 분할할 수 있다.
일 예로, 처리 유닛은 코딩 유닛(coding unit, CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBT (Quad-tree binary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조 및/또는 바이너리 트리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 발명에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다.
다른 예로, 처리 유닛은 코딩 유닛(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)를 포함할 수 있다. 또한, 변환 블록 또는 변환 유닛은 픽처 내에서 블록 형태의 특정 영역을 의미할 수 있고, 변환 계수 또는 레지듀얼 샘플의 어레이를 포함할 수 있다.
예측부(110)는 처리 대상 블록(이하, 현재 블록이라 함)에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(110)에서 수행되는 예측의 단위는 코딩 블록일 수 있고, 변환 블록일 수도 있고, 예측 블록일 수도 있다.
예측부(110)는 현재 블록에 인트라 예측이 적용되는지 인터 예측이 적용되는지를 결정할 수 있다. 일 예로, 예측부(110)는 CU 단위로 인트라 예측 또는 인터 예측이 적용되는지를 결정할 수 있다.
인트라 예측의 경우에, 예측부(110)는 현재 블록이 속하는 픽처(이하, 현재 픽처) 내의 현재 블록 외부의 참조 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이 때, 예측부(110)는 (i) 현재 블록의 주변(neighboring) 참조 샘플들의 평균(average) 혹은 인터폴레이션(interpolation)을 기반으로 예측 샘플을 유도할 수 있고, (ii) 현재 블록의 주변 참조 샘플들 중 예측 샘플에 대하여 특정 (예측) 방향에 존재하는 참조 샘플을 기반으로 상기 예측 샘플을 유도할 수도 있다. (i)의 경우는 비방향성 모드 또는 비각도 모드, (ii)의 경우는 방향성(directional) 모드 또는 각도(angular) 모드라고 불릴 수 있다. 인트라 예측에서 예측 모드는 예를 들어 33개의 방향성 예측 모드와 적어도 2개 이상의 비방향성 모드를 가질 수 있다. 비방향성 모드는 DC 예측 모드 및 플래너 모드(Planar 모드)를 포함할 수 있다. 예측부(110)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.
인터 예측의 경우에, 예측부(110)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 샘플을 기반으로, 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(110)는 스킵(skip) 모드, 머지(merge) 모드, 및 MVP(motion vector prediction) 모드 중 어느 하나를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 스킵 모드와 머지 모드의 경우에, 예측부(110)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 예측 샘플과 원본 샘플 사이의 차(레지듀얼)가 전송되지 않는다. MVP 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(Motion Vector Predictor)로 이용하여 현재 블록의 움직임 벡터 예측자로 이용하여 현재 블록의 움직임 벡터를 유도할 수 있다.
인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처(reference picture)에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 움직임 정보(motion information)는 움직임 벡터와 참조 픽처 인덱스를 포함할 수 있다. 예측 모드 정보와 움직임 정보 등의 정보는 (엔트로피) 인코딩되어 비트스트림 형태로 출력될 수 있다.
스킵 모드와 머지 모드에서 시간적 주변 블록의 움직임 정보가 이용되는 경우에, 참조 픽처 리스트(reference picture list) 상의 최상위 픽처가 참조 픽처로서 이용될 수도 있다. 참조 픽처 리스트(Picture Order Count)에 포함되는 참조 픽처들은 현재 픽처와 해당 참조 픽처 간의 POC(Picture order count) 차이 기반으로 정렬될 수 있다. POC는 픽처의 디스플레이 순서에 대응하며, 코딩 순서와 구분될 수 있다.
감산부(121)는 원본 샘플과 예측 샘플 간의 차이인 레지듀얼 샘플을 생성한다. 스킵 모드가 적용되는 경우에는, 상술한 바와 같이 레지듀얼 샘플을 생성하지 않을 수 있다.
변환부(122)는 변환 블록 단위로 레지듀얼 샘플을 변환하여 변환 계수(transform coefficient)를 생성한다. 변환부(122)는 해당 변환 블록의 사이즈와, 해당 변환 블록과 공간적으로 겹치는 코딩 블록 또는 예측 블록에 적용된 예측 모드에 따라서 변환을 수행할 수 있다. 예컨대, 상기 변환 블록과 겹치는 상기 코딩 블록 또는 상기 예측 블록에 인트라 예측이 적용되었고, 상기 변환 블록이 4×4의 레지듀얼 어레이(array)라면, 레지듀얼 샘플은 DST(Discrete Sine Transform) 변환 커널을 이용하여 변환되고, 그 외의 경우라면 레지듀얼 샘플은 DCT(Discrete Cosine Transform) 변환 커널을 이용하여 변환할 수 있다.
양자화부(123)는 변환 계수들을 양자화하여, 양자화된 변환 계수를 생성할 수 있다.
재정렬부(124)는 양자화된 변환 계수를 재정렬한다. 재정렬부(124)는 계수들 스캐닝(scanning) 방법을 통해 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있다. 여기서 재정렬부(124)는 별도의 구성으로 설명하였으나, 재정렬부(124)는 양자화부(123)의 일부일 수 있다.
엔트로피 인코딩부(130)는 양자화된 변환 계수들에 대한 엔트로피 인코딩을 수행할 수 있다. 엔트로피 인코딩은 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding) 등과 같은 인코딩 방법을 포함할 수 있다. 엔트로피 인코딩부(130)는 양자화된 변환 계수 외 비디오 복원에 필요한 정보들(예컨대 신택스 요소(syntax element)의 값 등)을 함께 또는 별도로 인코딩할 수도 있다. 엔트로피 인코딩된 정보들은 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다.
역양자화부(125)는 양자화부(123)에서 양자화된 값(양자화된 변환 계수)들을 역양자화하고, 역변환부(126)는 역양자화부(125)에서 역양자화된 값들을 역변환하여 레지듀얼 샘플을 생성한다.
가산부(140)는 레지듀얼 샘플과 예측 샘플을 합쳐서 픽처를 복원한다. 레지듀얼 샘플과 예측 샘플은 블록 단위로 더해져서 복원 블록이 생성될 수 있다. 여기서 가산부(140)는 별도의 구성으로 설명하였으나, 가산부(140)는 예측부(110)의 일부일 수 있다. 한편, 가산부(140)는 복원부 또는 복원 블록 생성부로 불릴 수도 있다.
복원된 픽처(reconstructed picture)에 대하여 필터부(150)는 디블록킹 필터 및/또는 샘플 적응적 오프셋(sample adaptive offset)을 적용할 수 있다. 디블록킹 필터링 및/또는 샘플 적응적 오프셋을 통해, 복원 픽처 내 블록 경계의 아티팩트나 양자화 과정에서의 왜곡이 보정될 수 있다. 샘플 적응적 오프셋은 샘플 단위로 적용될 수 있으며, 디블록킹 필터링의 과정이 완료된 후 적용될 수 있다. 필터부(150)는 ALF(Adaptive Loop Filter)를 복원된 픽처에 적용할 수도 있다. ALF는 디블록킹 필터 및/또는 샘플 적응적 오프셋이 적용된 후의 복원된 픽처에 대하여 적용될 수 있다.
메모리(160)는 복원 픽처(디코딩된 픽처) 또는 인코딩/디코딩에 필요한 정보를 저장할 수 있다. 여기서 복원 픽처는 상기 필터부(150)에 의하여 필터링 절차가 완료된 복원 픽처일 수 있다. 상기 저장된 복원 픽처는 다른 픽처의 (인터) 예측을 위한 참조 픽처로 활용될 수 있다. 예컨대, 메모리(160)는 인터 예측에 사용되는 (참조) 픽처들을 저장할 수 있다. 이 때, 인터 예측에 사용되는 픽처들은 참조 픽처 세트(reference picture set) 혹은 참조 픽처 리스트(reference picture list)에 의해 지정될 수 있다.
도 2는 본 발명이 적용될 수 있는 비디오 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 2를 참조하면, 비디오 디코딩 장치(200)는 엔트로피 디코딩부(210), 레지듀얼 처리부(220), 예측부(230), 가산부(240), 필터부(250) 및 메모리(260)을 포함할 수 있다. 여기서 레지듀얼 처리부(220)는 재정렬부(221), 역양자화부(222), 역변환부(223)을 포함할 수 있다.
비디오 정보를 포함하는 비트스트림이 입력되면, 비디오 디코딩 장치(200)는 비디오 인코딩 장치에서 비디오 정보가 처리된 프로세스에 대응하여 비디오를 복원할 수 있다.
예컨대, 비디오 디코딩 장치(200)는 비디오 인코딩 장치에서 적용된 처리 유닛을 이용하여 비디오 디코딩을 수행할 수 있다. 따라서 비디오 디코딩의 처리 유닛 블록은 일 예로 코딩 유닛일 수 있고, 다른 예로 코딩 유닛, 예측 유닛 또는 변환 유닛일 수 있다. 코딩 유닛은 최대 코딩 유닛으로부터 쿼드 트리 구조 및/또는 바이너리 트리 구조를 따라서 분할될 수 있다.
예측 유닛 및 변환 유닛이 경우에 따라 더 사용될 수 있으며, 이 경우 예측 블록은 코딩 유닛으로부터 도출 또는 파티셔닝되는 블록으로서, 샘플 예측의 유닛일 수 있다. 이 때, 예측 유닛은 서브 블록으로 나뉠 수도 있다. 변환 유닛은 코딩 유닛으로부터 쿼드 트리 구조를 따라서 분할 될 수 있으며, 변환 계수를 유도하는 유닛 또는 변환 계수로부터 레지듀얼 신호를 유도하는 유닛일 수 있다.
엔트로피 디코딩부(210)는 비트스트림을 파싱하여 비디오 복원 또는 픽처 복원에 필요한 정보를 출력할 수 있다. 예컨대, 엔트로피 디코딩부(210)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 비디오 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다.
보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈(bin)의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다.
엔트로피 디코딩부(210)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(230)로 제공되고, 엔트로피 디코딩부(210)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수는 재정렬부(221)로 입력될 수 있다.
재정렬부(221)는 양자화되어 있는 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 재정렬부(221)는 인코딩 장치에서 수행된 계수 스캐닝에 대응하여 재정렬을 수행할 수 있다. 여기서 재정렬부(221)는 별도의 구성으로 설명하였으나, 재정렬부(221)는 역양자화부(222)의 일부일 수 있다.
역양자화부(222)는 양자화되어 있는 변환 계수들을 (역)양자화 파라미터를 기반으로 역양자화하여 변환 계수를 출력할 수 있다. 이 때, 양자화 파라미터를 유도하기 위한 정보는 인코딩 장치로부터 시그널링될 수 있다.
역변환부(223)는 변환 계수들을 역변환하여 레지듀얼 샘플들을 유도할 수 있다.
예측부(230)는 현재 블록에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(230)에서 수행되는 예측의 단위는 코딩 블록일 수도 있고, 변환 블록일 수도 있고, 예측 블록일 수도 있다.
예측부(230)는 상기 예측에 관한 정보를 기반으로 인트라 예측을 적용할 것인지 인터 예측을 적용할 것인지를 결정할 수 있다. 이 때, 인트라 예측과 인터 예측 중 어느 것을 적용할 것인지를 결정하는 단위와 예측 샘플을 생성하는 단위는 상이할 수 있다. 아울러, 인터 예측과 인트라 예측에 있어서 예측 샘플을 생성하는 단위 또한 상이할 수 있다. 예를 들어, 인터 예측과 인트라 예측 중 어느 것을 적용할 것인지는 CU 단위로 결정할 수 있다. 또한 예를 들어, 인터 예측에 있어서 PU 단위로 예측 모드를 결정하고 예측 샘플을 생성할 수 있고, 인트라 예측에 있어서 PU 단위로 예측 모드를 결정하고 TU 단위로 예측 샘플을 생성할 수도 있다.
인트라 예측의 경우에, 예측부(230)는 현재 픽처 내의 주변 참조 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(230)는 현재 블록의 주변 참조 샘플을 기반으로 방향성 모드 또는 비방향성 모드를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이 때, 주변 블록의 인트라 예측 모드를 이용하여 현재 블록에 적용할 예측 모드가 결정될 수도 있다.
인터 예측의 경우에, 예측부(230)는 참조 픽처 상에서 움직임 벡터에 의해 참조 픽처 상에서 특정되는 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(230)는 스킵(skip) 모드, 머지(merge) 모드 및 MVP 모드 중 어느 하나를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이때, 비디오 인코딩 장치에서 제공된 현재 블록의 인터 예측에 필요한 움직임 정보, 예컨대 움직임 벡터, 참조 픽처 인덱스 등에 관한 정보는 상기 예측에 관한 정보를 기반으로 획득 또는 유도될 수 있다
스킵 모드와 머지 모드의 경우에, 주변 블록의 움직임 정보가 현재 블록의 움직임 정보로 이용될 수 있다. 이 때, 주변 블록은 공간적 주변 블록과 시간적 주변 블록을 포함할 수 있다.
예측부(230)는 가용한 주변 블록의 움직임 정보로 머지 후보 리스트를 구성하고, 머지 인덱스가 머지 후보 리스트 상에서 지시하는 정보를 현재 블록의 움직임 벡터로 사용할 수 있다. 머지 인덱스는 인코딩 장치로부터 시그널링될 수 있다. 움직임 정보는 움직임 벡터와 참조 픽처를 포함할 수 있다. 스킵 모드와 머지 모드에서 시간적 주변 블록의 움직임 정보가 이용되는 경우에, 참조 픽처 리스트 상의 최상위 픽처가 참조 픽처로서 이용될 수 있다.
스킵 모드의 경우, 머지 모드와 달리 예측 샘플과 원본 샘플 사이의 차이(레지듀얼)이 전송되지 않는다.
MVP 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하여 현재 블록의 움직임 벡터가 유도될 수 있다. 이 때, 주변 블록은 공간적 주변 블록과 시간적 주변 블록을 포함할 수 있다.
일 예로, 머지 모드가 적용되는 경우, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 머지 후보 리스트가 생성될 수 있다. 머지 모드에서는 머지 후보 리스트에서 선택된 후보 블록의 움직임 벡터가 현재 블록의 움직임 벡터로 사용된다. 상기 예측에 관한 정보는 상기 머지 후보 리스트에 포함된 후보 블록들 중에서 선택된 최적의 움직임 벡터를 갖는 후보 블록을 지시하는 머지 인덱스를 포함할 수 있다. 이 때, 예측부(230)는 상기 머지 인덱스를 이용하여, 현재 블록의 움직임 벡터를 도출할 수 있다.
다른 예로, MVP(Motion Vector Prediction) 모드가 적용되는 경우, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 움직임 벡터 예측자 후보 리스트가 생성될 수 있다. 즉, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터는 움직임 벡터 후보로 사용될 수 있다. 상기 예측에 관한 정보는 상기 리스트에 포함된 움직임 벡터 후보 중에서 선택된 최적의 움직임 벡터를 지시하는 예측 움직임 벡터 인덱스를 포함할 수 있다. 이 때, 예측부(230)는 상기 움직임 벡터 인덱스를 이용하여, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보 중에서, 현재 블록의 예측 움직임 벡터를 선택할 수 있다. 인코딩 장치의 예측부는 현재 블록의 움직임 벡터와 움직임 벡터 예측자 간의 움직임 벡터 차분(MVD)을 구할 수 있고, 이를 인코딩하여 비트스트림 형태로 출력할 수 있다. 즉, MVD는 현재 블록의 움직임 벡터에서 상기 움직임 벡터 예측자를 뺀 값으로 구해질 수 있다. 이 때, 예측부(230)는 상기 예측에 관한 정보에 포함된 움직임 벡터 차분을 획득하고, 상기 움직임 벡터 차분과 상기 움직임 벡터 예측자의 가산을 통해 현재 블록의 상기 움직임 벡터를 도출할 수 있다. 예측부는 또한 참조 픽처를 지시하는 참조 픽처 인덱스 등을 상기 예측에 관한 정보로부터 획득 또는 유도할 수 있다.
가산부(240)는 레지듀얼 샘플과 예측 샘플을 더하여 현재 블록 혹은 현재 픽처를 복원할 수 있다. 가산부(240)는 레지듀얼 샘플과 예측 샘플을 블록 단위로 더하여 현재 픽처를 복원할 수도 있다. 스킵 모드가 적용된 경우에는 레지듀얼이 전송되지 않으므로, 예측 샘플이 복원 샘플이 될 수 있다. 여기서는 가산부(240)를 별도의 구성으로 설명하였으나, 가산부(240)는 예측부(230)의 일부일 수도 있다. 한편, 가산부(240)는 복원부 또는 복원 블록 생성부로 불릴 수도 있다.
필터부(250)는 복원된 픽처에 디블록킹 필터링 샘플 적응적 오프셋, 및/또는 ALF 등을 적용할 수 있다. 이 때, 샘플 적응적 오프셋은 샘플 단위로 적용될 수 있으며, 디블록킹 필터링 이후 적용될 수도 있다. ALF는 디블록킹 필터링 및/또는 샘플 적응적 오프셋 이후 적용될 수도 있다.
메모리(260)는 복원 픽처(디코딩된 픽처) 또는 디코딩에 필요한 정보를 저장할 수 있다. 여기서 복원 픽처는 상기 필터부(250)에 의하여 필터링 절차가 완료된 복원 픽처일 수 있다. 예컨대, 메모리(260)는 인터 예측에 사용되는 픽처들을 저장할 수 있다. 이 때, 인터 예측에 사용되는 픽처들은 참조 픽처 세트 혹은 참조 픽처 리스트에 의해 지정될 수도 있다. 복원된 픽처는 다른 픽처에 대한 참조 픽처로서 이용될 수 있다. 또한, 메모리(260)는 복원된 픽처를 출력 순서에 따라서 출력할 수도 있다.
한편, 인터 예측에 있어서 AMVP(Advanced Motion Vector Prediction) 모드가 적용되는 경우, 상술한 내용과 같이 현재 블록의 공간적 주변 블록 및/또는 시간적 주변 블록의 움직임 벡터를 기반으로 움직임 벡터 예측자(Motion Vector Predictor, MVP) 후보 리스트가 생성될 수 있고, 획득된 MVP 인덱스를 기반으로 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 상기 현재 블록의 MVP(Motion Vector Predictor)가 도출될 수 있다. 이 경우, 디코딩 장치는 비트스트림을 통하여 상기 현재 블록의 움직임 벡터 차분(Motion Vector Difference, MVD)을 획득할 수 있고, 상기 MVP와 상기 MVD 의 가산을 통해 상기 현재 블록의 움직임 벡터를 도출할 수 있다.
하지만, 상기 MVD 를 전송하기 위하여 많은 비트량이 할당되고, 전반적인 코딩 효율이 저하되는 문제가 발생될 수 있다. 또한, 머지 모드가 적용되는 경우, 주변 블록들을 기반으로 구성된 머지 후보 리스트의 머지 후보들 중 상기 현재 블록의 움직임 정보가 도출되는바, 상기 MVD 가 전송되는 AMVP 모드에 비하여 예측 정확도가 저하될 수 있다.
이에, 본 발명은 기존 MVD 대신 인덱스 정보들을 시그널링하고, 시그널링된 인덱스 정보 및 기정의(pre-define)된 LUT(Look-Up Table)을 기반으로 MVD를 도출하고, 도출된 MVD 및 MVP 를 기반으로 현재 블록의 움직임 정보를 복원하는 방법을 제안한다. 본 발명에서 제안하는 방안은 기존 머지 모드와 AMVP 모드의 중간 역할로써, 상기 머지 모드 대비 더 상세한 움직임 정보을 전달할 수 있는 장점이 있으며, 상기 AMVP 모드 대비 비트량을 저감할 수 있는 장점이 있다.
일 실시예로, 3개의 인덱스들이 시그널링되고, 디코딩 장치는 상기 인덱스들과 기정의된 LUT 을 참조하여 현재 블록의 움직임 정보를 복원하는 방안이 제안될 수 있다.
예를 들어, 후보 인덱스가 시그널링될 수 있다. 디코딩 장치는 주변 블록을 기반으로 도출된 움직임 정보 후보 리스트의 움직임 정보 후보들 중 하나를 나타내는 후보 인덱스를 획득할 수 있고, 상기 후보 인덱스가 나타내는 움직임 정보 후보를 베이스(base) 움직임 정보(예를 들어, MVP)로 사용할 수 있다. 여기서, 상기 움직임 정보 후보 리스트는 MVP 후보 리스트를 나타낼 수 있고, 상기 움직임 정보 후보들은 MVP 후보들을 나타낼 수 있고, 상기 후보 인덱스는 MVP 인덱스를 나타낼 수 있다. 또는, 상기 움직임 정보 후보 리스트는 머지 후보 리스트를 나타낼 수 있고, 상기 움직임 정보 후보들은 머지 후보들을 나타낼 수 있고, 상기 후보 인덱스는 머지 인덱스를 나타낼 수 있다. 이 경우, 상기 머지 후보들 중 하나를 가리키는 인덱스(예를 들어, 머지 인덱스)가 획득될 수 있고, 상기 인덱스가 가리키는 머지 후보가 베이스 움직임 정보로 사용될 수 있다.
상기 움직임 정보 후보들의 후보 인덱스는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000001
표 1을 참조하면 상기 후보 인덱스의 값이 0 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 첫번째 MVP 후보를 가리킬 수 있고, 상기 후보 인덱스의 값이 1 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 두번째 MVP 후보를 가리킬 수 있고, 상기 후보 인덱스의 값이 2 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 세번째 MVP 후보를 가리킬 수 있고, 상기 후보 인덱스의 값이 3 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 네번째 MVP 후보를 가리킬 수 있다.
또한, 상기 후보 인덱스 및 상기 표 1을 기반으로 디코딩된 베이스 움직임 정보를 기준으로 나타내는 MVD 를 디코딩하기 위한 정보가 추가적으로 전송될 수 있다. 예를 들어, MVD 의 거리(distance)를 나타내는 거리(distance) 인덱스가 시그널링될 수 있다. 상기 MVD의 거리는 상기 MVD의 사이즈라고 나타낼 수도 있다. 상기 거리 인덱스의 값과 기설정된 LUT 를 기반으로 상기 MVD 의 거리가 도출될 수 있다. 즉, 상기 거리 인덱스에 해당하는 MVD의 거리를 상기 LUT 에서 참조하여 상기 MVD가 디코딩될 수 있다.
상기 MVD의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000002
상술한 표 2와 같은 LUT를 기반으로 상기 거리 인덱스의 값에 해당하는 상기 MVD의 거리가 도출될 수 있다. 예를 들어, 상기 표 2를 참조하면 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 거리는 1/4 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 거리는 1/2 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 거리는 1 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 거리는 2 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 4 인 경우, 상기 MVD의 거리는 4 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 5 인 경우, 상기 MVD의 거리는 8 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 6 인 경우, 상기 MVD의 거리는 16 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 7 인 경우, 상기 MVD의 거리는 32 펠로 도출될 수 있다.
또한, 예를 들어, 상기 MVD 의 부호를 나타내는 인덱스가 시그널링될 수 있다. 상기 부호는 방향을 나타낼 수 있다. 즉, 상기 MVD 의 방향(direction)을 나타내는 디렉션 인덱스가 시그널링될 수 있다. 상기 디렉션 인덱스의 값과 기설정된 LUT 를 기반으로 상기 MVD 의 디렉션이 도출될 수 있다. 즉, 상기 디렉션 인덱스에 해당하는 MVD의 디렉션을 상기 LUT 에서 참조하여 상기 MVD가 디코딩될 수 있다.
상기 MVD의 디렉션에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000003
상술한 표 3와 같은 LUT를 기반으로 상기 디렉션 인덱스의 값에 해당하는 상기 MVD의 디렉션이 도출될 수 있다. 예를 들어, 상기 표 3을 참조하면 상기 디렉션 인덱스의 값이 00 인 경우, 상기 MVD 의 방향은 x 축에서 양의 방향(positive direction)으로 도출될 수 있다. 상기 MVD 의 거리가 n인 경우, 상기 MVD 는 (n, 0)으로 도출될 수 있다. 또한, 상기 표 3을 참조하면 상기 디렉션 인덱스의 값이 01 인 경우, 상기 MVD 의 방향은 x 축에서 음의 방향(negative direction)으로 도출될 수 있다. 상기 MVD 의 거리가 n인 경우, 상기 MVD 는 (-n, 0)으로 도출될 수 있다. 또한, 상기 표 3을 참조하면 상기 디렉션 인덱스의 값이 10 인 경우, 상기 MVD 의 방향은 y 축에서 양의 방향으로 도출될 수 있다. 상기 MVD 의 거리가 n인 경우, 상기 MVD 는 (0, n)으로 도출될 수 있다. 또한, 상기 표 3을 참조하면 상기 디렉션 인덱스의 값이 11 인 경우, 상기 MVD 의 방향은 y 축에서 음의 방향으로 도출될 수 있다. 상기 MVD 의 거리가 n인 경우, 상기 MVD 는 (0, -n)으로 도출될 수 있다. 한편, 상술한 바와 같이 상기 MVD 는 상기 MVD 의 거리에 상기 방향을 곱하여 도출될 수 있고, 상기 양의 방향은 1, 상기 음의 방향은 -1을 나타낼 수 있다. 또한, 상기 표 3의 N/A 는 0으로 나타낼 수 있다.
시그널링된 인덱스와 기정의된 LUT 을 참조하여 현재 블록의 MVD 를 도출하는 다른 일 실시예로, MVD 의 x 축, y 축 성분들 각각에 대한 인덱스를 별도로 시그널링하는 방안이 제안될 수 있다. 즉, 현재 블록의 MVD 의 x성분에 대한 거리 인덱스 및 디렉션 인덱스가 시그널링될 수 있고, 상기 MVD의 y성분에 대한 거리 인덱스 및 디렉션 인덱스가 시그널링될 수 있다.
먼저, 예를 들어, 상기 현재 블록에 대한 후보 인덱스가 시그널링될 수 있다. 디코딩 장치는 주변 블록을 기반으로 도출된 움직임 정보 후보 리스트의 움직임 정보 후보들 중 하나를 나타내는 후보 인덱스를 획득할 수 있고, 상기 후보 인덱스가 나타내는 움직임 정보 후보를 상기 현재 블록의 베이스(base) 움직임 정보로 사용할 수 있다.
상기 움직임 정보 후보들의 후보 인덱스는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000004
표 4를 참조하면 상기 후보 인덱스의 값이 0 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 첫번째 MVP 후보를 가리킬 수 있고, 상기 후보 인덱스의 값이 1 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 두번째 MVP 후보를 가리킬 수 있고, 상기 후보 인덱스의 값이 2 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 세번째 MVP 후보를 가리킬 수 있고, 상기 후보 인덱스의 값이 3 인 경우, 상기 후보 인덱스는 상기 MVP 후보 리스트에 포함된 MVP 후보들 중 네번째 MVP 후보를 가리킬 수 있다.
또한, 예를 들어, MVD 의 x성분의 거리(distance)를 나타내는 인덱스가 시그널링될 수 있다. 상기 인덱스는 x성분 거리 인덱스라고 나타낼 수 있다. 상기 MVD의 x성분의 거리는 상기 MVD의 x성분의 사이즈라고 나타낼 수도 있다. 상기 x성분 거리 인덱스의 값과 기설정된 LUT 를 기반으로 상기 MVD 의 x성분의 거리가 도출될 수 있다. 즉, 상기 x성분 거리 인덱스에 해당하는 MVD의 x성분의 거리를 상기 LUT 에서 참조하여 상기 MVD가 디코딩될 수 있다.
상기 MVD의 x성분의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000005
상술한 표 5와 같은 LUT를 기반으로 상기 x성분 거리 인덱스의 값에 해당하는 상기 MVD의 x성분의 거리가 도출될 수 있다. 예를 들어, 상기 표 5를 참조하면 상기 x성분 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1/4 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 1/2 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 2 펠로 도출될 수 있다.
또한, 예를 들어, MVD 의 y성분의 거리(distance)를 나타내는 인덱스가 시그널링될 수 있다. 상기 인덱스는 y성분 거리 인덱스라고 나타낼 수 있다. 상기 MVD의 y성분의 거리는 상기 MVD의 y성분의 사이즈라고 나타낼 수도 있다. 상기 y성분 거리 인덱스의 값과 기설정된 LUT 를 기반으로 상기 MVD 의 y성분의 거리가 도출될 수 있다. 즉, 상기 y성분 거리 인덱스에 해당하는 MVD의 y성분의 거리를 상기 LUT 에서 참조하여 상기 MVD가 디코딩될 수 있다.
상기 MVD의 y성분의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000006
상술한 표 6과 같은 LUT를 기반으로 상기 y성분 거리 인덱스의 값에 해당하는 상기 MVD의 y성분의 거리가 도출될 수 있다. 예를 들어, 상기 표 6을 참조하면 상기 y성분 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1/4 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 1/2 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 2 펠로 도출될 수 있다.
또한, 예를 들어, 상기 MVD 의 x성분의 부호를 나타내는 인덱스가 시그널링될 수 있다. 상기 부호는 방향을 나타낼 수 있다. 즉, 상기 MVD 의 x성분의 방향(direction)을 나타내는 x성분 디렉션 인덱스가 시그널링될 수 있다. 상기 x성분 디렉션 인덱스의 값과 기설정된 LUT 를 기반으로 상기 MVD 의 x성분의 디렉션이 도출될 수 있다. 즉, 상기 x성분 디렉션 인덱스에 해당하는 MVD의 x성분의 디렉션을 상기 LUT 에서 참조하여 상기 MVD가 디코딩될 수 있다.
상기 MVD의 x성분의 디렉션에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000007
상술한 표 7와 같은 LUT를 기반으로 상기 x성분 디렉션 인덱스의 값에 해당하는 상기 MVD의 x성분의 디렉션이 도출될 수 있다. 예를 들어, 상기 표 7을 참조하면 상기 x성분 디렉션 인덱스의 값이 0 인 경우, 상기 MVD 의 x성분의 방향은 양의 방향(positive direction)으로 도출될 수 있다. 상기 MVD 의 x성분의 거리가 n인 경우, 상기 MVD 의 x성분은 n 으로 도출될 수 있다. 또한, 상기 표 7을 참조하면 상기 x성분 디렉션 인덱스의 값이 1 인 경우, 상기 MVD 의 x성분의 방향은 음의 방향(negative direction)으로 도출될 수 있다. 상기 MVD 의 x성분의 거리가 n인 경우, 상기 MVD 의 x성분은 -n 으로 도출될 수 있다.
또한, 예를 들어, 상기 MVD 의 y성분의 부호를 나타내는 인덱스가 시그널링될 수 있다. 상기 부호는 방향을 나타낼 수 있다. 즉, 상기 MVD 의 y성분의 방향(direction)을 나타내는 y성분 디렉션 인덱스가 시그널링될 수 있다. 상기 y성분 디렉션 인덱스의 값과 기설정된 LUT 를 기반으로 상기 MVD 의 y성분의 디렉션이 도출될 수 있다. 즉, 상기 y성분 디렉션 인덱스에 해당하는 MVD의 y성분의 디렉션을 상기 LUT 에서 참조하여 상기 MVD가 디코딩될 수 있다.
상기 MVD의 y성분의 디렉션에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000008
상술한 표 8과 같은 LUT를 기반으로 상기 y성분 디렉션 인덱스의 값에 해당하는 상기 MVD의 y성분의 디렉션이 도출될 수 있다. 예를 들어, 상기 표 8을 참조하면 상기 y성분 디렉션 인덱스의 값이 0 인 경우, 상기 MVD 의 y성분의 방향은 양의 방향(positive direction)으로 도출될 수 있다. 상기 MVD 의 y성분의 거리가 n인 경우, 상기 MVD 의 y성분은 n 으로 도출될 수 있다. 또한, 상기 표 8을 참조하면 상기 y성분 디렉션 인덱스의 값이 1 인 경우, 상기 MVD 의 y성분의 방향은 음의 방향(negative direction)으로 도출될 수 있다. 상기 MVD 의 y성분의 거리가 n인 경우, 상기 MVD 의 y성분은 -n 으로 도출될 수 있다.
한편, 본 발명은 상기 현재 블록에 대한 MVP 후보 리스트를 도출함에 있어서, 머지 후보 리스트와의 유니피케이션(unification)을 위하여 동일한 후보 리스트를 사용하는 방안을 제안한다. 즉, 상기 MVP 후보 리스트를 도출하기 위한 주변 블록들이 상기 머지 후보 리스트를 도출하기 위한 주변 블록들과 동일할 수 있다.
도 3은 머지 모드에서 머지 후보를 도출하기 위하여 참조되는 주변 블록을 예시적으로 나타낸다.
도 3의 (a), (b), (c) 는 공간적 주변 블록들을 나타낼 수 있고, 도 3의 (d) 는 시간적 주변 블록들을 나타낼 수 있다. 현재 블록의 머지 후보 리스트는 상기 공간적 주변 블록들 및 시간적 주변 블록들의 움직임 정보를 기반으로 구성될 수 있다. 예를 들어, 디코딩 장치는 상기 공간적 주변 블록들 및 상기 시간적 주변 블록들의 움직임 정보를 머지 후보로 도출하여 상기 머지 후보 리스트를 구성할 수 있다. 또한, MVP 후보 리스트도 상기 공간적 주변 블록들 및 시간적 주변 블록들의 움직임 정보를 기반으로 구성될 수 있다.
도 3의 (a)를 참조하면 상기 현재 블록의 사이즈가 2Nx2N 인 경우, 상기 공간적 주변 블록들은 좌측 주변 블록, 상측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 2Nx2N 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 좌측 주변 블록은 (-1, 2N-1) 좌표의 샘플을 포함하는 블록이고, 상기 상측 주변 블록은 (2N-1, -1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (2N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, 2N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
도 3의 (b)를 참조하면 상기 현재 블록의 사이즈가 2NxN 인 경우, 상기 공간적 주변 블록들은 상측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 2NxN 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 상측 주변 블록은 (N-1, -1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, 2N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
도 3의 (c)를 참조하면 상기 현재 블록의 사이즈가 Nx2N 인 경우, 상기 공간적 주변 블록들은 좌측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 Nx2N 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 좌측 주변 블록은 (-1, N-1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (2N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
도 3의 (d)를 참조하면 상기 시간적 주변 블록들은 콜러케이티드 픽처(collocated picture) 내 상기 현재 블록의 동일 위치 블록의 센터 우하단 블록 및/또는 상기 동일 위치 블록의 우하측 코너 주변 블록을 포함할 수 있다. 상기 동일 위치 블록은 상기 현재 블록의 포지션과 대응하는 상기 콜러케이티드 픽처 내 포지션에 위치하는 블록을 나타낼 수 있다.
또한, 본 발명에서는, 일 실시예로 머지 후보를 더욱 효율적으로 공유하기 위하여, 머지 후보의 종류에 따라서 상술한 추가적인 정보(즉, 인덱스 정보)를 기반으로 MVD 를 도출하는 방법을 사용할지 여부를 결정하고, 적응적으로 신텍스 정보를 파싱하는 방안이 제안될 수 있다. 예를 들어, 기존 머지 모드에는 서브 블록으로 각기 다른 움직임 정보를 갖는 머지 후보가 존재할 수 있으며, 디코딩 장치는 상기 움직임 정보를 사용하여 예측을 수행할 수 있다. 즉, 기존 머지 모드는 서브 블록 단위 움직임 정보를 나타내는 머지 후보를 도출하고, 상기 머지 후보를 기반으로 상기 현재 블록의 서브 블록 단위 움직임 정보를 도출하는 모드를 포함할 수 있다. 이와 같은 경우, 본 발명에서 제안하는 추가적인 정보(즉, 인덱스 정보)를 기반으로 MVD 를 도출하는 방법이 효율적으로 동작하지 않을 수 있기에 상술한 경우에는 제안하는 방법이 적용되지 않을 수 있으며, 이에 따라 적응적으로 신텍스 정보가 시그널링될 수 있다. 예를 들어, 상기 추가적인 정보(즉, 인덱스 정보)를 기반으로 MVD 를 도출하는 방법이 사용되는 경우, 상기 서브 블록 단위 움직임 정보를 나타내는 머지 후보를 도출하는 방법은 사용되지 않을 수 있다.
도 4는 상술한 추가적인 정보를 기반으로 MVD 를 도출하는 방법을 적용하는 일 예를 나타낸다.
디코딩 장치는 후보 인덱스를 디코딩할 수 있다(S400). 디코딩 장치는 현재 블록의 주변 블록을 기반으로 움직임 정보 후보 리스트를 구성할 수 있고, 상기 움직임 정보 후보 리스트의 움직임 정보 후보들 중 하나를 가리키는 상기 후보 인덱스를 디코딩할 수 있다. 디코딩 장치는 상기 후보 인덱스가 가리키는 움직임 정보 후보를 선택할 수 있다.
디코딩 장치는 상기 선택된 움직임 정보 후보가 서브 블록 단위 움직임 정보인지 판단할 수 있다(S410). 디코딩 장치는 상기 선택된 움직임 정보 후보를 기반으로 상기 현재 블록에 대하여 서브 블록 단위 움직임 정보가 도출되는지 판단할 수 있다.
상기 선택된 움직임 정보 후보가 서브 블록 단위 움직임 정보가 아닌 경우, 디코딩 장치는 상기 선택된 움직임 정보 후보를 기반으로 상기 현재 블록의 움직임 정보가 도출되는지 판단할 수 있다(S420).
상기 현재 블록의 움직임 정보로 도출되지 않는 경우, 디코딩 장치는 본 발명에서 제안된 추가적인 정보를 기반으로 MVD 를 도출하는지 여부를 나타내는 플래그 정보를 디코딩할 수 있고(S430), 상기 플래그 정보를 기반으로 상기 추가적인 정보를 기반으로 상기 MVD 를 도출하는지 여부를 판단할 수 있다(S440).
상기 플래그 정보를 기반으로 상기 추가적인 정보를 기반으로 상기 MVD 를 도출한다고 판단된 경우, 디코딩 장치는 추가적인 신텍스 정보를 디코딩할 수 있다(S450). 상기 추가적인 신텍스 정보는 상술한 후보 인덱스, 거리 인덱스 및/또는 디렉션 인덱스를 포함할 수 있다. 이후, 상기 정보들 및 기설정된 LUT 를 기반으로 상기 현재 블록의 MVD 가 도출될 수 있고, 상기 MVD 및 베이스 움직임 정보를 기반으로 상기 현재 블록에 대한 움직임 정보가 도출될 수 있다.
또한, 본 발명은 상기 MVD의 거리에 대한 LUT에 다른 일 실시예를 제안한다. 예를 들어, 상기 MVD 가 가산된 움직임 정보가 주변 가까운 포지션(position)만을 가리킬 수 있도록 하여 머지(merge)를 보다 효율적으로 할 수 있다.
상기 MVD의 x성분의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000009
상술한 표 9와 같은 LUT를 기반으로 상기 x성분 거리 인덱스의 값에 해당하는 상기 MVD의 x성분의 거리가 도출될 수 있다. 예를 들어, 상기 표 9를 참조하면 상기 x성분 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1/4 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 1/2 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 3/4 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있다.
또한, 상기 MVD의 y성분의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000010
상술한 표 10과 같은 LUT를 기반으로 상기 y성분 거리 인덱스의 값에 해당하는 상기 MVD의 y성분의 거리가 도출될 수 있다. 예를 들어, 상기 표 10을 참조하면 상기 y성분 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1/4 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 1/2 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 3/4 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있다.
또한, 본 발명은 상기 MVD의 거리에 대한 LUT에 다른 일 실시예로, AMVR의 효과를 극대화 하기 위한 LUT 가 제안될 수 있다.
예를 들어, 상기 MVD의 x성분의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000011
상술한 표 11과 같은 LUT를 기반으로 상기 x성분 거리 인덱스의 값에 해당하는 상기 MVD의 x성분의 거리가 도출될 수 있다. 예를 들어, 상기 표 11을 참조하면 상기 x성분 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 2 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 4 펠로 도출될 수 있고, 상기 x성분 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 8 펠로 도출될 수 있다.
또한, 예를 들어, 상기 MVD의 y성분의 거리에 대한 LUT는 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2019006038-appb-T000012
상술한 표 12와 같은 LUT를 기반으로 상기 y성분 거리 인덱스의 값에 해당하는 상기 MVD의 y성분의 거리가 도출될 수 있다. 예를 들어, 상기 표 12를 참조하면 상기 y성분 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 2 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 4 펠로 도출될 수 있고, 상기 y성분 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 8 펠로 도출될 수 있다.
또한, 상술한 LUT 이외에도 거리의 발생 확률을 기반으로 다양한 기정의된 MVD LUT 가 사용될 수 있다. 예를 들어, 상기 MVD LUT 는 하이 레벨을 통하여 시그널링될 수 있다. 상기 하이 레벨은 VPS(Video Parameter Set), SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 세그먼트 헤더(Slice segment header) 또는 코딩 유닛 헤더(Coding unit header) 등을 나타낼 수 있다. 또한, 이전 프레임에서 사용된 LUT 를 그대로 사용할지 여부를 나타내는 플래그 정보가 프레임 또는 슬라이스 레벨로 시그널링될 수 있고, 상기 플래그 정보를 기반으로 해당 프레임 또는 해당 슬라이스에서 이전 프레임에서 사용된 LUT 가 그대로 사용되는지 여부가 판단될 수 있고, 상기 이전 프레임에서 사용된 LUT 가 그대로 사용된다고 판단된 경우, 상기 LUT 가 해당 프레임 또는 해당 슬라이스에서 참조될 수 있다.
또한, 일 실시예로 상술한 추가적인 정보를 기반으로 MVD를 도출하는 방법이 사용되는 경우, AMVP 모드에서 AMVR을 사용하지 않는 방법이 제안될 수 있다. 상기 AMVR이 적용되는 블록은 대부분 균질한(homogenous) 블록이거나, 오브젝트(object)의 움직임이 커서 MVD가 크게 나타나는 블록일 수 있다. 이 경우, 상기 블록은 분수 펠(fractional pel)로 나타내는 것보다 부정확한 움직임 벡터 포지션(motion vector position)을 갖지만 상기 AMVR에 의하여 워스트 케이스(worst-case)가 커버될 수 있고, 이를 통하여 압축 성능이 향상될 수 있다. 따라서, 상술한 추가적인 정보를 기반으로 MVD를 도출하는 방법과 AMVR은 상충되는 면이 있기에 비트 오버헤드(bit overhead)를 줄이기 위하여, 상술한 추가적인 정보를 기반으로 MVD를 도출하는 방법이 적용되는 경우, AMVP 모드에 대한 상기 AMVR은 사용되지 않을 수 있고, 상기 AMVR 이 사용되는지 여부를 나타내는 플래그도 시그널링되지 않을 수 있다.
도 5는 상술한 추가적인 정보를 기반으로 MVD 를 도출하는 방법과 상기 AMVR을 적용하는 일 예를 나타낸다.
디코딩 장치는 상술한 추가적인 정보를 기반으로 MVD 를 도출하고, 상기 MVD 및 베이스 움직임 정보를 기반으로 상기 현재 블록의 움직임 정보를 도출하는 방법이 적용되는지 판단할 수 있다(S500). 상술한 추가적인 정보를 기반으로 MVD 를 도출하고, 상기 MVD 및 베이스 움직임 정보를 기반으로 상기 현재 블록의 움직임 정보를 도출하는 방법은 UMVI(Unified signaling for Motion Vector Information, UMVI)라고 나타낼 수도 있다. 또는, 상기 UMVI 는 MMVD(Merge with MVD)라고 나타낼 수도 있다.
상기 UMVI가 적용되지 않는 경우, 디코딩 장치는 AMVR 이 적용되는지 여부를 나타내는 AMVR 플래그를 파싱할 수 있다(S510).
상기 UMVI가 적용되는 경우, 디코딩 장치는 상기 MVD 및 베이스 움직임 정보를 기반으로 도출된 움직임 정보를 기반으로 상기 현재 블록에 대한 인터 예측을 수행할 수 있다.
또한, 일 실시예로 하이 레벨을 통하여 LUT를 시그널링하고, 이를 LUT를 후행하는 슬라이스 혹은 픽처 및 병렬 프로세싱(parallel processing)을 위한 디코딩 유닛(예를 들어, 타일(Tile)) 등 에서 참조할 수 있도록 하는 방법이 제안될 수 있다. 또한, 이전에 시그널링된 LUT가 그대로 사용할 것인지, 또는 새로운 LUT를 시그널링하여 사용할 것인지를 관리하는 방법이 제안될 수 있다.
도 6은 LUT 를 도출하는 일 예를 나타낸다.
예를 들어, 이니셜 LUT 는 디코딩 장치에 미리 고정되어 있을 수 있다. 즉, 적어도 하나의 LUT 가 디코딩 장치에 기정의될 수 있다.
도 6을 참조하면 디코딩 장치는 기정의된 LUT 가 존재하는 여부를 나타내는 플래그를 파싱할 수 있다(S600). 상기 플래그는 LUT 기정의(pre-define) 플래그라고 나타낼 수 있다. 디코딩 장치는 상기 플래그의 값이 1인지, 즉, 상기 플래그가 기정의된 LUT 가 존재함을 나타내는지 판단할 수 있다(S610).
상기 플래그의 값이 1인 경우, 즉, 상기 플래그가 기정의된 LUT 가 존재함을 나타내는 경우, 디코딩 장치는 LUT 를 가리키는 인덱스를 파싱할 수 있다(S620). 상기 인덱스는 상기 기정의된 LUT 중 하나를 가리킬 수 있다. 상기 인덱스는 LUT 인덱스라고 나타낼 수 있다. 디코딩 장치는 상기 인덱스가 가리키는 LUT 를 현재 리전에 대한 LUT 로 적용할 수 있고, 상기 현재 리전에 포함된 블록에 대한 추가적인 정보가 시그널링되는 경우, 상기 추가적인 정보 및 상기 현재 리전에 대한 LUT 를 기반으로 상기 블록의 MVD 를 도출할 수 있다. 상기 현재 리전은 픽처, 타일 또는 슬라이스일 수 있다. 상기 LUT 기정의 플래그 및/또는 상기 LUT 인덱스는 하이 레벨 신텍스(high level syntax)를 통하여 시그널링될 수 있다. 상기 하이 레벨 신텍스는 VPS(Video Parameter Set), SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 세그먼트 헤더(Slice segment header) 또는 코딩 유닛 헤더(Coding unit header) 등을 나타낼 수 있다. 상기 하이 레벨 신텍스는 하이 레벨이라고 불릴 수도 있다.
또한, 상기 플래그의 값이 0인 경우, 즉, 상기 플래그가 기정의된 LUT 가 존재하지 않음을 나타내는 경우, 디코딩 장치는 새로운 LUT 요소들에 대한 정보를 파싱할 수 있다(S630).
도 7은 랜덤 액세스(Random access) 구조를 예시적으로 나타낸다. 도 7은 프레임들의 인코딩/디코딩 순서를 나타낼 수 있다. 또한, 프레임의 상하 위치는 해당 프레임이 포함되는 템포럴 레이어(temporal layer)를 나타낼 수 있다. 예를 들어, tid(n) 은 해당 프레임의 템포럴 레이어 ID를 나타낼 수 있다. 도 7에 도시된 것과 같은 랜덤 액세스 구조를 위하여 각 템포럴 레이어에 대한 참조 LUT 는 별도로 관리될 수 있다.
도 8은 템포럴 레이어에 대한 참조 LUT 를 예시적으로 나타낸다. 예를 들어, 도 8에 도시된 것과 같이 템포럴 레이어에 대한 LUT 가 기설정될 수 있다.
한편, 본 발명은 랜덤 액세스 포인트(Random Access point)를 유지하기 위하여 IRAP(Intra Random Access Point) 픽처에서 참조 LUT를 리프레쉬(refresh)하는 방법을 제안한다.
또한, 일 예로, 추가적으로 각 템포럴 레이어에 대하여 최대 LUT 후보 개수가 설정되고, 최대(maximum) LUT 후보 개수 이내로 LUT 를 관리하는 방법이 제안될 수 있다. 예를 들어, 템포럴 레이어에 대한 최대 LUT 후보 개수를 초과하는 LUT 가 도출된 경우, 가장 선택 확률이 낮은 LUT부터 참조 구조, 즉, 상기 템포럴 레이어의 LUT 후보에서 제거될 수 있다.
도 9는 템포럴 레이어에 대한 LUT 후보를 관리하는 일 예를 나타낸다. 도 9를 참조하면 최대 LUT 후보 개수는 6일 수 있다. 도 9를 참조하면 템포럴 레이어 ID 가 4인 템포럴 레이어에 대하여 LUT 후보로 7개의 LUT 가 도출된바, 가장 낮은 선택 확률을 갖는 LUT 가 상기 템포럴 레이어에 대한 LUT 후보에서 제거될 수 있다.
또한, 일 예로, 추가적으로 픽처가 디코딩되면 각 템포럴 레이어의 LUT 참조 구조에서 LUT 순서를 선택 확률 기반으로 리오더링(reordering)하는 방법을 제안한다.
도 10은 템포럴 레이어에 대한 LUT 후보를 리오더링하는 일 예를 나타낸다. 도 10을 참조하면 각 템포럴 레이어에 대한 LUT 참조 구조에서 LUT 후보들은 선택 확률을 기반으로 순서가 변경될 수 있다. 이를 통하여 높은 선택 확률을 갖는 LUT가 적은 인덱스로 리오더링될 수 있고, LUT 를 도출하기 위한 인덱스에 적은 비트를 할당하는 장점이 발생할 수 있다.
도 11은 본 발명에 따른 인코딩 장치에 의한 영상 인코딩 방법을 개략적으로 나타낸다. 도 11에서 개시된 방법은 도 1에서 개시된 인코딩 장치에 의하여 수행될 수 있다. 구체적으로 예를 들어, 도 11의 S1100 내지 S1140은 상기 인코딩 장치의 예측부에 의하여 수행될 수 있고, S1150은 상기 인코딩 장치의 엔트로피 인코딩부에 의하여 수행될 수 있다. 또한, 비록 도시되지는 않았으나 현재 블록에 대한 원본 샘플과 예측 샘플을 기반으로 상기 현재 블록에 대한 레지듀얼 샘플을 도출하는 과정은 상기 인코딩 장치의 감산부에 의하여 수행될 수 있고, 상기 레지듀얼 샘플을 기반으로 상기 현재 블록에 대한 레지듀얼에 관한 정보를 생성하는 과정은 상기 인코딩 장치의 변환부에 의하여 수행될 수 있고, 상기 레지듀얼에 관한 정보를 포함하는 영상 정보를 인코딩하는 과정은 상기 인코딩 장치의 엔트로피 인코딩부에 의하여 수행될 수 있다.
인코딩 장치는 현재 블록에 대한 움직임 정보 후보 리스트를 구성한다(S1100). 인코딩 장치는 상기 현재 블록의 공간적 주변 블록들 및/또는 시간적 주변 블록들을 기반으로 상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성할 수 있다. 예를 들어, 상기 공간적 주변 블록들 및/또는 상기 시간적 주변 블록들의 움직임 정보는 상기 현재 블록에 대한 움직임 정보 후보로 도출될 수 있고, 상기 움직임 정보 후보를 포함하는 상기 움직임 정보 후보 리스트가 구성될 수 있다. 한편, 상기 움직임 정보 후보 리스트는 머지 후보 리스트 또는 MVP 후보 리스트를 나타낼 수 있고, 상기 움직임 정보 후보는 머지 후보 또는 MVP 후보를 나타낼 수 있다. 또한, 예를 들어, 상기 MVP 후보 리스트는 상기 머지 후보 리스트와 동일하게 구성될 수 있다.
또한, 예를 들어, 상기 현재 블록의 사이즈가 2Nx2N 인 경우, 상기 공간적 주변 블록들은 좌측 주변 블록, 상측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 2Nx2N 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 좌측 주변 블록은 (-1, 2N-1) 좌표의 샘플을 포함하는 블록이고, 상기 상측 주변 블록은 (2N-1, -1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (2N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, 2N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
또한, 예를 들어, 상기 현재 블록의 사이즈가 2NxN 인 경우, 상기 공간적 주변 블록들은 상측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 2NxN 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 상측 주변 블록은 (N-1, -1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, 2N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
또한, 예를 들어, 상기 현재 블록의 사이즈가 Nx2N 인 경우, 상기 공간적 주변 블록들은 좌측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 Nx2N 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 좌측 주변 블록은 (-1, N-1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (2N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
또한, 예를 들어, 상기 시간적 주변 블록들은 콜러케이티드 픽처(collocated picture) 내 상기 현재 블록의 동일 위치 블록의 센터 우하단 블록 및/또는 상기 동일 위치 블록의 우하측 코너 주변 블록을 포함할 수 있다. 상기 동일 위치 블록은 상기 현재 블록의 포지션과 대응하는 상기 콜러케이티드 픽처 내 포지션에 위치하는 블록을 나타낼 수 있다.
인코딩 장치는 상기 움직임 정보 후보 리스트를 기반으로 상기 현재 블록의 움직임 정보를 도출한다(S1110). 인코딩 장치는 상기 움직임 정보 후보 리스트의 움직임 정보 후보들 중 특정 움직임 정보 후보를 선택할 수 있고, 상기 선택된 움직임 정보 후보를 상기 현재 블록에 대한 움직임 정보로 도출할 수 있다. 또한, 인코딩 장치는 상기 움직임 정보 후보 리스트의 상기 움직임 정보 후보들 중 상기 선택된 움직임 정보 후보를 가리키는 후보 인덱스를 생성 및 인코딩할 수 있다. 상기 후보 인덱스는 상기 움직임 정보 후보들 중 상기 선택된 움직임 정보 후보를 가리킬 수 있다.
인코딩 장치는 LUT(Look-Up Table) 를 기반으로 상기 현재 블록의 MVD를 도출한다(S1120). 인코딩 장치는 상기 LUT 를 기반으로 상기 현재 블록의 MVD를 도출할 수 있다.
예를 들어, 인코딩 장치는 MVD 거리에 대한 LUT 에서 상기 MVD 의 거리를 도출할 수 있고, MVD 방향에 대한 LUT 에서 상기 MVD 의 방향을 도출할 수 있다. 이 경우, 상기 MVD 에 대한 인덱스 정보가 생성 및 인코딩될 수 있고, 인덱스 정보는 상기 MVD 에 대한 거리 인덱스 및 디렉션 인덱스를 포함할 수 있다. 상기 거리 인덱스는 MVD 거리에 대한 LUT 에서 상기 MVD의 거리를 나타낼 수 있고, 상기 디렉션 인덱스는 MVD 방향에 대한 LUT 에서 상기 MVD의 방향을 나타낼 수 있다. 즉, 상기 MVD의 거리(distance)는 MVD 거리에 대한 LUT 에서 상기 거리 인덱스의 값이 가리키는 거리로 도출될 수 있고, 상기 MVD의 방향(direction)은 MVD 방향에 대한 LUT 에서 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출될 수 있다.
여기서, 상기 MVD 거리에 대한 LUT 는 상술한 표 2 와 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 거리는 1/4 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 거리는 1/2 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 거리는 1 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 거리는 2 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 4 인 경우, 상기 MVD의 거리는 4 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 5 인 경우, 상기 MVD의 거리는 8 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 6 인 경우, 상기 MVD의 거리는 16 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 7 인 경우, 상기 MVD의 거리는 32 펠로 도출될 수 있다.
또한, 상기 MVD 방향에 대한 LUT 는 상술한 표 3 과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 디렉션 인덱스의 이진값이 00 인 경우, 상기 MVD 의 방향은 x 축에서 양의 방향(positive direction)으로 도출될 수 있고, 상기 디렉션 인덱스의 이진값이 01 인 경우, 상기 MVD 의 방향은 x 축에서 음의 방향(negative direction)으로 도출될 수 있고, 상기 디렉션 인덱스의 이진값이 10 인 경우, 상기 MVD 의 방향은 y 축에서 양의 방향으로 도출될 수 있고, 상기 디렉션 인덱스의 이진값이 11 인 경우, 상기 MVD 의 방향은 y 축에서 음의 방향으로 도출될 수 있다. 여기서, 상기 MVD 는 상기 MVD 의 거리에 상기 방향을 곱하여 도출될 수 있고, 상기 양의 방향은 1, 상기 음의 방향은 -1을 나타낼 수 있다. 또한, 상기 표 3의 N/A 는 0으로 나타낼 수 있다.
또한, 예를 들어, 인코딩 장치는 MVD x성분 거리에 대한 LUT 에서 상기 MVD 의 x성분의 거리를 도출할 수 있고, MVD x성분 방향에 대한 LUT 에서 상기 MVD 의 x성분의 방향을 도출할 수 있고, MVD y성분 거리에 대한 LUT 에서 상기 MVD 의 y성분의 거리를 도출할 수 있고, MVD y성분 방향에 대한 LUT 에서 상기 MVD 의 y성분의 방향을 도출할 수 있다. 이 경우, 상기 MVD 에 대한 인덱스 정보가 생성 및 인코딩될 수 있고, 인덱스 정보는 상기 MVD의 상기 x성분에 대한 거리 인덱스, 상기 x성분에 대한 디렉션 인덱스, 상기 MVD의 상기 y성분에 대한 거리 인덱스, 및 상기 y성분에 대한 디렉션 인덱스를 포함할 수 있다. 상기 x성분에 대한 거리 인덱스는 MVD x성분 거리에 대한 LUT 에서 상기 MVD의 상기 x성분의 거리를 나타낼 수 있고, 상기 x성분에 대한 디렉션 인덱스는 MVD x성분 방향에 대한 LUT 에서 상기 MVD의 상기 x성분의 방향을 나타낼 수 있고, 상기 y성분에 대한 거리 인덱스는 MVD y성분 거리에 대한 LUT 에서 상기 MVD의 상기 y성분의 거리를 나타낼 수 있고, 상기 y성분에 대한 디렉션 인덱스는 MVD y성분 방향에 대한 LUT 에서 상기 MVD의 상기 y성분의 방향을 나타낼 수 있다. 즉, 상기 MVD의 상기 x성분의 거리(distance)는 MVD x성분 거리에 대한 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 가리키는 거리로 도출될 수 있고, 상기 MVD의 상기 x성분의 방향(direction)은 MVD x성분 방향에 대한 LUT 에서 상기 x성분에 대한 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출될 수 있고, 상기 MVD의 상기 y성분의 거리는 MVD y성분 거리에 대한 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 가리키는 거리로 도출될 수 있고, 상기 MVD의 상기 y성분의 방향은 MVD y성분 방향에 대한 LUT 에서 상기 y성분에 대한 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출될 수 있다.
여기서, 상기 MVD x성분 거리에 대한 LUT 는 상술한 표 5, 표 9 또는 표 11과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1/4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 1/2 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 4 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1/4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 1/2 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 3/4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 2 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 8 펠로 도출될 수 있다.
또한, 상기 MVD y성분 거리에 대한 LUT 는 상술한 표 6, 표 10 또는 표 12와 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1/4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 1/2 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 4 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1/4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 1/2 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 3/4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 2 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 8 펠로 도출될 수 있다.
또한, 상기 MVD x성분 방향에 대한 LUT 는 상술한 표 7과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 디렉션 인덱스의 값이 0 인 경우, 상기 MVD 의 상기 x성분의 방향은 양의 방향(positive direction)으로 도출될 수 있고, 상기 x성분에 대한 상기 디렉션 인덱스의 값이 1 인 경우, 상기 MVD 의 상기 x성분의 방향은 음의 방향(negative direction)으로 도출될 수 있다.
또한, 상기 MVD y성분 방향에 대한 LUT 는 상술한 표 8과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 디렉션 인덱스의 값이 0 인 경우, 상기 MVD 의 상기 y성분의 방향은 양의 방향(positive direction)으로 도출될 수 있고, 상기 y성분에 대한 상기 디렉션 인덱스의 값이 1 인 경우, 상기 MVD 의 상기 y성분의 방향은 음의 방향(negative direction)으로 도출될 수 있다.
한편, 예를 들어, 상기 LUT 는 기설정될 수 있다.
또는, 예를 들어, 비트스트림을 통하여 상기 LUT 가 획득될 수 있다. 상기 LUT는 하이 레벨 신텍스를 통하여 시그널링될 수 있다. 상기 하이 레벨 신텍스는 VPS(Video Parameter Set), SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 세그먼트 헤더(Slice segment header) 또는 코딩 유닛 헤더(Coding unit header) 등을 나타낼 수 있다.
또는, 예를 들어, 현재 픽처의 템포럴 레이어(temporal layer)에 대한 LUT 후보들 중 특정 LUT 후보가 선택될 수 있고, 상기 선택된 LUT 후보가 상기 LUT 로 도출될 수 있다. 이 경우, 상기 선택된 LUT 후보를 가리키는 LUT 인덱스가 생성 및 인코딩될 수 있다. 또한, 상기 LUT 후보들이 존재하는지 여부를 나타내는 플래그가 생성 및 인코딩될 수 있다. 또한, 이전에 사용된 LUT 가 사용되는지 여부를 나타내는 플래그가 생성 및 인코딩될 수 있다. 한편, 예를 들어, 현재 픽처의 인코딩 시점에서 상기 템포럴 레이어에 대한 최대 LUT 후보 개수보다 많은 LUT 후보들이 존재하는 경우, 상기 LUT 후보들 중 선택 확률이 가장 낮은 LUT 후보는 제거될 수 있다. 또한, 예를 들어, 상기 LUT 후보들은 선택 확률이 높은 순서로 리오더링될 수 있다.
인코딩 장치는 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출한다(S1130). 인코딩 장치는 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출할 수 있다. 예를 들어, 상기 수정된 움직임 정보는 수정된 움직임 벡터를 포함할 수 있고, 상기 수정된 움직임 벡터는 상기 움직임 정보의 움직임 벡터와 상기 MVD의 가산을 통하여 도출될 수 있다.
인코딩 장치는 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행한다(S1140). 상기 수정된 움직임 정보를 기반으로 상기 현재 블록의 예측 블록이 도출될 수 있고, 상기 예측 블록을 기반으로 복원 블록이 도출될 수 있다. 구체적으로, 인코딩 장치는 상기 수정된 움직임 정보를 기반으로 참조 픽처 내 참조 블록을 도출할 수 있다. 상기 수정된 움직임 정보는 상기 수정된 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 인코딩 장치는 참조 픽처 리스트의 참조 픽처들 중 상기 참조 픽처 인덱스가 가리키는 참조 픽처를 상기 현재 블록의 참조 픽처로 도출할 수 있고, 상기 참조 픽처 내 상기 수정된 움직임 벡터가 가리키는 블록을 상기 현재 블록의 참조 블록으로 도출할 수 있다. 인코딩 장치는 상기 참조 블록을 기반으로 예측 샘플을 생성할 수 있다.
또한, 인코딩 장치는 원본 샘플과 상기 생성된 예측 샘플을 기반으로 레지듀얼(residual) 샘플을 생성할 수 있다. 인코딩 장치는 상기 레지듀얼 샘플을 기반으로 상기 레지듀얼에 관한 정보를 생성할 수 있다. 상기 레지듀얼에 관한 정보는 상기 레지듀얼 샘플에 관한 변환 계수들을 포함할 수 있다. 인코딩 장치는 상기 예측 샘플과 상기 레지듀얼 샘플을 기반으로 상기 복원 샘플을 도출할 수 있다. 즉, 인코딩 장치는 상기 예측 샘플과 상기 레지듀얼 샘플을 더하여 상기 복원 샘플을 도출할 수 있다. 또한, 인코딩 장치는 상기 레지듀얼에 관한 정보를 인코딩하여 비트스트림 형태로 출력할 수 있다. 상기 비트스트림은 네트워크 또는 저장매체를 통하여 디코딩 장치로 전송될 수 있다.
인코딩 장치는 상기 현재 블록의 예측 관련 정보를 포함하는 영상 정보를 인코딩한다(S1150). 인코딩 장치는 상기 현재 블록의 예측 관련 정보를 포함하는 영상 정보를 인코딩하여 비트스트림 형태로 출력할 수 있다. 상기 비트스트림은 네트워크 또는 저장매체를 통하여 디코딩 장치로 전송될 수 있다. 예를 들어, 인코딩 장치는 상기 현재 블록의 예측 모드를 결정할 수 있고, 상기 예측 모드를 나타내는 정보를 생성할 수 있다.
또한, 인코딩 장치는 LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 MVD 를 도출하는 예측 모드가 적용되는지 여부를 나타내는 플래그를 인코딩할 수 있다. 상기 예측 관련 정보는 상기 플래그를 포함할 수 있다.
또한, 예를 들어, 상기 예측 관련 정보는 상기 움직임 정보 후보 리스트의 상기 움직임 정보 후보들 중 상기 선택된 움직임 정보 후보를 가리키는 후보 인덱스를 포함할 수 있다. 또한, 예를 들어, 상기 예측 관련 정보는 상기 MVD 에 대한 인덱스 정보를 포함할 수 있다. 상기 인덱스 정보는 상기 MVD 에 대한 거리 인덱스 및 디렉션 인덱스를 포함할 수 있다. 또는, 상기 인덱스 정보는 상기 MVD의 상기 x성분에 대한 거리 인덱스, 상기 x성분에 대한 디렉션 인덱스, 상기 MVD의 상기 y성분에 대한 거리 인덱스, 및 상기 y성분에 대한 디렉션 인덱스를 포함할 수 있다. 또한, 예를 들어, 상기 영상 정보는 상기 LUT 후보들 중 선택된 LUT 후보를 가리키는 LUT 인덱스를 포함할 수 있다. 또한, 상기 영상 정보는 상기 LUT 후보들이 존재하는지 여부를 나타내는 플래그를 포함할 수 있다. 또한, 상기 영상 정보는 이전에 사용된 LUT 가 사용되는지 여부를 나타내는 플래그를 포함할 수 있다. 또한, 인코딩 장치는 상기 레지듀얼 샘플을 기반으로 상기 레지듀얼에 관한 정보를 생성할 수 있다. 상기 영상 정보는 상기 레지듀얼에 관한 정보를 포함할 수 있고, 상기 레지듀얼에 관한 정보는 상기 레지듀얼 샘플에 관한 변환 계수들을 포함할 수 있다. 인코딩 장치는 상기 레지듀얼에 관한 정보를 인코딩하여 비트스트림 형태로 출력할 수 있다. 상기 비트스트림은 네트워크 또는 저장매체를 통하여 디코딩 장치로 전송될 수 있다.
도 12는 본 발명에 따른 영상 인코딩 방법을 수행하는 인코딩 장치를 개략적으로 나타낸다. 도 11에서 개시된 방법은 도 12에서 개시된 인코딩 장치에 의하여 수행될 수 있다. 구체적으로 예를 들어, 도 12의 상기 인코딩 장치의 예측부는 도 11의 S1100 내지 S1140을 수행할 수 있고, 도 12의 상기 인코딩 장치의 엔트로피 인코딩부는 도 11의 S1150을 수행할 수 있다. 또한, 비록 도시되지는 않았으나 상기 현재 블록에 대한 원본 샘플과 예측 샘플을 기반으로 상기 현재 블록에 대한 레지듀얼 샘플을 도출하는 과정은 도 12의 상기 인코딩 장치의 감산부에 의하여 수행될 수 있고, 상기 레지듀얼 샘플을 기반으로 상기 현재 블록에 대한 레지듀얼에 관한 정보를 생성하는 과정은 도 12의 상기 인코딩 장치의 변환부에 의하여 수행될 수 있고, 상기 레지듀얼에 관한 정보를 인코딩하는 과정은 도 12의 상기 인코딩 장치의 엔트로피 인코딩부에 의하여 수행될 수 있다.
도 13은 본 발명에 따른 디코딩 장치에 의한 영상 디코딩 방법을 개략적으로 나타낸다. 도 13에서 개시된 방법은 도 2에서 개시된 디코딩 장치에 의하여 수행될 수 있다. 구체적으로 예를 들어, 도 13의 S1300은 상기 디코딩 장치의 엔트로피 디코딩부에 의하여 수행될 수 있고, S1310 내지 S1350은 상기 디코딩 장치의 예측부에 의하여 수행될 수 있다. 또한, 비록 도시되지는 않았으나 비트스트림을 통하여 현재 블록의 레지듀얼에 관한 정보를 획득하는 과정은 상기 디코딩 장치의 엔트로피 디코딩부에 의하여 수행될 수 있고, 상기 레지듀얼 정보를 기반으로 상기 현재 블록에 대한 상기 레지듀얼 샘플을 도출하는 과정은 상기 디코딩 장치의 역변환부에 의하여 수행될 수 있고, 상기 현재 블록의 예측 샘플과 상기 레지듀얼 샘플을 기반으로 복원 픽처를 생성하는 과정은 상기 디코딩 장치의 가산부에 의하여 수행될 수 있다.
디코딩 장치는 현재 블록의 예측 관련 정보를 획득한다(S1300). 예를 들어, 디코딩 장치는 비트스트림으로부터 상기 현재 블록의 예측 관련 정보를 획득할 수 있다. 상기 현재 블록의 상기 예측 관련 정보는 예측 모드를 나타내는 예측 모드 정보를 포함할 수 있다.
일 예로, 디코딩 장치는 LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 MVD 를 도출하는 예측 모드가 적용되는지 여부를 나타내는 플래그를 획득할 수 있고, 상기 플래그를 기반으로 상기 현재 블록에 상기 예측 모드가 적용되는지 판단할 수 있다. 상기 예측 관련 정보는 상기 플래그를 포함할 수 있다. 예를 들어, 상기 플래그의 값이 1인 경우, 상기 LUT 및 상기 MVD에 대한 인덱스 정보를 기반으로 상기 MVD 가 도출될 수 있다. 한편, 상기 예측 모드가 적용되는 경우, 서브 블록 단위 움직임 정보를 나타내는 움직임 정보 후보는 도출되지 않을 수 있다. 또한, 이 경우, 상기 서브 블록 단위 움직임 정보에 대한 예측 관련 정보는 시그널링되지 않을 수 있다.
또한, 예를 들어, 상기 예측 관련 정보는 후보 인덱스 및 MVD(Motion Vector Difference, MVD)에 대한 상기 인덱스 정보를 포함할 수 있다. 상기 후보 인덱스는 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 하나를 가리킬 수 있다.
또한, 예를 들어, 상기 MVD 에 대한 상기 인덱스 정보는 상기 MVD 에 대한 거리 인덱스 및 디렉션 인덱스를 포함할 수 있다. 또는, 예를 들어, 상기 MVD 에 대한 상기 인덱스 정보는 상기 MVD 의 x성분에 대한 거리 인덱스, 상기 x성분에 대한 디렉션 인덱스, 상기 MVD 의 y성분에 대한 거리 인덱스 및 상기 y성분에 대한 디렉션 인덱스를 포함할 수 있다.
디코딩 장치는 상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성한다(S1310). 디코딩 장치는 상기 현재 블록의 공간적 주변 블록들 및/또는 시간적 주변 블록들을 기반으로 상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성할 수 있다. 예를 들어, 상기 공간적 주변 블록들 및/또는 상기 시간적 주변 블록들의 움직임 정보는 상기 현재 블록에 대한 움직임 정보 후보로 도출될 수 있고, 상기 움직임 정보 후보를 포함하는 상기 움직임 정보 후보 리스트가 구성될 수 있다. 한편, 상기 움직임 정보 후보 리스트는 머지 후보 리스트 또는 MVP 후보 리스트를 나타낼 수 있고, 상기 움직임 정보 후보는 머지 후보 또는 MVP 후보를 나타낼 수 있다. 또한, 예를 들어, 상기 MVP 후보 리스트는 상기 머지 후보 리스트와 동일하게 구성될 수 있다.
또한, 예를 들어, 상기 현재 블록의 사이즈가 2Nx2N 인 경우, 상기 공간적 주변 블록들은 좌측 주변 블록, 상측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 2Nx2N 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 좌측 주변 블록은 (-1, 2N-1) 좌표의 샘플을 포함하는 블록이고, 상기 상측 주변 블록은 (2N-1, -1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (2N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, 2N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
또한, 예를 들어, 상기 현재 블록의 사이즈가 2NxN 인 경우, 상기 공간적 주변 블록들은 상측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 2NxN 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 상측 주변 블록은 (N-1, -1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, 2N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
또한, 예를 들어, 상기 현재 블록의 사이즈가 Nx2N 인 경우, 상기 공간적 주변 블록들은 좌측 주변 블록, 우상측 코너 주변 블록, 좌하측 코너 주변 블록 및/또는 좌상측 코너 주변 블록을 포함할 수 있다. 상기 현재 블록의 사이즈가 Nx2N 이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 좌측 주변 블록은 (-1, N-1) 좌표의 샘플을 포함하는 블록이고, 상기 우상측 코너 주변 블록은 (2N, -1) 좌표의 샘플을 포함하는 블록이고, 상기 좌하측 코너 주변 블록은 (-1, N) 좌표의 샘플을 포함하는 블록이고, 상기 좌상측 코너 주변 블록은 (-1, -1) 좌표의 샘플을 포함하는 블록일 수 있다.
또한, 예를 들어, 상기 시간적 주변 블록들은 콜러케이티드 픽처(collocated picture) 내 상기 현재 블록의 동일 위치 블록의 센터 우하단 블록 및/또는 상기 동일 위치 블록의 우하측 코너 주변 블록을 포함할 수 있다. 상기 동일 위치 블록은 상기 현재 블록의 포지션과 대응하는 상기 콜러케이티드 픽처 내 포지션에 위치하는 블록을 나타낼 수 있다.
디코딩 장치는 상기 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 후보 인덱스가 가리키는 움직임 정보 후보를 상기 현재 블록의 움직임 정보로 도출한다(S1320). 상기 후보 인덱스는 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 하나를 가리킬 수 있다. 디코딩 장치는 상기 움직임 정보 후보들 중 상기 후보 인덱스가 가리키는 움직임 정보 후보를 상기 현재 블록의 움직임 정보로 도출할 수 있다. 디코딩 장치는 상기 움직임 정보 후보들 중 상기 후보 인덱스가 가리키는 움직임 정보 후보를 선택할 수 있고, 상기 선택된 움직임 정보 후보를 상기 현재 블록의 상기 움직임 정보로 도출할 수 있다.
디코딩 장치는 LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 상기 현재 블록의 MVD를 도출한다(S1330). 디코딩 장치는 LUT 에서 상기 MVD 에 대한 인덱스 정보가 가리키는 값을 참조하여 상기 MVD를 도출할 수 있다.
일 예로, 상기 인덱스 정보는 상기 MVD 에 대한 거리 인덱스 및 디렉션 인덱스를 포함할 수 있고, 상기 MVD의 거리(distance)는 MVD 거리에 대한 LUT 에서 상기 거리 인덱스의 값이 가리키는 거리로 도출될 수 있고, 상기 MVD의 방향(direction)은 MVD 방향에 대한 LUT 에서 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출될 수 있다.
상기 MVD 거리에 대한 LUT 는 상술한 표 2 와 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 거리는 1/4 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 거리는 1/2 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 거리는 1 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 거리는 2 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 4 인 경우, 상기 MVD의 거리는 4 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 5 인 경우, 상기 MVD의 거리는 8 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 6 인 경우, 상기 MVD의 거리는 16 펠로 도출될 수 있고, 상기 거리 인덱스의 값이 7 인 경우, 상기 MVD의 거리는 32 펠로 도출될 수 있다.
또한, 상기 MVD 방향에 대한 LUT 는 상술한 표 3 과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 디렉션 인덱스의 이진값이 00 인 경우, 상기 MVD 의 방향은 x 축에서 양의 방향(positive direction)으로 도출될 수 있고, 상기 디렉션 인덱스의 이진값이 01 인 경우, 상기 MVD 의 방향은 x 축에서 음의 방향(negative direction)으로 도출될 수 있고, 상기 디렉션 인덱스의 이진값이 10 인 경우, 상기 MVD 의 방향은 y 축에서 양의 방향으로 도출될 수 있고, 상기 디렉션 인덱스의 이진값이 11 인 경우, 상기 MVD 의 방향은 y 축에서 음의 방향으로 도출될 수 있다. 여기서, 상기 MVD 는 상기 MVD 의 거리에 상기 방향을 곱하여 도출될 수 있고, 상기 양의 방향은 1, 상기 음의 방향은 -1을 나타낼 수 있다. 또한, 상기 표 3의 N/A 는 0으로 나타낼 수 있다.
또한, 일 예로, 상기 인덱스 정보는 상기 MVD 의 x성분에 대한 거리 인덱스, 상기 x성분에 대한 디렉션 인덱스, 상기 MVD 의 y성분에 대한 거리 인덱스 및 상기 y성분에 대한 디렉션 인덱스를 포함할 수 있고, 상기 MVD의 상기 x성분의 거리(distance)는 MVD x성분 거리에 대한 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 가리키는 거리로 도출될 수 있고, 상기 MVD의 상기 x성분의 방향(direction)은 MVD x성분 방향에 대한 LUT 에서 상기 x성분에 대한 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출될 수 있고, 상기 MVD의 상기 y성분의 거리는 MVD y성분 거리에 대한 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 가리키는 거리로 도출될 수 있고, 상기 MVD의 상기 y성분의 방향은 MVD y성분 방향에 대한 LUT 에서 상기 y성분에 대한 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출될 수 있다.
상기 MVD x성분 거리에 대한 LUT 는 상술한 표 5, 표 9 또는 표 11과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1/4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 1/2 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 4 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1/4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 1/2 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 3/4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 x성분의 거리는 1 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 x성분의 거리는 2 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 x성분의 거리는 4 펠로 도출될 수 있고, 상기 x성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 x성분의 거리는 8 펠로 도출될 수 있다.
또한, 상기 MVD y성분 거리에 대한 LUT 는 상술한 표 6, 표 10 또는 표 12와 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1/4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 1/2 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 4 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1/4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 1/2 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 3/4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있다. 또는, 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 0 인 경우, 상기 MVD의 y성분의 거리는 1 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 1 인 경우, 상기 MVD의 y성분의 거리는 2 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 2 인 경우, 상기 MVD의 y성분의 거리는 4 펠로 도출될 수 있고, 상기 y성분에 대한 상기 거리 인덱스의 값이 3 인 경우, 상기 MVD의 y성분의 거리는 8 펠로 도출될 수 있다.
또한, 상기 MVD x성분 방향에 대한 LUT 는 상술한 표 7과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 x성분에 대한 상기 디렉션 인덱스의 값이 0 인 경우, 상기 MVD 의 상기 x성분의 방향은 양의 방향(positive direction)으로 도출될 수 있고, 상기 x성분에 대한 상기 디렉션 인덱스의 값이 1 인 경우, 상기 MVD 의 상기 x성분의 방향은 음의 방향(negative direction)으로 도출될 수 있다.
또한, 상기 MVD y성분 방향에 대한 LUT 는 상술한 표 8과 같을 수 있다. 예를 들어, 상기 LUT 에서 상기 y성분에 대한 상기 디렉션 인덱스의 값이 0 인 경우, 상기 MVD 의 상기 y성분의 방향은 양의 방향(positive direction)으로 도출될 수 있고, 상기 y성분에 대한 상기 디렉션 인덱스의 값이 1 인 경우, 상기 MVD 의 상기 y성분의 방향은 음의 방향(negative direction)으로 도출될 수 있다.
한편, 예를 들어, 상기 LUT 는 기설정될 수 있다.
또는, 예를 들어, 비트스트림을 통하여 상기 LUT 가 획득될 수 있다. 상기 LUT는 하이 레벨 신텍스를 통하여 시그널링될 수 있다. 상기 하이 레벨 신텍스는 VPS(Video Parameter Set), SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 세그먼트 헤더(Slice segment header) 또는 코딩 유닛 헤더(Coding unit header) 등을 나타낼 수 있다.
또는, 예를 들어, 상기 비트스트림을 통하여 LUT 인덱스가 획득될 수 있고, LUT 후보들 중 상기 LUT 인덱스가 가리키는 LUT 후보가 상기 LUT 로 도출될 수 있다. 또한, 예를 들어, 상기 LUT 후보들이 존재하는지 여부를 나타내는 플래그가 획득될 수 있고, 상기 플래그의 값이 1인 경우, 상기 LUT 인덱스가 획득될 수 있다. 또한, 예를 들어, 이전에 사용된 LUT 가 사용되는지 여부를 나타내는 플래그가 획득될 수 있고, 상기 플래그의 값이 1인 경우, 디코딩 순서 상 이전 픽처에 사용된 LUT 가 상기 LUT 로 도출될 수 있다. 한편, 예를 들어, 현재 픽처의 디코딩 시점에서 템포럴 레이어에 대한 최대 LUT 후보 개수보다 많은 LUT 후보들이 존재하는 경우, 상기 LUT 후보들 중 선택 확률이 가장 낮은 LUT 후보는 제거될 수 있다. 또한, 예를 들어, 상기 LUT 후보들은 선택 확률이 높은 순서로 리오더링될 수 있다.
디코딩 장치는 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출한다(S1340). 디코딩 장치는 상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출할 수 있다. 예를 들어, 상기 수정된 움직임 정보는 수정된 움직임 벡터를 포함할 수 있고, 상기 수정된 움직임 벡터는 상기 움직임 정보의 움직임 벡터와 상기 MVD의 가산을 통하여 도출될 수 있다.
디코딩 장치는 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행한다(S1350). 디코딩 장치는 상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하여 상기 현재 블록의 예측 샘플을 도출할 수 있다.
예를 들어, 상기 수정된 움직임 정보를 기반으로 상기 현재 블록의 예측 블록이 도출될 수 있고, 상기 예측 블록을 기반으로 복원 블록이 도출될 수 있다. 구체적으로, 디코딩 장치는 상기 수정된 움직임 정보를 기반으로 참조 픽처 내 참조 블록을 도출할 수 있다. 상기 수정된 움직임 정보는 상기 수정된 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 디코딩 장치는 상기 참조 픽처 인덱스가 가리키는 참조 픽처를 상기 현재 블록의 참조 픽처로 도출할 수 있고, 상기 참조 픽처 내 상기 수정된 움직임 벡터가 가리키는 블록을 상기 현재 블록의 참조 블록으로 도출할 수 있다. 디코딩 장치는 상기 참조 블록을 기반으로 예측 샘플을 생성할 수 있고, 예측 모드에 따라 상기 예측 샘플을 바로 복원 샘플로 이용할 수도 있고, 또는 상기 예측 샘플에 레지듀얼 샘플을 더하여 복원 샘플을 생성할 수도 있다. 디코딩 장치는 상기 현재 블록에 대한 레지듀얼 샘플이 존재하는 경우, 상기 비트스트림으로부터 상기 현재 블록에 대한 레지듀얼에 관한 정보를 획득할 수 있다. 상기 레지듀얼에 관한 정보는 상기 레지듀얼 샘플에 관한 변환 계수를 포함할 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 상기 현재 블록에 대한 상기 레지듀얼 샘플(또는 레지듀얼 샘플 어레이)을 도출할 수 있다. 디코딩 장치는 상기 예측 샘플과 상기 레지듀얼 샘플을 기반으로 복원 샘플을 생성할 수 있고, 상기 복원 샘플을 기반으로 복원 블록 또는 복원 픽처를 도출할 수 있다. 이후 디코딩 장치는 필요에 따라 주관적/객관적 화질을 향상시키기 위하여 디블록킹 필터링 및/또는 SAO 절차와 같은 인루프 필터링 절차를 상기 복원 픽처에 적용할 수 있음은 상술한 바와 같다.
도 14는 본 발명에 따른 영상 디코딩 방법을 수행하는 디코딩 장치를 개략적으로 나타낸다. 도 13에서 개시된 방법은 도 14에서 개시된 디코딩 장치에 의하여 수행될 수 있다. 구체적으로 예를 들어, 도 14의 상기 디코딩 장치의 엔트로피 디코딩부는 도 13의 S1300을 수행할 수 있고, 도 14의 상기 디코딩 장치의 예측부는 도 13의 S1310 내지 S1350을 수행할 수 있다. 또한, 비록 도시되지는 않았으나 비트스트림을 통하여 현재 블록의 레지듀얼에 관한 정보를 포함하는 영상 정보를 획득하는 과정은 도 14의 상기 디코딩 장치의 엔트로피 디코딩부에 의하여 수행될 수 있고, 상기 레지듀얼 정보를 기반으로 상기 현재 블록에 대한 상기 레지듀얼 샘플을 도출하는 과정은 도 14의 상기 디코딩 장치의 역변환부에 의하여 수행될 수 있고, 예측 샘플과 상기 레지듀얼 샘플을 기반으로 복원 픽처를 생성하는 과정은 도 14의 상기 디코딩 장치의 가산부에 의하여 수행될 수 있다.
상술한 본 발명에 따르면 시그널링된 인덱스 정보 및 기정의(pre-define)된 LUT(Look-Up Table)을 기반으로 MVD를 도출하고, 도출된 MVD 및 MVP 를 기반으로 현재 블록의 움직임 정보을 도출하여 예측을 수행할 수 있고, 이를 통하여 MVD 를 전달하기 위한 비트량을 줄일 수 있고, 전반적인 코딩 효율을 향상시킬 수 있다.
또한, 본 발명에 따르면 시그널링된 인덱스 정보 및 기정의(pre-define)된 LUT(Look-Up Table)을 기반으로 MVD를 도출하고, 도출된 MVD 및 MVP 를 기반으로 현재 블록의 움직임 정보을 도출하여 예측을 수행할 수 있고, 이를 통하여 MVD를 나타내기 위하여 작은 비트량을 할당하면서 주변 블록의 움직임 정보를 사용하여 수행되는 예측보다 정확한 움직임 정보를 도출할 수 있고, 예측 정확도를 향상시켜 전반적인 코딩 효율을 향상시킬 수 있다.
상술한 실시예에서, 방법들은 일련의 단계 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당업자라면 순서도에 나타내어진 단계들이 배타적이지 않고, 다른 단계가 포함되거나 순서도의 하나 또는 그 이상의 단계가 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.
본 문서에서 설명한 실시예들은 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 예를 들어, 각 도면에서 도시한 기능 유닛들은 컴퓨터, 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 이 경우 구현을 위한 정보(ex. information on instructions) 또는 알고리즘이 디지털 저장 매체에 저장될 수 있다.
또한, 본 발명이 적용되는 디코딩 장치 및 인코딩 장치는 멀티미디어 방송 송수신 장치, 모바일 통신 단말, 홈 시네마 비디오 장치, 디지털 시네마 비디오 장치, 감시용 카메라, 비디오 대화 장치, 비디오 통신과 같은 실시간 통신 장치, 모바일 스트리밍 장치, 저장 매체, 캠코더, 주문형 비디오(VoD) 서비스 제공 장치, OTT 비디오(Over the top video) 장치, 인터넷 스트리밍 서비스 제공 장치, 3차원(3D) 비디오 장치, 화상 전화 비디오 장치, 운송 수단 단말 (ex. 차량 단말, 비행기 단말, 선박 단말 등) 및 의료용 비디오 장치 등에 포함될 수 있으며, 비디오 신호 또는 데이터 신호를 처리하기 위해 사용될 수 있다. 예를 들어, OTT 비디오(Over the top video) 장치로는 게임 콘솔, 블루레이 플레이어, 인터넷 접속 TV, 홈시어터 시스템, 스마트폰, 태블릿 PC, DVR(Digital Video Recoder) 등을 포함할 수 있다.
또한, 본 발명이 적용되는 처리 방법은 컴퓨터로 실행되는 프로그램의 형태로 생산될 수 있으며, 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 본 발명에 따른 데이터 구조를 가지는 멀티미디어 데이터도 또한 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 판독할 수 있는 기록 매체는 컴퓨터로 읽을 수 있는 데이터가 저장되는 모든 종류의 저장 장치 및 분산 저장 장치를 포함한다. 상기 컴퓨터가 판독할 수 있는 기록 매체는, 예를 들어, 블루레이 디스크(BD), 범용 직렬 버스(USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크 및 광학적 데이터 저장 장치를 포함할 수 있다. 또한, 상기 컴퓨터가 판독할 수 있는 기록 매체는 반송파(예를 들어, 인터넷을 통한 전송)의 형태로 구현된 미디어를 포함한다. 또한, 인코딩 방법으로 생성된 비트스트림이 컴퓨터가 판독할 수 있는 기록 매체에 저장되거나 유무선 통신 네트워크를 통해 전송될 수 있다.
또한, 본 발명의 실시예는 프로그램 코드에 의한 컴퓨터 프로그램 제품으로 구현될 수 있고, 상기 프로그램 코드는 본 발명의 실시예에 의해 컴퓨터에서 수행될 수 있다. 상기 프로그램 코드는 컴퓨터에 의해 판독가능한 캐리어 상에 저장될 수 있다.
도 15는 본 발명이 적용되는 컨텐츠 스트리밍 시스템 구조도를 예시적으로 나타낸다.
본 발명이 적용되는 컨텐츠 스트리밍 시스템은 크게 인코딩 서버, 스트리밍 서버, 웹 서버, 미디어 저장소, 사용자 장치 및 멀티미디어 입력 장치를 포함할 수 있다.
상기 인코딩 서버는 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들로부터 입력된 컨텐츠를 디지털 데이터로 압축하여 비트스트림을 생성하고 이를 상기 스트리밍 서버로 전송하는 역할을 한다. 다른 예로, 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들이 비트스트림을 직접 생성하는 경우, 상기 인코딩 서버는 생략될 수 있다.
상기 비트스트림은 본 발명이 적용되는 인코딩 방법 또는 비트스트림 생성 방법에 의해 생성될 수 있고, 상기 스트리밍 서버는 상기 비트스트림을 전송 또는 수신하는 과정에서 일시적으로 상기 비트스트림을 저장할 수 있다.
상기 스트리밍 서버는 웹 서버를 통한 사용자 요청에 기초하여 멀티미디어 데이터를 사용자 장치에 전송하고, 상기 웹 서버는 사용자에게 어떠한 서비스가 있는지를 알려주는 매개체 역할을 한다. 사용자가 상기 웹 서버에 원하는 서비스를 요청하면, 상기 웹 서버는 이를 스트리밍 서버에 전달하고, 상기 스트리밍 서버는 사용자에게 멀티미디어 데이터를 전송한다. 이때, 상기 컨텐츠 스트리밍 시스템은 별도의 제어 서버를 포함할 수 있고, 이 경우 상기 제어 서버는 상기 컨텐츠 스트리밍 시스템 내 각 장치 간 명령/응답을 제어하는 역할을 한다.
상기 스트리밍 서버는 미디어 저장소 및/또는 인코딩 서버로부터 컨텐츠를 수신할 수 있다. 예를 들어, 상기 인코딩 서버로부터 컨텐츠를 수신하게 되는 경우, 상기 컨텐츠를 실시간으로 수신할 수 있다. 이 경우, 원활한 스트리밍 서비스를 제공하기 위하여 상기 스트리밍 서버는 상기 비트스트림을 일정 시간동안 저장할 수 있다.
상기 사용자 장치의 예로는, 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)), 디지털 TV, 데스크탑 컴퓨터, 디지털 사이니지 등이 있을 수 있다.
상기 컨텐츠 스트리밍 시스템 내 각 서버들은 분산 서버로 운영될 수 있으며, 이 경우 각 서버에서 수신하는 데이터는 분산 처리될 수 있다.

Claims (15)

  1. 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,
    현재 블록의 예측 관련 정보를 획득하는 단계;
    상기 현재 블록에 대한 움직임 정보 후보 리스트를 구성하는 단계;
    상기 움직임 정보 후보 리스트에 포함된 움직임 정보 후보들 중 후보 인덱스가 가리키는 움직임 정보 후보를 상기 현재 블록의 움직임 정보로 도출하는 단계;
    LUT(Look-Up Table) 및 MVD(Motion Vector Difference)에 대한 인덱스 정보를 기반으로 상기 현재 블록의 MVD를 도출하는 단계;
    상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하는 단계; 및
    상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 단계를 포함하고,
    상기 예측 관련 정보는 상기 후보 인덱스 및 상기 MVD 에 대한 상기 인덱스 정보를 포함하는 것을 특징으로 하는 영상 디코딩 방법.
  2. 제1항에 있어서,
    상기 인덱스 정보는 상기 MVD 에 대한 거리 인덱스 및 디렉션 인덱스를 포함하고,
    상기 MVD의 거리(distance)는 MVD 거리에 대한 LUT 에서 상기 거리 인덱스의 값이 가리키는 거리로 도출되고,
    상기 MVD의 방향(direction)은 MVD 방향에 대한 LUT 에서 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  3. 제2항에 있어서,
    상기 MVD 거리에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000001
    이고,
    여기서, Distance IDX 는 상기 거리 인덱스를 나타내는 것을 특징으로 하는 영상 디코딩 방법.
  4. 제2항에 있어서,
    상기 MVD 방향에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000002
    이고,
    여기서, Direction IDX 는 상기 디렉션 인덱스를 나타내는 것을 특징으로 하는 영상 디코딩 방법.
  5. 제1항에 있어서,
    상기 인덱스 정보는 상기 MVD 의 x성분에 대한 거리 인덱스, 상기 x성분에 대한 디렉션 인덱스, 상기 MVD 의 y성분에 대한 거리 인덱스 및 상기 y성분에 대한 디렉션 인덱스를 포함하고,
    상기 MVD의 상기 x성분의 거리(distance)는 MVD x성분 거리에 대한 LUT 에서 상기 x성분에 대한 상기 거리 인덱스의 값이 가리키는 거리로 도출되고,
    상기 MVD의 상기 x성분의 방향(direction)은 MVD x성분 방향에 대한 LUT 에서 상기 x성분에 대한 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출되고,
    상기 MVD의 상기 y성분의 거리는 MVD y성분 거리에 대한 LUT 에서 상기 y성분에 대한 상기 거리 인덱스의 값이 가리키는 거리로 도출되고,
    상기 MVD의 상기 y성분의 방향은 MVD y성분 방향에 대한 LUT 에서 상기 y성분에 대한 상기 디렉션 인덱스의 값이 가리키는 방향으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  6. 제5항에 있어서,
    상기 MVD x성분 거리에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000003
    이고,
    여기서, Distance IDX_X 는 상기 MVD 의 상기 x성분에 대한 거리 인덱스이고,
    상기 MVD x성분 방향에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000004
    이고,
    여기서, Direction IDX_X 는 상기 MVD 의 상기 x성분에 대한 디렉션 인덱스인 것을 특징으로 하는 영상 디코딩 방법.
  7. 제5항에 있어서,
    상기 MVD y성분 거리에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000005
    이고,
    여기서, Distance IDX_Y 는 상기 MVD 의 상기 y성분에 대한 거리 인덱스이고,
    상기 MVD y성분 방향에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000006
    여기서, Direction IDX_Y 는 상기 MVD 의 상기 y성분에 대한 디렉션 인덱스인 것을 특징으로 하는 영상 디코딩 방법.
  8. 제1항에 있어서,
    상기 예측 관련 정보는 상기 LUT 및 상기 MVD에 대한 인덱스 정보를 기반으로 상기 MVD 를 도출하는 예측 모드가 적용되는지 여부를 나타내는 플래그를 포함하고,
    상기 플래그의 값이 1인 경우, 상기 LUT 및 상기 MVD에 대한 인덱스 정보를 기반으로 상기 MVD 가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  9. 제8항에 있어서,
    상기 예측 모드가 적용되는 경우, 서브 블록 단위 움직임 정보를 나타내는 움직임 정보 후보는 도출되지 않는 것을 특징으로 하는 영상 디코딩 방법.
  10. 제1항에 있어서,
    상기 LUT 는 기설정되는 것을 특징으로 하는 영상 디코딩 방법.
  11. 인코딩 장치에 의하여 수행되는 영상 인코딩 방법에 있어서,
    현재 블록에 대한 움직임 정보 후보 리스트를 구성하는 단계;
    상기 움직임 정보 후보 리스트를 기반으로 상기 현재 블록의 움직임 정보를 도출하는 단계;
    LUT(Look-Up Table) 를 기반으로 상기 현재 블록의 MVD를 도출하는 단계;
    상기 움직임 정보 및 상기 MVD 를 기반으로 상기 현재 블록의 수정된(modified) 움직임 정보를 도출하는 단계;
    상기 수정된 움직임 정보를 기반으로 상기 현재 블록에 대한 예측을 수행하는 단계; 및
    상기 현재 블록의 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하고,
    상기 예측 관련 정보는 상기 MVD 에 대한 인덱스 정보를 포함하는 것을 특징으로 하는 영상 인코딩 방법.
  12. 제11항에 있어서,
    상기 인덱스 정보는 상기 MVD 에 대한 거리 인덱스 및 디렉션 인덱스를 포함하고,
    상기 거리 인덱스는 MVD 거리에 대한 LUT 에서 상기 MVD의 거리를 나타내고,
    상기 디렉션 인덱스는 MVD 방향에 대한 LUT 에서 상기 MVD의 방향을 나타내는 것을 특징으로 하는 영상 인코딩 방법.
  13. 제12항에 있어서,
    상기 MVD 거리에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000007
    이고,
    여기서, Distance IDX 는 상기 거리 인덱스를 나타내는 것을 특징으로 하는 영상 인코딩 방법.
  14. 제12항에 있어서,
    상기 MVD 방향에 대한 LUT 는,
    Figure PCTKR2019006038-appb-I000008
    이고,
    여기서, Direction IDX 는 상기 디렉션 인덱스를 나타내는 것을 특징으로 하는 영상 인코딩 방법.
  15. 제11항에 있어서,
    상기 LUT 는 기설정되는 것을 특징으로 하는 영상 인코딩 방법.
PCT/KR2019/006038 2018-05-21 2019-05-21 영상 코딩 시스템에서 lut를 기반으로 도출된 mvd 를 사용하는 영상 디코딩 방법 및 그 장치 Ceased WO2019225933A1 (ko)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP19807360.3A EP3787296A4 (en) 2018-05-21 2019-05-21 METHOD AND DEVICE FOR DECODING AN IMAGE USING AN MVD DERIVATIVE BASED ON A LUT TABLE IN AN IMAGE CODING SYSTEM
CN201980039881.9A CN112313959A (zh) 2018-05-21 2019-05-21 使用基于图像编码系统中的lut导出的mvd解码图像的方法和设备
KR1020207033292A KR20200139830A (ko) 2018-05-21 2019-05-21 영상 코딩 시스템에서 lut를 기반으로 도출된 mvd를 사용하는 영상 디코딩 방법 및 그 장치
US17/100,125 US20210076062A1 (en) 2018-05-21 2020-11-20 Method and apparatus for decoding image by using mvd derived on basis of lut in image coding system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20180057606 2018-05-21
KR10-2018-0057606 2018-05-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/100,125 Continuation US20210076062A1 (en) 2018-05-21 2020-11-20 Method and apparatus for decoding image by using mvd derived on basis of lut in image coding system

Publications (1)

Publication Number Publication Date
WO2019225933A1 true WO2019225933A1 (ko) 2019-11-28

Family

ID=68617305

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/006038 Ceased WO2019225933A1 (ko) 2018-05-21 2019-05-21 영상 코딩 시스템에서 lut를 기반으로 도출된 mvd 를 사용하는 영상 디코딩 방법 및 그 장치

Country Status (5)

Country Link
US (1) US20210076062A1 (ko)
EP (1) EP3787296A4 (ko)
KR (1) KR20200139830A (ko)
CN (1) CN112313959A (ko)
WO (1) WO2019225933A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611813A (zh) * 2019-10-28 2019-12-24 北京达佳互联信息技术有限公司 视频合并编码场景下的最优候选获取方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020017367A1 (ja) * 2018-07-18 2020-01-23 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 符号化装置、復号装置、符号化方法及び復号方法
JP7290713B2 (ja) * 2018-08-28 2023-06-13 鴻穎創新有限公司 ビデオデータをコーディングする装置及び方法
US20200288175A1 (en) * 2019-03-06 2020-09-10 Qualcomm Incorporated Signaling of triangle merge mode indexes in video coding
US11425414B2 (en) * 2019-08-05 2022-08-23 Tencent America LLC Method and apparatus for video coding

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140032930A (ko) * 2011-06-24 2014-03-17 파나소닉 주식회사 화상 부호화 방법, 화상 복호방법, 화상 부호화 장치, 화상 복호장치 및 화상 부호화 복호장치
KR20170078672A (ko) * 2014-10-31 2017-07-07 삼성전자주식회사 고정밀 스킵 부호화를 이용한 비디오 부호화 장치 및 비디오 복호화 장치 및 그 방법
KR101796876B1 (ko) * 2015-10-15 2017-11-10 한양대학교 산학협력단 움직임 추정을 이용한 영상 부호화 방법 및 장치
KR20180048736A (ko) * 2015-09-24 2018-05-10 엘지전자 주식회사 영상 코딩 시스템에서 인터 예측 방법 및 장치

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012048053A2 (en) * 2010-10-05 2012-04-12 Massachusetts Institute Of Technology System and method for optimizing context-adaptive binary arithmetic coding
US20150063464A1 (en) * 2013-08-30 2015-03-05 Qualcomm Incorporated Lookup table coding
EP3301931A1 (en) * 2016-09-30 2018-04-04 Thomson Licensing Method and apparatus for omnidirectional video coding with adaptive intra prediction
EP3425911A1 (en) * 2017-07-06 2019-01-09 Thomson Licensing A method and a device for picture encoding and decoding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140032930A (ko) * 2011-06-24 2014-03-17 파나소닉 주식회사 화상 부호화 방법, 화상 복호방법, 화상 부호화 장치, 화상 복호장치 및 화상 부호화 복호장치
KR20170078672A (ko) * 2014-10-31 2017-07-07 삼성전자주식회사 고정밀 스킵 부호화를 이용한 비디오 부호화 장치 및 비디오 복호화 장치 및 그 방법
KR20180048736A (ko) * 2015-09-24 2018-05-10 엘지전자 주식회사 영상 코딩 시스템에서 인터 예측 방법 및 장치
KR101796876B1 (ko) * 2015-10-15 2017-11-10 한양대학교 산학협력단 움직임 추정을 이용한 영상 부호화 방법 및 장치

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUANBANG CHEN: "Description of SDR, HDR and 360° video coding technology proposal by Huawei, GoPro, HiSilicon, and Samsung", JVET-J0025 (VERSION 2), JOINT VIDEO EXPLORATION TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/ SC 29/WG 11, 10TH MEETING, 3 April 2018 (2018-04-03), San Diego, US, pages 1 - 127, XP030151191 *
See also references of EP3787296A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611813A (zh) * 2019-10-28 2019-12-24 北京达佳互联信息技术有限公司 视频合并编码场景下的最优候选获取方法及装置

Also Published As

Publication number Publication date
KR20200139830A (ko) 2020-12-14
US20210076062A1 (en) 2021-03-11
EP3787296A1 (en) 2021-03-03
EP3787296A4 (en) 2021-07-28
CN112313959A (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2019117636A1 (ko) 비분리 2차 변환에 기반한 영상 코딩 방법 및 그 장치
WO2019190181A1 (ko) 인트라 예측 기반 영상/비디오 코딩 방법 및 그 장치
WO2019194440A1 (ko) 인트라 예측 모드에 대한 룩업 테이블을 이용한 영상 코딩 방법 및 그 장치
WO2019125035A1 (ko) 선택적 변환에 기반한 영상 코딩 방법 및 그 장치
WO2019225933A1 (ko) 영상 코딩 시스템에서 lut를 기반으로 도출된 mvd 를 사용하는 영상 디코딩 방법 및 그 장치
WO2020141886A1 (ko) Sbtmvp 기반 인터 예측 방법 및 장치
WO2021137597A1 (ko) Ols에 대한 dpb 파라미터를 사용하는 영상 디코딩 방법 및 그 장치
WO2020141932A1 (ko) Cpr 기반 mmvd를 이용하는 인터 예측 방법 및 장치
WO2020149630A1 (ko) 영상 코딩 시스템에서 cclm 예측 기반 영상 디코딩 방법 및 그 장치
WO2020141928A1 (ko) 영상 코딩 시스템에서 mmvd 에 따른 예측에 기반한 영상 디코딩 방법 및 장치
WO2020141831A2 (ko) 인트라 블록 카피 예측을 이용한 영상 코딩 방법 및 장치
WO2020145604A1 (ko) Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 장치
WO2021034115A1 (ko) 크로마 양자화 파라미터 오프셋 관련 정보를 코딩하는 영상 디코딩 방법 및 그 장치
WO2020141856A1 (ko) 영상 코딩 시스템에서 레지듀얼 정보를 사용하는 영상 디코딩 방법 및 그 장치
WO2021145728A1 (ko) 인루프 필터링 기반 영상 코딩 장치 및 방법
WO2021107622A1 (ko) 영상/비디오 코딩 방법 및 장치
WO2020013497A1 (ko) 영상 코딩 시스템에서 인트라 예측 정보를 사용하는 영상 디코딩 방법 및 그 장치
WO2020145620A1 (ko) Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 장치
WO2019199071A1 (ko) 영상 코딩 시스템에서 인터 예측에 따른 영상 디코딩 방법 및 장치
WO2021145725A1 (ko) 필터링 관련 정보 시그널링 기반 영상 코딩 장치 및 방법
WO2021133060A1 (ko) 서브픽처 기반 영상 코딩 장치 및 방법
WO2021137589A1 (ko) 영상 디코딩 방법 및 그 장치
WO2019225932A1 (ko) 영상 코딩 시스템에서 dmvr을 사용하는 영상 디코딩 방법 및 그 장치
WO2020145656A1 (ko) Tmvp 후보의 가용 여부를 시그널링하는 방법 및 장치
WO2020004879A1 (ko) 영상 코딩 시스템에서 복수의 주변 블록들을 사용하는 인터 예측에 따른 영상 디코딩 방법 및 장치

Legal Events

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

Ref document number: 19807360

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20207033292

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 19807360.3

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2019807360

Country of ref document: EP

Effective date: 20201127

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载