WO2017014412A1 - 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 - Google Patents

비디오 코딩 시스템에서 인트라 예측 방법 및 장치 Download PDF

Info

Publication number
WO2017014412A1
WO2017014412A1 PCT/KR2016/004199 KR2016004199W WO2017014412A1 WO 2017014412 A1 WO2017014412 A1 WO 2017014412A1 KR 2016004199 W KR2016004199 W KR 2016004199W WO 2017014412 A1 WO2017014412 A1 WO 2017014412A1
Authority
WO
WIPO (PCT)
Prior art keywords
sample
samples
prediction
peripheral
intra prediction
Prior art date
Application number
PCT/KR2016/004199
Other languages
English (en)
French (fr)
Inventor
손은용
전용준
허진
박승욱
구문모
장형문
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to US15/746,139 priority Critical patent/US20180213224A1/en
Priority to KR1020177037026A priority patent/KR20180030791A/ko
Publication of WO2017014412A1 publication Critical patent/WO2017014412A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/182Methods 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 a pixel
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • 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/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

Definitions

  • the present invention relates to video coding techniques and, more particularly, to intra prediction methods and apparatus in video coding systems.
  • 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 coding unit (CU) coding order for improving coding efficiency.
  • CU coding unit
  • Another technical problem of the present invention is to determine a coding order based on a prediction mode for a CU.
  • Another technical problem of the present invention is to provide a method and apparatus for improving the efficiency of intra prediction.
  • Another technical problem of the present invention is to define the positions of neighboring reference samples of the current block for efficient intra prediction.
  • Another technical problem of the present invention is to provide a method and apparatus for deriving peripheral reference samples of a current block.
  • Another technical problem of the present invention is to provide an intra prediction method and apparatus using a template.
  • an intra prediction method performed by a decoding apparatus may include deriving an intra prediction mode for a current block, deriving neighboring samples of the current block, and predicting the current block using at least one of the neighboring samples according to the intra prediction mode.
  • a decoding apparatus for performing intra prediction.
  • the decoding apparatus may further include: a decoding unit obtaining information about an intra prediction mode for a current block from a bitstream, deriving the intra prediction mode for the current block, deriving neighboring samples of the current block, and performing the intra prediction mode. And a prediction unit for generating a prediction sample for the current block using at least one of the neighboring samples, wherein the derived neighboring samples are left neighboring samples, upper left neighboring samples, and upper neighboring neighbors of the current block. Samples, right peripheral samples, lower right peripheral samples, and lower peripheral samples.
  • an image encoding method performed by an encoding apparatus may include deriving an intra prediction mode for a current block, deriving neighboring samples of the current block, and predicting the current block using at least one of the neighboring samples according to the intra prediction mode. Generating a sample, generating a residual sample for a current block based on the prediction sample, and encoding and outputting information about the intra prediction mode and information about the residual sample,
  • the derived peripheral samples are characterized in that they include left peripheral samples, upper left peripheral samples, upper peripheral samples, right peripheral samples, lower right peripheral samples, and lower peripheral samples of the current block.
  • an encoding apparatus for performing image encoding.
  • the encoding apparatus derives an intra prediction mode for the current block, derives surrounding samples of the current block, and generates a prediction sample for the current block using at least one of the neighboring samples according to the intra prediction mode.
  • the derived peripheral samples are characterized in that they include left peripheral samples, upper left peripheral samples, upper peripheral samples, right peripheral samples, lower right peripheral samples, and lower peripheral samples of the current block.
  • the coding order of CUs which are basic processing units of an image may be derived based on a prediction mode, thereby improving the coding efficiency of CUs.
  • intra prediction performance may be improved by using extended peripheral reference samples.
  • FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram schematically illustrating a video decoding apparatus according to an embodiment of the present invention.
  • 3 exemplarily shows an order in which CUs in a CTU are processed.
  • FIG. 4 shows an example of reconstructed peripheral reference samples that can be used when intra prediction is performed on the current block.
  • FIG. 5 illustrates a CUs processing order adaptive to a prediction mode according to an embodiment of the present invention.
  • FIG 6 illustrates extended peripheral reference samples for intra prediction according to an example of the present invention.
  • FIG 9 is an embodiment of an intra prediction method using linear interpolation according to the present invention.
  • FIG. 11 shows an example of surrounding samples used for constructing a target template.
  • FIG 13 schematically shows an example of an intra prediction method according to the present invention.
  • each of the components in the drawings described in the present invention are shown independently for the convenience of description of the different characteristic functions in the video encoding apparatus / decoding apparatus, each component is a separate hardware or separate software It does not mean that it is implemented.
  • two or more of each configuration may be combined to form one configuration, or one configuration may be divided into a plurality of configurations.
  • Embodiments in which each configuration is integrated and / or separated are also included in the present invention without departing from the spirit of the present invention.
  • FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
  • the encoding apparatus 100 may include a picture divider 105, a predictor 110, a transformer 115, a quantizer 120, a reordering unit 125, an entropy encoding unit 130, An inverse quantization unit 135, an inverse transform unit 140, a filter unit 145, and a memory 150 are provided.
  • the picture dividing unit 105 may divide the input picture into at least one processing unit block.
  • the block as the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU).
  • a picture may be composed of a plurality of coding tree units (CTUs), and each CTU may be split into CUs in a quad-tree structure.
  • a CU may be divided into quad tree structures with CUs of a lower depth.
  • PU and TU may be obtained from a CU.
  • a PU may be partitioned from a CU into a symmetrical or asymmetrical square structure.
  • the TU may also be divided into quad tree structures from the CU.
  • the CTU may correspond to a coding tree block (CTB), the CU may correspond to a coding block (CB), the PU may correspond to a prediction block (PB), and the TU may correspond to a transform block (TB).
  • CTB coding tree block
  • the predictor 110 includes an inter predictor for performing inter prediction and an intra predictor for performing intra prediction, as described below.
  • the prediction unit 110 performs prediction on the processing unit of the picture in the picture division unit 105 to generate a prediction block including a prediction sample (or a prediction sample array).
  • the processing unit of the picture in the prediction unit 110 may be a CU, a TU, or a PU.
  • the prediction unit 110 may determine whether the prediction performed on the processing unit is inter prediction or intra prediction, and determine specific contents (eg, prediction mode, etc.) of each prediction method.
  • the processing unit in which the prediction is performed and the processing unit in which the details of the prediction method and the prediction method are determined may be different.
  • the method of prediction and the prediction mode may be determined in units of PUs, and the prediction may be performed in units of TUs.
  • a prediction block may be generated by performing prediction based on information of at least one picture of a previous picture and / or a subsequent picture of the current picture.
  • a prediction block may be generated by performing prediction based on pixel information in a current picture.
  • a skip mode, a merge mode, an advanced motion vector prediction (AMVP), and the like can be used.
  • a reference picture may be selected for a PU and a reference block corresponding to the PU may be selected.
  • the reference block may be selected in units of integer pixels (or samples) or fractional pixels (or samples).
  • a predictive block is generated in which a residual signal with the PU is minimized and the size of the motion vector is also minimized.
  • a pixel, a pel, and a sample may be mixed with each other.
  • the prediction block may be generated in integer pixel units, or may be generated in sub-pixel units such as 1/2 pixel unit or 1/4 pixel unit.
  • the motion vector may also be expressed in units of integer pixels or less.
  • Information such as an index of a reference picture selected through inter prediction, a motion vector difference (MVD), a motion vector predictor (MVD), and a residual signal may be entropy encoded and transmitted to a decoding apparatus.
  • the prediction block may be a reconstruction block, the residual may not be generated, transformed, quantized, or transmitted.
  • a prediction mode When performing intra prediction, a prediction mode may be determined in units of PUs, and prediction may be performed in units of PUs. In addition, a prediction mode may be determined in units of PUs, and intra prediction may be performed in units of TUs.
  • the prediction mode may have, for example, 33 directional prediction modes and at least two non-directional modes.
  • the non-directional mode may include a DC prediction mode and a planner mode (Planar mode).
  • a prediction block may be generated after applying a filter to a reference sample.
  • whether to apply the filter to the reference sample may be determined according to the intra prediction mode and / or the size of the current block.
  • the residual value (the residual block or the residual signal) between the generated prediction block and the original block is input to the converter 115.
  • the prediction mode information, the motion vector information, etc. used for the prediction are encoded by the entropy encoding unit 130 together with the residual value and transmitted to the decoding apparatus.
  • the transform unit 115 performs transform on the residual block in units of transform blocks and generates transform coefficients.
  • the transform block is a rectangular block of samples to which the same transform is applied.
  • the transform block can be a transform unit (TU) and can have a quad tree structure.
  • the transformer 115 may perform the transformation according to the prediction mode applied to the residual block and the size of the block.
  • the residual block is transformed using a discrete sine transform (DST), otherwise the residual block is transformed into a DCT (Discrete). Can be transformed using Cosine Transform.
  • DST discrete sine transform
  • DCT Discrete
  • the transform unit 115 may generate a transform block of transform coefficients by the transform.
  • the quantization unit 120 may generate quantized transform coefficients by quantizing the residual values transformed by the transform unit 115, that is, the transform coefficients.
  • the value calculated by the quantization unit 120 is provided to the inverse quantization unit 135 and the reordering unit 125.
  • the reordering unit 125 rearranges the quantized transform coefficients provided from the quantization unit 120. By rearranging the quantized transform coefficients, the encoding efficiency of the entropy encoding unit 130 may be increased.
  • the reordering unit 125 may rearrange the quantized transform coefficients in the form of a 2D block into a 1D vector form through a coefficient scanning method.
  • the entropy encoding unit 130 entropy-codes a symbol according to a probability distribution based on the quantized transform values rearranged by the reordering unit 125 or the encoding parameter value calculated in the coding process, thereby performing a bitstream. You can output The entropy encoding method receives a symbol having various values and expresses it as a decodable column while removing statistical redundancy.
  • the symbol means a syntax element, a coding parameter, a value of a residual signal, etc., to be encoded / decoded.
  • An encoding parameter is a parameter necessary for encoding and decoding, and may include information that may be inferred in the encoding or decoding process as well as information encoded by an encoding device and transmitted to the decoding device, such as a syntax element. It means the information you need when you do.
  • the encoding parameter may be, for example, a value such as an intra / inter prediction mode, a moving / motion vector, a reference image index, a coding block pattern, a residual signal presence, a transform coefficient, a quantized transform coefficient, a quantization parameter, a block size, block partitioning information, or the like. May include statistics.
  • the residual signal may mean a difference between the original signal and the prediction signal, and a signal in which the difference between the original signal and the prediction signal is transformed or a signal in which the difference between the original signal and the prediction signal is converted and quantized It may mean.
  • the residual signal may be referred to as a residual block in the block unit, and the residual sample in the sample unit.
  • Encoding methods such as exponential golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC) may be used for entropy encoding.
  • the entropy encoding unit 130 may store a table for performing entropy encoding, such as a variable length coding (VLC) table, and the entropy encoding unit 130 may store the variable length coding. Entropy encoding can be performed using the (VLC) table.
  • the entropy encoding unit 130 derives the binarization method of the target symbol and the probability model of the target symbol / bin, and then uses the derived binarization method or the probability model to entropy. You can also perform encoding.
  • the entropy encoding unit 130 may apply a constant change to a parameter set or syntax to be transmitted.
  • the inverse quantizer 135 inversely quantizes the quantized values (quantized transform coefficients) in the quantizer 120, and the inverse transformer 140 inversely transforms the inverse quantized values in the inverse quantizer 135.
  • the residual value (or the residual sample or the residual sample array) generated by the inverse quantizer 135 and the inverse transform unit 140 and the prediction block predicted by the predictor 110 are added together to reconstruct the sample (or the reconstructed sample array).
  • a reconstructed block including a may be generated.
  • a reconstructed block is generated by adding a residual block and a prediction block through an adder.
  • the adder may be viewed as a separate unit (restore block generation unit) for generating a reconstruction block.
  • the filter unit 145 may apply a deblocking filter, an adaptive loop filter (ALF), and a sample adaptive offset (SAO) to the reconstructed picture.
  • ALF adaptive loop filter
  • SAO sample adaptive offset
  • the deblocking filter may remove distortion generated at the boundary between blocks in the reconstructed picture.
  • the adaptive loop filter may perform filtering based on a value obtained by comparing the reconstructed image with the original image after the block is filtered through the deblocking filter. ALF may be performed only when high efficiency is applied.
  • the SAO restores the offset difference from the original image on a pixel-by-pixel basis for the residual block to which the deblocking filter is applied, and is applied in the form of a band offset and an edge offset.
  • the filter unit 145 may not apply filtering to the reconstructed block used for inter prediction.
  • the memory 150 may store the reconstructed block or the picture calculated by the filter unit 145.
  • the reconstructed block or picture stored in the memory 150 may be provided to the predictor 110 that performs inter prediction.
  • the video decoding apparatus 200 includes an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, and a filter unit 235.
  • Memory 240 may be included.
  • the input bitstream may be decoded according to a procedure in which image information is processed in the video encoding apparatus.
  • the entropy decoding unit 210 may entropy decode the input bitstream according to a probability distribution to generate symbols including symbols in the form of quantized coefficients.
  • the entropy decoding method is a method of generating each symbol by receiving a binary string.
  • the entropy decoding method is similar to the entropy encoding method described above.
  • VLC variable length coding
  • 'VLC' variable length coding
  • CABAC CABAC
  • the CABAC entropy decoding method receives a bin corresponding to each syntax element in a bitstream, and decodes syntax element information and decoding information of neighboring and decoding target blocks or information of symbols / bins decoded in a previous step.
  • the context model may be determined using the context model, the probability of occurrence of a bin may be predicted according to the determined context model, and arithmetic decoding of the bin may be performed to generate a symbol corresponding to the value of each syntax element. have.
  • the CABAC entropy decoding method may update the context model by using the information of the decoded symbol / bin for the context model of the next symbol / bean after determining the context model.
  • Information for generating the prediction block among the information decoded by the entropy decoding unit 210 is provided to the predictor 230, and a residual value where entropy decoding is performed by the entropy decoding unit 210, that is, a quantized transform coefficient It may be input to the reordering unit 215.
  • the reordering unit 215 may reorder the information of the bitstream entropy decoded by the entropy decoding unit 210, that is, the quantized transform coefficients, based on the reordering method in the encoding apparatus.
  • the reordering unit 215 may reorder the coefficients expressed in the form of a one-dimensional vector by restoring the coefficients in the form of a two-dimensional block.
  • the reordering unit 215 scans the coefficients based on the prediction mode applied to the current block (transform block) and the size of the transform block to generate an array of coefficients (quantized transform coefficients) in the form of a two-dimensional block. Can be.
  • the inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoding apparatus and the coefficient values of the rearranged block.
  • the inverse transform unit 225 may perform inverse DCT and / or inverse DST on the DCT and the DST performed by the transform unit of the encoding apparatus with respect to the quantization result performed by the video encoding apparatus.
  • the inverse transformation may be performed based on a transmission unit determined by the encoding apparatus or a division unit of an image.
  • the DCT and / or DST in the encoding unit of the encoding apparatus may be selectively performed according to a plurality of pieces of information, such as a prediction method, a size and a prediction direction of the current block, and the inverse transform unit 225 of the decoding apparatus is configured in the transformation unit of the encoding apparatus.
  • Inverse transformation may be performed based on the performed transformation information.
  • the prediction unit 230 may include prediction samples (or prediction sample arrays) based on prediction block generation related information provided by the entropy decoding unit 210 and previously decoded block and / or picture information provided by the memory 240.
  • a prediction block can be generated.
  • intra prediction for generating a prediction block based on pixel information in the current picture may be performed.
  • inter prediction on the current PU may be performed based on information included in at least one of a previous picture or a subsequent picture of the current picture.
  • motion information required for inter prediction of the current PU provided by the video encoding apparatus for example, a motion vector, a reference picture index, and the like, may be derived by checking a skip flag, a merge flag, and the like received from the encoding apparatus.
  • a prediction block may be generated such that a residual signal with a current block is minimized and a motion vector size is also minimized.
  • the motion information derivation scheme may vary depending on the prediction mode of the current block.
  • Prediction modes applied for inter prediction may include an advanced motion vector prediction (AMVP) mode, a merge mode, and the like.
  • AMVP advanced motion vector prediction
  • the encoding apparatus and the decoding apparatus may generate a merge candidate list by using the motion vector of the reconstructed spatial neighboring block and / or the motion vector corresponding to the Col block, which is a temporal neighboring block.
  • the motion vector of the candidate block selected from the merge candidate list is used as the motion vector of the current block.
  • the encoding apparatus may transmit, to the decoding apparatus, a merge index indicating a candidate block having an optimal motion vector selected from candidate blocks included in the merge candidate list. In this case, the decoding apparatus may derive the motion vector of the current block by using the merge index.
  • the encoding device and the decoding device use a motion vector corresponding to a motion vector of a reconstructed spatial neighboring block and / or a Col block, which is a temporal neighboring block, and a motion vector.
  • a predictor candidate list may be generated. That is, the motion vector of the reconstructed spatial neighboring block and / or the Col vector, which is a temporal neighboring block, may be used as a motion vector candidate.
  • the encoding apparatus may transmit the predicted motion vector index indicating the optimal motion vector selected from the motion vector candidates included in the list to the decoding apparatus. In this case, the decoding apparatus may select the predicted motion vector of the current block from the motion vector candidates included in the motion vector candidate list using the motion vector index.
  • the encoding apparatus may obtain a motion vector difference MVD between the motion vector MV of the current block and the motion vector predictor MVP, and may encode the same and transmit the encoded motion vector to the decoding device. That is, MVD may be obtained by subtracting MVP from MV of the current block.
  • the decoding apparatus may decode the received motion vector difference and derive the motion vector of the current block through the addition of the decoded motion vector difference and the motion vector predictor.
  • the encoding apparatus may also transmit a reference picture index or the like indicating the reference picture to the decoding apparatus.
  • the decoding apparatus may predict the motion vector of the current block using the motion information of the neighboring block, and may derive the motion vector for the current block using the residual received from the encoding apparatus.
  • the decoding apparatus may generate a prediction sample (or a prediction sample array) for the current block based on the derived motion vector and the reference picture index information received from the encoding apparatus.
  • the decoding apparatus may generate a reconstructed sample (or reconstructed sample array) by adding a predictive sample (or a predictive sample array) and a residual sample (residual sample array) obtained from transform coefficients transmitted from the encoding apparatus. Based on this, a reconstruction block and a reconstruction picture may be generated.
  • the motion information of the reconstructed neighboring block and / or the motion information of the call block may be used to derive the motion information of the current block.
  • the encoding apparatus does not transmit syntax information such as residual to the decoding apparatus other than information indicating which block motion information to use as the motion information of the current block.
  • the reconstruction block may be generated using the prediction block generated by the predictor 230 and the residual block provided by the inverse transform unit 225.
  • the reconstructed block is generated by combining the prediction block and the residual block in the adder.
  • the adder may be viewed as a separate unit (restore block generation unit) for generating a reconstruction block.
  • the reconstruction block includes a reconstruction sample (or reconstruction sample array) as described above
  • the prediction block includes a prediction sample (or a prediction sample array)
  • the residual block is a residual sample (or a residual sample). Array).
  • a reconstructed sample (or reconstructed sample array) may be expressed as the sum of the corresponding predictive sample (or predictive sample array) and the residual sample (residual sample array).
  • the residual is not transmitted for the block to which the skip mode is applied, and the prediction block may be a reconstruction block.
  • the reconstructed block and / or picture may be provided to the filter unit 235.
  • the filter unit 235 may apply deblocking filtering, sample adaptive offset (SAO), and / or ALF to the reconstructed block and / or picture.
  • SAO sample adaptive offset
  • the memory 240 may store the reconstructed picture or block to use as a reference picture or reference block and provide the reconstructed picture to the output unit.
  • Components directly related to the decoding of an image for example, an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, and a filter unit ( 235) and the like may be distinguished from other components by a decoder or a decoder.
  • the decoding apparatus 200 may further include a parsing unit (not shown) for parsing information related to the encoded image included in the bitstream.
  • the parsing unit may include the entropy decoding unit 210 or may be included in the entropy decoding unit 210. Such a parser may also be implemented as one component of the decoder.
  • a picture may be composed of a plurality of coding tree units (CTUs), and each CTU may be split into CUs in a quad tree structure.
  • a CU may be divided into quad tree structures with CUs of a lower depth.
  • the CTU may be one CU.
  • the region with simple and smooth image is coded in a relatively large CU unit in consideration of the image characteristics, and in the region with a complex image, the region is further divided into upper CUs and lower CUs in units of relatively small CUs.
  • a picture is coded in a raster scan order in units of CTUs and coded in a raster scan order for final CUs in one CTU. This can be represented, for example, as shown in FIG. 3.
  • 3 exemplarily shows an order in which CUs in a CTU are processed.
  • each block represents a CU
  • numbers in each block represent a processing order. That is, the encoding apparatus may encode the CUs based on the order of the CUs, and the decoding apparatus may decode the CUs and generate reconstructed samples based on the order of the CUs.
  • a processing order may be referred to as a depth first order or z-scan order. Accordingly, starting from the CU located at the top-left based on one CTU, the four CUs divided into quad tree structures are coded into the upper left, upper right, lower left, and lower right z scan orders. If a particular CU is partitioned back into a quad tree structure, the partitioned CUs are coded again in a z scan order and then passed to the next CU.
  • CUs located above and to the left of the current CU to be processed are coded first, so that samples and coding parameters of the first coded CUs are intra coded when intra prediction is performed on the current CU. For example intra prediction modes).
  • the current block may be a TU (or TB).
  • the TU may be derived from a CU, one TU may be derived from one CU, and a plurality of TUs may be derived from one CU in a quad tree structure.
  • the peripheral (reference) samples for intra prediction of the current block 400, the left peripheral samples p [-1] [2N-1] ... p [-1] [0] ), The upper left peripheral sample (p [-1] [-1]), and the upper peripheral samples (p [0] [-1] ... p [2N-1] [-1]) can be derived.
  • p [m] [n] represents the sample (or pixel) of the sample position (m, n), which is a relative sample given the top-left sample position of the current block as (0, 0) Position can be indicated.
  • N here represents the size of the current block 400. N may correspond to the width or height of the current block 400. If the current block 400 is a transform block, the N may be represented as nTbS.
  • the surrounding samples p [-1] [2N-1] ... p [-1] [-1] ... p [2N-1] [-1] are available for intra prediction. If there is a sample that is not available, the sample that is not available may be filled with the available sample through a substitution or padding procedure. In this case, for example, the unavailable sample may be replaced or padded with another peripheral sample adjacent to the sample.
  • the sample when the location of the sample is located outside the picture, the sample may be an unavailable sample.
  • the sample when the current block 400 is located at the edge of the picture, some of the peripheral samples may not be available.
  • the sample when another CU including the sample is not coded yet, the sample may be an available sample.
  • block 4 in FIG. 3 is a current CU, and that one current TU of the same size and location is derived from the current CU, p [N] [ ⁇ ] among neighboring samples for the current TU. 1] to p [2N-1] [-1] samples may not be available.
  • p [N] [-1] to p [2N-1] [-1] samples belong to CU # 5, and since CU # 4 is currently being coded, the p [N] [-1] to p [2N -1] [-1] samples have not yet been recovered and therefore may not be available.
  • the replacement or padding procedure may be performed in the following order, for example.
  • peripheral sample p [-1] [2N-1] If peripheral sample p [-1] [2N-1] is not available, then peripheral sample p [-1] [2N-1] (or peripheral sample p [-1] [2N-2]) ) Then p [-1] [-1], then p [0] [-1] through p [2N-1] [-1], sequentially searching for the first available found The value of one peripheral sample can be assigned to the peripheral sample p [-1] [2N-1].
  • a processing order may be changed according to prediction modes of CUs.
  • CUs divided in a CTU may be divided into two groups according to a prediction mode.
  • CUs coded in the inter prediction mode among CUs partitioned in the CTU ie, having an inter prediction mode
  • CUs coded in the intra prediction mode among the CUs partitioned within the CTU are group B.
  • CUs of the group A may be encoded / decoded first, and CUs of the group B may then be encoded / decoded.
  • FIG. 5 illustrates a CUs processing order adaptive to a prediction mode according to an embodiment of the present invention.
  • unshaded blocks represent inter predicted CUs (group A), and shaded blocks represent inter predicted CUs (group B).
  • the inter predicted CU indicates that the prediction mode for the corresponding CU is an inter prediction mode
  • the intra predicted CU indicates that the prediction mode for the corresponding CU is an intra prediction mode.
  • inter predicted CUs among CUs in the CTU are first encoded / decoded as shown, and then intra predicted CUs are encoded / decoded.
  • intra predicted CUs are encoded / decoded.
  • it may refer to the inter coded CUs coded first.
  • FIG 6 illustrates extended peripheral reference samples for intra prediction according to an example of the present invention.
  • the left peripheral samples p [-1] [2N-1] ... p [-1] [0] ), The upper left peripheral sample (p [-1] [-1]), and the upper peripheral samples (p [0] [-1] ... p [2N-1] [-1]), as well as the lower Peripheral samples (p [0] [N] ... p [N-1] [N]), lower right peripheral sample (p [N] [N]) and right peripheral samples (p [N] [N -1] ... p [N] [0]) can be derived.
  • the lower peripheral samples p [0] [N] ... p [N-1] [N] as described above, and the lower right peripheral sample p [N] [N]) and the right peripheral samples p [N] [N-1] ... p [N] [0] may further be used for intra prediction.
  • Some or all of the right peripheral samples (p [N] [N-1] ... p [N] [0]) may not be available, in which case unused samples may be replaced or padded ( The padding procedure can be used to fill in the available samples.
  • the lower peripheral sample p [0] [N] ... p [N-1] [N] the lower right peripheral sample p [N] [N] and the right peripheral samples ( interpolation of samples p [-1] [N] and samples p [N] [-1] if neither p [N] [N-1] ... p [N] [0]) is available (Or average) or values derived through interpolation of samples p [-1] [2N-1] and samples p [2N-1] [-1] can be assigned to samples p [N] [N]. . Thereafter, for each of the lower peripheral samples p [0] [N] ...
  • the replacement or padding procedure may be performed in the following order.
  • peripheral sample p [0] [N] is not available, sequentially from peripheral sample p [0] [N] (or peripheral sample p [1] [N]), p [N] [N] And then sequentially search from p [N] [N-1] to p [N] [0] and determine the value of the first available peripheral sample found above the peripheral sample p [0]. Can be assigned to [N].
  • intra prediction modes When extended peripheral samples according to the present invention are used for intra prediction, the following intra prediction modes may be utilized.
  • intra prediction modes may include two non-directional prediction modes and 65 directional prediction modes.
  • mode 0 represents an intra planar mode
  • mode 1 represents an intra DC mode.
  • the remaining 2 to 66 prediction modes are intra directional modes, each having a prediction direction as shown.
  • Intra directional mode may be referred to as intra angular mode.
  • the value of the neighboring sample located in the prediction direction based on the target sample in the current block may be derived as the predicted sample value of the target sample. If a neighboring sample of an integer sample unit is not located in the prediction direction with respect to the target sample, the fraction at the corresponding prediction direction position is based on interpolation of neighboring samples of the integer sample unit located near the prediction direction. By extracting a sample in a sample unit, a sample value of the fractional sample unit may be derived as a predicted sample value of the target sample.
  • one value may be used as the prediction value of the samples in the current block.
  • the one value may be derived based on neighboring samples adjacent to the left, right, top, and bottom of the current block.
  • the left neighboring samples p [-1] [0] ... p [-1] [N-1] of the current block 800 and the right neighboring Samples p [N] [0] ... p [N] [N-1], upper adjacent samples p [0] [-1] ... p [N-1] [-1] ), And lower neighboring samples p [0] [N] ... p [N-1] [N] can be used as reference samples.
  • One value may be derived based on p [N-1] [N]), and the one value may be used as a prediction value for samples in the current block 800. That is, prediction samples for the current block 800 may be derived based on the one value.
  • the one value may be derived using the following equation.
  • N may represent the size of the current block as described above. That is, the current block may be a block having an N ⁇ N sample size (hereinafter, an N ⁇ N block). Where N may be a positive integer.
  • N may be represented as nTbS.
  • a prediction value for the target sample in the current block may be derived based on four samples of the adjacent samples.
  • two adjacent samples positioned in the same row as the target sample and two adjacent samples positioned in the same column as the target sample may be used based on the position of the target sample. That is, when the target sample is p [x] [y], the predicted value of p [x] [y] is adjacent samples p [-1] [y], p [N] [y], p [ It can be derived based on x] [-1], p [x] [N].
  • the prediction value may be derived using the following equation.
  • N may represent the size of the current block as described above. That is, the current block may be a block having an N ⁇ N sample size (hereinafter, an N ⁇ N block). Where N may be a positive integer.
  • N may be represented as nTbS.
  • the intra directional mode when used, not only the prediction direction but also the opposite direction of the prediction direction may be considered to derive the prediction value of the target sample in the current block.
  • a prediction sample value for the target sample may be derived based on the first and second peripheral samples.
  • the prediction value for the target sample may be derived through linear interpolation of the first and second peripheral samples. This may be applied, for example, when the value of the bidirectional prediction flag (or intra interpolation flag) is one.
  • the bidirectional prediction flag (or intra interpolation flag) may be transmitted from an encoding device to a decoding device through a bitstream.
  • FIG 9 is an embodiment of an intra prediction method using linear interpolation according to the present invention.
  • the prediction mode of the current block 900 is an intra directional mode
  • the intra prediction angle according to the intra directional mode is ⁇ .
  • the intra prediction angle can be derived based on the following table.
  • predModeIntra corresponds to the index of the intra prediction mode.
  • the index corresponds to the value described above in FIG.
  • intraPredAngle corresponds to the intra prediction angle.
  • the value of the target prediction sample 910 may be derived as follows.
  • predSample corresponds to the target prediction sample 910, and ref (Above) [m] is an upper reference sample whose x coordinate is m.
  • ref (Above) [m] is an upper reference sample whose x coordinate is m.
  • an integer reference sample does not exist in the prediction direction based on the target prediction sample 910
  • a fractional reference sample is derived and a value of the target prediction sample is derived based on the target reference sample 910.
  • the upper reference sample is used, the left reference sample and the like may be used according to the prediction direction of the intra directional mode as an example.
  • the value of the target prediction sample 910 is considered in consideration of the prediction direction and the opposite direction to the prediction direction. This can be derived.
  • the value of the target prediction sample 910 may be derived as follows.
  • predSample corresponds to the target prediction sample 910
  • refAbove [m] is an upper reference sample whose x coordinate is m
  • refBelow [n] is a lower reference sample whose x coordinate is n.
  • the left reference sample and the right reference sample may be used as an example according to the prediction direction of the intra directional mode.
  • a template matching prediction (TMP) method may be used for intra prediction.
  • TMP template matching prediction
  • the candidate template most similar to the target template for the target block in the current picture may be found to derive the predictive samples for the target block based on the samples in the candidate template.
  • TMP method can increase the intra prediction efficiency in the case where a constant pattern repeatedly appears in the current picture.
  • the candidate template 1020 that is most similar to the target template 1010 in the entire picture or in a certain region is selected using the peripheral reference samples of the target block 1000 in the current CTU as the target template 1010. Can be detected.
  • prediction samples for the target block 1000 may be derived based on reconstructed samples in the candidate template 1020.
  • the target block may be called a current block and may be one of CB, PB, and TB.
  • the intra prediction performance may vary depending on how the target template 1010 to be compared is configured.
  • left and upper peripheral samples as well as right and lower samples may be used to configure the target template 1010.
  • FIG. 11 shows an example of surrounding samples used for constructing a target template.
  • Lower peripheral samples (p [0] [N] ... p [N-1] [N]) may be used, if there are samples of the peripheral samples that are not available, the replacement or padding procedure Filling with available samples through is as described above.
  • FIG. 12 schematically illustrates an example of an image coding method according to the present invention.
  • the method disclosed in FIG. 12 may be performed by an encoding device.
  • the encoding apparatus derives an intra prediction mode for a current block (S1200).
  • the encoding apparatus may derive an optimal intra prediction mode for the current block based on the rate-distortion (RD) cost.
  • the intra prediction mode may be one of two non-directional prediction modes and 34 or more (eg, 65) directional prediction modes. As described above, the two non-directional prediction modes may include an intra DC mode and an intra planner mode.
  • the encoding apparatus derives neighboring samples of the current block in order to perform the intra prediction (S1210).
  • the peripheral samples may include the samples as described above with reference to FIGS. 6, 8, and 11.
  • the peripheral samples may include left peripheral samples, upper left peripheral samples, upper peripheral samples, right peripheral samples, lower right peripheral samples, and lower peripheral samples of the current block.
  • the lower peripheral samples are p [0] [N] to p [N-1] [N]
  • the right lower peripheral sample may be p [N] [N]
  • the right peripheral samples may be p [N] [N-1] to p [N] [0].
  • the peripheral samples may be samples that have already been restored.
  • the current block is included in a current CU (coding unit), the current CU is included in a current coding tree unit (CTU), the CU of the inter prediction mode among the CUs in the current CTU than the current CU of the intra prediction mode
  • the value of the unavailable sample is a substitution or padding procedure. It can be derived through.
  • at least one sample position of the lower peripheral samples, the lower right peripheral sample and the right peripheral samples is located outside the current picture, or the lower peripheral samples, the lower right peripheral sample and the right peripheral sample. If another CU including the at least one sample of these has not been decoded yet, the at least one sample may be determined to be unavailable.
  • the left peripheral samples are p [-1] [2N-1] to p [-1] [0], and the upper left peripheral sample is p [-1]. [-1], and the upper peripheral samples are p [0] [-1] to p [2N-1] [-1], and the lower peripheral samples, the lower right peripheral sample and the right peripheral samples are all It may not be available.
  • a value of p [N] [N] is derived based on p [-1] [N] and p [N] [-1], or p [-1] [2N-1]
  • the value of p [N] [N] is derived based on the p [2N-1] [-1].
  • At least one of the lower peripheral samples, the lower right peripheral sample, and the right peripheral samples may be available.
  • the encoding apparatus generates a prediction sample (or a prediction sample array) for the current block by using at least one of the neighboring samples according to the intra prediction mode (S1220).
  • the intra prediction mode for the current block is an intra directional mode
  • a neighboring sample located in the prediction direction indicated by the intra directional mode that is, a neighboring sample located in the prediction direction from the prediction sample position.
  • the prediction sample may be generated. If a peripheral sample of an integer sample unit is not located in the prediction direction, a fractional sample value of a position indicated by the prediction direction is generated by interpolation of neighboring samples of an integer sample unit adjacent to the position indicated by the prediction direction.
  • the prediction direction may include a left, top left, top side, as well as a right, bottom side, or bottom right direction.
  • the value of the prediction sample may be derived based on the prediction direction indicated by the intra directional mode and the direction opposite to the prediction direction.
  • the intra prediction mode for the current block may be an intra DC mode.
  • one value derived from the left neighboring samples, the right neighboring samples, the upper neighboring samples, and the lower neighboring samples among the neighboring samples may be derived as the value of the prediction sample.
  • the intra prediction mode for the current block may be an intra planner mode.
  • the value of the prediction sample may be derived using two samples located in the same row as the prediction sample and two samples located in the same column as the prediction sample.
  • the intra prediction mode for the current block may be a template matching prediction (TMP) mode.
  • TMP template matching prediction
  • a candidate template corresponding to the target template may be derived using the neighboring samples as a target template, and a value of the predicted sample may be derived based on a reconstructed sample in the candidate template.
  • the encoding apparatus generates a residual sample (or residual sample array) for the current block based on the derived prediction sample (S1230).
  • the encoding apparatus may generate the residual sample based on the original sample and the prediction sample for the target block of the current picture.
  • the encoding apparatus encodes and outputs the information about the intra prediction mode and the information about the residual sample (S1240).
  • the encoding device may encode the information and output the bitstream.
  • the bitstream may be transmitted to a decoding apparatus via a network or a storage medium.
  • the information about the intra prediction mode may include information indicating the intra prediction mode of the current block directly, or from an intra prediction mode candidate list derived based on the intra prediction mode of the left or upper block of the current block. It may include information indicating any one candidate.
  • the information about the residual sample may include transform coefficients regarding the residual sample.
  • the information about the intra prediction mode is bidirectionally predicted.
  • Flag or intra interpolation flag
  • FIG. 13 schematically shows an example of an intra prediction method according to the present invention.
  • the method disclosed in FIG. 13 may be performed by a decoding apparatus.
  • the decoding apparatus derives an intra prediction mode for a current block (S1300).
  • the decoding apparatus may derive an optimal intra prediction mode for the current block based on the information about the intra prediction mode obtained through the bitstream.
  • the bitstream may be received from an encoding device via a network or a storage medium.
  • the information about the intra prediction mode may include information indicating the intra prediction mode of the current block directly, or from an intra prediction mode candidate list derived based on the intra prediction mode of the left or upper block of the current block. It may include information indicating any one candidate.
  • the information about the intra prediction mode may include a bidirectional prediction flag (or an intra interpolation flag).
  • the decoding apparatus derives neighboring samples of the current block to perform the intra prediction (S1310).
  • the peripheral samples may include the samples as described above with reference to FIGS. 6, 8, and 11.
  • the peripheral samples may include left peripheral samples, upper left peripheral samples, upper peripheral samples, right peripheral samples, lower right peripheral samples, and lower peripheral samples of the current block.
  • the lower peripheral samples are p [0] [N] to p [N-1] [N]
  • the right lower peripheral sample may be p [N] [N]
  • the right peripheral samples may be p [N] [N-1] to p [N] [0].
  • the peripheral samples may be samples that have already been restored.
  • the current block is included in a current CU (coding unit), the current CU is included in a current coding tree unit (CTU), the CU of the inter prediction mode among the CUs in the current CTU than the current CU of the intra prediction mode
  • the value of the unavailable sample is a substitution or padding procedure. It can be derived through.
  • at least one sample position of the lower peripheral samples, the lower right peripheral sample and the right peripheral samples is located outside the current picture, or the lower peripheral samples, the lower right peripheral sample and the right peripheral sample. If another CU including the at least one sample of these has not been decoded yet, the at least one sample may be determined to be unavailable.
  • the left peripheral samples are p [-1] [2N-1] to p [-1] [0], and the upper left peripheral sample is p [-1]. [-1], and the upper peripheral samples are p [0] [-1] to p [2N-1] [-1], and the lower peripheral samples, the lower right peripheral sample and the right peripheral samples are all It may not be available.
  • a value of p [N] [N] is derived based on p [-1] [N] and p [N] [-1], or p [-1] [2N-1]
  • the value of p [N] [N] is derived based on the p [2N-1] [-1].
  • At least one of the lower peripheral samples, the lower right peripheral sample, and the right peripheral samples may be available.
  • the decoding apparatus generates a prediction sample (or a prediction sample array) for the current block by using at least one of the neighboring samples according to the intra prediction mode (S1320).
  • the intra prediction mode for the current block is an intra directional mode
  • a neighboring sample located in the prediction direction indicated by the intra directional mode that is, a neighboring sample located in the prediction direction from the prediction sample position.
  • the prediction sample may be generated. If a peripheral sample of an integer sample unit is not located in the prediction direction, a fractional sample value of a position indicated by the prediction direction is generated by interpolation of neighboring samples of an integer sample unit adjacent to the position indicated by the prediction direction.
  • the prediction direction may include a left, top left, top side, as well as a right, bottom side, or bottom right direction.
  • the value of the prediction sample may be derived based on the prediction direction indicated by the intra directional mode and the direction opposite to the prediction direction.
  • the intra prediction mode for the current block may be an intra DC mode.
  • one value derived from the left neighboring samples, the right neighboring samples, the upper neighboring samples, and the lower neighboring samples among the neighboring samples may be derived as the value of the prediction sample.
  • the intra prediction mode for the current block may be an intra planner mode.
  • the value of the prediction sample may be derived using two samples located in the same row as the prediction sample and two samples located in the same column as the prediction sample.
  • the intra prediction mode for the current block may be a template matching prediction (TMP) mode.
  • TMP template matching prediction
  • a candidate template corresponding to the target template may be derived using the neighboring samples as a target template, and a value of the predicted sample may be derived based on a reconstructed sample in the candidate template.
  • the decoding device may receive information about the residual sample for the current block from the bitstream.
  • the information about the residual sample may include transform coefficients regarding the residual sample.
  • the decoding apparatus may derive the residual sample (or residual sample array) for the current block based on the information about the residual sample.
  • the decoding apparatus may generate a reconstructed sample based on the prediction sample and the residual sample, and may derive a reconstructed block or a reconstructed picture based on the reconstructed sample. 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
  • the coding order of CUs which are basic processing units of an image may be derived based on a prediction mode, thereby improving coding efficiency of CUs.
  • intra prediction performance may be improved by using extended peripheral reference samples.
  • the above-described method may be implemented as a module (process, function, etc.) for performing the above-described function.
  • the module may be stored in memory and executed by a processor.
  • the memory may be internal or external to the processor and may be coupled to the processor by various well known means.
  • the processor may include application-specific integrated circuits (ASICs), other chipsets, logic circuits, and / or data processing devices.
  • the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory card, storage medium and / or other storage device.

Abstract

본 발명에 따른 디코딩 장치에 의하여 수행되는 인트라 예측 방법은 현재 블록에 대한 인트라 예측 모드를 도출하는 단계, 상기 현재 블록의 주변 샘플들을 도출하는 단계 및 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플을 생성하는 단계를 포함하되, 상기 도출된 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함함을 특징으로 한다. 본 발명에 따르면, 확장된 주변 참조 샘플들을 이용하여 인트라 예측 성능을 향상시킬 수 있고, CU들에 대한 코딩 효율을 향상시킬 수 있다.

Description

비디오 코딩 시스템에서 인트라 예측 방법 및 장치
본 발명은 비디오 코딩 기술에 관한 것으로서 보다 상세하게는 비디오 코딩 시스템에서 인트라 예측 방법 및 장치에 관한 것이다.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 전송되는 정보량 또는 비트량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 영상 데이터를 저장하는 경우, 전송 비용과 저장 비용이 증가된다.
이에 따라, 고해상도, 고품질 영상의 정보를 효과적으로 전송하거나 저장하고, 재생하기 위해 고효율의 영상 압축 기술이 요구된다.
본 발명의 기술적 과제는 영상 코딩 효율을 높이는 방법 및 장치를 제공함에 있다.
본 발명의 다른 기술적 과제는 코딩 효율을 높이기 위한 CU(coding unit) 코딩 순서를 제공함에 있다.
본 발명의 또 다른 기술적 과제는 CU에 대한 예측 모드를 기반으로 코딩 순서를 결정함에 있다.
본 발명의 또 다른 기술적 과제는 인트라 예측(intra prediction)의 효율을 향상시키기 위한 방법 및 장치를 제공함에 있다.
본 발명의 또 다른 기술적 과제는 효율적인 인트라 예측을 위한 현재 블록의 주변 참조 샘플들의 위치를 정의하는 데 있다.
본 발명의 또 다른 기술적 과제는 현재 블록의 주변 참조 샘플들을 도출하는 방법 및 장치를 제공함에 있다.
본 발명의 또 다른 기술적 과제는 템플릿(template)을 활용한 인트라 예측 방법 및 장치를 제공함에 있다.
본 발명의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 인트라 예측 방법을 제공한다. 상기 인트라 예측 방법은 현재 블록에 대한 인트라 예측 모드를 도출하는 단계, 상기 현재 블록의 주변 샘플들을 도출하는 단계 및 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플을 생성하는 단계를 포함하되, 상기 도출된 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함함을 특징으로 한다.
본 발명의 다른 일 실시예에 따르면, 인트라 예측을 수행하는 디코딩 장치를 제공한다. 상기 디코딩 장치는 비트스트림으로부터 현재 블록에 대한 인트라 예측 모드에 관한 정보를 획득하는 디코딩부, 상기 현재 블록에 대한 상기 인트라 예측 모드를 도출하고, 상기 현재 블록의 주변 샘플들을 도출하고 및 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플을 생성하는 예측부를 포함하되, 상기 도출된 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함함을 특징으로 한다
본 발명의 또 다른 일 실시예에 따르면, 인코딩 장치에 의하여 수행되는 영상 인코딩 방법이 제공된다. 상기 영상 인코딩 방법은 현재 블록에 대한 인트라 예측 모드를 도출하는 단계, 상기 현재 블록의 주변 샘플들을 도출하는 단계, 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플을 생성하는 단계, 상기 예측 샘플을 기반으로 현재 블록에 대한 레지듀얼 샘플을 생성하는 단계, 및 상기 인트라 예측 모드에 관한 정보 및 상기 레지듀얼 샘플에 관한 정보를 인코딩하여 출력하는 단계를 포함하되, 상기 도출된 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함함을 특징으로 한다.
본 발명의 또 다른 일 실시예에 따르면, 영상 인코딩을 수행하는 인코딩 장치가 제공된다. 상기 인코딩 장치는 현재 블록에 대한 인트라 예측 모드를 도출하고, 상기 현재 블록의 주변 샘플들을 도출하고, 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플을 생성하는 예측부, 상기 예측 샘플을 기반으로 현재 블록에 대한 레지듀얼 샘플을 생성하는 감산부, 및 상기 인트라 예측 모드에 관한 정보 및 상기 레지듀얼 샘플에 관한 정보를 인코딩하여 출력하는 인코딩부를 포함하되, 상기 도출된 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함함을 특징으로 한다.
본 발명에 따르면, 영상의 기본 처리 단위인 CU들의 코딩 순서를 예측 모드를 기반으로 도출할 수 있으며, 이를 통하여 CU들 코딩 효율을 향상시킬 수 있다. 또한, 본 발명에 따르면 확장된 주변 참조 샘플들을 이용하여 인트라 예측 성능을 향상시킬 수 있다.
도 1은 본 발명의 일 실시예에 따른 비디오 인코딩 장치를 개략적으로 도시한 블록도이다.
도 2는 본 발명의 일 실시예에 따른 비디오 디코딩 장치를 개략적으로 도시한 블록도이다.
도 3은 CTU 내 CU들이 처리되는 순서를 예를 들어 나타낸다.
도 4는 현재 블록에 대해 인트라 예측이 수행되는 경우에 이용될 수 있는 복원된 주변 참조 샘플들의 예를 나타낸다.
도 5는 본 발명의 일 실시예에 따른, 예측 모드에 적응적인 CU들 처리 순서를 나타낸다.
도 6은 본 발명의 일 예에 따른 인트라 예측을 위한 확장된 주변 참조 샘플들을 나타낸다.
도 7은 본 발명에 따른 인트라 예측 모드들을 예시적으로 나타낸다.
도 8은 현재 블록의 인트라 예측 모드가 인트라 DC 모드인 경우 사용가능한 주변 참조 샘플들을 예시적으로 나타낸다.
도 9는 본 발명에 따른 선형 보간 기법을 활용한 인트라 예측방법의 실시예이다.
도 10은 본 발명에 따른 TMP 방법을 예시적으로 나타낸다.
도 11은 대상 템플릿 구성을 위하여 사용되는 주변 샘플들의 예를 나타낸다.
도 12는 본 발명에 따른 영상 코딩 방법의 일 예를 개략적으로 나타낸다.
도 13은 본 발명에 따른 인트라 예측 방법의 일 예를 개략적으로 나타낸다.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니다. 본 명세서에서 사용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
한편, 본 발명에서 설명되는 도면상의 각 구성들은 비디오 인코딩 장치/디코딩 장치에서 서로 다른 특징적인 기능들에 관한 설명의 편의를 위해 독립적으로 도시된 것으로서, 각 구성들이 서로 별개의 하드웨어나 별개의 소프트웨어로 구현된다는 것을 의미하지는 않는다. 예컨대, 각 구성 중 두 개 이상의 구성이 합쳐져 하나의 구성을 이룰 수도 있고, 하나의 구성이 복수의 구성으로 나뉘어질 수도 있다. 각 구성이 통합 및/또는 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명에 포함된다.
이하, 첨부한 도면들을 참조하여, 본 발명의 실시예를 보다 상세하게 설명하고자 한다.
도 1은 본 발명의 일 실시예에 따른 비디오 인코딩 장치를 개략적으로 도시한 블록도이다.
도 1을 참조하면, 인코딩 장치(100)는 픽처 분할부(105), 예측부(110), 변환부(115), 양자화부(120), 재정렬부(125), 엔트로피 인코딩부(130), 역양자화부(135), 역변환부(140), 필터부(145) 및 메모리(150)를 구비한다.
픽처 분할부(105)는 입력된 픽처를 적어도 하나의 처리 단위 블록으로 분할할 수 있다. 이때, 처리 단위로서의 블록은 예측 유닛(Prediction Unit, PU)일 수도 있고, 변환 유닛(Transform Unit, TU)일 수도 있으며, 코딩 유닛(Coding Unit, CU)일 수도 있다. 픽처는 복수의 코딩 트리 유닛(Coding Tree Unit, CTU)들로 구성될 수 있으며, 각각의 CTU는 쿼드 트리(quad-tree) 구조로 CU들로 분할(split)될 수 있다. CU는 보다 하위(deeper) 뎁스의 CU들로 쿼드 트리 구조로 분할될 수도 있다. PU 및 TU는 CU로부터 획득될 수 있다. 예를 들어, PU는 CU로부터 대칭 또는 비대칭 사각형 구조로 파티셔닝(partitioning)될 수 있다. 또한 TU는 CU로부터 쿼드 트리 구조로 분할될 수도 있다. CTU는 CTB(coding tree block)에 대응될 수 있고, CU는 CB(coding block)에 대응될 수 있고, PU는 PB(prediction block)에 대응될 수 있고, TU는 TB(transform block)에 대응될 수 있다.
예측부(110)는 후술하는 바와 같이, 인터 예측을 수행하는 인터 예측부와 인트라 예측을 수행하는 인트라 예측부를 포함한다. 예측부(110)는, 픽처 분할부(105)에서 픽처의 처리 단위에 대하여 예측을 수행하여 예측 샘플(또는 예측 샘플 어레이)을 포함하는 예측 블록을 생성한다. 예측부(110)에서 픽처의 처리 단위는 CU일 수도 있고, TU일 수도 있고, PU일 수도 있다. 또한, 예측부(110)는 해당 처리 단위에 대하여 실시되는 예측이 인터 예측인지 인트라 예측인지를 결정하고, 각 예측 방법의 구체적인 내용(예컨대, 예측 모드 등)을 정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 예측 방법의 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 PU 단위로 결정되고, 예측의 수행은 TU 단위로 수행될 수도 있다.
인터 예측을 통해서는 현재 픽처의 이전 픽처 및/또는 이후 픽처 중 적어도 하나의 픽처의 정보를 기초로 예측을 수행하여 예측 블록을 생성할 수 있다. 또한, 인트라 예측을 통해서는 현재 픽처 내의 픽셀 정보를 기초로 예측을 수행하여 예측 블록을 생성할 수 있다.
인터 예측의 방법으로서, 스킵(skip) 모드, 머지(merge) 모드, AMVP(Advanced Motion Vector Prediction) 등을 이용할 수 있다. 인터 예측에서는 PU에 대하여, 참조 픽처를 선택하고 PU에 대응하는 참조 블록을 선택할 수 있다. 참조 블록은 정수 픽셀(또는 샘플) 또는 분수 픽셀(또는 샘플) 단위로 선택될 수 있다. 이어서, PU와의 레지듀얼(residual) 신호가 최소화되며 움직임 벡터 크기 역시 최소가 되는 예측 블록이 생성된다. 본 명세서에서 픽셀(pixel), 펠(pel) 및 샘플(sample)은 서로 혼용될 수 있다.
예측 블록은 정수 픽셀 단위로 생성될 수도 있고, 1/2 픽셀 단위 또는 1/4 픽셀 단위와 같이 정수 이하 픽셀 단위로 생성될 수도 있다. 이때, 움직임 벡터 역시 정수 픽셀 이하의 단위로 표현될 수 있다.
인터 예측을 통해 선택된 참조 픽처의 인덱스, 움직임 벡터 차분(motion vector difference, MVD), 움직임 벡터 예측자(motion vector predictor, MVP), 레지듀얼 신호 등의 정보는 엔트로피 인코딩되어 디코딩 장치에 전달될 수 있다. 스킵 모드가 적용되는 경우에는 예측 블록을 복원 블록으로 할 수 있으므로, 레지듀얼을 생성, 변환, 양자화, 전송하지 않을 수 있다.
인트라 예측을 수행하는 경우에는, PU 단위로 예측 모드가 정해져서 PU 단위로 예측이 수행될 수 있다. 또한, PU 단위로 예측 모드가 정해지고 TU 단위로 인트라 예측이 수행될 수도 있다.
인트라 예측에서 예측 모드는 예를 들어 33개의 방향성 예측 모드와 적어도 2개 이상의 비방향성 모드를 가질 수 있다. 비방향성 모드는 DC 예측 모드 및 플래너 모드(Planar 모드)을 포함할 수 있다.
인트라 예측에서는 참조 샘플에 필터를 적용한 후 예측 블록을 생성할 수 있다. 이때, 참조 샘플에 필터를 적용할 것인지는 현재 블록의 인트라 예측 모드 및/또는 사이즈에 따라 결정될 수 있다.
생성된 예측 블록과 원본 블록 사이의 레지듀얼 값(레지듀얼 블록 또는 레지듀얼 신호)은 변환부(115)로 입력된다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 벡터 정보 등은 레지듀얼 값과 함께 엔트로피 인코딩부(130)에서 인코딩되어 디코딩 장치에 전달된다.
변환부(115)는 변환 블록 단위로 레지듀얼 블록에 대한 변환을 수행하고 변환 계수를 생성한다.
변환 블록은 샘플들의 직사각형 블록으로서 동일한 변환이 적용되는 블록이다. 변환 블록은 변환 유닛(TU)일 수 있으며, 쿼드 트리(quad tree) 구조를 가질 수 있다.
변환부(115)는 레지듀얼 블록에 적용된 예측 모드와 블록의 크기에 따라서 변환을 수행할 수 있다.
예컨대, 레지듀얼 블록에 인트라 예측이 적용되었고 블록이 4x4의 레지듀얼 배열(array)이라면, 레지듀얼 블록을 DST(Discrete Sine Transform)를 이용하여 변환하고, 그 외의 경우라면 레지듀얼 블록을 DCT(Discrete Cosine Transform)를 이용하여 변환할 수 있다.
변환부(115)는 변환에 의해 변환 계수들의 변환 블록을 생성할 수 있다.
양자화부(120)는 변환부(115)에서 변환된 레지듀얼 값들, 즉 변환 계수들을 양자화하여 양자화된 변환 계수를 생성할 수 있다. 양자화부(120)에서 산출된 값은 역양자화부(135)와 재정렬부(125)에 제공된다.
재정렬부(125)는 양자화부(120)로부터 제공된 양자화된 변환 계수를 재정렬한다. 양자화된 변환 계수를 재정렬함으로써 엔트로피 인코딩부(130)에서의 인코딩 효율을 높일 수 있다.
재정렬부(125)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원 블록 형태의 양자화된 변환 계수들을 1차원의 벡터 형태로 재정렬할 수 있다.
엔트로피 인코딩부(130)는 재정렬부(125)에 의해 재정렬된 양자화된 변환 값들 또는 코딩 과정에서 산출된 인코딩 파라미터 값 등을 기초로 심볼(symbol)을 확률 분포에 따라 엔트로피 코딩하여 비트스트림(bitstream)을 출력할 수 있다. 엔트로피 인코딩 방법은 다양한 값을 갖는 심볼을 입력 받아, 통계적 중복성을 제거하면서, 디코딩 가능한 2진수의 열로 표현하는 방법이다.
여기서, 심볼이란 인코딩/디코딩 대상 구문 요소(syntax element) 및 코딩 파라미터(coding parameter), 레지듀얼 신호(residual signal)의 값 등을 의미한다. 인코딩 파라미터는 인코딩 및 디코딩에 필요한 매개변수로서, 구문 요소와 같이 인코딩 장치에서 인코딩되어 디코딩 장치로 전달되는 정보뿐만 아니라, 인코딩 혹은 디코딩 과정에서 유추될 수 있는 정보를 포함할 수 있으며 영상을 인코딩하거나 디코딩할 때 필요한 정보를 의미한다. 인코딩 파라미터는 예를 들어 인트라/인터 예측모드, 이동/움직임 벡터, 참조 영상 색인, 코딩 블록 패턴, 잔여 신호 유무, 변환 계수, 양자화된 변환 계수, 양자화 파라미터, 블록 크기, 블록 분할 정보 등의 값 또는 통계를 포함할 수 있다. 또한 잔여 신호는 원신호와 예측 신호의 차이를 의미할 수 있고, 또한 원신호와 예측 신호의 차이가 변환(transform)된 형태의 신호 또는 원신호와 예측 신호의 차이가 변환되고 양자화된 형태의 신호를 의미할 수도 있다. 잔여 신호는 블록 단위에서는 잔여 블록이라 할 수 있고, 샘플 단위에서는 잔여 샘플이라고 할 수 있다.
엔트로피 인코딩이 적용되는 경우, 높은 발생 확률을 갖는 심볼에 적은 수의 비트가 할당되고 낮은 발생 확률을 갖는 심볼에 많은 수의 비트가 할당되어 심볼이 표현됨으로써, 인코딩 대상 심볼들에 대한 비트열의 크기가 감소될 수 있다. 따라서 엔트로피 인코딩을 통해서 영상 인코딩의 압축 성능이 높아질 수 있다.
엔트로피 인코딩을 위해 지수 골룸(exponential golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 인코딩 방법이 사용될 수 있다. 예를 들어, 엔트로피 인코딩부(130)에는 가변 길이 코딩(VLC: Variable Length Coding/Code) 테이블과 같은 엔트로피 인코딩을 수행하기 위한 테이블이 저장될 수 있고, 엔트로피 인코딩부(130)는 저장된 가변 길이 코딩(VLC) 테이블을 사용하여 엔트로피 인코딩을 수행할 수 있다. 또한 엔트로피 인코딩부(130)는 대상 심볼의 이진화(binarization) 방법 및 대상 심볼/빈(bin)의 확률 모델(probability model)을 도출(derive)한 후, 도출된 이진화 방법 또는 확률 모델을 사용하여 엔트로피 인코딩을 수행할 수도 있다.
또한, 엔트로피 인코딩부(130)는 필요한 경우에, 전송하는 파라미터 셋(parameter set) 또는 신택스에 일정한 변경을 가할 수도 있다.
역양자화부(135)는 양자화부(120)에서 양자화된 값(양자화된 변환 계수)들을 역양자화하고, 역변환부(140)는 역양자화부(135)에서 역양자화된 값들을 역변환한다.
역양자화부(135) 및 역변환부(140)에서 생성된 레지듀얼 값(또는 레지듀얼 샘플 또는 레지듀얼 샘플 어레이)과 예측부(110)에서 예측된 예측 블록이 합쳐져 복원 샘플(또는 복원 샘플 어레이)를 포함하는 복원 블록(Reconstructed Block)이 생성될 수 있다.
도 1에서는 가산기를 통해서, 레지듀얼 블록과 예측 블록이 합쳐져 복원 블록이 생성되는 것으로 설명하고 있다. 이때, 가산기를 복원 블록을 생성하는 별도의 유닛(복원 블록 생성부)로 볼 수도 있다.
필터부(145)는 디블록킹 필터, ALF(Adaptive Loop Filter), SAO(Sample Adaptive Offset)를 복원된 픽처에 적용할 수 있다.
디블록킹 필터는 복원된 픽처에서 블록 간의 경계에 생긴 왜곡을 제거할 수 있다. ALF(Adaptive Loop Filter)는 디블록킹 필터를 통해 블록이 필터링된 후 복원된 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. ALF는 고효율을 적용하는 경우에만 수행될 수도 있다. SAO는 디블록킹 필터가 적용된 레지듀얼 블록에 대하여, 픽셀 단위로 원본 영상과의 오프셋 차이를 복원하며, 밴드 오프셋(Band Offset), 엣지 오프셋(Edge Offset) 등의 형태로 적용된다.
한편, 인터 예측에 사용되는 복원 블록에 대해서 필터부(145)는 필터링을 적용하지 않을 수도 있다.
메모리(150)는 필터부(145)를 통해 산출된 복원 블록 또는 픽처를 저장할 수 있다. 메모리(150)에 저장된 복원 블록 또는 픽처는 인터 예측을 수행하는 예측부(110)에 제공될 수 있다.
도 2는 본 발명의 일 실시예에 따른 비디오 디코딩 장치를 개략적으로 나타낸 블록도이다. 도 2를 참조하면, 비디오 디코딩 장치(200)는 엔트로피 디코딩부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230), 필터부(235) 메모리(240)를 포함할 수 있다.
비디오 인코딩 장치에서 영상 비트스트림이 입력된 경우, 입력된 비트스트림은 비디오 인코딩 장치에서 영상 정보가 처리된 절차에 따라서 디코딩될 수 있다.
엔트로피 디코딩부(210)는, 입력된 비트스트림을 확률 분포에 따라 엔트로피 디코딩하여, 양자화된 계수(quantized coefficient) 형태의 심볼을 포함한 심볼들을 생성할 수 있다. 엔트로피 디코딩 방법은 2진수의 열을 입력 받아 각 심볼들을 생성하는 방법이다. 엔트로피 디코딩 방법은 상술한 엔트로피 인코딩 방법과 유사하다.
예컨대, 비디오 인코딩 장치에서 엔트로피 인코딩을 수행하기 위해 CAVLC 등의 가변 길이 코딩(Variable Length Coding: VLC, 이하 'VLC' 라 함)가 사용된 경우에, 엔트로피 디코딩부(210)도 인코딩 장치에서 사용한 VLC 테이블과 동일한 VLC 테이블로 구현하여 엔트로피 디코딩을 수행할 수 있다. 또한, 비디오 인코딩 장치에서 엔트로피 인코딩을 수행하기 위해 CABAC을 이용한 경우에, 엔트로피 디코딩부(210)는 이에 대응하여 CABAC을 이용한 엔트로피 디코딩을 수행할 수 있다.
보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈(bin)의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다.
엔트로피 디코딩부(210)에서 디코딩된 정보 중 예측 블록을 생성하기 위한 정보는 예측부(230)로 제공되고, 엔트로피 디코딩부(210)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수는 재정렬부(215)로 입력될 수 있다.
재정렬부(215)는 엔트로피 디코딩부(210)에서 엔트로피 디코딩된 비트스트림의 정보, 즉 양자화된 변환 계수를 인코딩 장치에서 재정렬한 방법을 기초로 재정렬할 수 있다.
재정렬부(215)는 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부(215)는 현재 블록(변환 블록)에 적용된 예측 모드와 변환 블록의 크기를 기반으로 계수에 대한 스캐닝을 수행하여 2 차원 블록 형태의 계수(양자화된 변환 계수) 배열(array)을 생성할 수 있다.
역양자화부(220)는 인코딩 장치에서 제공된 양자화 파라미터와 재정렬된 블록의 계수값을 기초로 역양자화를 수행할 수 있다.
역변환부(225)는 비디오 인코딩 장치에서 수행된 양자화 결과에 대해, 인코딩 장치의 변환부가 수행한 DCT 및 DST에 대해 역DCT 및/또는 역DST를 수행할 수 있다.
역변환은 인코딩 장치에서 결정된 전송 단위 또는 영상의 분할 단위를 기초로 수행될 수 있다. 인코딩 장치의 변환부에서 DCT 및/또는 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 디코딩 장치의 역변환부(225)는 인코딩 장치의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다.
예측부(230)는 엔트로피 디코딩부(210)에서 제공된 예측 블록 생성 관련 정보와 메모리(240)에서 제공된 이전에 디코딩된 블록 및/또는 픽처 정보를 기초로 예측 샘플(또는 예측 샘플 어레이)를 포함하는 예측 블록을 생성할 수 있다.
현재 PU에 대한 예측 모드가 인트라 예측(intra prediction) 모드인 경우에, 현재 픽처 내의 픽셀 정보를 기초로 예측 블록을 생성하는 인트라 예측을 수행할 수 있다.
현재 PU에 대한 예측 모드가 인터 예측(inter prediction) 모드인 경우에, 현재 픽처의 이전 픽처 또는 이후 픽처 중 적어도 하나의 픽처에 포함된 정보를 기초로 현재 PU에 대한 인터 예측을 수행할 수 있다. 이때, 비디오 인코딩 장치에서 제공된 현재 PU의 인터 예측에 필요한 움직임 정보, 예컨대 움직임 벡터, 참조 픽처 인덱스 등에 관한 정보는 인코딩 장치로부터 수신한 스킵 플래그, 머지 플래그 등을 확인하고 이에 대응하여 유도될 수 있다.
현재 픽처에 대한 인터 예측 시, 현재 블록과의 레지듀얼(residual) 신호가 최소화되며 움직임 벡터 크기 역시 최소가 되도록 예측 블록을 생성할 수 있다.
한편, 움직임 정보 도출 방식은 현재 블록의 예측 모드에 따라 달라질 수 있다. 인터 예측을 위해 적용되는 예측 모드에는 AMVP(Advanced Motion Vector Prediction) 모드, 머지(merge) 모드 등이 있을 수 있다.
일 예로, 머지 모드가 적용되는 경우, 인코딩 장치 및 디코딩 장치는 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 머지 후보 리스트를 생성할 수 있다. 머지 모드에서는 머지 후보 리스트에서 선택된 후보 블록의 움직임 벡터가 현재 블록의 움직임 벡터로 사용된다. 인코딩 장치는 상기 머지 후보 리스트에 포함된 후보 블록들 중에서 선택된 최적의 움직임 벡터를 갖는 후보 블록을 지시하는 머지 인덱스를 디코딩 장치로 전송할 수 있다. 이 때, 디코딩 장치는 상기 머지 인덱스를 이용하여, 현재 블록의 움직임 벡터를 도출할 수 있다.
다른 예로, AMVP(Advanced Motion Vector Prediction) 모드가 적용되는 경우, 인코딩 장치 및 디코딩 장치는 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 움직임 벡터 예측자 후보 리스트를 생성할 수 있다. 즉, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터는 움직임 벡터 후보로 사용될 수 있다. 인코딩 장치는 상기 리스트에 포함된 움직임 벡터 후보 중에서 선택된 최적의 움직임 벡터를 지시하는 예측 움직임 벡터 인덱스를 디코딩 장치로 전송할 수 있다. 이 때, 디코딩 장치는 상기 움직임 벡터 인덱스를 이용하여, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보 중에서, 현재 블록의 예측 움직임 벡터를 선택할 수 있다.
인코딩 장치는 현재 블록의 움직임 벡터(MV)와 움직임 벡터 예측자(MVP) 간의 움직임 벡터 차분(MVD)을 구할 수 있고, 이를 인코딩하여 디코딩 장치로 전송할 수 있다. 즉, MVD는 현재 블록의 MV에서 MVP를 뺀 값으로 구해질 수 있다. 이 때, 디코딩 장치는 수신된 움직임 벡터 차분을 디코딩할 수 있고, 디코딩된 움직임 벡터 차분과 움직임 벡터 예측자의 가산을 통해 현재 블록의 움직임 벡터를 도출할 수 있다.
인코딩 장치는 또한 참조 픽처를 지시하는 참조 픽처 인덱스 등을 디코딩 장치에 전송할 수 있다.
디코딩 장치는 주변 블록의 움직임 정보들을 이용하여 현재 블록의 움직임 벡터를 예측하고, 인코딩 장치로부터 수신한 레지듀얼을 이용하여 현재 블록에 대한 움직임 벡터를 유도할 수 있다. 디코딩 장치는 유도한 움직임 벡터와 인코딩 장치로부터 수신한 참조 픽처 인덱스 정보를 기반으로 현재 블록에 대한 예측 샘플(또는 예측 샘플 어레이)을 생성할 수 있다.
디코딩 장치는 예측 샘플(또는 예측 샘플 어레이)과 인코딩 장치로부터 전송되는 변환 계수들로부터 획득한 레지듀얼 샘플(레지듀얼 샘플 어레이)을 더하여 복원 샘플(또는 복원 샘플 어레이)를 생성할 수 있다. 이를 기반으로 복원 블록 및 복원 픽처가 생성될 수 있다.
상술한 AMVP 및 머지 모드에서는, 현재 블록의 움직임 정보를 도출하기 위해, 복원된 주변 블록의 움직임 정보 및/또는 콜 블록의 움직임 정보가 사용될 수 있다.
인터 예측에 이용되는 다른 모드 중 하나인 스킵 모드의 경우에, 주변 블록의 정보를 그대로 현재 블록에 이용할 수 있다. 따라서 스킵 모드의 경우에, 인코딩 장치는 현재 블록의 움직임 정보로서 어떤 블록의 움직임 정보를 이용할 것인지를 지시하는 정보 외에 레지듀얼 등과 같은 신택스 정보를 디코딩 장치에 전송하지 않는다.
복원 블록은 예측부(230)에서 생성된 예측 블록과 역변환부(225)에서 제공된 레지듀얼 블록을 이용해 생성될 수 있다. 도 2에서는 가산기에서 예측 블록과 레지듀얼 블록이 합쳐져 복원 블록이 생성되는 것으로 설명하고 있다. 이때, 가산기를 복원 블록을 생성하는 별도의 유닛(복원 블록 생성부)로 볼 수 있다. 여기서 상기 복원 블록은 상술한 바와 같이 복원 샘플(또는 복원 샘플 어레이)를 포함하고, 상기 예측 블록은 예측 샘플(또는 예측 샘플 어레이)를 포함하고, 상기 레지듀얼 블록은 레지듀얼 샘플(또는 레지듀얼 샘플 어레이)를 포함할 수 있다. 따라서, 복원 샘플(또는 복원 샘플 어레이)은 대응하는 예측 샘플(또는 예측 샘플 어레이)과 레지듀얼 샘플(레지듀얼 샘플 어레이)이 합쳐서 생성된다고 표현될 수도 있다.
스킵 모드가 적용되는 블록에 대하여는 레지듀얼이 전송되지 않으며 예측 블록을 복원 블록으로 할 수 있다.
복원된 블록 및/또는 픽처는 필터부(235)로 제공될 수 있다. 필터부(235)는 복원된 블록 및/또는 픽처에 디블록킹 필터링, SAO(Sample Adaptive Offset) 및/또는 ALF 등을 적용할 수 있다.
메모리(240)는 복원된 픽처 또는 블록을 저장하여 참조 픽처 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽처를 출력부로 제공할 수 있다.
디코딩 장치(200)에 포함되어 있는 엔트로피 디코딩부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230), 필터부(235) 및 메모리(240) 중 영상의 디코딩에 직접적으로 관련된 구성요소들, 예컨대, 엔트로피 디코딩부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230), 필터부(235) 등을 다른 구성요소와 구분하여 디코더 또는 디코딩부로 표현할 수 있다.
또한, 디코딩 장치(200)는 비트스트림에 포함되어 있는 인코딩된 영상에 관련된 정보를 파싱(parsing)하는 도시되지 않은 파싱부를 더 포함할 수 있다. 파싱부는 엔트로피 디코딩부(210)를 포함할 수도 있고, 엔트로피 디코딩부(210)에 포함될 수도 있다. 이러한 파싱부는 또한 디코딩부의 하나의 구성요소로 구현될 수도 있다.
상술한 바와 같이 픽처는 복수의 코딩 트리 유닛(CTU)들로 구성될 수 있으며, 각각의 CTU는 쿼드 트리 구조로 CU들로 분할(split)될 수 있다. CU는 보다 하위(deeper) 뎁스의 CU들로 쿼드 트리 구조로 분할될 수도 있다. 경우에 따라 CTU가 하나의 CU가 될 수도 있다. 이 경우 영상 특성을 고려하여 간단하고 평활한 영상을 가진 영역의 경우 상대적으로 큰 CU 단위로 코딩되고, 복잡한 영상을 가진 영역의 경우 상위 CU에서 하위 CU들로 더 분할되어 상대적으로 작은 CU들 단위로 코딩될 수 있다. 이 경우, 픽처가 코딩됨에 있어 CTU들 단위로 래스터 스캔 오더(raster scan order)로 코딩되고, 하나의 CTU내 최종 CU들에 대하여도 래스터 스캔 오더로 코됭된다. 이는 예를 들어 다음 도 3과 같이 나타내어질 수 있다.
도 3은 CTU 내 CU들이 처리되는 순서를 예를 들어 나타낸다.
도 3을 참조하면, 각 블록은 CU를 나타내며, 각 블록 내의 숫자는 처리(processing) 순서를 나타낸다. 즉, 인코딩 장치는 상기 CU들의 순서를 기반으로 상기 CU들을 인코딩할 수 있고, 디코딩 장치는 상기 CU들의 순서를 기반으로 상기 CU들을 디코딩하고 복원 샘플들을 생성할 수 있다. 이와 같은 처리 순서는 뎁스 퍼스트 오더(depth first order) 또는 z-스캔 오더라고 불릴 수도 있다. 이에 따라 하나의 CTU를 기준으로, 좌상단(top-left)에 위치한 CU부터 코딩을 시작하여 쿼드 트리 구조로 분할된 4개의 CU들을 좌상, 우상, 좌하, 우하의 z 스캔 오더로 코딩하게 되며, 만약 특정 CU가 다시 쿼드 트리 구조로 분할되었다면, 분할된 CU들을 다시 z 스캔 오더로 코딩한 후 다음 CU로 넘어간다.
상기와 같은 스캔 오더에 기반한 경우, 현재 처리 대상이 되는 현재 CU의 위쪽과 왼쪽에 위치하는 CU들이 먼저 코딩되므로 상기 현재 CU에 대한 인트라 예측시 상기 먼저 코딩된 CU들의 샘플들과 코딩 파라미터(예를 들어 인트라 예측 모드)들을 이용할 수 있다.
도 4는 현재 블록에 대해 인트라 예측이 수행되는 경우에 이용될 수 있는 복원된 주변 참조 샘플들의 예를 나타낸다. 여기서 현재 블록은 TU(또는 TB)일 수 있다. TU는 CU로부터 도출될 수 있으며, 하나의 CU로부터 하나의 TU가 도출될 수도 있고, 하나의 CU로부터 쿼드 트리 구조로 복수의 TU들이 도출될 수도 있다.
도 4를 참조하면, 현재 블록(400)의 인트라 예측을 위한 주변 (참조) 샘플들로, 좌측 주변 샘플들(p[-1][2N-1]...p[-1][0]), 좌상측 주변 샘플(p[-1][-1]), 및 상측 주변 샘플들(p[0][-1]...p[2N-1][-1])이 도출될 수 있다. 여기서 p[m][n]은 샘플 포지션 (m,n)의 샘플(또는 픽셀)을 나타내며, 이는 현재 블록의 좌상단(top-left) 샘플 포지션을 (0, 0)으로 간주하였을 때, 상대적인 샘플 포지션을 나타낼 수 있다. 또한, 여기서 N은 현재 블록(400)의 사이즈를 나타낸다. 상기 N은 현재 블록(400)의 너비 또는 높이에 대응될 수 있다. 현재 블록(400)이 변환 블록인 경우 상기 N은 nTbS라고 나타내어질 수도 있다.
한편, 상기 주변 샘플들(p[-1][2N-1]...p[-1][-1]... p[2N-1][-1]) 중 인트라 예측을 위하여 가용하지 않은(not available)한 샘플이 있는 경우, 해당 가용하지 않은 샘플은 대체(substitution) 또는 패딩(padding)절차를 통하여 가용한 샘플로 채워질 수 있다. 이 경우, 예를 들어, 상기 가용하지 않은 샘플은 해당 샘플에 인접한 다른 주변 샘플로 대체 또는 패딩될 수 있다.
여기서, 일 예로, 해당 샘플의 위치가 픽처의 외곽에 위치하는 경우에 해당 샘플은 가용하지 않은 샘플일 수 있다. 예를 들어, 현재 블록(400)이 픽처의 엣지(edge)에 위치하는 경우 상기 주변 샘플들 중 일부는 가용하지 않을 수 있다.
다른 예로 해당 샘플을 포함하는 다른 CU가 아직 코딩되지 않은 경우에 해당 샘플은 가용하지 않은 샘플일 수 있다. 예를 들어 도 3에서 4번 블록이 현재 CU라고 가정하고, 상기 현재 CU로부터 동일한 사이즈 및 위치의 하나의 현재 TU가 도출되었다고 가정하면, 상기 현재 TU에 대한 주변 샘플들 중에서 p[N][-1] 내지 p[2N-1][-1] 샘플들은 가용하지 않을 수 있다. 이는 상기 p[N][-1] 내지 p[2N-1][-1] 샘플들은 5번 CU에 속하고, 현재 4번 CU가 코딩 중이므로 상기 p[N][-1] 내지 p[2N-1][-1] 샘플들은 아직 복원되지 않았고, 따라서 가용하지 않을 수 있다.
또한, 대체 또는 패딩 절차는 예를 들어 다음과 같은 순서로 수행될 수 있다.
1) 만약, 주변 샘플 p[-1][2N-1]가 가용하지 않은 경우, 순차적으로 주변 샘플 p[-1][2N-1](또는 주변 샘플 p[-1][2N-2])으로부터 p[-1][-1]까지, 그리고 나서 p[0][-1]부터 p[2N-1][-1]까지 순차적으로 서치를 수행하고, 처음으로 발견된(found) 가용한 주변 샘플의 값을 상기 주변 샘플 p[-1][2N-1]에 할당(assign)할 수 있다.
2) x=-1, y=2N-2부터 x=-1,y=-1까지 순차적으로 서치를 수행하고, 만약 p[x][y]가 가용하지 않은 경우, p[x][y+1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체된다.
3) x=0, y=-1부터 x=2N-1,y=-1까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x-1][y]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체된다.
한편, 본 발명에 따르면 CU들을 z 스캔 오더에 따라 코딩함에 있어 CU들의 예측 모드에 따라 처리 순서를 달리 할 수 있다. 예를 들어, CTU 내에 분할된 CU들을 예측 모드에 따라 두개의 그룹으로 분할할 수 있다. 이 경우 상기 CTU 내에 분할된 CU들 중에서 인터 예측 모드로 코딩된(즉, 인터 예측 모드를 갖는) CU들은 그룹 A로, 상기 CTU 내에 분할된 CU들 중에서 인트라 예측 모드로 코딩된 CU들은 그룹 B로 구분될 수 있다.
본 발명의 일 실시예에 따르면 이 경우, 상기 그룹 A의 CU들을 먼저 인코딩/디코딩하고, 상기 그룹 B의 CU들을 그 다음에 인코딩/디코딩할 수 있다.
도 5는 본 발명의 일 실시예에 따른, 예측 모드에 적응적인 CU들 처리 순서를 나타낸다.
도 5를 참조하면, 음영이 없는 블록들은 인터 예측된 CU들(그룹 A)을 나타내고, 음영이 있는 블록들은 인터 예측된 CU들(그룹 B)을 나타낸다. 여기서 인터 예측된 CU라 함은 해당 CU에 대한 예측 모드가 인터 예측 모드인 것을 나타내고, 인트라 예측된 CU라 함은 해당 CU에 대한 예측 모드가 인트라 예측 모드인 것을 나타낸다.
이 경우, 도시된 바와 같이 CTU 내 CU들 중에서 인터 예측된 CU들이 먼저 인코딩/디코딩되고, 그 후에 인트라 예측된 CU들이 인코딩/디코딩된다. 이 경우 상기 인트라 예측된 CU들을 인코딩/디코딩함에 있어, 먼저 코딩된 상기 인터 예측된 CU들을 참조할 수 있다. 특히 상기 인트라 예측된 CU들에 대한 인트라 예측을 수행함에 있어, 사용할 수 있는 주변 참조 샘플들의 범주가 확장되는 효과가 있다.
도 6은 본 발명의 일 예에 따른 인트라 예측을 위한 확장된 주변 참조 샘플들을 나타낸다.
도 6을 참조하면, 현재 블록(600)의 인트라 예측을 위한 주변 (참조) 샘플들로, 좌측 주변 샘플들(p[-1][2N-1]...p[-1][0]), 좌상측 주변 샘플(p[-1][-1]), 및 상측 주변 샘플들(p[0][-1]...p[2N-1][-1]) 뿐 아니라, 하측 주변 샘플들(p[0][N]...p[N-1][N]), 우하측 주변 샘플(p[N][N]) 및 우측 주변 샘플들(p[N][N-1]...p[N][0])이 도출될 수 있다.
즉, 본 발명에 따라 CU들의 처리 순서를 변경하는 경우, 상기와 같은 하측 주변 샘플들(p[0][N]...p[N-1][N]), 우하측 주변 샘플(p[N][N]) 및 우측 주변 샘플들(p[N][N-1]...p[N][0])이 추가로 인트라 예측을 위하여 사용될 수 있다.
한편, 이 경우에도 CTU의 분할 구조상 여전히 하측 주변 샘플들(p[0][N]...p[N-1][N]), 우하측 주변 샘플(p[N][N]) 및 우측 주변 샘플들(p[N][N-1]...p[N][0]) 중 일부 또는 전부가 가용하지 않을 수 있으며, 이 경우 가용하지 않은 샘플은 대체(substitution) 또는 패딩(padding)절차를 통하여 가용한 샘플로 채워질 수 있다.
일 예로, 만약, 하측 주변 샘플들(p[0][N]...p[N-1][N]), 우하측 주변 샘플(p[N][N]) 및 우측 주변 샘플들(p[N][N-1]...p[N][0]) 모두가 가용하지 않은 경우, 샘플 p[-1][N]과 샘플 p[N][-1]의 보간(interpolation)(또는 평균) 또는 샘플 p[-1][2N-1]과 샘플 p[2N-1][-1]의 보간을 통하여 도출된 값을 샘플 p[N][N]에 할당할 수 있다. 이 후, 하측 주변 샘플들(p[0][N]...p[N-1][N]) 각각에 대하여는 위치에 따라 상기 샘플 p[N][N]과 샘플 p[-1][N]과의 보간을 통하여 도출된 값이 할당될 수 있다. 또한, 우측 주변 샘플들(p[N][N-1]...p[N][0]) 각각에 대하여는 위치에 따라 상기 샘플 p[N][N]과 샘플 p[N][-1]의 보간을 통하여 도출된 값이 할당될 수 있다.
다른 예로, 하측 주변 샘플들(p[0][N]...p[N-1][N]), 우하측 주변 샘플(p[N][N]) 및 우측 주변 샘플들(p[N][N-1]...p[N][0]) 중 적어도 하나의 샘플이 가용한 경우는 다음과 같은 순서로 대체 또는 패딩 절차가 수행될 수 있다.
1) 만약, 주변 샘플 p[0][N]가 가용하지 않은 경우, 순차적으로 주변 샘플 p[0][N](또는 주변 샘플 p[1][N])으로부터 p[N][N]까지, 그리고 나서 p[N][N-1]부터 p[N][0]까지 순차적으로 서치를 수행하고, 처음으로 발견된(found) 가용한 주변 샘플의 값을 상기 주변 샘플 p[0][N]에 할당할 수 있다.
2) x=1, y=N부터 x=N,y=N까지 순차적으로 서치를 수행하고, 만약 p[x][y]가 가용하지 않은 경우, p[x-1][y]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체된다.
3) x=N, y=N-1부터 x=N,y=0까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y+1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체된다. 또는 x=N, y=0부터 x=N,y=N-1까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y-1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수도 있다.
본 발명에 따른 확장된 주변 샘플들이 인트라 예측을 위하여 사용되는 경우, 다음과 같은 인트라 예측 모드들이 활용될 수 있다.
도 7은 본 발명에 따른 인트라 예측 모드들을 예시적으로 나타낸다.
도 7을 참조하면, 본 발명에 따른 인트라 예측 모드들은 2개의 비방향성 예측 모드와 65개의 방향성 예측 모드를 포함할 수 있다. 여기서 0번 모드는 인트라 플래너(Planar) 모드를 나타내고, 1번 모드는 인트라 DC 모드를 나타낸다. 나머지 2번 내지 66 예측 모드들은 인트라 방향성 모드들로, 각각 도시된 바와 같은 예측 방향을 갖는다. 인트라 방향성 모드는 인트라 앵귤러 모드로 불릴 수 있다.
일 예로, 인트라 방향성 모드가 적용되는 경우, 현재 블록 내의 대상 샘플을 기준으로 예측 방향에 위치하는 주변 샘플의 값이 상기 대상 샘플의 예측 샘플 값으로 도출할 수 있다. 만약, 대상 샘플을 기준으로 예측 방향에 정수 샘플 단위의 주변 샘플이 위치하지 않는 경우, 해당 예측 방향의 주변에 위치하는 정수 샘플 단위의 주변 샘플들에 대한 보간을 기반으로, 해당 예측 방향 위치에 분수 샘플 단위의 샘플을 도출하여, 상기 분수 샘플 단위의 샘플 값을 상기 대상 샘플의 예측 샘플 값으로 도출할 수 있다.
다른 예로, 현재 블록의 인트라 예측 모드가 인트라 DC 모드인 경우, 하나의 값이 상기 현재 블록 내의 샘플들의 예측 값으로 사용될 수 있다. 예를 들어, 상기 하나의 값은 현재 블록의 좌측, 우측, 상측, 하측에 인접한 주변 샘플들을 기반으로 도출될 수 있다.
도 8은 현재 블록의 인트라 예측 모드가 인트라 DC 모드인 경우 사용가능한 주변 참조 샘플들을 예시적으로 나타낸다.
도 8을 참조하면, 인트라 DC 모드가 적용되는 경우, 현재 블록(800)의 좌측 인접 샘플들(p[-1][0]...p[-1][N-1]), 우측 인접 샘플들(p[N][0]...p[N][N-1]), 상측 인접 샘플들(p[0][-1]...p[N-1][-1]), 그리고 하측 인접 샘플들(p[0][N]...p[N-1][N])이 참조 샘플들로 사용될 수 있다. 이 경우 좌측 인접 샘플들(p[-1][0]...p[-1][N-1]), 우측 인접 샘플들(p[N][0]...p[N][N-1]), 상측 인접 샘플들(p[0][-1]...p[N-1][-1]), 그리고 하측 인접 샘플들(p[0][N]...p[N-1][N])을 기반으로 하나의 값이 도출될 수 있으며, 상기 하나의 값이 현재 블록(800) 내의 샘플들에 대한 예측 값으로 사용될 수 있다. 즉, 상기 하나의 값을 기반으로 현재 블록(800)에 대한 예측 샘플들을 도출할 수 있다.
구체적으로 예를 들어, 상기 하나의 값은 다음과 같은 수학식을 이용하여 도출될 수 있다.
Figure PCTKR2016004199-appb-M000001
여기서, x=0...N=1, 그리고 y=0...N-1일 수 있다. 또한, 여기서 N은 상술한 바와 같이 상기 현재 블록의 사이즈를 나타낼 수 있다. 즉, 상기 현재 블록은 N×N 샘플 사이즈를 갖는 블록(이하, N×N 블록)일 수 있다. 여기서 N은 양의 정수일 수 있다. 상기 현재 블록이 변환 블록(TB)인 경우 상기 N은 nTbS라고 나타내어질 수도 있다.
또 다른 예로, 상기 현재 블록의 인트라 예측 모드가 인트라 플래너 모드인 경우, 상기 인접 샘플들 중 4개의 샘플을 기반으로 상기 현재 블록 내 대상 샘플에 대한 예측 값을 도출할 수 있다. 이 경우, 대상 샘플의 위치를 기반으로, 상기 대상 샘플과 동일한 행에 위치하는 두 인접 샘플들과, 상기 대상 샘플과 동일한 열에 위치하는 두 인접 샘플들이 사용될 수 있다. 즉, 대상 샘플이 p[x][y]라고 할 경우, 상기 p[x][y]의 예측 값은 인접 샘플들 p[-1][y], p[N][y], p[x][-1], p[x][N]을 기반으로 도출될 수 있다.
구체적으로 예를 들어, 상기 예측 값은 다음과 같은 수학식을 이용하여 도출될 수 있다.
Figure PCTKR2016004199-appb-M000002
여기서, x,y=0...N-1일 수 있다. 또한, 여기서 N은 상술한 바와 같이 상기 현재 블록의 사이즈를 나타낼 수 있다. 즉, 상기 현재 블록은 N×N 샘플 사이즈를 갖는 블록(이하, N×N 블록)일 수 있다. 여기서 N은 양의 정수일 수 있다. 상기 현재 블록이 변환 블록(TB)인 경우 상기 N은 nTbS라고 나타내어질 수도 있다.
한편, 인트라 방향성 모드가 사용되는 경우, 상기 현재 블록 내 대상 샘플의 예측 값을 도출하기 위하여 예측 방향뿐 아니라 상기 예측 방향의 반대 방향을 고려할 수 있다.
예를 들어 인트라 방향성 모드에 따라 하나의 예측 방향이 도출되는 경우, 대상 샘플로부터 상기 예측 방향에 위치하는 제1 주변 (참조) 샘플뿐 아니라, 상기 예측 방향의 반대 방향에 위치하는 제2 주변 (참조) 샘플을 이용하여 상기 대상 샘플에 대한 예측 값을 도출할 수 있다. 즉, 상기 제1 주변 샘플 및 상기 제2 주변 샘플을 기반으로 상기 대상 샘플에 대한 예측 샘플 값을 도출할 수 있다.
이 경우 상기 제1 주변 샘플 및 상기 제2 주변 샘플의 선형 보간(linear interpolation)을 통하여 상기 대상 샘플에 대한 상기 예측 값을 도출할 수 있다. 이는 예를 들어 양방향 예측 플래그(또는 인트라 보간 플래그)의 값이 1인 경우에 적용될 수 있다. 상기 양방향 예측 플래그(또는 인트라 보간 플래그)는 비트스트림을 통하여 인코딩 장치로부터 디코딩 장치로 전송될 수 있다.
도 9는 본 발명에 따른 선형 보간 기법을 활용한 인트라 예측방법의 실시예이다.
도 9를 참조하면, 현재 블록(900)의 예측 모드가 인트라 방향성 모드이고, 상기 인트라 방향성 모드에 따른 인트라 예측 각도가 θ이다. 예를 들어, 인트라 예측 각도는 다음 표에 기반하여 도출될 수 있다.
Figure PCTKR2016004199-appb-T000001
여기서, predModeIntra는 인트라 예측 모드의 인덱스에 대응한다. 상기 인덱스는 도 7에서 상술한 값에 대응한다. intraPredAngle은 상기 인트라 예측 각도에 대응한다.
일 예로, 상기 인트라 방향성 모드를 기반으로 대상 예측 샘플(910)에 대한 예측 방향이 선분(920) 방향인 경우, 상기 대상 예측 샘플(910)의 값은 다음과 같이 도출될 수 있다.
Figure PCTKR2016004199-appb-I000001
표 2을 참조하면, predSample은 상기 대상 예측 샘플(910)에 대응하고, ref(Above)[m]는 x좌표가 m인 상측 참조 샘플이다. 여기서는 상기 대상 예측 샘플(910)을 기준으로 상기 예측 방향에 정수 참조 샘플이 존재하지 않기에, 분수 참조 샘플을 도출하여, 이를 기반으로 상기 대상 예측 샘플의 값을 도출하는 경우를 나타낸다. 비록 표 1에서는 상측 참조 샘플을 이용하는 것으로 표기되었으나, 이는 예시로서 인트라 방향성 모드의 예측 방향에 따라 좌측 참조 샘플 등이 사용될 수도 있다.
다른 예로, 인트라 방향성 모드에 따른 상기 대상 예측 샘플(910)에 대한 예측 방향이 선분(920) 방향인 경우, 상기 예측 방향 및 상기 예측 방향의 반대 방향을 고려하여 상기 대상 예측 샘플(910)의 값이 도출될 수 있다. 이 경우 상기 대상 예측 샘플(910)의 값은 다음과 같이 도출될 수 있다.
Figure PCTKR2016004199-appb-I000002
표 2을 참조하면, predSample은 상기 대상 예측 샘플(910)에 대응하고, refAbove[m]는 x좌표가 m인 상측 참조 샘플이고, refBelow[n]는 x좌표가 n인 하측 참조 샘플이다. 비록 표 1에서는 상측 참조 샘플 및 하측 참조 샘플을 이용하는 것으로 표기되었으나, 이는 예시로서 인트라 방향성 모드의 예측 방향에 따라 좌측 참조 샘플 및 우측 참조 샘플 등이 사용될 수도 있다.
한편, 인트라 예측을 위하여 TMP(template matching prediction) 방법이 사용될 수도 있다. TMP 방식이 사용되는 경우, 현재 픽처 내에서 대상 블록에 대한 대상 템플릿(template)과 가장 유사한 후보 템플릿을 찾아서 상기 후보 템플릿 내의 샘플들을 기반으로 상기 대상 블록에 대한 예측 샘플들을 도출할 수 있다. 이와 같은 TMP 방법은 현재 픽처 내에서 일정한 무늬가 반복적으로 나타나는 경우 등에 있어서 인트라 예측 효율을 높일 수 있다.
도 10은 본 발명에 따른 TMP 방법을 예시적으로 나타낸다.
도 10을 참조하면, 현재 CTU 내 대상 블록(1000)의 주변 참조 샘플들을 대상 템플릿(1010)으로 이용하여, 현재 픽처 전체 또는 일정 영역 내에서 대상 템플릿(1010)과 가장 유사한 후보 템플릿(1020)을 검출할 수 있다. 이 경우 후보 템플릿(1020) 내의 복원된 샘플들을 기반으로 대상 블록(1000)에 대한 예측 샘플들을 도출할 수 있다. 여기서 대상 블록은 현재 블록이라고 불릴 수 있으며, CB, PB, TB 중 하나일 수 있다.
상기와 같은 TMP 방법을 적용함에 있어, 비교 대상이 되는 대상 템플릿(1010)을 어떻게 구성하느냐에 따라 인트라 예측 성능이 달라질 수 있다. 본 발명에 따르면 상기 대상 템플릿(1010)을 구성하기 위하여 좌측, 상측 주변 샘플들 뿐 아니라 우측, 하측 샘플들도 이용될 수 있다.
도 11은 대상 템플릿 구성을 위하여 사용되는 주변 샘플들의 예를 나타낸다.
도 11을 참조하면, 대상 템플릿 구성을 위하여 좌하측 주변 샘플(p[-1][N], 좌측 주변 샘플들(p[-1][N-1]...p[-1][0]), 좌상측 주변 샘플(p[-1][-1]), 상측 주변 샘플들(p[0][-1]...p[N-1][-1]), 우상측 주변 샘플(p[N][-1]), 우측 주변 샘플들(p[N][N-1]...p[N][0]), 우하측 주변 샘플(p[N][N]), 하측 주변 샘플들(p[0][N]...p[N-1][N])이 이용될 수 있다. 상기 주변 샘플들 중 만약 가용하지 않은 샘플이 있는 경우 대체 또는 패딩 절차를 통하여 가용한 샘플로 채워지는 것은 상술한 바와 같다.
도 12는 본 발명에 따른 영상 코딩 방법의 일 예를 개략적으로 나타낸다. 도 12에서 개시된 방법은 인코딩 장치에 의하여 수행될 수 있다.
도 12를 참조하면, 인코딩 장치는 현재 블록에 대한 인트라 예측 모드를 도출한다(S1200). 인코딩 장치는 RD(rate-distortion) 코스트를 기반으로 현재 블록에 대한 최적의 인트라 예측 모드를 도출할 수 있다. 상기 인트라 예측 모드는 2개의 비방향성 예측 모드들과 34개 이상(예를 들어 65개)의 방향성 예측 모드들 중 하나일 수 있다. 상기 2개의 비방향성 예측 모드들은 인트라 DC 모드 및 인트라 플래너 모드를 포함할 수 있음은 상술한 바와 같다.
인코딩 장치는 상기 인트라 예측을 수행하기 위하여 상기 현재 블록의 주변 샘플들을 도출한다(S1210). 여기서 상기 주변 샘플들은 도 6, 8, 11에서 상술한 바와 같은 샘플들을 포함할 수 있다. 상기 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함할 수 있다.
상기 현재 블록의 샘플 사이즈가 N×N이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 하측 주변 샘플들은 p[0][N] 내지 p[N-1][N], 상기 우하측 주변 샘플은 p[N][N], 상기 우측 주변 샘플들은 p[N][N-1] 내지 p[N][0]일 수 있다.
여기서 상기 주변 샘플들은 이미 복원된 샘플들일 수 있다. 상기 현재 블록은 현재 CU(coding unit)에 포함되고, 상기 현재 CU는 현재 CTU(coding tree unit)에 포함되고, 상기 현재 CTU 내 CU들 중 인터 예측 모드의 CU가 상기 인트라 예측 모드의 현재 CU보다 먼저 디코딩되어, 상기 인터 예측 모드의 CU에 대한 복원 샘플이 생성되고, 상기 우측 주변 샘플들, 상기 우하측 주변 샘플들, 및 상기 하측 주변 샘플들 중 적어도 하나는 상기 인터 예측 모드의 CU에 대한 상기 복원 샘플일 수도 있다.
한편, 상기 주변 샘플들 중 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 샘플의 값은 대체(substitution) 또는 패딩(padding) 절차를 통하여 도출될 수 있다. 여기서, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플 위치가 현재 픽처의 외곽에 위치하거나, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 상기 적어도 하나의 샘플을 포함하는 다른 CU가 아직 디코딩되지 않은 경우, 상기 적어도 하나의 샘플은 가용하지 않은 것으로 판단될 수 있다.
대체(substitution) 또는 패딩(padding) 절차의 일 예로, 상기 좌측 주변 샘플들은 p[-1][2N-1] 내지 p[-1][0], 상기 좌상측 주변 샘플은 p[-1][-1], 및 상측 주변 샘플들은 p[0][-1] 내지 p[2N-1][-1]이고, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 모두가 가용하지 않을 수 있다. 이 경우 상기 p[-1][N]와 상기 p[N][-1]를 기반으로 상기 p[N][N]의 값이 도출되거나, 상기 p[-1][2N-1]와 상기 p[2N-1][-1]을 기반으로 상기 p[N][N]의 값이 도출된다. 이 경우 상기 p[0][N] 내지 상기 p[N-1][N] 각각에 대하여는 상기 p[N][N]와 상기 p[-1][N]의 보간을 통하여 도출된 값이 할당되고, 상기 p[N][N-1] 내지 상기 p[N][0] 각각에 대하여는 상기 p[N][N]과 상기 p[N][-1]의 보간을 통하여 도출된 값이 할당될 수 있다.
다른 예로, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플이 가용할 수 있다.
이 경우에는 만약, p[0][N]가 가용하지 않은 경우 p[0][N]으로부터 p[N][N]까지, 그리고 나서 p[N][N-1]부터 p[N][0]까지 순차적으로 서치를 수행하고, 처음으로 발견된 가용한 샘플의 값을 상기 p[0][N]의 값에 대체될 수 있다.
또한, p[1][N] 내지 p[N-1][N]들 중 가용하지 않은 샘플이 있는 경우, x=1, y=N부터 x=N, y=N까지 순차적으로 서치를 수행하고, 만약 p[x][y]가 가용하지 않은 경우, p[x-1][y]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수 있다.
또한, p[N][N-1] 내지 p[N][0]들 중 가용하지 않은 샘플이 있는 경우, x=N, y=N-1부터 x=N, y=0까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y+1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수 있다. 또는 x=N, y=0부터 x=N, y=N-1까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y-1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수도 있다.
인코딩 장치는 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플(또는 예측 샘플 어레이)을 생성한다(S1220).
일 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드가 인트라 방향성 모드인 경우, 상기 인트라 방향성 모드가 가리키는 예측 방향에 위치하는 주변 샘플(즉, 예측 샘플 위치로부터 상기 예측 방향에 위치하는 주변 샘플)을 기반으로 상기 예측 샘플을 생성할 수 있다. 만약 상기 예측 방향에 정수 샘플 단위의 주변 샘플이 위치하지 않는 경우, 상기 예측 방향이 가리키는 위치에 인접한 정수 샘플 단위의 주변 샘플들의 보간을 통하여 상기 예측 방향이 가리키는 위치에 대한 분수 샘플 값을 생성하여 이용할 수 있다. 상기 예측 방향은 좌측, 좌상측, 상측 뿐 아니라, 우측, 하측, 또는 우하측 방향을 포함할 수 있다.
또한, 이 경우 본 발명에 따르면 도 9에 대한 설명에서 상술한 바와 같이 상기 인트라 방향성 모드가 가리키는 예측 방향 및 상기 예측 방향의 반대 방향을 기반으로 상기 예측 샘플의 값이 도출될 수도 있다.
다른 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 DC 모드일 수 있다. 이 경우 상기 주변 샘플들 중 좌측 인접 샘플들, 우측 인접 샘플들, 상측 인접 샘플들 및 하측 인접 샘플들을 이용하여 도출된 하나의 값이 상기 예측 샘플의 값으로 도출될 수 있다.
또 다른 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 플래너 모드일 수 있다. 이 경우, 상기 주변 샘플들 중에서 상기 예측 샘플과 동일한 행에 위치하는 두 샘플들과 상기 예측 샘플과 동일한 열에 위치하는 두 샘플들을 이용하여 상기 예측 샘플의 값이 도출될 수 있다.
또 다른 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드는 TMP(template matching prediction) 모드일 수 있다. 이 경우 상기 주변 샘플들을 대상 템플릿으로 이용하여, 상기 대상 템플릿에 대응하는 후보 템플릿을 도출하고, 상기 후보 템플릿 내의 복원 샘플을 기반으로 상기 예측 샘플의 값을 도출될 수도 있다.
인코딩 장치는 상기 도출된 예측 샘플을 기반으로 상기 현재 블록에 대한 레지듀얼 샘플(또는 레지듀얼 샘플 어레이)을 생성한다(S1230). 인코딩 장치는 상기 현재 픽처의 상기 대상 블록에 대한 원본 샘플과 상기 예측 샘플을 기반으로 상기 레지듀얼 샘플을 생성할 수 있다.
인코딩 장치는 상기 인트라 예측 모드에 관한 정보 및 상기 레지듀얼 샘플에 관한 정보를 인코딩하여 출력한다(S1240). 인코딩 장치는 상기 정보들을 인코딩하여 비트스트림 형태로 출력할 수 있다. 상기 비트스트림은 네트워크 또는 저장매체를 통하여 디코딩 장치로 전송될 수 있다. 상기 인트라 예측 모드에 관한 정보는 상기 현재 블록의 인트라 예측 모드를 직접적으로 가리키는 정보를 포함할 수도 있고, 또는 상기 현재 블록의 좌측 또는 상측 블록의 인트라 예측 모드를 기반으로 도출된 인트라 예측 모드 후보 리스트 중에서 어느 하나의 후보를 가리키는 정보를 포함할 수도 있다. 상기 레지듀얼 샘플에 관한 정보는 상기 레지듀얼 샘플에 관한 변환 계수들을 포함할 수 있다.
또한, 도 9에 대한 설명에서 상술한 바와 같이 상기 인트라 방향성 모드가 가리키는 예측 방향 및 상기 예측 방향의 반대 방향을 기반으로 상기 예측 샘플의 값을 도출하는 경우, 상기 인트라 예측 모드에 관한 정보는 양방향 예측 플래그(또는 인트라 보간 플래그)를 포함할 수 있다.
도 13은 본 발명에 따른 인트라 예측 방법의 일 예를 개략적으로 나타낸다. 도 13에서 개시된 방법은 디코딩 장치에 의하여 수행될 수 있다.
도 13을 참조하면, 디코딩 장치는 현재 블록에 대한 인트라 예측 모드를 도출한다(S1300). 디코딩 장치는 비트스트림을 통하여 획득한 인트라 예측 모드에 관한 정보를 기반으로 상기 현재 블록에 대한 최적의 인트라 예측 모드를 도출할 수 있다. 상기 비트스트림은 네트워크 또는 저장매체를 통하여 인코딩 장치로부터 수신될 수 있다. 상기 인트라 예측 모드에 관한 정보는 상기 현재 블록의 인트라 예측 모드를 직접적으로 가리키는 정보를 포함할 수도 있고, 또는 상기 현재 블록의 좌측 또는 상측 블록의 인트라 예측 모드를 기반으로 도출된 인트라 예측 모드 후보 리스트 중에서 어느 하나의 후보를 가리키는 정보를 포함할 수도 있다. 또한 상기 인트라 예측 모드에 관한 정보는 양방향 예측 플래그(또는 인트라 보간 플래그)를 포함할 수도 있다.
디코딩 장치는 상기 인트라 예측을 수행하기 위하여 상기 현재 블록의 주변 샘플들을 도출한다(S1310). 여기서 상기 주변 샘플들은 도 6, 8, 11에서 상술한 바와 같은 샘플들을 포함할 수 있다. 상기 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함할 수 있다.
상기 현재 블록의 샘플 사이즈가 N×N이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 하측 주변 샘플들은 p[0][N] 내지 p[N-1][N], 상기 우하측 주변 샘플은 p[N][N], 상기 우측 주변 샘플들은 p[N][N-1] 내지 p[N][0]일 수 있다.
여기서 상기 주변 샘플들은 이미 복원된 샘플들일 수 있다. 상기 현재 블록은 현재 CU(coding unit)에 포함되고, 상기 현재 CU는 현재 CTU(coding tree unit)에 포함되고, 상기 현재 CTU 내 CU들 중 인터 예측 모드의 CU가 상기 인트라 예측 모드의 현재 CU보다 먼저 디코딩되어, 상기 인터 예측 모드의 CU에 대한 복원 샘플이 생성되고, 상기 우측 주변 샘플들, 상기 우하측 주변 샘플들, 및 상기 하측 주변 샘플들 중 적어도 하나는 상기 인터 예측 모드의 CU에 대한 상기 복원 샘플일 수도 있다.
한편, 상기 주변 샘플들 중 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 샘플의 값은 대체(substitution) 또는 패딩(padding) 절차를 통하여 도출될 수 있다. 여기서, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플 위치가 현재 픽처의 외곽에 위치하거나, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 상기 적어도 하나의 샘플을 포함하는 다른 CU가 아직 디코딩되지 않은 경우, 상기 적어도 하나의 샘플은 가용하지 않은 것으로 판단될 수 있다.
대체(substitution) 또는 패딩(padding) 절차의 일 예로, 상기 좌측 주변 샘플들은 p[-1][2N-1] 내지 p[-1][0], 상기 좌상측 주변 샘플은 p[-1][-1], 및 상측 주변 샘플들은 p[0][-1] 내지 p[2N-1][-1]이고, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 모두가 가용하지 않을 수 있다. 이 경우 상기 p[-1][N]와 상기 p[N][-1]를 기반으로 상기 p[N][N]의 값이 도출되거나, 상기 p[-1][2N-1]와 상기 p[2N-1][-1]을 기반으로 상기 p[N][N]의 값이 도출된다. 이 경우 상기 p[0][N] 내지 상기 p[N-1][N] 각각에 대하여는 상기 p[N][N]와 상기 p[-1][N]의 보간을 통하여 도출된 값이 할당되고, 상기 p[N][N-1] 내지 상기 p[N][0] 각각에 대하여는 상기 p[N][N]과 상기 p[N][-1]의 보간을 통하여 도출된 값이 할당될 수 있다.
다른 예로, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플이 가용할 수 있다.
이 경우에는 만약, p[0][N]가 가용하지 않은 경우 p[0][N]으로부터 p[N][N]까지, 그리고 나서 p[N][N-1]부터 p[N][0]까지 순차적으로 서치를 수행하고, 처음으로 발견된 가용한 샘플의 값을 상기 p[0][N]의 값에 대체될 수 있다.
또한, p[1][N] 내지 p[N-1][N]들 중 가용하지 않은 샘플이 있는 경우, x=1, y=N부터 x=N, y=N까지 순차적으로 서치를 수행하고, 만약 p[x][y]가 가용하지 않은 경우, p[x-1][y]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수 있다.
또한, p[N][N-1] 내지 p[N][0]들 중 가용하지 않은 샘플이 있는 경우, x=N, y=N-1부터 x=N, y=0까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y+1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수 있다. 또는 x=N, y=0부터 x=N, y=N-1까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y-1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체될 수도 있다.
디코딩 장치는 상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플(또는 예측 샘플 어레이)을 생성한다(S1320).
일 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드가 인트라 방향성 모드인 경우, 상기 인트라 방향성 모드가 가리키는 예측 방향에 위치하는 주변 샘플(즉, 예측 샘플 위치로부터 상기 예측 방향에 위치하는 주변 샘플)을 기반으로 상기 예측 샘플을 생성할 수 있다. 만약 상기 예측 방향에 정수 샘플 단위의 주변 샘플이 위치하지 않는 경우, 상기 예측 방향이 가리키는 위치에 인접한 정수 샘플 단위의 주변 샘플들의 보간을 통하여 상기 예측 방향이 가리키는 위치에 대한 분수 샘플 값을 생성하여 이용할 수 있다. 상기 예측 방향은 좌측, 좌상측, 상측 뿐 아니라, 우측, 하측, 또는 우하측 방향을 포함할 수 있다.
또한, 이 경우 본 발명에 따르면 도 9에 대한 설명에서 상술한 바와 같이 상기 인트라 방향성 모드가 가리키는 예측 방향 및 상기 예측 방향의 반대 방향을 기반으로 상기 예측 샘플의 값이 도출될 수도 있다.
다른 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 DC 모드일 수 있다. 이 경우 상기 주변 샘플들 중 좌측 인접 샘플들, 우측 인접 샘플들, 상측 인접 샘플들 및 하측 인접 샘플들을 이용하여 도출된 하나의 값이 상기 예측 샘플의 값으로 도출될 수 있다.
또 다른 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 플래너 모드일 수 있다. 이 경우, 상기 주변 샘플들 중에서 상기 예측 샘플과 동일한 행에 위치하는 두 샘플들과 상기 예측 샘플과 동일한 열에 위치하는 두 샘플들을 이용하여 상기 예측 샘플의 값이 도출될 수 있다.
또 다른 예로, 상기 현재 블록에 대한 상기 인트라 예측 모드는 TMP(template matching prediction) 모드일 수 있다. 이 경우 상기 주변 샘플들을 대상 템플릿으로 이용하여, 상기 대상 템플릿에 대응하는 후보 템플릿을 도출하고, 상기 후보 템플릿 내의 복원 샘플을 기반으로 상기 예측 샘플의 값을 도출될 수도 있다.
한편, 비록 도시되지는 않았으나, 디코딩 장치는 비트스트림으로부터 상기 현재 블록에 대한 레지듀얼 샘플에 관한 정보를 수신할 수 있다. 상기 레지듀얼 샘플에 관한 정보는 상기 레지듀얼 샘플에 관한 변환 계수들을 포함할 수 있다.
디코딩 장치는 상기 레지듀얼 샘플에 관한 정보를 기반으로 상기 현재 블록에 대한 상기 레지듀얼 샘플(또는 레지듀얼 샘플 어레이)을 도출할 수 있다. 디코딩 장치는 상기 예측 샘플과 상기 레지듀얼 샘플을 기반으로 복원 샘플을 생성할 수 있고, 상기 복원 샘플을 기반으로 복원 블록 또는 복원 픽처를 도출할 수 있다. 이후 디코딩 장치는 필요에 따라 주관적/객관적 화질을 향상시키기 위하여 디블록킹 필터링 및/또는 SAO 절차와 같은 인루프 필터링 절차를 상기 복원 픽처에 적용할 수 있음은 상술한 바와 같다.
상술한 본 발명에 따르면, 영상의 기본 처리 단위인 CU들의 코딩 순서를 예측 모드를 기반으로 도출할 수 있으며, 이를 통하여 CU들 코딩 효율을 향상시킬 수 있다. 또한, 본 발명에 따르면 확장된 주변 참조 샘플들을 이용하여 인트라 예측 성능을 향상시킬 수 있다.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시 예들은 본 발명을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 할 것이다.
본 발명에서 실시예들이 소프트웨어로 구현될 때, 상술한 방법은 상술한 기능을 수행하는 모듈(과정, 기능 등)로 구현될 수 있다. 모듈은 메모리에 저장되고, 프로세서에 의해 실행될 수 있다. 메모리는 프로세서 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 프로세서와 연결될 수 있다. 프로세서는 ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로 및/또는 데이터 처리 장치를 포함할 수 있다. 메모리는 ROM(read-only memory), RAM(random access memory), 플래쉬 메모리, 메모리 카드, 저장 매체 및/또는 다른 저장 장치를 포함할 수 있다.

Claims (15)

  1. 디코딩 장치에 의하여 수행되는 인트라 예측 방법에 있어서,
    현재 블록에 대한 인트라 예측 모드를 도출하는 단계;
    상기 현재 블록의 주변 샘플들을 도출하는 단계; 및
    상기 인트라 예측 모드에 따라 상기 주변 샘플들 중 적어도 하나를 이용하여 상기 현재 블록에 대한 예측 샘플을 생성하는 단계를 포함하되,
    상기 도출된 주변 샘플들은 상기 현재 블록의 좌측 주변 샘플들, 좌상측 주변 샘플들, 상측 주변 샘플들, 우측 주변 샘플들, 우하측 주변 샘플들, 및 하측 주변 샘플들을 포함함을 특징으로 하는, 인트라 예측 방법.
  2. 제1항에 있어서,
    상기 현재 블록은 현재 CU(coding unit)에 포함되고, 상기 현재 CU는 현재 CTU(coding tree unit)에 포함되고,
    상기 현재 CTU 내 CU들 중 인터 예측 모드의 CU가 상기 인트라 예측 모드의 현재 CU보다 먼저 디코딩되어, 상기 인터 예측 모드의 CU에 대한 복원 샘플이 생성되고,
    상기 우측 주변 샘플들, 상기 우하측 주변 샘플들, 및 상기 하측 주변 샘플들 중 적어도 하나는 상기 인터 예측 모드의 CU에 대한 상기 복원 샘플인 것을 특징으로 하는, 인트라 예측 방법.
  3. 제1항에 있어서,
    상기 현재 블록의 샘플 사이즈가 N×N이고, 상기 현재 블록의 좌상단(top-left) 샘플 포지션의 x성분이 0 및 y성분이 0인 경우, 상기 하측 주변 샘플들은 p[0][N] 내지 p[N-1][N], 상기 우하측 주변 샘플은 p[N][N], 상기 우측 주변 샘플들은 p[N][N-1] 내지 p[N][0]인 것을 특징으로 하는, 인트라 예측 방법.
  4. 제3항에 있어서,
    상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 샘플의 값은 대체(substitution) 절차를 통하여 도출됨을 특징으로 하는, 인트라 예측 방법.
  5. 제4항에 있어서,
    상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플 위치가 현재 픽처의 외곽에 위치하거나, 상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 상기 적어도 하나의 샘플을 포함하는 다른 CU가 아직 디코딩되지 않은 경우, 상기 적어도 하나의 샘플은 가용하지 않은 것으로 판단됨을 특징으로 하는, 인트라 예측 방법.
  6. 제4항에 있어서,
    상기 좌측 주변 샘플들은 p[-1][2N-1] 내지 p[-1][0], 상기 좌상측 주변 샘플은 p[-1][-1], 및 상측 주변 샘플들은 p[0][-1] 내지 p[2N-1][-1]이고,
    상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 모두가 가용하지 않은 경우, 상기 p[-1][N]와 상기 p[N][-1]를 기반으로 상기 p[N][N]의 값이 도출되거나, 상기 p[-1][2N-1]와 상기 p[2N-1][-1]을 기반으로 상기 p[N][N]의 값이 도출되고,
    상기 p[0][N] 내지 상기 p[N-1][N] 각각에 대하여는 상기 p[N][N]와 상기 p[-1][N]의 보간을 통하여 도출된 값이 할당되고,
    상기 p[N][N-1] 내지 상기 p[N][0] 각각에 대하여는 상기 p[N][N]과 상기 p[N][-1]의 보간을 통하여 도출된 값이 할당됨을 특징으로 하는, 인트라 예측 방법.
  7. 제4항에 있어서,
    상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플이 가용한 경우이고,
    만약, p[0][N]가 가용하지 않은 경우 p[0][N]으로부터 p[N][N]까지, 그리고 나서 p[N][N-1]부터 p[N][0]까지 순차적으로 서치를 수행하고, 처음으로 발견된 가용한 샘플의 값을 상기 p[0][N]의 값에 대체되는 것을 특징으로 하는, 인트라 예측 방법.
  8. 제4항에 있어서,
    상기 하측 주변 샘플들, 상기 우하측 주변 샘플 및 상기 우측 주변 샘플들 중 적어도 하나의 샘플이 가용한 경우이고,
    x=1, y=N부터 x=N, y=N까지 순차적으로 서치를 수행하고, 만약 p[x][y]가 가용하지 않은 경우, p[x-1][y]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체됨을 특징으로 하는, 인트라 예측 방법.
  9. 제8항에 있어서,
    x=N, y=N-1부터 x=N, y=0까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y+1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체되거나,
    x=N, y=0부터 x=N, y=N-1까지 순차적으로 서치를 수행하고, 만약 [x][y]가 가용하지 않은 경우, p[x][y-1]의 값이 상기 가용하지 않은 p[x][y]의 값에 대체됨을 특징으로 하는, 인트라 예측 방법.
  10. 제1항에 있어서,
    비트스트림으로부터 상기 인트라 예측 모드에 관한 정보를 획득하는 단계를 더 포함하되,
    상기 현재 블록에 대한 상기 인트라 예측 모드는 2개의 비방향성 예측 모드와 65개의 방향성 예측 모드 중 하나인 것을 특징으로 하는, 인트라 예측 방법.
  11. 제1항에 있어서,
    비트스트림으로부터 상기 인트라 예측 모드에 관한 정보를 획득하는 단계를 더 포함하되,
    상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 방향성 모드이고, 상기 인트라 방향성 모드가 가리키는 예측 방향은 우측, 하측, 또는 우하측 방향인 것을 특징으로 하는, 인트라 예측 방법.
  12. 제1항에 있어서,
    비트스트림으로부터 상기 인트라 예측 모드에 관한 정보를 획득하는 단계를 더 포함하되,
    상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 DC 모드이고,
    상기 주변 샘플들 중 좌측 인접 샘플들, 우측 인접 샘플들, 상측 인접 샘플들 및 하측 인접 샘플들을 이용하여 도출된 하나의 값이 상기 예측 샘플의 값으로 도출됨을 특징으로 하는, 인트라 예측 방법.
  13. 제1항에 있어서,
    비트스트림으로부터 상기 인트라 예측 모드에 관한 정보를 획득하는 단계를 더 포함하되,
    상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 플래너 모드이고,
    상기 주변 샘플들 중에서 상기 예측 샘플과 동일한 행에 위치하는 두 샘플들과 상기 예측 샘플과 동일한 열에 위치하는 두 샘플들을 이용하여 상기 예측 샘플의 값이 도출됨을 특징으로 하는, 인트라 예측 방법.
  14. 제1항에 있어서,
    비트스트림으로부터 상기 인트라 예측 모드에 관한 정보를 획득하는 단계를 더 포함하되,
    상기 현재 블록에 대한 상기 인트라 예측 모드는 인트라 방향성 모드이고, 상기 인트라 방향성 모드가 가리키는 예측 방향 및 상기 예측 방향의 반대 방향을 기반으로 상기 예측 샘플의 값이 도출됨을 특징으로 하는, 인트라 예측 방법.
  15. 제1항에 있어서,
    비트스트림으로부터 상기 인트라 예측 모드에 관한 정보를 획득하는 단계를 더 포함하되,
    상기 현재 블록에 대한 상기 인트라 예측 모드는 TMP(template matching prediction) 모드이고,
    상기 주변 샘플들을 대상 템플릿으로 이용하여, 현재 픽처 내에서 상기 대상 템플릿에 대응하는 후보 템플릿을 도출하고, 상기 후보 템플릿 내의 복원 샘플을 기반으로 상기 예측 샘플의 값을 도출함을 특징으로 하는, 인트라 예측 방법.
PCT/KR2016/004199 2015-07-20 2016-04-22 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 WO2017014412A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/746,139 US20180213224A1 (en) 2015-07-20 2016-04-22 Intra prediction method and device in video coding system
KR1020177037026A KR20180030791A (ko) 2015-07-20 2016-04-22 비디오 코딩 시스템에서 인트라 예측 방법 및 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201562194312P 2015-07-20 2015-07-20
US62/194,312 2015-07-20

Publications (1)

Publication Number Publication Date
WO2017014412A1 true WO2017014412A1 (ko) 2017-01-26

Family

ID=57834092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2016/004199 WO2017014412A1 (ko) 2015-07-20 2016-04-22 비디오 코딩 시스템에서 인트라 예측 방법 및 장치

Country Status (3)

Country Link
US (1) US20180213224A1 (ko)
KR (1) KR20180030791A (ko)
WO (1) WO2017014412A1 (ko)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019009620A1 (ko) * 2017-07-04 2019-01-10 엘지전자 주식회사 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치
WO2019050291A1 (ko) * 2017-09-08 2019-03-14 주식회사 케이티 비디오 신호 처리 방법 및 장치
WO2019059681A1 (ko) * 2017-09-21 2019-03-28 주식회사 케이티 비디오 신호 처리 방법 및 장치
WO2019117613A1 (ko) * 2017-12-13 2019-06-20 삼성전자주식회사 로컬 휘도 보상에 의한 비디오 복호화 방법 및 장치, 로컬 휘도 보상에 의한 비디오 부호화 방법 및 장치
CN110651479A (zh) * 2017-05-17 2020-01-03 株式会社Kt 用于视频信号处理的方法和装置
CN112672161A (zh) * 2018-06-27 2021-04-16 株式会社Kt 用于处理视频信号的方法和设备
US11323695B2 (en) 2018-03-29 2022-05-03 Huawei Technologies Co., Ltd. Bidirectional intra prediction signaling

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018008905A1 (ko) 2016-07-05 2018-01-11 주식회사 케이티 비디오 신호 처리 방법 및 장치
US10841578B2 (en) 2018-02-12 2020-11-17 Tencent America LLC Method and apparatus for using an intra prediction coding tool for intra prediction of non-square blocks in video compression
JP7217288B2 (ja) * 2018-03-29 2023-02-02 フラウンホーファー-ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン ブロック単位の画像符号化のためのイントラ予測モードの概念
US10645381B2 (en) * 2018-04-30 2020-05-05 Google Llc Intra-prediction for smooth blocks in image/video
WO2019216605A1 (ko) * 2018-05-07 2019-11-14 엘지전자 주식회사 적응적으로 도출되는 mpm 리스트를 사용하는 인트라 예측에 따른 영상 코딩 방법 및 그 장치
WO2019221472A1 (ko) * 2018-05-12 2019-11-21 주식회사 윌러스표준기술연구소 참조 샘플을 이용하는 비디오 신호 처리 방법 및 장치
US10567752B2 (en) 2018-07-02 2020-02-18 Tencent America LLC Method and apparatus for intra prediction for non-square blocks in video compression
WO2020234512A2 (en) * 2019-05-22 2020-11-26 Nokia Technologies Oy A method, an apparatus and a computer program product for video encoding and video decoding
US11595668B2 (en) 2019-05-22 2023-02-28 Lg Electronics Inc. Image decoding method using BDPCM and device therefor
EP3989547A4 (en) * 2019-06-21 2023-04-19 Samsung Electronics Co., Ltd. VIDEO ENCODING METHOD AND DEVICE, AND VIDEO DECODER METHOD AND DEVICE
WO2020263680A1 (en) * 2019-06-22 2020-12-30 Beijing Dajia Internet Information Technology Co., Ltd. Methods and apparatus for prediction simplification in video coding

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140008503A (ko) * 2012-07-10 2014-01-21 한국전자통신연구원 영상 부호화/복호화 방법 및 장치
KR20140064749A (ko) * 2008-10-01 2014-05-28 한국전자통신연구원 예측 모드를 이용한 영상 부호화 장치 및 복호화 장치
KR20140076488A (ko) * 2012-11-27 2014-06-20 경희대학교 산학협력단 영상 부호화/복호화 방법 및 장치
KR20150009498A (ko) * 2011-10-28 2015-01-26 삼성전자주식회사 비디오의 인트라 예측 방법 및 장치
KR20150043278A (ko) * 2011-05-20 2015-04-22 주식회사 케이티 화면 내 예측 방법 및 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140064749A (ko) * 2008-10-01 2014-05-28 한국전자통신연구원 예측 모드를 이용한 영상 부호화 장치 및 복호화 장치
KR20150043278A (ko) * 2011-05-20 2015-04-22 주식회사 케이티 화면 내 예측 방법 및 장치
KR20150009498A (ko) * 2011-10-28 2015-01-26 삼성전자주식회사 비디오의 인트라 예측 방법 및 장치
KR20140008503A (ko) * 2012-07-10 2014-01-21 한국전자통신연구원 영상 부호화/복호화 방법 및 장치
KR20140076488A (ko) * 2012-11-27 2014-06-20 경희대학교 산학협력단 영상 부호화/복호화 방법 및 장치

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110651479A (zh) * 2017-05-17 2020-01-03 株式会社Kt 用于视频信号处理的方法和装置
US11706446B2 (en) 2017-05-17 2023-07-18 Kt Corporation Method and device for video signal processing
WO2019009620A1 (ko) * 2017-07-04 2019-01-10 엘지전자 주식회사 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치
CN110710216B (zh) * 2017-09-08 2023-07-21 株式会社Kt 视频信号处理方法及装置
WO2019050291A1 (ko) * 2017-09-08 2019-03-14 주식회사 케이티 비디오 신호 처리 방법 및 장치
CN110710216A (zh) * 2017-09-08 2020-01-17 株式会社Kt 视频信号处理方法及装置
US11089299B2 (en) 2017-09-08 2021-08-10 Kt Corporation Method and device for processing video signal
US11743455B2 (en) 2017-09-08 2023-08-29 Kt Corporation Method and device for processing video signal
US11388395B2 (en) 2017-09-08 2022-07-12 Kt Corporation Method and device for processing video signal
WO2019059681A1 (ko) * 2017-09-21 2019-03-28 주식회사 케이티 비디오 신호 처리 방법 및 장치
US11785228B2 (en) 2017-09-21 2023-10-10 Kt Corporation Video signal processing method and device
US11388418B2 (en) 2017-09-21 2022-07-12 Kt Corporation Video signal processing method and device
WO2019117613A1 (ko) * 2017-12-13 2019-06-20 삼성전자주식회사 로컬 휘도 보상에 의한 비디오 복호화 방법 및 장치, 로컬 휘도 보상에 의한 비디오 부호화 방법 및 장치
US11323695B2 (en) 2018-03-29 2022-05-03 Huawei Technologies Co., Ltd. Bidirectional intra prediction signaling
CN112672161A (zh) * 2018-06-27 2021-04-16 株式会社Kt 用于处理视频信号的方法和设备

Also Published As

Publication number Publication date
US20180213224A1 (en) 2018-07-26
KR20180030791A (ko) 2018-03-26

Similar Documents

Publication Publication Date Title
WO2017014412A1 (ko) 비디오 코딩 시스템에서 인트라 예측 방법 및 장치
WO2017022973A1 (ko) 비디오 코딩 시스템에서 인터 예측 방법 및 장치
WO2017052081A1 (ko) 영상 코딩 시스템에서 인터 예측 방법 및 장치
WO2017069419A1 (ko) 비디오 코딩 시스템에서 인트라 예측 방법 및 장치
WO2017188652A1 (ko) 영상 부호화/복호화 방법 및 장치
WO2017164441A1 (ko) 비디오 코딩 시스템에서 인터 예측 방법 및 장치
WO2017057953A1 (ko) 비디오 코딩 시스템에서 레지듀얼 신호 코딩 방법 및 장치
WO2017069590A1 (ko) 영상 코딩 시스템에서 모델링 기반 영상 디코딩 방법 및 장치
WO2017039256A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016052977A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017052009A1 (ko) 영상 코딩 시스템에서 amvr 기반한 영상 코딩 방법 및 장치
WO2018008904A2 (ko) 비디오 신호 처리 방법 및 장치
WO2017034331A1 (ko) 영상 코딩 시스템에서 크로마 샘플 인트라 예측 방법 및 장치
WO2017052118A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2017057877A1 (ko) 영상 코딩 시스템에서 영상 필터링 방법 및 장치
WO2018044088A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017188565A1 (ko) 영상 코딩 시스템에서 영상 디코딩 방법 및 장치
WO2018062702A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2016204373A1 (ko) 영상 코딩 시스템에서 영상 특성에 기반한 적응적 필터링 방법 및 장치
WO2017061671A1 (ko) 영상 코딩 시스템에서 적응적 변환에 기반한 영상 코딩 방법 및 장치
WO2013154366A1 (ko) 블록 정보에 따른 변환 방법 및 이러한 방법을 사용하는 장치
WO2016114583A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017159901A1 (ko) 비디오 코딩 시스템에서 블록 구조 도출 방법 및 장치
WO2017048008A1 (ko) 영상 코딩 시스템에서 인터 예측 방법 및 장치
WO2017065509A2 (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: 16827916

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20177037026

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15746139

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16827916

Country of ref document: EP

Kind code of ref document: A1