WO2014098374A1 - Mpm을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치 - Google Patents

Mpm을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치 Download PDF

Info

Publication number
WO2014098374A1
WO2014098374A1 PCT/KR2013/010323 KR2013010323W WO2014098374A1 WO 2014098374 A1 WO2014098374 A1 WO 2014098374A1 KR 2013010323 W KR2013010323 W KR 2013010323W WO 2014098374 A1 WO2014098374 A1 WO 2014098374A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
prediction mode
intra prediction
candidate
block
Prior art date
Application number
PCT/KR2013/010323
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 주식회사 팬택
Publication of WO2014098374A1 publication Critical patent/WO2014098374A1/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • 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/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability

Definitions

  • the present invention relates to a method and apparatus for hierarchical video coding, and more particularly, to an intra prediction method and apparatus for performing hierarchical video coding.
  • High efficiency image compression techniques can be used to solve these problems caused by high resolution and high quality image data.
  • An inter-screen prediction technique for predicting pixel values included in the current picture from a picture before or after the current picture using an image compression technique an intra prediction technique for predicting pixel values included in a current picture using pixel information in the current picture
  • a first object of the present invention is to provide a hierarchical image decoding method using a most probable mode (MPM) for increasing image encoding efficiency.
  • MPM most probable mode
  • Another object of the present invention is to provide an apparatus for performing a hierarchical image decoding method using MPM for increasing image encoding efficiency.
  • the intra prediction mode which is an intra prediction mode of a block corresponding to the base layer. Determining whether the prediction mode is available in the base layer screen, if the prediction mode in the base layer screen is a prediction mode in a specific screen, and the prediction mode in the base layer screen is the specific screen.
  • a specific intra prediction mode is a prediction mode of one of a planer mode, a DC mode, and a vertical mode
  • the first set of candidates is a first candidate and is a prediction mode in a base layer picture, a second candidate.
  • the planar mode, the DC mode is set as a third candidate
  • the second candidate set is set to the planar mode as the first candidate, the DC mode as the second candidate, and the vertical mode as the third candidate.
  • the specific intra prediction mode is a prediction mode of one of the planar mode and the DC mode
  • the first candidate set is the first candidate in the base layer picture prediction mode, the second candidate, and the third candidate.
  • the directional picture prediction mode adjacent to the prediction mode in the base layer picture is set, and the second candidate set includes a planar mode as the first candidate, the DC mode as the second candidate, and a vertical mode as the third candidate. Can be set.
  • the hierarchical image decoding method may further include decoding information on whether to use the intra prediction mode in the base layer picture as the intra prediction mode of the block of the enhancement layer.
  • the specific intra prediction mode is a prediction mode of one of a planar mode and a DC mode
  • the first candidate set is a first candidate.
  • the DC mode is set as the planar mode and the second candidate
  • the DC mode is set as the first candidate
  • the vertical mode is set as the second candidate
  • the third candidate set is set as the second candidate.
  • the planar mode is set as the first candidate and the vertical mode is set as the second candidate
  • the second candidate set and the third candidate set are calculated according to whether the prediction mode in the base layer screen is the planar mode. It can be a set.
  • the specific intra prediction mode is a prediction mode of one of a planar mode and a DC mode
  • the first candidate set is the first prediction set.
  • a prediction mode in a directional picture adjacent to the prediction mode in the base layer picture is set as a candidate and a second candidate, the second candidate set is configured as the DC mode as the first candidate and a vertical mode as the second candidate,
  • the planar mode is set as the first candidate
  • the vertical mode is set as the second candidate
  • the second candidate set and the third candidate set are planar modes in the base layer screen. It can be calculated according to whether or not.
  • the performing of the intra prediction on the block of the enhancement layer based on the candidate set may include: when the intra prediction mode of the block of the enhancement layer is different from the intra prediction mode included in the candidate set, remaining intra prediction. Decoding a mode value, comparing the intra prediction mode value included in the candidate set with the remaining intra prediction mode value, and the intra prediction mode of the block of the enhancement layer based on a result of the comparing step; Comprising a step of calculating, wherein the remaining intra prediction mode value may be information encoded by changing the intra prediction mode value of the block of the enhancement layer according to the intra prediction mode value included in the candidate set.
  • the performing of the intra prediction on the block of the enhancement layer based on the candidate set may include: an intra prediction mode and an intra prediction mode including the intra prediction mode of the block of the enhancement layer included in the candidate set. If different from the decoding step, decoding the remaining intra prediction mode value, the first comparison step of comparing the intra prediction mode value and the remaining intra prediction mode value of the base layer, the intra prediction mode included in the candidate set Calculating an intra prediction mode of the block of the enhancement layer based on a second comparison step of comparing a value with the rest of the intra prediction mode values, and a result of the first comparison step and the second comparison step;
  • the intra picture prediction mode value includes an intra picture prediction mode value of the block of the enhancement layer included in the candidate set.
  • the information may be encoded according to a mode value.
  • a hierarchical image decoding apparatus for performing intra prediction has a prediction mode within a base layer picture that is an intra prediction mode of a block corresponding to a base layer. Determining whether the prediction mode is available in the base layer screen, whether the prediction mode in the base layer screen is a prediction mode in a specific screen, and the prediction mode in the base layer screen is the prediction in the specific screen. If not, the first candidate set including a plurality of candidate modes is calculated, and if the prediction mode in the base layer picture is the prediction mode in the particular picture, the second candidate set and the third candidate set different from the first candidate set are determined.
  • the candidate set calculation unit may generate one of the candidate sets based on the calculated candidate set, and perform intra prediction on the block of the enhancement layer. It may include a prediction unit that is implemented to perform.
  • the candidate set calculator is configured to set the first candidate set as the first candidate in the prediction mode in the base layer screen, the second candidate as the planar mode, and the third candidate as the DC mode, and the second candidate set is configured as the first candidate set.
  • the planar mode is set as the first candidate
  • the vertical mode is set as the third candidate
  • the specific intra prediction mode is one of the planar mode, the DC mode, and the vertical mode. May be a mode.
  • the candidate set calculating unit sets the prediction mode in the directional picture adjacent to the prediction mode in the base layer picture as the first candidate and the prediction mode in the base layer picture as the second candidate and the third candidate.
  • the second candidate set is implemented such that a planar mode is set as the first candidate, the DC mode as the second candidate, and a vertical mode as the third candidate, and the specific intra prediction mode is the planar mode,
  • the prediction mode may be one of the DC modes.
  • the hierarchical image decoding apparatus may further include an entropy decoder that decodes information on whether to use the intra prediction mode in the base layer picture as the intra prediction mode of the block of the enhancement layer.
  • the first candidate set is set as the planar mode as the first candidate and the DC mode as the second candidate.
  • the second candidate set is set to the DC mode as the first candidate and a vertical mode to the second candidate
  • the third candidate set is the planar mode to the first candidate and the second candidate to the second candidate set.
  • a vertical mode is set, and the second candidate set and the third candidate set are calculated based on whether the prediction mode in the base layer screen is the planar mode, and the specific intra prediction screen is a planar mode, DC.
  • One of the modes may be a prediction mode.
  • the first candidate set is a first candidate and a second candidate in the prediction mode in the base layer picture.
  • a prediction mode in an adjacent directional picture is set, the second candidate set is set to the DC mode as the first candidate, a vertical mode to the second candidate, and the third candidate set is the planar as the first candidate.
  • the vertical mode is set as a mode and the second candidate, and the second candidate set and the third candidate set are calculated based on whether the prediction mode in the base layer screen is a planar mode, and the specific intra prediction.
  • the mode may be a prediction mode of one of a planar mode and a DC mode.
  • the prediction unit decodes the remaining intra prediction modes values and compares the intra prediction modes with the intra prediction modes. Compare the remaining intra-picture prediction mode values and calculate an intra-picture prediction mode of the block of the enhancement layer based on the result of the comparing step, wherein the remaining intra-picture prediction mode values of the block of the enhancement layer are calculated.
  • the information may be encoded by changing the intra prediction mode value according to the intra prediction mode value included in the candidate set.
  • the prediction unit decodes the remaining intra prediction modes and decodes the screen of the base layer.
  • a second comparison result is calculated by comparing a prediction mode value between the prediction mode value and the remaining intra prediction mode value, and comparing the intra prediction mode value included in the candidate set with the remaining prediction mode value. Calculating and calculating an intra prediction mode of a block of the enhancement layer based on a result of the first comparing step and the second comparing step, wherein the remaining intra prediction modes are displayed within the screen of the block of the enhancement layer.
  • the information may be encoded by changing a prediction mode value according to an intra prediction mode value included in the candidate set.
  • the MPM of the current block is calculated in the enhancement layer using the intra prediction mode of the corresponding block in the base layer. It can be used as information for the following. Therefore, the coding efficiency for encoding the intra prediction mode of the current block can be increased.
  • FIG. 1 is a block diagram illustrating an encoding apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating a decoder according to another embodiment of the present invention.
  • FIG. 3 is a conceptual diagram illustrating a hierarchical video encoding method according to an embodiment of the present invention.
  • FIG. 4 is a conceptual diagram illustrating a hierarchical video decoding method according to an embodiment of the present invention.
  • FIG. 5 is a conceptual diagram illustrating a hierarchical image decoding method using a base prediction mode according to an embodiment of the present invention.
  • FIG. 6 is a conceptual diagram for explaining the MPM method.
  • FIG. 7 is a flowchart illustrating an intra prediction method using an intra prediction mode of a base layer in an enhancement layer according to an embodiment of the present invention.
  • FIG. 8 is a flowchart illustrating an intra prediction method using an intra prediction mode of a base layer in an enhancement layer according to an embodiment of the present invention.
  • FIG. 9 is a flowchart illustrating an intra prediction method when a base layer mode flag is used according to an embodiment of the present invention.
  • FIG. 10 is a flowchart illustrating an intra prediction method when a base layer mode flag is used according to an embodiment of the present invention.
  • FIG. 11 is a flowchart for performing an intra prediction mode method according to an embodiment of the present invention.
  • FIG. 12 is a flowchart illustrating a method for calculating one intra prediction mode among the remaining intra prediction modes according to an exemplary embodiment of the present invention.
  • FIG. 13 is a flowchart illustrating a process of decoding an intra prediction mode when using a base layer flag and using two MPMs according to an embodiment of the present invention.
  • FIG. 14 is a flowchart illustrating a method of calculating an intra prediction mode of a current block according to an embodiment of the present invention.
  • 15 is a block diagram illustrating a method of calculating an MPM in a hierarchical image decoding method according to an embodiment of the present invention.
  • each of the components disclosed in the embodiments and the drawings of the present invention are disclosed in an independent configuration to represent different characteristic functions of the image encoding apparatus. This does not mean that each component is necessarily made up of separate hardware or one software component. In other words, each component is included in each component for convenience of description, and at least two of the components may be combined to form one component, or one component may be divided into a plurality of components to perform a function. The integrated and separated embodiments of the components are also included in the scope of the present invention, without departing from the spirit of the invention.
  • some of the components disclosed in the present invention may not be essential components for performing essential functions in the present invention but may be optional components for improving performance.
  • the present invention can be implemented including only the components essential for implementing the essentials of the present invention except for the components used for improving performance, and the structure including only the essential components except for the optional components used for improving performance. Also included within the scope of the present invention.
  • FIG. 1 is a block diagram illustrating an encoding apparatus according to an embodiment of the present invention.
  • the encoding apparatus includes a splitter 100, a predictor 110, an intra prediction unit 103, an inter prediction unit 106, a transform unit 115, a quantization unit 120, and a rearrangement.
  • the unit 125 may include an entropy encoding unit 130, an inverse quantization unit 135, an inverse transform unit 140, a filter unit 145, and a memory 150.
  • the encoding apparatus may be implemented by the image encoding method described in the following embodiments of the present invention, but operations in some components may not be performed to reduce the complexity of the encoder or for fast real time encoding.
  • some limited number of methods are used without selecting the optimal intra intra coding method using all intra prediction modes in order to perform encoding in real time.
  • a method of selecting one intra prediction mode among them as a final intra prediction mode using the intra prediction mode of the image may be used.
  • the unit of a block processed in the encoding apparatus may be a coding block for encoding, a prediction block for performing prediction, and a transform block for performing transformation.
  • a constant information unit including information used to encode or decode a coding block is a coding unit (CU)
  • a constant information unit including information used to perform prediction on a prediction block is a prediction unit (PU).
  • Prediction Unit Prediction Unit
  • a unit including information used to perform a transformation in a transform block may be expressed in terms of a transform unit (TU).
  • the current block used in the embodiment of the present invention may mean a block that is a target of prediction, transformation, or encoding.
  • the current block When performing prediction, the current block may be a block that is the target of the current prediction.
  • the current block When performing the transformation, the current block may be a transformation block that is the target of the current transformation.
  • the current block When encoding or decoding is performed, the current block may be an encoding block to be encoded or decoded. That is, the unit of the current block may vary according to the image processing performed.
  • the dividing unit 100 divides one picture into a combination of a plurality of coding blocks, a prediction block, and a transform block, and divides a picture of one of the coding blocks, the prediction block, and the transform block according to a predetermined criterion (for example, a cost function).
  • a picture may be divided by selecting a division combination.
  • a recursive tree structure such as a quadtree structure may be used.
  • the meaning of the coding block may be used not only as a block for encoding but also as a block for decoding.
  • the prediction block may be a block for performing intra prediction or inter prediction.
  • the block for performing intra prediction may have a square shape such as 2Nx2N or NxN, or a rectangular block shape using SDIP (Short Distance Intra Prediction).
  • Predictive block segmentation is performed by using 2NxN, Nx2N, or asymmetric symmetric motion partitioning (AMP).
  • AMP symmetric symmetric motion partitioning
  • the transform unit 115 may change a method of performing the transform.
  • the prediction unit 110 may include an intra prediction unit 103 that performs intra prediction and an inter prediction unit 106 which performs inter prediction.
  • the prediction unit 110 may determine whether to use inter prediction or intra prediction on the prediction block.
  • the processing unit in which the prediction is performed may differ from the processing unit in which the prediction method and the details are determined.
  • a prediction mode may be determined in units of prediction blocks, and the process of performing prediction may be performed based on transform blocks.
  • the residual value (residual block) between the generated predicted block (or predicted sample) and the original block (or original sample) may be input to the converter 115.
  • prediction mode information and motion vector information used for prediction may be encoded by the entropy encoder 130 along with the residual value and transmitted to the decoder.
  • the original block may be encoded as it is and transmitted to the decoder without performing prediction through the prediction unit 110.
  • PCM Pulse Coded Modulation
  • the intra prediction unit 103 may generate a predicted block based on reference pixels existing around the current block (prediction block).
  • prediction is performed using a plurality of intra prediction modes for the current block, and one of the intra prediction modes is used as an intra prediction mode for predicting the current block.
  • a prediction mode may have a directional prediction mode using reference pixel information according to a prediction direction, and a non-directional mode using no directional information when performing prediction.
  • the modes for predicting the luminance information and the intra prediction modes for predicting the color difference information may be different, and in order to predict the color difference information, the intra prediction mode information or the predicted luminance signal information for predicting the luminance information may be utilized. Can be.
  • a block located in the vicinity used to calculate an intra prediction mode of the current block is defined as a neighboring block.
  • the neighboring block includes the neighboring block A including the pixel value located at (x-1, y) and the pixel value located at (x, y-1) when the coordinate of the upper left pixel of the current block is (x, y).
  • the second neighboring block may be referred to as a neighboring block.
  • Intra-prediction mode information of the current block may be encoded from intra-prediction mode information of neighboring blocks of the current block. That is, the intra prediction mode of the current block may be predicted from the intra prediction mode of the prediction block existing around the current block.
  • the flag information may be used to indicate that the prediction modes of the current block and the neighboring block are the same. If prediction modes of the current block and neighboring blocks are different, entropy encoding may be performed to encode intra prediction mode information of the current block.
  • the intra prediction mode of the current prediction block may be predicted by setting a preset intra prediction mode value as a candidate intra prediction mode value.
  • the intra prediction unit 103 may generate the predicted block or the predicted sample based on the reference pixel information around the current block which is the pixel information in the current picture.
  • a block or sample generated by referring to pixels around the current block may be expressed as a predicted block or a predicted sample.
  • the neighboring pixels of the current block used as the reference pixels may be pixels generated by performing inter prediction.
  • the intra prediction may be performed by using the pixel of the block in which the intra prediction is performed among the neighboring blocks as a reference pixel. That is, when the reference pixel is not available, the unavailable reference pixel information may be replaced with at least one reference pixel among the available reference pixels.
  • the intra prediction block for the prediction block is based on the pixels on the left of the prediction block, the pixels on the upper left, and the pixels on the top. You can make predictions.
  • the intra prediction is performed by using the pixel on the left side, the pixel on the upper left side, and the pixel on the top side. Can be.
  • intra prediction using NxN division may be used only for the minimum coding block.
  • the intra prediction method may generate a predicted block (or may be represented as a predicted sample) after applying an adaptive intra smoothing (AIS) filter to a reference pixel according to a prediction mode.
  • AIS adaptive intra smoothing
  • the type of AIS filter applied to the reference pixel may be different.
  • additional filtering may be performed on the reference pixel and some pixels present in the predicted block. Filtering for the reference pixel and some pixels present in the predicted block may use filtering using different filtering coefficients depending on the direction of the intra prediction mode.
  • the inter prediction unit 106 may generate a prediction block (eg, a predicted block or a predicted sample) based on information of at least one picture of a previous picture or a subsequent picture of the current picture.
  • the inter prediction unit 106 may include a reference picture interpolator, a motion predictor, and a motion compensator.
  • the reference picture interpolator may receive reference picture information from the memory 150 and generate pixel information of an integer pixel or less in the reference picture.
  • a DCT based 8-tap interpolation filter having different filter coefficients may be used to generate pixel information of integer pixels or less in units of 1/4 pixels.
  • a DCT-based interpolation filter having different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.
  • the inter prediction unit 106 may perform motion prediction based on the reference picture interpolated by the reference picture interpolation unit.
  • various methods such as a full search-based block matching algorithm (FBMA), a three step search (TSS), and a new three-step search algorithm (NTS) may be used.
  • the motion vector may have a motion vector value in units of 1/2 or 1/4 pixels based on the interpolated pixels.
  • the inter prediction unit 106 may predict the current prediction block by using a different motion prediction method.
  • various methods such as a skip method, a merge method, and an advanced motion vector prediction (AMVP) method may be used.
  • AMVP advanced motion vector prediction
  • different prediction operations may be performed depending on whether the prediction unit 110 is included in a base layer or an enhanced layer.
  • the prediction unit 110 When the prediction unit 110 is included in the base layer, it may operate in the same manner as in the above-described embodiment.
  • the prediction unit 110 when the prediction unit 110 is included in the enhancement layer, the prediction unit does not perform inter prediction or intra prediction according to the hierarchical image coding mode, or the image prediction related information generated by the prediction unit of the base layer ( For example, an intra prediction mode, motion prediction related information, etc.) may be received and prediction may be performed based on the corresponding information. Specific examples will be further described in detail.
  • the prediction block 110 may generate a residual block including residual information that is a difference between the predicted block or the predicted sample and the original block or the original sample.
  • the generated residual block may be input to the converter 115.
  • the transform unit 115 may transform the residual block using a transform method such as a discrete cosine transform (DCT) or a discrete sine transform (DST). Whether to apply DCT or DST to transform the residual block may be determined based on intra prediction mode information of the prediction block corresponding to the residual block and / or size information of the prediction block. That is, the transform unit may use a transform method differently according to the size of the prediction block.
  • DCT discrete cosine transform
  • DST discrete sine transform
  • the quantization unit 120 may quantize the values converted by the transformer 115 into the frequency domain.
  • the quantization coefficient may change depending on the block or the importance of the image.
  • the value calculated by the quantization unit 120 may be provided to the inverse quantization unit 135 and the reordering unit 125.
  • the reordering unit 125 may reorder coefficient values with respect to the quantized residual value.
  • the reordering unit 125 may convert the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method. You can change it.
  • the reordering unit 125 may scan from a DC coefficient to a coefficient of a high frequency region by using a Zig-Zag Scan method and change it into a one-dimensional vector.
  • a vertical scan method for scanning two-dimensional block shape coefficients in a column direction, not a zig-zag scan method, and a horizontal scan method for scanning two-dimensional block shape factors in a row direction Can be used. That is, according to the size of the transform block and the intra prediction mode, it is possible to determine which scan method among zigzag-scan, vertical scan and horizontal scan is used.
  • the entropy encoder 130 may perform entropy encoding based on the values calculated by the reordering unit 125. Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
  • Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
  • the entropy encoding unit 130 receives residual coefficient coefficient information, block type information, prediction mode information, partition block information, prediction block information, transform block information, and motion vector information of the coding block from the reordering unit 125 and the prediction unit 110. By receiving various information such as reference frame information, interpolation information of a block, and filtering information, entropy encoding may be performed based on a predetermined encoding method. In addition, the entropy encoder 130 may entropy encode information on a coding unit input from the reordering unit 125.
  • the inverse quantizer 135 and the inverse transformer 140 inverse quantize the quantized values in the quantizer 120 and inversely transform the transformed values in the transformer 115.
  • the residual value generated by the inverse quantizer 135 and the inverse transformer 140 is reconstructed by being combined with a block predicted by the motion estimator, the motion compensator, and the intra predictor included in the predictor 110. Block) can be created.
  • the filter unit 145 may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).
  • ALF adaptive loop filter
  • the deblocking filter may remove block distortion caused by boundaries between blocks in the reconstructed picture.
  • it may be determined whether to apply a deblocking filter to the current block based on the pixels included in several columns or rows included in the block.
  • a strong filter or a weak filter may be applied according to the required deblocking filtering strength.
  • horizontal filtering and vertical filtering may be performed in parallel when vertical filtering and horizontal filtering are performed.
  • the offset correction unit may correct the offset with respect to the original image on a pixel-by-pixel basis for the deblocking image.
  • the pixels included in the image are divided into a predetermined number of areas, and then, an area to be offset is determined, an offset is applied to the corresponding area, or offset considering the edge information of each pixel. You can use this method.
  • the adaptive loop filter may perform filtering based on a value obtained by comparing the filtered reconstructed image with the original image. After dividing the pixels included in the image into at least one group, one filter to be applied to the group may be determined and filtering may be performed for each group. For information on whether to apply the ALF, the luminance signal may be transmitted for each coding unit (CU), and the size and coefficient of the ALF to be applied may vary according to each block.
  • the ALF may have various forms, and the number of coefficients included in the filter may also vary.
  • Such filtering related information (filter coefficient information, ALF On / Off information, filter type information) of the ALF may be included in the parameter set in the form of a bitstream and transmitted.
  • the memory 150 may store the reconstructed block or picture calculated by the filter unit 145, and the stored reconstructed block or picture may be provided to the predictor 110 when performing inter prediction.
  • FIG. 2 is a block diagram illustrating a decoder according to another embodiment of the present invention.
  • the decoder includes an entropy decoder 210, a reordering unit 215, an inverse quantizer 220, an inverse transform unit 225, a predictor 230, a filter unit 235, and a memory 240. May be included.
  • the input bitstream may be decoded by a procedure opposite to that of the encoder.
  • the entropy decoder 210 may perform entropy decoding by a procedure opposite to that of the entropy encoder in the encoder.
  • Information for generating a predicted block (or predicted sample) among the information decoded by the entropy decoder 210 is provided to the predictor 230, and the residual value obtained by entropy decoding by the entropy decoder is the reordering unit 215. ) Can be entered.
  • the entropy decoder 210 may decode information related to intra prediction and inter prediction performed by the encoder. As described above, when there are constraints in performing intra-picture prediction and inter-screen prediction in the encoder, for example, when neighboring prediction modes are not available, entropy decoding based on these constraints is performed to perform a screen on the current block. Information related to intra prediction and inter screen prediction may be provided.
  • the reordering unit 215 may reorder the entropy decoded bitstream in the entropy decoding unit 210 based on a method of rearranging the bitstream. Coefficients expressed in the form of a one-dimensional vector may be reconstructed by reconstructing the coefficients in a two-dimensional block form.
  • the reordering unit may be realigned by receiving information related to coefficient scanning performed by the encoder and performing reverse scanning based on the scanning order performed by the encoder.
  • the inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoder and the coefficient values of the rearranged block.
  • the inverse transformer 225 may perform inverse DCT and inverse DST on the DCT and DST performed by the transformer with respect to the quantization result performed by the encoder.
  • the inverse transform may be performed based on the transform unit determined by the encoder.
  • the DCT and the DST may be selectively performed according to a plurality of pieces of information such as a prediction method, a size and a prediction direction of the current block, and the inverse transformer 225 of the decoder may perform transform information performed by the encoder of the encoder. Inverse transformation may be performed based on.
  • the predictor 230 predicts a block (or prediction) based on the predicted block (or predicted sample) generation related information provided by the entropy decoder 210 and previously decoded block or picture information provided by the memory 240. Samples) can be generated.
  • the pixels present on the left side of the prediction block, the pixels present on the upper left side, and present on the upper side are performed.
  • Intra-prediction of the prediction block is performed on the basis of the pixel, but when the prediction block is different from the size of the transform block when the intra-prediction is performed, the intra-prediction is performed using the reference pixel based on the transform block. Can be performed.
  • intra prediction using NxN division may be used only for a coding block having a minimum size.
  • the prediction unit 230 may include a prediction block determiner, an inter prediction unit, and an intra prediction unit.
  • the prediction block discriminator receives various information such as prediction block information input from the entropy decoder, prediction mode information of the intra prediction method, and motion prediction related information of the inter prediction method, and distinguishes the prediction block from the coding block. Whether to perform inter prediction or intra prediction can be determined.
  • the inter prediction unit may perform inter prediction on the current prediction block based on information included in at least one of a previous picture or a subsequent picture of the current picture including the current prediction block using information provided by the encoder.
  • Whether the motion prediction method of the prediction block included in the coding block is skip mode, merge mode, or AMVP mode to perform inter prediction. Can be determined.
  • the intra prediction unit may generate a predicted block (or may be expressed as a predicted sample) based on the pixel information in the current picture.
  • the intra prediction may be performed based on intra prediction mode information of the prediction block provided by the encoder.
  • the intra prediction unit may include an AIS filter, a reference pixel interpolator, and a DC filter.
  • the AIS filter is a part of filtering the reference pixel of the current block, and may determine and apply the filter according to the prediction mode of the current prediction block.
  • AIS filtering may be performed on reference pixels of the current block by using the prediction mode and the AIS filter information of the prediction block provided by the encoder. If the prediction mode of the current block is a mode that does not perform AIS filtering, the AIS filter may not be applied.
  • the encoder may similarly perform filtering along with the reference pixel after generating the prediction block.
  • the reference pixel interpolator may generate reference pixels having an integer value or less by interpolating the reference pixels. If the prediction mode of the current block is the prediction mode for generating the prediction block without interpolating the reference pixel, the reference pixel may not be interpolated.
  • the DC filter may generate a predicted block (or expressed as a predicted sample) through filtering when the prediction mode of the current block is the DC mode.
  • the prediction unit 230 may perform different prediction operations depending on whether the prediction unit 230 is included in the base layer or the enhanced layer.
  • the prediction unit 230 may operate in the same manner as in the above-described embodiment.
  • the prediction unit does not perform inter prediction or intra prediction according to the hierarchical image decoding mode, or the image prediction related information generated by the prediction unit of the base layer ( For example, an intra prediction mode, motion prediction related information, etc.) may be received and prediction may be performed based on the corresponding information. Specific examples will be further described in detail.
  • the reconstructed block or picture may be provided to the filter unit 235.
  • the filter unit 235 may include a deblocking filter, an offset correction unit, and an ALF.
  • the deblocking filter of the decoder may receive the deblocking filter related information provided by the encoder and perform the deblocking filtering on the corresponding block in the decoder. As in the encoder, first, vertical deblocking filtering and horizontal deblocking filtering are performed, but in the overlapping portion, at least one of vertical deblocking and horizontal deblocking may be performed. Vertical deblocking filtering or horizontal deblocking filtering, which has not been previously performed, may be performed at a portion where vertical deblocking filtering and horizontal deblocking filtering overlap. Through this deblocking filtering process, parallel processing of deblocking filtering is possible.
  • the offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction and offset value information applied to the image during encoding.
  • the ALF may perform filtering based on a value obtained by comparing the restored image with the original image after performing the filtering.
  • the ALF may be applied to the coding block based on the ALF application information, the ALF coefficient information, and the like provided from the encoder. Such ALF information may be provided included in a specific parameter set.
  • the memory 240 may store the reconstructed picture or block to use as a reference picture or reference block, and may provide the reconstructed picture to the output unit.
  • the hierarchical video coding method is a method of predicting image information of an enhancement layer based on image information in a base layer.
  • this hierarchical video coding method will be described.
  • FIG. 3 is a conceptual diagram illustrating a hierarchical video encoding method according to an embodiment of the present invention.
  • an image may be encoded through a base layer 300 and an enhancement layer 350.
  • the image prediction information generated in the base layer 300 according to the hierarchical image encoding method may be used to perform the image encoding of the enhancement layer 350.
  • the image prediction information may be information generated by upsampling pixels of the base layer, intra prediction mode information used to predict a block in the base layer, and motion prediction related information.
  • the base layer 300 includes a mode determiner 305, a predictor 310, a transform and quantizer (T / Q, 325), an inverse transform and inverse quantizer (IT / IQ, 330), and an entropy encoder 335.
  • the restoring unit 315 may include a filter unit 320. Operation for each part is similar to that described in FIG. 1, and the mode determiner 305 is a component that determines whether to use an intra prediction method or an inter prediction method as an image encoding method.
  • pixel information of blocks generated in the base layer may be upsampled and used in the enhancement layer.
  • the pixel information of the block of the base layer 300 is upsampled by the upsampling unit 340 and subjected to additional inter-layer filtering units IL-ALF, IL-SAO, 345, and 347. Later it may be entered into the enhancement layer 350. Interpolation may be performed to perform upsampling.
  • the filter information obtained from the filtering units 345 and 347 is entropy coded through the filter coefficient encoder 380 and input to the multiplexer 385.
  • intra prediction mode information or motion prediction related information used for block prediction in the base layer may be transmitted to the enhancement layer, and such prediction related information may be used in the enhancement layer.
  • the inter-layer video encoding method may use various methods, and the method of receiving image prediction information from the base layer and performing prediction in the enhancement layer may be referred to as inter layer prediction.
  • the enhancement layer may perform the image prediction and encoding process using only the information of the enhancement layer without receiving the image prediction information from the base layer.
  • the enhancement layer 350 is also the same as the base layer 300, such as the mode determiner 355, the predictor 360, the transform and quantization unit (T / Q, 375), the inverse transform and inverse quantization unit (IT / IQ, 380). ), An entropy encoder 385, a reconstructor 365, and a filter 370.
  • the operation of each component may have the same configuration as described in FIG. 1.
  • the mode determiner 355 of the enhancement layer 350 is one of various image encoding methods, such as an image prediction method using image information in the enhancement layer 350 or an inter layer prediction method using image prediction information of a base layer. It can be used as a component for selecting one prediction method.
  • the mode determiner 355 of the enhancement layer may select an image prediction method to be performed by the image encoder.
  • the information, the base layer information, and the enhancement layer information generated by the upsampling and inter-layer filtering units 340, 345, and 347 are multiplexed by the multiplexing unit 385 to be generated as a scalable bitstream.
  • the image decoder may be transmitted.
  • FIG. 4 is a conceptual diagram illustrating a hierarchical video decoding method according to an embodiment of the present invention.
  • image information may be transmitted through a scalable bitstream generated from an image encoder.
  • the hierarchical bitstream is demultiplexed by a demultiplexing unit 405 to entropy decoding unit 410 of base layer 400, entropy decoding unit 455 of enhancement layer 450, and filter coefficient entropy decoding unit 485. ) Can be entered.
  • the mode determiner 420 may determine whether to perform inter prediction or intra prediction.
  • the prediction unit 425 may perform prediction based on the prediction mode information output from the mode determiner 420.
  • the inverse quantizer and the inverse transformer 415 may generate residual information by inversely transforming and inverse quantizing the residual information generated by the entropy decoder 410. That is, image decoding may be performed in the same manner as the image decoding step of FIG. 2.
  • the information generated after the image decoding process is completed in the base layer 400 may be upsampled if the enhancement layer 450 performs decoding using information that upsamples the pixels included in the block of the base layer 400. It may be sent to the unit 440. The upsampled information may be transmitted to the enhancement layer 450 through the interlayer filtering units 445 and 447.
  • the mode determining unit 465 of the enhancement layer 450 may use any image encoding method or image prediction method in the image encoding step. It may be determined whether encoding is performed using.
  • the mode determiner 465 of the enhancement layer 450 may perform image decoding by using the same prediction method as the image prediction method used when encoding is performed in the enhancement layer of the image encoder.
  • a method of performing image prediction with reference to information of the base layer 400 may be large, or a method of performing image prediction without using information of the base layer 400.
  • the enhancement layer 450 does not receive image related information from the base layer 400.
  • the base prediction mode in the hierarchical image decoding method may refer to a mode using image prediction information used to predict a block of a base layer to predict a block of an enhancement layer.
  • the image prediction information may be, for example, an intra prediction mode or motion prediction related information used in a block of the base layer.
  • 5 further describes a hierarchical image decoding method using a base prediction mode.
  • FIG. 5 is a conceptual diagram illustrating a hierarchical image decoding method using a base prediction mode according to an embodiment of the present invention.
  • FIG. 5 illustrates a method of performing prediction on a block unit of an enhancement layer by using image prediction related information of corresponding block information of a base layer with respect to a block unit of an enhancement layer.
  • intra screen prediction or inter screen prediction when intra screen prediction or inter screen prediction is performed in the block unit 500 of the base layer, information used for intra screen prediction (eg, intra screen prediction mode) or inter screen prediction is used.
  • the information eg, motion prediction related information
  • the block unit 500 of the base layer uses the DC mode as the intra prediction mode
  • the block 540 corresponding to the block unit 500 of the base layer in the enhancement layer uses the same DC mode.
  • Intra-prediction can be performed.
  • the block unit 500 of the base layer uses the vector A when performing the inter prediction method
  • the vector A is added to the enhancement layer.
  • Inter-prediction can be performed using a vector A 'scaled accordingly.
  • the correspondence between the image unit of the base layer and the image unit of the enhancement layer may mean that the relative position of the image unit in the picture of each layer is the same, or that the image unit is referred to between layers when performing inter-layer prediction. May have
  • a block unit is illustrated in FIG. 5 to describe the base prediction mode, it may be determined whether to use the base prediction mode on a slice or picture basis which is another image unit. For example, if the base prediction mode is performed on a slice basis, prediction related information (for example, intra prediction mode information and motion prediction related information) from the corresponding prediction block of the base layer for all prediction blocks included in the slice. Can be derived to perform the prediction.
  • prediction related information for example, intra prediction mode information and motion prediction related information
  • image prediction information used in the image unit 500 of the base layer is decoded to perform image prediction in the image unit 540 of the enhancement layer.
  • Used to The block 540 predicted and generated in the enhancement layer may be added to the residual information (or residual signal) 520 transmitted by the image encoder to generate a reconstructed block in the enhancement layer.
  • the intra prediction mode information may be transmitted separately for the luminance sample and the chrominance sample.
  • the prediction related information of the base layer block for example, intra_luma_pred_mode, intra_chroma_pred_mode) And the like
  • intra_luma_pred_mode for example, intra_luma_pred_mode, intra_chroma_pred_mode
  • Reference pixel or reference sample information may be obtained from reconstructed pixels around the enhancement layer, or may be obtained from the reconstructed pixels around the base layer.
  • the image prediction information of the base layer may be used to directly predict the corresponding block of the enhancement layer.
  • the image prediction information of the base layer may be used to calculate the MPM for the block of the enhancement layer.
  • the intra prediction is performed in the block 540 of the enhancement layer. It can also be used as information for calculating the most probable mode (MPM) used in the execution.
  • the MPM is a candidate value of the intra prediction mode of the current block.
  • the MPM will be further described with reference to FIG. 6.
  • FIG. 6 is a conceptual diagram for explaining the MPM method.
  • the intra prediction mode for performing the intra prediction on the block includes a directional prediction mode having various directions as shown in FIG. 6A (the intra prediction screen 600 in the second screen 600 to the intra prediction screen 610 in 34). ) And a non-directional prediction mode (prediction mode (planar 620 in screen 0, 620), intra prediction mode (DC, 630) in screen 1).
  • Directional prediction mode is an intra prediction mode that performs prediction with constant directionality based on reference pixel information when performing intra prediction, and non-directional prediction mode performs intra prediction without direction based on reference pixel information.
  • My prediction mode is
  • Intra prediction mode information used to perform intra prediction on a specific block may be transmitted as a value indicating the mode. That is, information on which intra prediction mode among the intra prediction modes 0 to 34 and the intra prediction modes 34 may be directly transmitted. However, when such a method is used, coding efficiency may decrease. Therefore, based on the intra prediction mode of the current block tends to be similar to the neighboring blocks and the intra prediction mode of the current block, use the intra prediction mode of the neighboring block as one candidate value for the intra prediction mode of the current block. Can be. When the candidate value is the intra prediction mode of the current block, signaling can be performed using a smaller number of bits than the number of bits used when signaling a specific mode among all mode information, thereby reducing compression efficiency and complexity.
  • the candidate value for the intra prediction mode of the current block may be referred to as most probable mode (MPM).
  • MPM most probable mode
  • FIG. 6B a method of calculating the MPM will be briefly described as an example.
  • the current block 650 refers to a prediction block for which the current intra prediction is to be performed, and blocks A 660 and B 640 are adjacent to the left and top of the current block, respectively.
  • Mode A refers to the intra prediction mode value of block A 660
  • mode B refers to the intra prediction mode value of block B 640.
  • the current block, block A 660 and block B 640 do not have to be the same size, and this can be considered as an embodiment.
  • the MPM of the current block 650 may be inferred from Mode A and Mode B, which are intra prediction modes of Block A 660 and Block B 640 located around the current block.
  • Mode A may be a first candidate for predicting the intra prediction mode of the current block
  • mode B may be a second candidate for predicting the intra prediction mode of the current block.
  • the intra prediction mode value of the block of the base layer corresponding to the prediction target block of the enhancement layer is MPM, that is, the candidate of the intra prediction mode of the prediction target block. Can be used as either. This embodiment will be further described in detail.
  • a block corresponding to a block of an enhancement layer in the base layer is defined in terms of a corresponding block of the base layer, a corresponding block, or a corresponding block.
  • 7 is a flowchart illustrating a method of setting an MPM using an intra prediction mode of a base layer in an enhancement layer according to an embodiment of the present invention.
  • step S700 it is determined whether a block of the base layer corresponding to the block of the enhancement layer uses the intra prediction mode.
  • a block corresponding to the enhancement layer in the base layer can induce an intra prediction mode using an intra prediction method. That is, the use of the intra prediction mode of the corresponding block of the base layer means that the intra prediction mode for the block of the enhancement layer can be derived using, for example, the intra prediction mode of the corresponding block. can do.
  • step S710 If the intra prediction mode of the corresponding block of the base layer is not available, another image prediction method that does not induce MPM in the base layer is performed (step S710).
  • Image prediction may be performed. Or using an inter-layer image prediction method other than the base prediction mode (for example, a method using upsampled pixel information_ or a method of calculating MPM using only neighboring blocks in the enhancement layer). Image prediction may be performed.
  • the MPM for the prediction target block of the enhancement layer is calculated based on the intra prediction mode value calculated using only the neighboring blocks of the prediction target block of the enhancement layer, and the intra prediction mode value of the prediction target block of the enhancement layer. Can be encoded.
  • the intra prediction mode of the block corresponding to the base layer is available, it is determined whether the intra prediction mode of the corresponding block in the base layer is one of the planar mode, the DC mode, or the vertical mode (step S720).
  • the MPM for the current block may be calculated as follows according to the intra prediction mode of the corresponding block of the base layer.
  • the intra prediction mode of the corresponding block of the base layer is one of the planar mode, the DC mode, or the vertical mode, the planar mode, the second MPM (ie, the first MPM) (ie, the first candidate); DC mode as the second candidate), vertical mode as the third MPM (ie, third candidate),
  • the first MPM is the intra prediction mode of the corresponding block of the base layer, and the second MPM.
  • the DC mode can be set and used in the planar mode and the third MPM.
  • the intra prediction mode used may be used as the first MPM.
  • the intra prediction mode of the corresponding block of the base layer is the directional prediction mode except the vertical mode
  • the intra prediction mode of the corresponding block of the base layer as the first MPM
  • the DC mode may be set to the third MPM.
  • the intra prediction mode of the corresponding block of the base layer is the vertical mode
  • the planar mode as the first MPM, the DC mode as the second MPM, and the vertical mode as the third MPM may be used.
  • the intra prediction mode of the corresponding block of the base layer is one of the planar mode, the DC mode, or the vertical mode
  • the planar mode is the first MPM
  • the DC is the second MPM.
  • the vertical mode may be used as the mode, the third MPM (step S730).
  • the first MPM may use the intra prediction mode of the corresponding block of the base layer and the second mode.
  • the planar mode may be used as the MPM
  • the DC mode may be used as the third MPM (step S740).
  • FIG. 8 is a flowchart illustrating a method of setting an MPM using an intra prediction mode of a corresponding block of a base layer in an enhancement layer according to an embodiment of the present invention.
  • FIG. 8 discloses an MPM setting method different from that of FIG. 7.
  • step S800 it is determined whether an intra prediction mode of a block corresponding to the base layer is available.
  • the intra prediction mode information of the current block in the enhancement layer may be derived from the intra prediction mode information of the block corresponding to the base layer.
  • step S810 If the intra prediction mode of the block corresponding to the base layer is not available, an image prediction method other than the base prediction mode is performed (step S810).
  • image prediction is performed using only the image prediction information of the enhancement layer, or an inter-layer image prediction method other than the base prediction mode is used for the enhancement layer. Image prediction may be performed.
  • an intra prediction mode value of the prediction target block may be encoded by calculating an MPM for the prediction target block of the enhancement layer using only the intra prediction mode values of the neighboring blocks of the prediction target block present in the enhancement layer.
  • the intra prediction mode of the corresponding block of the base layer is available, it is determined whether the intra prediction mode of the base layer is one of the planar mode and the DC mode (step S820).
  • the MPM may be calculated as follows according to the intra prediction mode of a block corresponding to the base layer.
  • the planar mode can be used as the first MPM, the DC mode as the second MPM, and the vertical mode as the third MPM. (Step S830).
  • the intra prediction mode of the corresponding block in the base layer is the directional intra prediction mode.
  • an intra prediction mode (base layer mode, BL mode) of a block corresponding to the base layer as the first MPM, and an intra prediction mode adjacent to the intra prediction mode of the base layer are used as the second MPM and the third MPM. It may be (step S840).
  • an intra prediction mode (base layer mode, BL mode) of a corresponding block in the base layer is an intra prediction mode (prediction screen 2 and intra prediction 34) at both ends of the directional prediction mode.
  • Mode the intra prediction mode subtracted from the intra prediction mode of the block corresponding to the base layer by the second MPM (BL mode-1), and the intra prediction of the block corresponding to the base layer by the third MPM.
  • the intra prediction mode (BL mode + 1) plus one may be used.
  • an intra prediction mode of a block corresponding to a base layer is an intra prediction mode of 10 screens
  • Intra-prediction mode may be used.
  • the intra prediction mode (BL mode) of the corresponding block in the base layer is the intra prediction mode (intra prediction mode 2 or 34) at both ends of the directional intra prediction mode. have.
  • a value obtained by adding 1 or subtracting 1 may not exist in the intra prediction mode (BL mode) of the corresponding block in the base layer.
  • the third MPM may use an intra prediction mode (BL mode-2, an intra prediction mode of picture 32) obtained by subtracting 2 from the intra prediction mode of the base layer.
  • the intra prediction mode in which the second MPM is added to the intra prediction mode of the base layer (BL mode + 1, the intra prediction mode 3) is added.
  • an intra picture prediction mode (BL mode + 2, an intra picture prediction mode 4) obtained by adding 2 in the intra prediction mode of the base layer may be used as the third MPM (step S840).
  • Flag information including information on whether to use the intra prediction mode of the corresponding block in the base layer as it is or whether the intra prediction mode of the block of the enhancement layer is the same as the intra prediction mode of the corresponding block of the base layer.
  • the encoding may be performed using.
  • the intra prediction mode of the base layer may be used as the intra prediction mode of the enhancement layer without having to perform the process of inducing the MPM as described above.
  • flag information indicating whether or not to directly use the intra prediction mode used in the corresponding block in the base layer for example, a base layer mode flag (BL mode flag) is defined to define the flag.
  • BL mode flag base layer mode flag
  • the base layer mode flag may be included in the header information of the block and transmitted.
  • the base layer mode flag information may be present in a header of a coding unit or a prediction unit in a bitstream.
  • information about the intra prediction mode for the luminance sample and the intra prediction mode for the color difference sample may be defined as separate information and transmitted.
  • the base layer luminance mode flag (BL_luma_mode_flag) which is a flag indicating that the base layer derives the intra prediction mode of luminance samples
  • the base layer which is a flag indicating that the base layer derives the intra prediction mode of the color difference sample.
  • the color difference mode flag BL_chroma_mode_flag may be separately defined and used.
  • the in-picture prediction mode for any of the luma and chrominance samples in the base layer is derived from the corresponding block in the base layer. It can be separately indicated for each pixel type as to whether to apply to the corresponding block of.
  • FIG. 9 is a flowchart illustrating a method of setting an MPM when a base layer mode flag is used according to an embodiment of the present invention.
  • the value of the base layer mode flag is determined (step S900).
  • the base layer mode flag may be used to derive prediction related information (intra prediction mode, motion prediction related information) of a corresponding block of the base layer to indicate whether a block of the enhancement layer performs image prediction.
  • prediction related information intra prediction mode, motion prediction related information
  • the base layer mode flag when the base layer mode flag is 0, it may also be used as information indicating that the intra prediction mode of the block of the enhancement layer is not the same as the intra prediction mode of the base layer.
  • the intra layer prediction using the DC mode may be performed on the corresponding block of the enhancement layer.
  • the MPM is derived except the prediction related information about the corresponding block in the base layer to perform the intra prediction on the blocks of the enhancement layer or to perform the inter prediction or intra-layer video prediction method. Can be used to perform predictions on blocks.
  • the base layer mode flag may include information on whether the intra prediction mode of the block of the base layer corresponding to the intra prediction mode of the block of the enhancement layer is the same. If the base layer flag is 1, it indicates that the intra prediction mode information of the block of the enhancement layer is the same as the intra prediction mode information of the corresponding block in the base layer. If the base layer flag is 0, the block of the enhancement layer is Intra-prediction mode information of the screen and the intra-prediction mode information of the block corresponding to the base layer may indicate that is not the same.
  • the intra prediction mode of the corresponding block of the base layer is not used as the intra prediction mode of the current block of the enhancement layer (for example, if the flag value is 0), whether the intra prediction mode of the base layer is available. It is determined whether or not (step S910).
  • the intra layer prediction mode information of the corresponding block in the base layer may be used in the enhancement layer block to calculate the MPM for performing the intra prediction.
  • the intra prediction mode of the corresponding block in the base layer is not the same as the intra prediction mode of the current block of the enhancement layer, so the MPM predicts the intra prediction of the corresponding block in the base layer. It may be calculated as an intra prediction mode value other than the mode.
  • the image prediction may be performed using only the information of the enhancement layer, or the image prediction may be performed on the enhancement layer using another inter-layer image prediction method (step S920).
  • step S910 and step S920 may be omitted. That is, when the base layer flag is 0, it is determined that the intra prediction mode of the base layer is available and immediately determines whether the intra prediction mode derived from the base layer is the planar mode or the DC mode (S930). You can get over it.
  • step S910 If it is determined in step S910 that the intra prediction mode of the base layer is available, it is determined whether the intra prediction mode derived from the base layer is a planar mode or a DC mode (step S930).
  • the base layer mode flag is 0, it means that the intra prediction mode of the corresponding block of the base layer and the intra prediction mode of the current block of the enhancement layer are not the same.
  • the intra prediction mode of the block may not be selected as the MPM.
  • the intra prediction mode derived from the base layer is not the planar mode or the DC mode
  • the intra prediction may be performed using the planar mode as the first MPM and the DC mode as the second MPM. (Step S940).
  • step S930 when the intra prediction mode of the base layer is the planar mode or the DC mode, it may be determined whether the intra prediction mode of the block corresponding to the base layer is the planar mode (step S950).
  • Step S950 may also be a determination process for preventing the intra prediction mode of the corresponding block of the base layer from being selected as the MPM.
  • the DC mode may be set as the first MPM and the vertical mode may be set as the second MPM (step S960).
  • the planar mode may be set as the first MPM and the vertical mode as the second MPM (step S970).
  • FIG. 10 is a flowchart illustrating a method of setting an MPM when a base layer mode flag is used according to an embodiment of the present invention.
  • the MPM selected when the intra prediction mode of the block corresponding to the base layer is not the planar mode or the DC mode is different.
  • the intra prediction mode of the corresponding block in the base layer is not the planar mode or the DC mode
  • the intra prediction mode derived from the corresponding block becomes the intra prediction mode.
  • the first MPM is an intra prediction mode obtained by subtracting one from the intra prediction modes derived from the corresponding block of the base layer (BL mode-1)
  • the second MPM is an intra prediction derived from the corresponding block of the base layer.
  • the image is added to the intra prediction mode BL mode + 1 (step S1000).
  • the other MPM determination process is the same as in FIG.
  • the intra prediction mode (BL mode) of a block corresponding to the base layer may be an intra prediction mode (prediction mode 2 or 34) at both ends of the directional prediction mode.
  • the intra prediction mode (BL mode) of the corresponding block in the base layer is the intra prediction mode of screen 34
  • the intra prediction mode obtained by subtracting one from the intra prediction mode of the base layer with the first MPM (BL mode-1, Intra-picture prediction mode of screen 33) and the second MPM, an intra-prediction mode (BL mode-2, intra-prediction mode of screen 32) obtained by subtracting 2 from the intra prediction mode of the base layer may be used.
  • the intra prediction mode (BL mode) of the corresponding block in the base layer is the intra prediction mode 2
  • the intra prediction mode (BL mode + 1, Intra-picture prediction mode 3) and the second MPM an intra-prediction mode (BL mode + 2, intra-prediction mode 4), which adds 2 to the intra prediction mode of the base layer, may be used.
  • FIG. 11 is a flowchart for performing an intra prediction mode method according to an embodiment of the present invention.
  • FIG. 11 a method for calculating an MPM used for an intra prediction mode in an enhancement layer is described.
  • step S1100 it is determined whether the MPM is used.
  • the use of the MPM may be determined based on the use of the MPM flag prev_intra_luma_pred_flag.
  • the MPM use flag is a flag including information on whether intra prediction is performed in the enhancement layer by selecting an intra prediction mode of one of the MPMs. For example, if the MPM enable flag is 1, an intra screen prediction using MPM can be performed. If the MPM enable flag is 0, intra screen prediction is performed using the intra screen prediction modes except for the MPM. can do.
  • the MPM may be calculated using one of the methods of calculating the three MPM indexes in FIGS. 7 and 8 (step S1110).
  • the intra prediction mode value derived from the base layer is one of the planar mode, the DC mode, and the vertical mode. If the mode is one of these, the planar mode may be used as the first MPM, the DC mode as the second MPM, and the vertical mode as the third MPM. If the above conditions are not satisfied, an intra prediction mode of the base layer may be used as the first MPM, a planar mode as the second MPM, and a DC mode as the third MPM.
  • the intra prediction mode of one of the remaining intra prediction modes is used as the intra prediction mode for the block of the enhancement layer. (Step S1120).
  • FIG. 12 is a flowchart illustrating a method for calculating one intra prediction mode among the remaining intra prediction modes according to an exemplary embodiment of the present invention.
  • the remaining intra picture prediction mode (rem_intra_luma_pred_mode) is decoded and the remaining picture prediction mode and the intra picture prediction mode corresponding to the MPM are compared (step S1200).
  • the remaining intra picture prediction mode is one variable that is encoded and transmitted to calculate a final intra picture prediction mode that is finally used when the prediction block does not use the intra picture prediction mode of one of the MPMs.
  • the final intra prediction mode may be calculated by decoding a value corresponding to the remaining intra prediction mode and shifting the value corresponding to the remaining intra prediction mode by comparing with the intra prediction mode value corresponding to the MPM. (Step S1220).
  • an intra prediction mode value decoded by the remaining intra prediction modes is 10 and an intra prediction mode value used as an MPM is 1, 2, or 11.
  • the intra prediction mode value applied to the block may be 12. That is, although the intra prediction mode value applied to the block during the actual encoding was 12, after encoding the smaller intra prediction mode value by considering the MPM value, the actual intra prediction mode value is calculated by considering the MPM in a later decoding step. In-screen prediction can be performed. By using this method, the coding efficiency for encoding the intra prediction mode can be increased.
  • the i value may be set according to the number of MPMs, and the final intra prediction mode value may be calculated by comparing the intra prediction mode values of the respective MPMs with the magnitudes of the remaining intra prediction modes.
  • the intra prediction mode and the codeword as shown in Table 1 below may be mapped.
  • a codeword of the smallest length is assigned to encode and decode the first MPM, and a codeword of the next length is assigned to the second MPM and the third MPM, which is highly likely to be used as an intra prediction mode. Shorter codewords can be allocated in the intra prediction mode.
  • FIG. 13 is a flowchart illustrating a process of decoding an intra prediction mode using a base layer mode flag and using two MPMs according to an embodiment of the present invention.
  • FIG. 13 is the same as FIG. 11, but calculating two MPMs (step S1300) and determining the prediction mode in the final screen of the current block based on the remaining prediction modes (step S1310) may be different.
  • the MPM derivation method described above in FIGS. 9 and 10 may be used to calculate two MPMs. That is, by determining whether a block of the base layer is available, it is possible to determine whether the intra prediction mode of the block corresponding to the base layer is a planer or a DC, and determine the first MPM and the second MPM.
  • the determining of the prediction mode in the final picture of the current block based on the remaining prediction modes may be performed in consideration of the prediction mode in the picture of the base layer. This will be described in detail with reference to FIG. 14.
  • FIG. 14 is a flowchart illustrating a method of calculating an intra prediction mode of a current block according to an embodiment of the present invention.
  • FIG. 14 illustrates a process of calculating an intra prediction mode for a block of an enhancement layer that does not use an MPM when the base layer mode flag is used.
  • step S1400 it may be determined whether an intra prediction mode of a block corresponding to the base layer is smaller than the remaining intra intra prediction mode (step S1400).
  • the base layer mode flag may be used to indicate whether the intra prediction mode of the current block of the enhancement layer is directly derived from the intra prediction mode of the corresponding block of the base layer. If the current block of the enhancement layer does not directly use the intra prediction mode of the block corresponding to the base layer, the MPM may be derived to predict the intra prediction mode value of the current block.
  • the intra prediction mode value of the current block to be encoded may be changed in consideration of the intra prediction mode information used in the corresponding block in the base layer.
  • the intra prediction mode value of the corresponding block in the base layer is 10 and the intra prediction mode value of the current block of the enhancement layer is 15, the intra prediction mode value of the current block is encoded as 14 and subsequently decoded. A value obtained by adding 1 to the intra prediction mode value decoded in step may be finally determined as the intra prediction mode value of the current block.
  • the final intra prediction mode of the current block may be calculated by comparing the intra intra prediction mode value calculated in operation S1400 with the intra prediction mode value of the MPM (step S1410).
  • Step S1410 may be used as a step for calculating the final intra prediction mode by comparing the intra prediction mode number of the MPM with the remaining intra prediction mode values through step S1400 in the same manner as in FIG. 12.
  • the intra prediction mode value calculated through the existing step S1400 is shifted from 15 to 17 times to final intra prediction mode for the current block.
  • the value can be calculated.
  • Table 2 is a table showing a mapping relationship between the intra prediction mode and the codeword when the base layer mode flag is used.
  • the code word for the base layer mode flag is set to '1' to indicate the intra prediction mode. can do.
  • Codewords corresponding to three bits may be allocated to the remaining first MPM and the second MPM, and codewords for the remaining intra prediction modes may be allocated as the next codeword length.
  • 15 is a block diagram illustrating a method of calculating an MPM in a hierarchical image decoding method according to an embodiment of the present invention.
  • 15 illustrates a method of calculating an MPM and performing intra prediction in a hierarchical image decoding method.
  • the candidate set calculator 1500 may calculate the MPM based on the MPM calculation method described above with reference to FIGS. 7 to 14. For example, the candidate set calculator 1500 may determine whether a prediction mode in a base layer screen, which is an intra prediction mode of a block corresponding to the base layer, is available. As a result of the determination, when the prediction mode in the base layer screen is available, it may be determined whether the prediction mode in the base layer screen is a specific intra prediction mode (eg, planar mode, DC mode, or vertical mode).
  • a specific intra prediction mode eg, planar mode, DC mode, or vertical mode.
  • the candidate set calculator 1500 may calculate various candidate sets, that is, MPM sets, including a plurality of candidate modes according to whether the intra prediction mode of the base layer is a specific intra prediction mode. That is, one of the MPM sets described with reference to FIGS. 7 to 14 may be calculated according to which intra prediction mode is the intra prediction mode of the base layer, and a plurality of candidate modes included in the MPM set may be different from each other. Can be.
  • the entropy decoder decodes information on whether to use the intra prediction mode in the base layer directly as the intra prediction mode of the block of the enhancement layer.
  • the candidate set calculator 1500 may not perform the MPM calculation process.
  • the prediction unit 1550 may calculate the predicted sample or the predicted block by performing intra prediction on the basis of the MPM information calculated by the candidate set calculator.

Abstract

MPM을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치가 개시되어 있다. 화면 내 예측을 수행하는 계층적 영상 복호화 방법은 기본 계층에서 대응되는 블록의 화면 내 예측 모드인 기본 계층 화면 내 예측 모드가 가용한지 여부를 판단하는 단계, 기본 계층 화면 내 예측 모드가 가용한 경우 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드인지 여부를 판단하는 단계, 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드가 아닌 경우, 제1 후보 집합(most probable mode)을 산출하고 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드인 경우, 제2 후보 집합 및 제3 후보 중 하나의 후보 집합을 산출할 수 있다. 따라서, 현재 블록의 화면 내 예측 모드를 부호화하기 위한 부호화 효율을 높일 수 있다.

Description

MPM을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치
본 발명은 계층적 비디오 코딩 방법 및 장치에 관한 것으로 더욱 상세하게는 계층적 비디오 코딩을 수행 시 화면 내 예측 방법 및 장치에 관한 것이다.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 응용 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 데이터량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 저장하는 경우, 전송 비용과 저장 비용이 증가하게 된다. 영상 데이터가 고해상도, 고품질화 됨에 따라 발생하는 이러한 문제들을 해결하기 위해서는 고효율의 영상 압축 기술들이 활용될 수 있다.
영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.
본 발명의 제1 목적은 영상 부호화 효율을 증가시키기 위한 MPM(most probable mode)을 이용한 계층적 영상 복호화 방법을 제공하는 것이다.
또한, 본 발명의 제2 목적은 영상 부호화 효율을 증가시키기 위한 MPM을 이용한 계층적 영상 복호화 방법을 수행하는 장치를 제공하는 것이다.
상술한 본 발명의 제1 목적을 달성하기 위한 본 발명의 일 측면에 따른 화면 내 예측을 수행하는 계층적 영상 복호화 방법은 기본 계층에서 대응되는 블록의 화면 내 예측 모드인 기본 계층 화면 내 예측 모드가 가용한지 여부를 판단하는 단계, 상기 기본 계층 화면 내 예측 모드가 가용한 경우 상기 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드인지 여부를 판단하는 단계, 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드가 아닌 경우, 복 수의 후보 모드를 포함하는 제1 후보 집합을 산출하고 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드인 경우, 상기 제1 후보 집합과 상이한 제2 후보 집합 및 제3 후보 집합 중 하나를 산출하는 단계와 산출된 상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하는 단계를 포함할 수 있다.
상기 계층적 복호화 방법은 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드, 수직 모드 중 하나의 예측 모드이고, 상기 제1 후보 집합은 제1 후보로 상기 기본 계층 화면 내 예측 모드, 제2 후보로 상기 플레이너 모드, 제3 후보로 상기 DC 모드가 설정되고, 상기 제2 후보 집합은 상기 1 후보로 상기 플레이너 모드, 상기 제2 후보로 DC 모드, 상기 제3 후보로 상기 수직 모드가 설정될 수 있다.
상기 특정한 화면 내 예측 모드는 상기 플레이너 모드, 상기 DC 모드 중 하나의 예측 모드이고, 상기 제1 후보 집합은 상기 제1 후보로 상기 기본 계층 화면 내 예측 모드, 상기 제2 후보 및 상기 제 3 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고 상기 제2 후보 집합은 상기 제1 후보로 플레이너 모드, 상기 제2 후보로 상기 DC 모드, 상기 제3 후보로 수직 모드가 설정될 수 있다.
상기 계층적 영상 복호화 방법은 상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 블록의 화면 내 예측 모드로 사용할지 여부에 대한 정보를 복호화하는 단계를 더 포함할 수 있다.
상기 기본 계층 화면 내 예측 모드를 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우, 상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드이고, 상기 제1 후보 집합은 제1 후보로 상기 플레이너 모드, 제2 후보로 상기 DC 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고, 상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고, 상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 상기 플레이너 모드인지 여부에 따라 산출되는 집합일 수 있다.
상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우, 상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드이고, 상기 제1 후보 집합은 제1 후보 및 제2 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고, 상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고, 상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 플레이너 모드인지 여부에 따라 산출될 수 있다.
상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하는 단계는, 상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드와 다를 경우, 나머지 화면 내 예측 모드 값을 복호화하는 단계, 상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 비교 단계와 상기 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하는 단계를 포함하되, 상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드 값에 따라 변화시켜 부호화된 정보일 수 있다.
상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하는 단계는, 상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드 및 상기 기본 계층 화면 내 예측 모드와 다를 경우, 나머지 화면 내 예측 모드 값을 복호화하는 단계, 상기 기본 계층의 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 제1 비교 단계, 상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 제2 비교 단계와 상기 제1 비교 단계 및 상기 제2 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하는 단계를 포함하되, 상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드값에 따라 변화시켜 부호화된 정보일 수 있다.
상술한 본 발명의 제2 목적을 달성하기 위한 본 발명의 일 측면에 따른 화면 내 예측을 수행하는 계층적 영상 복호화 장치는 기본 계층에서 대응되는 블록의 화면 내 예측 모드인 기본 계층 화면 내 예측 모드가 가용한지 여부를 판단하고, 상기 기본 계층 화면 내 예측 모드가 가용한 경우 상기 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드인지 여부를 판단하고, 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드가 아닌 경우, 복 수의 후보 모드를 포함하는 제1 후보 집합을 산출하고 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드인 경우, 상기 제1 후보 집합과 상이한 제2 후보 집합 및 제3 후보 집합 중 하나를 후보 집합 산출부, 산출된 상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하도록 구현되는 예측부를 포함할 수 있다.
상기 후보 집합 산출부는 상기 제1 후보 집합은 제1 후보로 상기 기본 계층 화면 내 예측 모드, 제2 후보로 상기 플레이너 모드, 제3 후보로 상기 DC 모드가 설정되고, 상기 제2 후보 집합은 상기 1 후보로 상기 플레이너 모드, 상기 제2 후보로 DC 모드, 상기 제3 후보로 상기 수직 모드가 설정되도록 구현되고, 상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드, 수직 모드 중 하나의 예측 모드일 수 있다.
상기 후보 집합 산출부는 상기 제1 후보 집합은 상기 제1 후보로 상기 기본 계층 화면 내 예측 모드, 상기 제2 후보 및 상기 제 3 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 플레이너 모드, 상기 제2 후보로 상기 DC 모드, 상기 제3 후보로 수직 모드가 설정되도록 구현되고 상기 특정한 화면 내 예측 모드는 상기 플레이너 모드, 상기 DC 모드 중 하나의 예측 모드일 수 있다.
상기 계층적 영상 복호화 장치는 상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 블록의 화면 내 예측 모드로 사용할지 여부에 대한 정보를 복호화하는 엔트로피 복호화부를 더 포함할 수 있다.
상기 후보 집합 산출부는 상기 기본 계층 화면 내 예측 모드를 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우, 상기 제1 후보 집합은 제1 후보로 상기 플레이너 모드, 제2 후보로 상기 DC 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고, 상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고, 상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 상기 플레이너 모드인지 여부에 따라 산출되는 집합이고, 상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드일 수 있다.
상기 후보 집합 산출부는, 상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우, 상기 제1 후보 집합은 제1 후보 및 제2 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고, 상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고, 상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 플레이너 모드인지 여부에 따라 산출되는 집합이고, 상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드일 수 있다.
상기 예측부는, 상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드와 다를 경우, 나머지 화면 내 예측 모드 값을 복호화하고 상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 비교하고 상기 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하도록 구현되고, 상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드 값에 따라 변화시켜 부호화된 정보일 수 있다.
상기 예측부는 상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드 및 상기 기본 계층 화면 내 예측 모드와 다를 경우, 나머지 화면 내 예측 모드 값을 복호화하고 상기 기본 계층의 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하여 제1 비교 결과를 산출하고, 상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 제2 비교 결과를 산출하고 상기 제1 비교 단계 및 상기 제2 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하도록 구현되고, 상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드값에 따라 변화시켜 부호화된 정보일 수 있다.
상술한 바와 같이 본 발명의 실시예에 따른 MPM을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치에 따르면, 기본 계층에서 대응되는 블록의 화면 내 예측 모드를 향상 계층에서 현재 블록의 MPM을 산출하기 위한 정보로서 사용할 수 있다. 따라서, 현재 블록의 화면 내 예측 모드를 부호화하기 위한 부호화 효율을 높일 수 있다.
도 1은 본 발명의 실시예에 따른 부호화 장치를 나타낸 블록도이다.
도 2는 본 발명의 다른 실시예에 따른 복호화기를 나타낸 블록도이다.
도 3은 본 발명의 실시예에 따른 계층적 비디오 부호화 방법을 나타낸 개념도이다.
도 4는 본 발명의 실시예에 따른 계층적 비디오 복호화 방법을 나타낸 개념도이다.
도 5는 본 발명의 실시예에 따른 베이스 예측 모드를 사용한 계층적 영상 복호화 방법을 나타낸 개념도이다.
도 6은 MPM 방법을 설명하기 위한 개념도이다.
도 7은 본 발명의 실시예에 따른 향상 계층에서 기본 계층의 화면 내 예측 모드를 사용한 화면 내 예측 방법을 나타낸 순서도이다.
도 8은 본 발명의 실시예에 따른 향상 계층에서 기본 계층의 화면 내 예측 모드를 사용한 화면 내 예측 방법을 나타낸 순서도이다.
도 9는 본 발명의 실시예에 따른 기본 계층 모드 플래그를 사용하였을 경우 화면 내 예측 방법을 나타낸 순서도이다.
도 10은 본 발명의 실시예에 따른 기본 계층 모드 플래그를 사용하였을 경우 화면 내 예측 방법을 나타낸 순서도이다.
도 11은 본 발명의 실시예에 따른 화면 내 예측 모드 방법을 수행하기 위한 순서도이다.
도 12는 본 발명의 실시예에 따른 나머지 화면 내 예측 모드 중 하나의 화면 내 예측 모드를 산출하기 위한 방법을 나타낸 순서도이다.
도 13은 본 발명의 실시예에 따른 기본 계층 플래그를 사용하고 두 개의 MPM을 사용할 경우 화면 내 예측 모드를 복호화하는 과정을 나타낸 순서도이다.
도 14는 본 발명의 실시예에 따른 현재 블록의 화면 내 예측 모드를 산출하는 방법을 나타낸 순서도이다.
도 15는 본 발명의 실시예에 따른 계층적 영상 복호화 방법에서 MPM을 산출하는 방법을 나타낸 블록도이다.
본 발명의 실시예 및 도면에 개시된 각 구성부들은 영상 부호화 장치의 서로 다른 특징적인 기능들을 나타내기 위해 독립적인 구성으로 개시한 것이다. 각 구성부들이 반드시 분리된 하드웨어나 하나의 소프트웨어 구성 단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벋어나지 않는 한 본 발명의 권리범위에 포함된다.
또한, 일부의 본 발명에서 개시된 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리 범위에 포함된다.
도 1은 본 발명의 실시예에 따른 부호화 장치를 나타낸 블록도이다.
도 1을 참조하면, 부호화 장치는 분할부(100), 예측부(110), 화면 내 예측부(103), 화면 간 예측부(106), 변환부(115), 양자화부(120), 재정렬부(125), 엔트로피 부호화부(130), 역양자화부(135), 역변환부(140), 필터부(145) 및 메모리(150)를 포함할 수 있다.
부호화 장치는 이하의 본 발명의 실시예에서 설명하는 영상 부호화 방법에 의해 구현될 수 있으나, 일부의 구성부에서의 동작은 부호화기의 복잡도를 낮추기 위해 또는 빠른 실시간 부호화를 위해 수행되지 않을 수 있다. 예를 들어, 예측부에서 화면 내 예측을 수행함에 있어서, 실시간으로 부호화를 수행하기 위해 모든 화면 내 예측 모드 방법을 사용하여 최적의 화면 내 부호화 방법을 선택하는 방법을 사용하지 않고 일부의 제한적인 개수의 화면 내 예측 모드를 사용하여 그 중에서 하나의 화면 내 예측 모드를 최종 화면 내 예측 모드로 선택하는 방법이 사용될 수 있다. 또 다른 예로 화면 내 예측 또는 화면 간 예측을 수행함에 있어 사용되는 예측 블록의 형태를 제한적으로 사용하도록 하는 것도 가능하다.
부호화 장치에서 처리되는 블록의 단위는 부호화를 수행하는 부호화 블록(coding block), 예측을 수행하는 예측 블록(prediction block), 변환을 수행하는 변환 블록(transform block)이 될 수 있다. 부호화 블록을 부호화 또는 복호화하기 위해 사용되는 정보를 포함하는 일정한 정보 단위를 부호화 단위(CU, Coding Unit), 예측 블록에 대한 예측을 수행하기 위해 사용되는 정보를 포함하는 일정한 정보 단위를 예측 단위(PU, Prediction Unit), 변환 블록에 변환을 수행하기 위해 사용되는 정보를 포함하는 단위를 변환 단위(TU, Transform Unit)라는 용어로 표현할 수 있다.
이하, 본 발명의 실시예에서 사용되는 현재 블록은 예측 또는 변환 또는 부호화의 대상이 되는 블록을 의미할 수 있다. 예측 수행 시 현재 블록은 현재 예측의 대상이 되는 블록이 될 수 있다. 변환 수행 시 현재 블록은 현재 변환의 대상이 되는 변환 블록이 될 수 있다. 부호화 또는 복호화 수행 시 현재 블록은 부호화 또는 복호화의 대상이 되는 부호화 블록이 될 수 있다. 즉, 수행되는 영상 처리에 따라 현재 블록이 의미하는 단위가 달라질 수 있다.
분할부(100)에서는 하나의 픽쳐를 복수의 부호화 블록, 예측 블록 및 변환 블록의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 그 중 하나의 부호화 블록, 예측 블록 및 변환 블록의 분할 조합을 선택하여 픽쳐를 분할할 수 있다.
예를 들어, 픽쳐에서 부호화 블록을 분할하기 위해서는 쿼드 트리 구조(Quadtree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있다. 이하, 본 발명의 실시예에서는 부호화 블록의 의미는 부호화를 수행하는 블록이라는 의미뿐만 아니라 복호화를 수행하는 블록이라는 의미로도 사용할 수 있다.
예측 블록은 화면 내 예측 또는 화면 간 예측을 수행하는 블록이 될 수 있다. 화면 내 예측을 수행하는 블록의 형태로는 2Nx2N, NxN과 같은 정사각형의 형태나 SDIP(Short Distance Intra Prediction)를 사용하는 직사각형의 형태의 예측 블록 형태를 가질 수 있다. 화면 간 예측을 수행하는 블록으로는 2Nx2N, NxN과 같은 정사각형의 형태 또는 정사각형 형태의 예측 블록을 동일한 형태로 이분할한 형태인 2NxN, Nx2N 또는 비대칭 형태인 AMP (Asymetric Motion Partitioning)를 사용한 예측 블록 분할 방법이 있다. 예측 블록의 형태에 따라 변환부(115)에서는 변환을 수행하는 방법이 달라질 수 있다.
예측부(110)는 화면 내 예측을 수행하는 화면 내 예측부(103)와 화면 간 예측을 수행하는 화면 간 예측부(106)를 포함할 수 있다. 예측부(110)에서는 예측 블록에 대해 화면 간 예측을 사용할 것인지 또는 화면 내 예측을 수행할 것인지를 결정할 수 있다. 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예를 들어, 화면 내 예측을 수행함에 있어서 예측 모드는 예측 블록 단위로 결정되고, 예측을 수행하는 과정은 변환 블록 단위를 기초로 수행될 수도 있다. 생성된 예측된 블록(또는 예측된 샘플)과 원본 블록(또는 원본 샘플) 사이의 잔차값(잔차 블록)은 변환부(115)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 벡터 정보 등은 잔차값과 함께 엔트로피 부호화부(130)에서 부호화되어 복호화기에 전달될 수 있다.
PCM(Pulse Coded Modulation) 부호화 모드를 사용할 경우, 예측부(110)를 통해 예측을 수행하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.
화면 내 예측부(103)에서는 현재 블록(예측 블록)의 주변에 존재하는 참조 픽셀을 기초로 예측된 블록을 생성할 수 있다. 현재 블록에 대한 최적의 화면 내 예측 모드를 산출하기 위해서 현재 블록에 대해 복수의 화면 내 예측 모드를 사용하여 예측을 하고 그 중 하나의 화면 내 예측 모드를 현재 블록을 예측하기 위한 화면 내 예측 모드로 사용할 수 있다. 화면 내 예측에서 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행 시 방향성 정보를 사용하지 않는 비방향성 모드를 가질 수 있다. 휘도 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 화면 내 예측 모드는 종류가 상이할 수 있고, 색차 정보를 예측하기 위해 휘도 정보를 예측한 화면 내 예측 모드 정보 또는 예측된 휘도 신호 정보를 활용할 수 있다.
이하, 본 발명의 실시예에서는 현재 블록의 화면 내 예측모드를 산출하기 위해 사용되는 주변에 위치한 블록을 주변 블록이라고 정의한다. 주변 블록은 현재 블록의 좌상단 화소의 좌표를 (x,y)라고 할 때 (x-1,y)에 위치한 화소값를 포함하는 주변 블록 A와 (x, y-1)에 위치한 화소값을 포함하는 제2 주변 블록을 주변 블록이라고 할 수 있다.
현재 블록의 주변 블록의 화면 내 예측 모드 정보로부터 현재 블록의 화면 내 예측 모드 정보를 부호화할 수 있다. 즉, 현재 블록의 화면 내 예측 모드는 현재 블록의 주변에 존재하는 예측 블록의 화면 내 예측 모드로부터 예측할 수 있다.
현재 블록과 주변 블록의 화면 내 예측 모드가 동일할 경우, 플래그 정보를 이용하여 현재 블록과 주변 블록의 예측 모드가 동일하다는 정보를 지시할 수 있다. 만약, 현재 블록과 주변 블록의 예측 모드가 상이할 경우, 엔트로피 부호화를 수행하여 현재 블록의 화면 내 예측 모드 정보를 부호화할 수 있다.
주변 블록의 예측 모드가 가용하지 않은 경우, 미리 설정된 화면 내 예측 모드값을 후보 화면 내 예측 모드값으로 설정하여 현재 예측 블록의 화면 내 예측 모드를 예측할 수 있다.
화면 내 예측부(103)는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀 정보를 기초로 예측된 블록 또는 예측된 샘플을 생성할 수 있다. 이러한 현재 블록 주변의 픽셀을 참조하여 생성된 블록 또는 샘플을 예측된 블록 또는 예측된 샘플이라고 표현할 수 있다. 참조 픽셀로 사용되는 현재 블록의 주변 픽셀이 화면 간 예측을 수행하여 생성된 픽셀일 수 있다. 이러한 경우, 주변 블록 중 화면 내 예측을 수행한 블록의 픽셀을 참조 픽셀로 사용하여 화면 내 예측을 수행할 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.
화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 동일할 경우, 예측 블록의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 블록에 대한 화면 내 예측을 수행할 수 있다.
화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 상이할 경우, 변환 블록의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 이용하여 화면 내 예측을 수행할 수 있다. 또한, 최소 부호화 블록에 대해서만 NxN 분할을 사용하는 화면 내 예측을 사용할 수 있다.
화면 내 예측 방법은 예측 모드에 따라 참조 화소에 AIS(Adaptive Intra Smoothing) 필터를 적용한 후 예측된 블록(또는 예측된 샘플로도 표현될 수 있다.)을 생성할 수 있다. 참조 화소에 적용되는 AIS 필터의 종류는 상이할 수 있다. 화면 내 예측이 수행된 이후에 참조 픽셀과 예측된 블록에 존재하는 일부 픽셀에 대한 추가적인 필터링을 수행할 수 있다. 참조 픽셀과 예측된 블록에 존재하는 일부 픽셀에 대한 필터링은 화면 내 예측 모드의 방향성에 따라 다른 필터링 계수를 사용하여 필터링을 사용할 수 있다.
화면 간 예측부(106)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 블록(예를 들어, 예측된 블록 또는 예측된 샘플)를 생성할 수 있다. 화면 간 예측부(106)는 참조 픽쳐 보간부, 움직임 예측부, 움직임 보상부가 포함할 수 있다. 참조 픽쳐 보간부에서는 메모리(150)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.
화면 간 예측부(106)는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 예측을 수행할 수 있다. 움직임 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터값을 가질 수 있다. 화면 간 예측부(106)에서는 움직임 예측 방법을 다르게 하여 현재 예측 블록을 예측할 수 있다. 움직임 예측 방법으로 스킵(Skip) 방법, 머지(Merge) 방법, AMVP(Advanced Motion Vector Prediction) 방법 등 다양한 방법이 사용될 수 있다.
계층적 영상 부호화를 수행하는 경우 예측부(110)가 기본 계층(base layer)에 포함되어 있는지 아니면 향상 계층(enhanced layer)에 포함되어 있는지 여부에 따라 서로 다른 예측 동작을 수행할 수 있다. 예측부(110)가 기본 계층에 포함되어 있는 경우는 전술한 실시예와 동일하게 동작할 수 있다. 하지만, 예측부(110)가 향상 계층에 포함되어 있는 경우, 계층적 영상 부호화 모드에 따라 예측부가 화면 간 예측 및 화면 내 예측을 수행하지 않거나, 기본 계층의 예측부에서 생성된 영상 예측 관련 정보(예를 들어, 화면 내 예측 모드, 움직임 예측 관련 정보 등)을 수신받아 해당 정보를 기초로 예측을 수행할 수도 있다. 구체적인 예에 대해서는 추가적으로 상술한다.
예측부(110)에서 예측을 수행한 예측된 블록 또는 예측된 샘플과 원본 블록 또는 원본 샘플과 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(115)로 입력될 수 있다. 변환부(115)에서는 잔차 블록을 DCT(Discrete Cosine Transform) 또는 DST(Discrete Sine Transform)와 같은 변환 방법을 사용하여 변환할 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지 DST를 적용할지는 잔차 블록에 대응하는 예측 블록의 화면 내 예측 모드 정보 및/또는 예측 블록의 크기 정보를 기초로 결정할 수 있다. 즉, 변환부에서는 예측 블록의 크기에 따라 변환 방법을 다르게 사용할 수 있다.
양자화부(120)는 변환부(115)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(120)에서 산출된 값은 역양자화부(135)와 재정렬부(125)에 제공될 수 있다.
재정렬부(125)는 양자화된 잔차값에 대해 계수값의 재정렬을 수행할 수 있다.재정렬부(125)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(125)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 블록의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔 방법이 아닌 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔 방법, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔 방법이 사용될 수 있다. 즉, 변환 블록의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.
엔트로피 부호화부(130)는 재정렬부(125)에 의해 산출된 값들을 기초로 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다.
엔트로피 부호화부(130)는 재정렬부(125) 및 예측부(110)로부터 부호화 블록의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 블록 정보, 예측 블록 정보 및 변환 블록 정보, 움직임 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 제공받아 소정의 부호화 방법을 기초로 엔트로피 부호화를 수행할 수 있다. 또한, 엔트로피 부호화부(130)에서는 재정렬부(125)에서 입력된 부호화 단위의 정보를 엔트로피 부호화할 수 있다.
역양자화부(135) 및 역변환부(140)에서는 양자화부(120)에서 양자화된 값들을 역양자화하고 변환부(115)에서 변환된 값들을 역변환한다. 역양자화부(135) 및 역변환부(140)에서 생성된 잔차값(Residual)은 예측부(110)에 포함된 움직임 추정부, 움직임 보상부 및 인트라 예측부를 통해서 예측된 블록과 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다.
필터부(145)는 디블록킹 필터, 오프셋 보정부, ALF(Adaptive Loop Filter)중 적어도 하나를 포함할 수 있다.
디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링을 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행처리가 되도록 할 수 있다.
오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정한 수의 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.
ALF (Adaptive Loop Filter)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 영상에 포함된 픽셀을 적어도 하나 이상의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF의 크기 및 계수는 달라질 수 있다. ALF는 다양한 형태를 가질 수 있으며, 필터에 그에 따라 포함되는 계수의 개수도 달라질 수 있다. 이러한 ALF의 필터링 관련 정보(필터 계수 정보, ALF On/Off 정보, 필터 형태 정보)는 비트스트림 형태로 파라메터 셋에 포함되어 전송될 수 있다.
메모리(150)는 필터부(145)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 화면 간 예측을 수행 시 예측부(110)에 제공될 수 있다.
도 2는 본 발명의 다른 실시예에 따른 복호화기를 나타낸 블록도이다.
도 2를 참조하면, 복호화기는 엔트로피 복호화부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230), 필터부(235), 메모리(240)가 포함될 수 있다.
부호화기에서 비트스트림이 입력된 경우, 입력된 비트스트림은 부호화기와 반대의 절차로 복호화될 수 있다.
엔트로피 복호화부(210)는 부호화기의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다.
엔트로피 복호화부(210)에서 복호화된 정보 중 예측된 블록(또는 예측된 샘플)을 생성하기 위한 정보는 예측부(230)로 제공되고 엔트로피 복호화부에서 엔트로피 복호화를 수행한 잔차값은 재정렬부(215)로 입력될 수 있다.
엔트로피 복호화부(210)에서는 부호화기에서 수행된 화면 내 예측 및 화면 간 예측에 관련된 정보를 복호화할 수 있다. 전술한 바와 같이 부호화기에서 화면 내 예측 및 화면 간 예측을 수행시 예를 들어 주변의 예측 모드가 가용하지 않은 경우 등의 제약이 있는 경우, 이러한 제약을 기초로 한 엔트로피 복호화를 수행해 현재 블록에 대한 화면 내 예측 및 화면 간 예측에 관련된 정보를 제공받을 수 있다.
재정렬부(215)는 엔트로피 복호화부(210)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다.
역양자화부(220)는 부호화기에서 제공된 양자화 파라미터와 재정렬된 블록의 계수값을 기초로 역양자화를 수행할 수 있다.
역변환부(225)는 부호화기에서 수행한 양자화 결과에 대해 변환부에서 수행한 DCT 및 DST에 대해 역 DCT 및 역 DST를 수행할 수 있다. 역변환은 부호화기에서 결정된 변환 단위를 기초로 수행될 수 있다. 부호화기의 변환부에서는 DCT와 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 복호화기의 역변환부(225)에서는 부호화기의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다.
예측부(230)는 엔트로피 복호화부(210)에서 제공된 예측된 블록(또는 예측된 샘플) 생성 관련 정보와 메모리(240)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측된 블록(또는 예측된 샘플)을 생성할 수 있다.
전술한 바와 같이 부호화기에서의 동작과 동일하게 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 동일할 경우, 예측 블록의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 블록에 대한 화면 내 예측을 수행하지만, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 상이할 경우, 변환 블록을 기초로 한 참조 픽셀을 이용하여 화면 내 예측을 수행할 수 있다. 또한, 최소 크기의 부호화 블록에 대해서만 NxN 분할을 사용하는 화면 내 예측을 사용할 수 있다.
예측부(230)는 예측 블록 판별부, 화면 간 예측부 및 화면 내 예측부를 포함할 수 있다. 예측 블록 판별부는 엔트로피 복호화부에서 입력되는 예측 블록 정보, 화면 내 예측 방법의 예측 모드 정보, 화면 간 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 부호화 블록에서 예측 블록을 구분하고, 예측 블록이 화면 간 예측을 수행하는지 아니면 화면 내 예측을 수행하는지 여부를 판별할 수 있다. 화면 간 예측부는 부호화기에서 제공된 정보를 이용해 현재 예측 블록이 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 블록에 대한 화면 간 예측을 수행할 수 있다.
화면 간 예측을 수행하기 위해 부호화 블록을 기준으로 해당 부호화 블록에 포함된 예측 블록의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다.
화면 내 예측부는 현재 픽쳐 내의 화소 정보를 기초로 예측된 블록(또는 예측된 샘플로도 표현할 수 있다.)을 생성할 수 있다. 예측 블록이 화면 내 예측을 수행한 예측 블록인 경우, 부호화기에서 제공된 예측 블록의 화면 내 예측 모드 정보를 기초로 화면 내 예측을 수행할 수 있다. 화면 내 예측부에는 AIS 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 부분으로서 현재 예측 블록의 예측 모드에 따라 필터의 적용 여부를 결정하여 적용할 수 있다. 부호화기에서 제공된 예측 블록의 예측 모드 및 AIS 필터 정보를 이용하여 현재 블록의 참조 화소에 AIS 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다. 또한, 부호화기에서 마찬가지로 예측 블록을 생성 후 참조 픽셀과 함께 추가적으로 필터링을 수행할 수 있다.
참조 화소 보간부는 예측 블록의 예측 모드가 참조 화소를 보간한 화소값을 기초로 화면 내 예측을 수행하는 예측 블록일 경우, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성할 수 있다. 현재 블록의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측된 블록(또는 예측된 샘플로도 표현할 수 있다.)을 생성할 수 있다.
계층적 영상 복호화를 수행하는 경우 예측부(230)가 기본 계층(base layer)에 포함되어 있는지 아니면 향상 계층(enhanced layer)에 포함되어 있는지 여부에 따라 서로 다른 예측 동작을 수행할 수 있다. 예측부(230)가 기본 계층에 포함되어 있는 경우는 전술한 실시예와 동일하게 동작할 수 있다. 하지만, 예측부(230)가 향상 계층에 포함되어 있는 경우, 계층적 영상 복호화 모드에 따라 예측부가 화면 간 예측 및 화면 내 예측을 수행하지 않거나, 기본 계층의 예측부에서 생성된 영상 예측 관련 정보(예를 들어, 화면 내 예측 모드, 움직임 예측 관련 정보 등)을 수신받아 해당 정보를 기초로 예측을 수행할 수도 있다. 구체적인 예에 대해서는 추가적으로 상술한다. 복원된 블록 또는 픽쳐는 필터부(235)로 제공될 수 있다. 필터부(235)는 디블록킹 필터, 오프셋 보정부, ALF를 포함할 수 있다.
부호화기로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 복호화기의 디블록킹 필터에서는 부호화기에서 제공된 디블록킹 필터 관련 정보를 제공받고 복호화기에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. 부호화기에서와 마찬가지로 우선 수직 디블록킹 필터링 및 수평 디블록킹 필터링을 수행하되, 겹치는 부분에 있어서는 수직 디블록킹 및 수평 디블록킹 중 적어도 하나를 수행할 수 있다. 수직 디블록킹 필터링 및 수평 디블록킹 필터링이 겹치는 부분에서 이전에 수행되지 못한 수직 디블록킹 필터링 또는 수평 디블록킹 필터링이 수행될 수 있다. 이러한 디블록킹 필터링 과정을 통해서 디블록킹 필터링의 병행 처리(Parallel Processing)이 가능하다.
오프셋 보정부는 부호화 시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.
ALF는 필터링을 수행 후 복원된 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 부호화기로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 블록에 ALF를 적용할 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.
메모리(240)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력부로 제공할 수 있다.
이하 본 발명의 실시예에서는 계층적 비디오 코딩(scalable video coding) 방법에 대해 개시한다. 계층적 비디오 코딩 방법은 기본 계층(base layer)에 있는 영상 정보를 기초로 향상 계층(enhancement layer)의 영상 정보를 예측하는 방법이다. 아래에서는 이러한 계층적 비디오 코딩 방법에 대해 개시한다.
도 3은 본 발명의 실시예에 따른 계층적 비디오 부호화 방법을 나타낸 개념도이다.
도 3을 참조하면, 영상은 기본 계층(base layer, 300)과 향상 계층(enhancement layer, 350)를 통해 부호화가 수행될 수 있다. 계층적 영상 부호화 방법에서는 계층적 영상 부호화 방법에 따라 기본 계층(300)에서 생성된 영상 예측 정보가 향상 계층(350)의 영상 부호화를 수행하기 위해 사용될 수 있다. 예를 들어, 영상 예측 정보는 기본 계층의 픽셀을 업샘플링하여 생성한 정보, 기본 계층에서 블록을 예측하기 위해 사용된 화면 내 예측 모드 정보, 움직임 예측 관련 정보 일 수 있다.
기본 계층(300)은 모드 결정부(305), 예측부(310), 변환 및 양자화부(T/Q, 325), 역변환 및 역양자화부(IT/IQ, 330), 엔트로피 부호화부(335), 복원부(315), 필터부(320)를 포함할 수 있다. 각 부분별 동작은 도 1에서 개시한 바와 유사하고 모드 결정부(305)는 영상 부호화 방법으로 화면 내 예측 방법을 사용할지 아니면 화면 간 예측 방법을 사용할지 여부에 대한 결정을 수행하는 구성부이다.
계층 간 영상 부호화 방법 중 하나로 기본 계층에서 생성된 블록의 픽셀 정보가 업샘플링하여 향상 계층에서 사용할 수 있다. 이러한 방법을 사용하는 경우, 기본 계층(300)의 블록의 픽셀 정보는 업샘플링부(340)에서 업샘플링되고, 추가의 계층 간 필터링부(IL-ALF, IL-SAO, 345, 347)를 거친 후에 향상 계층(350)으로 입력될 수 있다. 업 샘플링을 수행하기 위해 보간(interpolation)을 수행할 수 있다.
필터링부(345, 347)로부터 얻어진 필터 정보는 필터 계수 부호화부(380)를 통하여 엔트로피 부호화 된고, 멀티플렉싱부(385)로 입력된다.
또 다른 계층 간 부호화 방법으로 기본 계층에서 블록의 예측에 사용된 화면 내 예측 모드 정보 또는 움직임 예측 관련 정보를 향상 계층에 전송하고, 이러한 예측 관련 정보를 향상 계층에서 이용할 수도 있다. 계층 간 영상 부호화 방법은 이뿐만 아니라 다양한 방법을 사용할 수 있고 기본 계층으로부터 영상 예측 정보를 수신하여 향상 계층에서 예측을 수행하는 방법을 계층 간 예측 방법(inter layer prediction)이라고 할 수 있다.
또한 향상 계층에서는 기본 계층으로부터 영상 예측 정보를 수신하지 않고 향상 계층의 정보만을 사용하여 영상 예측 및 부호화 과정을 수행할 수도 있다.
향상 계층(350)도 기본 계층(300)과 동일하게 모드 결정부(355), 예측부(360), 변환 및 양자화부(T/Q, 375), 역변환 및 역양자화부(IT/IQ, 380), 엔트로피 부호화부(385), 복원부(365), 필터부(370)를 포함할 수 있다. 각 구성부별 동작은 도 1에서 개시한 바와 동일한 구성을 가질 수 있다. 향상 계층(350)의 모드 결정부(355)는 향상 계층(350) 내의 영상 정보를 이용한 영상 예측 방법 또는 기본 계층의 영상 예측 정보를 이용한 영상 예측 방법(inter layer prediction) 등 여러 가지 영상 부호화 방법 중 하나의 예측 방법을 선택하기 위한 구성부로 사용될 수 있다.
즉, 향상 계층의 모드 결정부(355)에서는 영상 부호화부에서 수행할 영상 예측 방법을 선택할 수 있다.
업샘플링 및 계층 간 필터링부(340, 345, 347)에서 생성된 정보, 기본 계층 정보, 향상 계층 정보는 멀티플렉싱부(multiplexing, 385)에서 멀티플렉싱이 수행되어 계층적 비트스트림(scalable bitstream)으로 생성되어 영상 복호화부로 전송될 수 있다.
도 4는 본 발명의 실시예에 따른 계층적 비디오 복호화 방법을 나타낸 개념도이다.
도 4를 참조하면, 영상 정보는 영상 부호화부로부터 생성된 계층적 비트스트림(scalable bitstream)을 통해 전송될 수 있다. 계층적 비트스트림은 디멀티플렉싱부(demultiplexing, 405)에서 디멀티플렉싱되어 기본 계층(400)의 엔트로피 복호화부(410), 향상 계층(450)의 엔트로피 복호화부(455) 및 필터 계수 엔트로피 복호화부(485)로 입력될 수 있다.
기본 계층(400)에 대해 우선적으로 기술하면, 기본 계층(400)의 엔트로피 복호화부(410)로 입력된 정보는 역양자화부 및 역변환부(IT/IQ, 415) 및 모드 결정부(420)로 입력될 수 있다. 복호화된 정보를 기초로 모드 결정부(420)에서는 화면 간 예측(inter prediction)을 수행할 것인지 아니면 화면 내 예측(intra prediction)을 수행할 것인지 여부에 대해 결정할 수 있다.
모드 결정부(420)에서 출력된 예측 모드 정보를 기초로 예측부(425)에서는 예측을 수행할 수 있다. 역양자화부 및 역변환부(415)에서는 엔트로피 복호화부(410)에서 생성된 잔차 정보를 역변환 및 역양자화하여 잔차 정보를 생성할 수 있다. 즉, 도 2의 영상 복호화 단계와 동일한 방법으로 영상 복호화가 수행될 수 있다.
기본 계층(400)에서 영상 복호화 과정을 마친 후 생성된 정보는 만약, 향상 계층(450)이 기본 계층(400)의 블록에 포함된 픽셀을 업샘플링한 정보를 사용하여 복호화를 수행할 경우 업샘플링부(440)로 전송될 수 있다. 업샘플링된 정보는 계층 간 필터링부(445, 447)를 거쳐서 향상 계층(450)으로 전송될 수 있다.
향상 계층(450)의 엔트로피 복호화부(455)에서 복호화된 정보를 기초로 향상 계층(450)의 모드 결정부(465)에서는 영상 부호화 단계에서 향상 계층(450)은 어떠한 영상 부호화 방법 또는 영상 예측 방법을 사용하여 부호화를 수행하였는지 여부를 판단할 수 있다.
향상 계층(450)의 모드 결정부(465)에서는 영상 부호화부의 향상 계층에서 부호화를 수행 시 사용한 영상 예측 방법과 동일한 예측 방법을 사용하여 영상 복호화를 수행할 수 있다. 영상 복호화 단계에 수행되는 영상 예측 방법으로 크게는 기본 계층(400)의 정보를 참조하여 영상 예측을 수행하는 방법 또는 기본 계층(400)의 정보를 사용하지 않고 영상 예측을 수행하는 방법을 사용할 수 있다. 기본 계층(400)의 정보를 사용하지 않고 영상 예측 수행하는 경우 향상 계층(450)에서는 기본 계층(400)으로부터 따로 영상 관련 정보를 수신하지 않는다.
이하 본 발명의 실시예에서는 계층적 비디오 코딩(scalable video coding) 방법에 대해 개시한다. 계층적 영상 복호화 방법 중 베이스 예측 모드는 향상 계층(enhancement layer)의 블록을 예측하기 위해 기본 계층(base layer)의 블록을 예측하기 위해 사용된 영상 예측 정보를 사용하는 모드를 의미할 수 있다. 영상 예측 정보는 예를 들어, 기본 계층의 블록에서 사용한 화면 내 예측 모드, 또는 움직임 예측 관련 정보 등이 될 수 있다.
도 5에서는 베이스 예측 모드를 사용한 계층적 영상 복호화 방법에 대해 추가적으로 개시한다.
도 5는 본 발명의 실시예에 따른 베이스 예측 모드를 사용한 계층적 영상 복호화 방법을 나타낸 개념도이다.
도 5에서는 향상 계층의 블록 단위에 대해 기본 계층의 대응되는 블록 정보의 영상 예측 관련 정보를 사용하여 향상 계층의 블록 단위에 대한 예측을 수행하는 방법에 대해 개시한다.
도 5를 참조하면, 기본 계층의 블록 단위(500)에서 화면 내 예측 또는 화면 간 예측을 수행한 경우, 화면 내 예측에 사용된 정보(예를 들어, 화면 내 예측 모드) 또는 화면 간 예측에 사용된 정보(예를 들어, 움직임 예측 관련 정보)가 향상 계층에서 기본 계층의 블록에 대응되는 블록(540)에 대한 영상 예측을 수행하는데 사용될 수 있다. 예를 들어, 기본 계층의 블록 단위(500)이 화면 내 예측 모드로 DC 모드를 사용한 경우, 향상 계층에서 기본 계층의 블록 단위(500)에 대응되는 블록(540)에서도 동일하게 DC 모드를 사용하여 화면 내 예측을 수행할 수 있다. 또 다른 예로 기본 계층의 블록 단위(500)이 화면 간 예측 방법을 수행시 벡터 A를 사용한 경우, 향상 계층에서 기본 계층의 블록 단위(500)에 대응되는 블록(540)에서는 벡터 A를 향상 계층에 맞게 스케일링 한 벡터 A’을 사용하여 화면 간 예측을 수행할 수 있다.
기본 계층의 영상 단위와 향상 계층의 영상 단위가 대응된다 것은 각각의 계층의 픽쳐에서 영상 단위의 상대적인 위치가 동일하다는 의미를 가질 수도 있고, 계층 간 예측을 수행 시 계층 간에 참조되는 영상 단위라는 의미를 가질 수도 있다.
도 5에서 베이스 예측 모드를 설명하기 위해 블록 단위를 예시하였으나, 다른 영상 단위인 슬라이스(slice), 픽쳐(picture) 단위로 베이스 예측 모드를 사용할지 여부를 결정할 수도 있다. 예를 들어, 슬라이스 단위로 베이스 예측 모드를 수행하는 경우 해당 슬라이스에 포함된 모든 예측 블록에 대해 기본 계층의 해당 예측 블록으로부터 예측 관련 정보(예를 들어, 화면 내 예측 모드 정보, 움직임 예측 관련 정보)를 유도하여 예측을 수행할 수 있다.
즉, 계층적 영상 복호화 방법에서 계층 간 예측 방법으로 베이스 예측 모드를 사용하는 경우 기본 계층의 영상 단위(500)에서 사용된 영상 예측 정보가 복호화되어 향상 계층의 영상 단위(540)에서 영상 예측을 수행하기 위해 사용된다. 향상 계층에서 예측되어 생성된 블록(540)은 영상 부호화기에서 전송된 잔차 정보(또는 잔차 신호)(520)와 더해져 향상 계층에서 복원 블록을 생성할 수 있다.
화면 내 예측 모드 정보는 휘도 샘플과 색차 샘플에 대하여 따로 전송될 수 있는데, 예를 들어, 기본 계층의 블록이 화면 내 예측을 수행하였다면, 기본 계층 블록의 예측 관련 정보(예를 들어, intra_luma_pred_mode, intra_chroma_pred_mode 등)를 유도하여, 향상 계층에서 대응되는 예측 블록의 화면 내 예측에 사용할 수 있다. 참조 픽셀(reference pixel 또는 reference sample) 정보는 향상 계층 주변의 복원 픽셀로부터 획득하거나, 기본 계층의 주변 복원 픽셀로부터 획득할 수 있다.
기본 계층의 영상 예측 정보를 바로 향상 계층의 대응되는 블록을 예측하기 위해 사용할 수도 있으나 또 다른 방법으로 향상 계층의 블록에 대한 MPM을 산출하기 위해서도 사용할 수 있다.
예를 들어, 기본 계층의 블록(500)에서 사용되는 화면 내 예측 모드 정보를 직접적으로 향상 계층의 블록의 화면 내 예측을 수행하기 위해 사용하지 않고, 향상 계층의 블록(540)에서 화면 내 예측을 수행 시 사용되는 MPM(most probable mode)를 산출하기 위한 정보로서 사용할 수도 있다. MPM은 현재 블록의 화면 내 예측 모드의 후보값으로서 이하, 도 6에 MPM에 대해 추가적으로 설명한다.
도 6은 MPM 방법을 설명하기 위한 개념도이다.
도 6에서는 MPM 방법에 대해 간략하게 설명한다.
블록에 대하여 화면 내 예측을 수행하기 위한 화면 내 예측 모드는 도 6의 (A)와 같이 다양한 방향을 가진 방향성 예측 모드(2번 화면 내 예측 모드(600) 내지 34번 화면 내 예측 모드(610))와 비방향성 예측 모드(0번 화면 내 예측 모드(planar, 620), 1번 화면 내 예측 모드(DC, 630))를 가질 수 있다.
방향성 예측 모드는 화면 내 예측을 수행 시 참조 픽셀 정보를 기초로 일정한 방향성을 가지고 예측을 수행하는 화면 내 예측 모드이고 비방향성 예측 모드는 참조 픽셀 정보를 기초로 방향성이 없이 화면 내 예측을 수행하는 화면 내 예측 모드이다.
특정한 블록에 대하여 화면 내 예측을 수행하기 위해 사용되는 화면 내 예측 모드 정보는 그 모드를 나타내는 값 자체로 전송될 수도 있다. 즉, 특정한 블록의 화면 내 예측을 위해 사용된 모드 정보가 0번 화면 내 예측 모드 내지 34번 화면 내 예측 모드 중 어떠한 화면 내 예측 모드인지에 대한 정보를 직접적으로 전송할 수도 있다. 하지만, 이러한 방법을 사용하는 경우 부호화 효율이 떨어질 수 있다. 따라서 현재 블록의 화면 내 예측 모드가 현재 블록의 주변 블록과 화면 내 예측 모드와 유사한 경향성이 있음을 기초로 주변 블록의 화면 내 예측 모드를 현재 블록의 화면 내 예측 모드에 대한 하나의 후보 값으로 사용할 수 있다. 후보값이 현재 블록의 화면내 예측 모드인 경우, 전체 모드 정보중 특정 모드임을 시그널링 할 때 사용되는 비트수보다 더 적은 비트수를 사용하여 시그널링 할 수 있으므로 압축 효율과 복잡도 감소 효과가 있다.
현재 블록의 화면 내 예측 모드에 대한 후보값을 MPM(most probable mode)라고 할 수 있다. 도 6의 (B)에서는 MPM을 산출하는 방법에 대해 예시적으로 간략하게 설명한다.
도 6의 (B)에서 현재 블록(650)은 현재 화면 내 예측을 수행하고자 하는 예측 블록을 의미하며, 블록 A(660)와 블록 B(640)는 현재 블록의 좌측과 상단에 각각 인접해 있는 예측 블록을 의미한다. 모드 A는 블록 A(660)의 화면 내 예측 모드 값을 의미하고 모드 B는 블록 B(640)의 화면 내 예측 모드 값을 의미한다. 현재 블록과 블록 A(660)와 블록 B(640)는 서로 같은 크기일 필요는 없으며 이것은 하나의 실시예로 생각할 수 있다.
현재 블록(650)의 MPM은, 현재 블록의 주변에 위치한 블록 A(660) 및 블록 B(640)의 화면 내 예측 모드인 모드 A와 모드 B로부터 유추될 수 있다. 예를 들어, 모드 A는 현재 블록의 화면 내 예측 모드를 예측하기 위한 제1 후보가 되고 모드 B는 현재 블록의 화면 내 예측 모드를 예측하기 위한 제2 후보가 될 수 있다.
본 발명의 실시예에 따른 MPM을 이용한 계층적 영상 복호화 방법 중 향상 계층의 예측 대상 블록에 대응되는 기본 계층의 블록의 화면 내 예측 모드 값을 MPM, 즉, 예측 대상 블록의 화면 내 예측 모드의 후보 중 하나로 사용할 수 있다. 이러한 실시예에 대해서는 추가적으로 상술한다.
이하, 본 발명의 실시예에 따른 MPM을 이용한 계층적 영상 복호화 방법에 대하여 설명한다. 설명의 편의상 기본 계층에서 향상 계층의 블록에 대응되는 블록을 ‘기본 계층의 대응되는 블록’, ‘대응되는 블록’ 또는 ‘대응 블록’이라는 용어로 정의하여 동일한 의미로 사용한다. 도 7은 본 발명의 실시예에 따른 향상 계층에서 기본 계층의 화면 내 예측 모드를 사용한 MPM 설정 방법을 나타낸 순서도이다.
도 7을 참조하면, 향상 계층의 블록에 대응되는 기본 계층의 블록이 화면 내 예측 모드를 사용하는지 여부를 판단한다(단계 S700). 향상 계층의 블록에 대한 예측을 수행 시 기본 계층에서 향상 계층에 대응되는 블록이 화면 내 예측 방법을 사용하여 화면 내 예측 모드를 유도할 수 있을지 여부를 판단할 수 있다. 즉, 기본 계층의 대응되는 블록의 화면 내 예측 모드가 가용하다는 것은 예를 들어, 대응되는 블록의 화면 내 예측 모드를 사용하여 향상 계층의 블록에 대한 화면 내 예측 모드를 유도할 수 있는 경우를 의미할 수 있다.
기본 계층의 대응되는 블록의 화면 내 예측 모드가 가용하지 않은 경우, 기본 계층에서 MPM을 유도하지 않는 다른 영상 예측 방법을 수행한다(단계 S710).
기본 계층에서 대응되는 블록의 화면 내 예측 모드가 가용하지 않은 경우(예를 들어, 기본 계층의 대응되는 블록의 예측 모드가 화면 간 예측 모드인 경우)는 향상 계층에서 산출된 영상 예측 정보만을 사용하여 영상 예측을 수행할 수 있다. 또는 베이스 예측 모드가 아닌 다른 계층 간 영상 예측 방법(예를 들어, 업샘플링된 픽셀 정보를 이용하는 방법_ 또는 향상 계층 내의 주변 블록만을 이용하여 MPM을 산출하는 방법)을 사용하여 향상 계층의 블록에 대한 영상 예측을 수행할 수 있다.
예를 들어, 향상 계층의 예측 대상 블록의 주변 블록만을 사용하여 산출된 화면 내 예측 모드 값을 기초로 향상 계층의 예측 대상 블록에 대한 MPM을 산출하여 향상 계층의 예측 대상 블록의 화면 내 예측 모드 값을 부호화할 수 있다.
기본 계층에서 대응되는 블록의 화면 내 예측 모드가 가용한 경우, 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 모드, DC 모드 또는 수직 모드 중 하나인지 여부를 판단한다(단계 S720).
본 발명의 실시예에 따른 MPM을 이용한 화면 내 예측 방법에서는 기본 계층의 대응되는 블록의 화면 내 예측 모드에 따라 아래와 같이 현재 블록에 대한 MPM을 산출할 수 있다.
(1) 기본 계층의 대응되는 블록의 화면 내 예측 모드가 플레이너 모드, DC 모드, 수직 모드 중 하나인 경우, 제1 MPM(즉, 제1 후보)로 플레이너 모드, 제2 MPM(즉, 제2 후보)로 DC 모드, 제3 MPM(즉, 제3 후보)로 수직 모드를 사용하고,
(2) 기본 계층의 대응되는 블록의 화면 내 예측 모드가 플레이너 모드, DC 모드, 수직 모드 중 하나가 아닌 경우, 제1 MPM으로 기본 계층의 대응되는 블록의 화면 내 예측 모드, 제2 MPM으로 플레이너 모드, 제3 MPM으로 DC 모드를 설정하여 사용할 수 있다.
즉, 플레이너 모드, DC 모드, 수직 모드를 우선 순위로 MPM을 설정하되, 기본 계층에서 대응되는 블록에서 사용되는 모드가 플레이너 모드, DC 모드 또는 수직 모드가 아닌 경우 기본 계층에서 대응되는 블록에서 사용되는 화면 내 예측 모드를 제1 MPM으로 사용할 수 있다. 예를 들어, 기본 계층의 대응되는 블록의 화면 내 예측 모드가 수직 모드를 제외한 방향성 예측 모드인 경우, 제1 MPM으로 기본 계층의 대응되는 블록의 화면 내 예측 모드, 제2 MPM으로 플레이너 모드, 제3 MPM으로 DC 모드가 설정될 수 있다. 또한, 기본 계층의 대응되는 블록의 화면 내 예측 모드가 수직 모드인 경우, 제1 MPM으로 플레이너 모드, 제2 MPM으로 DC 모드, 제3 MPM으로 수직 모드가 사용될 수 있다.
다시 도 7을 참조하면, 단계 S720의 판단 결과 기본 계층의 대응되는 블록의 화면 내 예측 모드가 플레이너 모드, DC 모드 또는 수직 모드 중 하나이면, 제1 MPM으로 플레이너 모드, 제2 MPM으로 DC 모드, 제3 MPM으로 수직 모드가 사용될 수 있다(단계 S730).
단계 S720의 판단 결과 기본 계층의 대응되는 블록의 화면 내 예측 모드가 플레이너 모드, DC 모드 또는 수직 모드 중 하나가 아닌 경우, 제1 MPM으로 기본 계층의 대응되는 블록의 화면 내 예측 모드, 제2 MPM으로 플레이너 모드, 제3 MPM으로 DC 모드가 사용될 수 있다(단계 S740).
도 8은 본 발명의 실시예에 따른 향상 계층에서 기본 계층의 대응되는 블록의 화면 내 예측 모드를 사용한 MPM 설정 방법을 나타낸 순서도이다.
도 8에서는 도 7과 다른 MPM 설정 방법에 대해 개시한다.
도 8을 참조하면, 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 가용한지 여부를 판단한다(단계 S800).
기본 계층에서 대응되는 블록의 화면 내 예측 모드가 가용한 경우 향상 계층에서 현재 블록의 화면 내 예측 모드 정보를 기본 계층에서 대응되는 블록의 화면 내 예측 모드 정보로부터 유도할 수 있다.
기본 계층에서 대응되는 블록의 화면 내 예측 모드가 가용하지 않은 경우, 베이스 예측 모드가 아닌 다른 영상 예측 방법을 수행한다(단계 S810).
기본 계층의 대응되는 블록의 화면 내 예측 모드가 가용하지 않은 경우는 향상 계층의 영상 예측 정보만을 사용하여 영상 예측을 수행하거나, 베이스 예측 모드가 아닌 다른 계층 간 영상 예측 방법을 사용하여 향상 계층에 대한 영상 예측을 수행할 수 있다.
예를 들어, 향상 계층에 존재하는 예측 대상 블록의 주변 블록의 화면 내 예측 모드 값만을 사용하여 향상 계층의 예측 대상 블록에 대한 MPM을 산출하여 예측 대상 블록의 화면 내 예측 모드 값을 부호화할 수 있다.
기본 계층의 대응되는 블록의 화면 내 예측 모드가 가용한 경우, 기본 계층의 화면 내 예측 모드가 플레이너 모드, DC 모드 중 하나인지 여부를 판단한다(단계 S820).
본 발명의 실시예에 따른 MPM을 이용한 화면 내 예측 방법에서는 기본 계층에서 대응되는 블록의 화면 내 예측 모드에 따라 아래와 같이 MPM을 산출할 수 있다.
(1) 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 모드 및 DC 모드 중 하나인 경우, 제1 MPM으로 플레이너 모드, 제2 MPM으로 DC 모드 및 제3 MPM으로 수직 모드를 사용할 수 있다(단계 S830).
(2)-1 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 모드 및 DC 모드 중 하나가 아닌 경우, 기본 계층의 대응되는 블록의 화면 내 예측 모드는 방향성 화면 내 예측 모드가 된다. 이러한 경우, 제1 MPM으로 기본 계층에서 대응되는 블록의 화면 내 예측 모드(base layer mode, BL mode), 제2 MPM 및 제3 MPM으로 기본 계층의 화면 내 예측 모드에 인접한 화면 내 예측 모드가 사용될 수 있다(단계 S840).
예를 들어, 기본 계층에서 대응되는 블록의 화면 내 예측 모드(base layer mode, BL mode)가 방향성 화면 내 예측 모드에서 양끝에 있는 화면 내 예측 모드(2번 화면 내 예측 모드 및 34번 화면 내 예측 모드)가 아닌 경우, 제2 MPM으로 기본 계층에서 대응되는 블록의 화면 내 예측 모드에서 하나를 뺀 화면 내 예측 모드(BL mode-1), 제3 MPM으로 기본 계층에서 대응되는 블록의 화면 내 예측 모드에서 하나를 더한 화면 내 예측 모드(BL mode+1)가 사용될 수 있다. 도 6의 (A)를 참조하면, 예를 들어, 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 10번 화면 내 예측 모드인 경우 제2 MPM으로 9번 화면 내 예측 모드, 제3 MPM으로 11번 화면 내 예측 모드가 사용될 수 있다.
(2)-2 기본 계층에서 대응되는 블록의 화면 내 예측 모드(BL mode)가 방향성 화면 내 예측 모드에서 양끝에 있는 화면 내 예측 모드(2번 또는 34번 화면 내 예측 모드)인 경우가 있을 수 있다. 이러한 경우, 기본 계층에서 대응되는 블록의 화면 내 예측 모드(BL mode)에서 1을 더한 값이나 1을 뺀 값이 존재하지 않을 수 있다.
예를 들어, 도 6의 (A)에서 34번 화면 내 예측 모드인 경우, 제2 MPM으로 기본 계층의 화면 내 예측 모드에서 하나를 뺀 화면 내 예측 모드(BL mode-1, 33번 화면 내 예측 모드), 제3 MPM으로 기본 계층의 화면 내 예측 모드에서 2를 뺀 화면 내 예측 모드(BL mode-2, 32번 화면 내 예측 모드)를 사용할 수 있다.
또 다른 예로 도 6의 (A)의 2번 화면 내 예측 모드인 경우, 제2 MPM으로 기본 계층의 화면 내 예측 모드에서 하나를 더한 화면 내 예측 모드(BL mode+1, 3번 화면 내 예측 모드), 제3 MPM으로 기본 계층의 화면 내 예측 모드에서 2를 더한 화면 내 예측 모드(BL mode+2, 4번 화면 내 예측 모드)를 사용할 수 있다(단계 S840).
기본 계층에서 대응되는 블록의 화면 내 예측 모드를 그대로 사용하는 경우 또는 향상 계층의 블록의 화면 내 예측 모드와 기본 계층의 대응되는 블록의 화면 내 예측 모드가 동일한지 여부에 대한 정보를 포함하는 플래그 정보를 사용하여 부호화를 수행할 수 있다. 이러한 경우에는 위와 같이 MPM을 유도하는 프로세스를 수행할 필요가 없이 바로 기본 계층의 화면 내 예측 모드를 향상 계층의 화면 내 예측 모드로 사용할 수도 있다.
향상 계층의 블록에서는 기본 계층에서 대응되는 블록에서 사용한 화면 내 예측 모드를 직접적으로 사용할지 여부에 대한 정보를 지시하는 플래그 정보, 예를 들어, 기본 계층 모드 플래그(BL mode flag)를 정의하여 플래그의 값에 따라 기본 계층의 대응되는 블록의 화면 내 예측 모드 정보를 유도하여 유도된 화면 내 예측 모드 값을 그대로 향상 계층의 블록에 대한 화면 내 예측을 수행 시 사용할지 여부에 대해 결정할 수 있다.
기본 계층 모드 플래그를 사용한 향상 계층의 예측 블록에 대한 화면 내 예측을 수행하기 위해서 기본 계층 모드 플래그는 블록의 헤더 정보에 포함되어 전송될 수 있다. 예를 들어, 기본 계층 모드 플래그 정보가 비트스트림(bitstream) 내 부호화 단위(Coding Unit) 또는 예측 단위(prediction unit)의 헤더에 존재할 수 있다.
전술한 바와 같이 화면 내 예측 모드의 경우 휘도 샘플에 대한 화면 내 예측 모드 및 색차 샘플에 대한 화면 내 예측 모드에 대한 정보가 별도의 정보로 정의되어 전송될 수 있다. 예를 들어, 향상 계층에서 휘도 샘플의 화면 내 예측 모드를 기본 계층에서 유도함을 나타내는 플래그인 기본 계층 휘도 모드 플래그(BL_luma_mode_flag)와 색차 샘플의 화면 내 예측 모드를 기본 계층에서 유도함을 나타내는 플래그인 기본 계층 색차 모드 플래그(BL_chroma_mode_flag)를 별도로 정의하여 사용할 수 있다.
기본 계층 휘도 모드 플래그와 기본 계층 색차 모드 플래그를 따로 정의함으로서 기본 계층에서 휘도 샘플과 색차 샘플에 대한 화면 내 예측 모드 중 어떠한 샘플에 대한 화면 내 예측 모드를 기본 계층에서 대응되는 블록으로부터 유도하여 향상 계층의 대응되는 블록에 적용할 것인가에 대해 픽셀의 종류 별로 따로 지시해줄 수 있다.
도 9는 본 발명의 실시예에 따른 기본 계층 모드 플래그를 사용하였을 경우 MPM 설정 방법을 나타낸 순서도이다.
도 9를 참조하면, 기본 계층 모드 플래그의 값을 판단한다(단계 S900).
기본 계층 모드 플래그는 기본 계층의 대응되는 블록의 예측 관련 정보(화면 내 예측 모드, 움직임 예측 관련 정보)를 유도하여 향상 계층의 블록이 영상 예측을 수행하는지 여부를 지시하기 위해 사용될 수 있다. 또한, 기본 계층 모드 플래그가 0인 경우 향상 계층의 블록의 화면 내 예측 모드가 기본 계층의 화면 내 예측 모드와 동일하지 않음을 지시하는 정보로도 사용될 수 있다.
예를 들어 기본 계층 모드 플래그의 값이 1인 경우, 기본 계층의 블록이 DC 모드를 사용한 화면 내 예측을 수행한 경우, 향상 계층의 대응되는 블록에 대하여 DC 모드를 사용한 화면 내 예측을 수행할 수 있다. 기본 계층 모드 플래그 값이 0인 경우, 기본 계층에서 대응되는 블록에 대한 예측 관련 정보를 제외하고 MPM을 유도하여 향상 계층의 블록에 대한 화면 내 예측을 수행하거나 다른 계층 간 또는 계층 내 영상 예측 방법을 사용하여 블록에 대한 예측을 수행할 수 있다.
기본 계층 모드 플래그는 또 다른 의미로 향상 계층의 블록의 화면 내 예측 모드와 대응되는 기본 계층의 블록의 화면 내 예측 모드가 동일한지 여부에 대한 정보를 포함할 수도 있다. 기본 계층 플래그가 1인 경우, 향상 계층의 블록의 화면 내 예측 모드 정보와 기본 계층에서 대응되는 블록의 화면 내 예측 모드 정보와 동일하다는 것을 지시하고, 기본 계층 플래그가 0인 경우, 향상 계층의 블록의 화면 내 예측 모드 정보와 기본 계층에서 대응되는 블록의 화면 내 예측 모드 정보가 동일하지 않다는 것을 지시할 수 있다.
기본 계층의 대응되는 블록의 화면 내 예측 모드를 향상 계층의 현재 블록의 화면 내 예측 모드로 사용하지 않는 경우(예를 들어, 플래그 값이 0인 경우), 기본 계층의 화면 내 예측 모드가 가용한지 여부를 판단한다(단계 S910).
기본 계층에서 대응되는 블록이 화면 내 예측을 수행하였을 경우, 향상 계층의 블록에서는 화면 내 예측을 수행하기 위한 MPM을 산출하기 위해 기본 계층에서 대응되는 블록의 화면 내 예측 모드 정보를 사용할 수 있다. 단계 S900의 기본 계층 모드 플래그를 복호화한 결과 기본 계층에서 대응되는 블록의 화면 내 예측 모드는 향상 계층의 현재 블록의 화면 내 예측 모드와 동일하지 않으므로, MPM은 기본 계층에서 대응되는 블록의 화면 내 예측 모드를 제외한 다른 화면 내 예측 모드 값으로 산출될 수 있다.
기본 계층이 화면 내 예측을 사용하지 않은 경우, 향상 계층의 정보만을 사용하여 영상 예측을 수행하거나, 다른 계층 간 영상 예측 방법을 사용하여 향상 계층에 대한 영상 예측을 수행할 수 있다(단계 S920).
도 9에서 단계 S910 및 단계 S920을 생략할 수도 있다. 즉, 기본 계층 플래그가 0인 경우, 기본 계층의 화면 내 예측 모드가 가용하다고 판단하여 곧바로 기본 계층에서 유도된 화면 내 예측 모드가 플레이너 모드 또는 DC 모드인지 여부에 대해 판단하는 단계 (S930)로 넘어갈 수 있다.
단계 S910의 판단 결과 기본 계층의 화면 내 예측 모드가 가용한 경우, 기본 계층에서 유도된 화면 내 예측 모드가 플레이너 모드 또는 DC 모드인지 여부에 대해 판단한다(단계 S930).
기본 계층 모드 플래그가 0인 경우, 기본 계층의 대응되는 블록의 화면 내 예측 모드와 향상 계층의 현재 블록의 화면 내 예측 모드가 동일하지 않음을 의미하므로 위와 같은 판단을 통해 MPM으로 기본 계층의 대응되는 블록의 화면 내 예측 모드가 MPM으로 선택되지 않도록 할 수 있다.
단계 S930의 판단 결과, 기본 계층에서 유도된 화면 내 예측 모드가 플레이너 모드 또는 DC 모드가 아닌 경우, 제1 MPM으로 플레이너 모드, 제2 MPM으로 DC 모드를 사용하여 화면 내 예측을 수행할 수 있다(단계 S940).
단계 S930의 판단 결과, 기본 계층의 화면 내 예측 모드가 플레이너 모드 또는 DC 모드인 경우, 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 모드인지 여부를 판단할 수 있다(단계 S950).
단계 S950도 MPM으로 기본 계층의 대응되는 블록의 화면 내 예측 모드가 MPM으로 선택되지 않도록 하기 위한 판단 과정이 될 수 있다.
기본 계층의 화면 내 예측 모드가 플레이너 모드인 경우, 제1 MPM으로 DC 모드, 제2 MPM으로 수직 모드를 설정할 수 있다(단계 S960).
기본 계층의 화면 내 예측 모드가 플레이너 모드가 아닌 경우(DC 모드인 경우), 제1 MPM으로 플레이너 모드, 제2 MPM으로 수직 모드를 설정할 수 있다(단계 S970).
도 10은 본 발명의 실시예에 따른 기본 계층 모드 플래그를 사용하였을 경우 MPM 설정 방법을 나타낸 순서도이다.
도 10에서는 도 9와 달리 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 모드 또는 DC 모드가 아닐 경우 선택되는 MPM이 달라진다.
기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 모드 또는 DC 모드가 아닐 경우, 대응되는 블록에서 유도된 화면 내 예측 모드는 방향성 화면 내 예측 모드가 된다. 이러한 경우, 제1 MPM은 기본 계층의 대응되는 블록에서 유도된 화면 내 예측 모드에서 하나를 뺀 화면 내 예측 모드(BL mode-1), 제2 MPM은 기본 계층의 대응되는 블록에서 유도된 화면 내 예측 모드에서 하나를 더한 화면 내 예측 모드(BL mode+1)가 된다(단계 S1000). 그 외의 MPM 결정 프로세스는 도 9와 동일하다.
기본 계층에서 대응되는 블록의 화면 내 예측 모드(BL mode)가 방향성 화면 내 예측 모드에서 양끝에 있는 화면 내 예측 모드(2번 또는 34번 화면 내 예측 모드)인 경우가 있을 수 있다.
기본 계층에서 대응되는 블록의 화면 내 예측 모드(BL mode)가 34번 화면 내 예측 모드인 경우, 제1 MPM으로 기본 계층의 화면 내 예측 모드에서 하나를 뺀 화면 내 예측 모드(BL mode-1, 33번 화면 내 예측 모드), 제2 MPM으로 기본 계층의 화면 내 예측 모드에서 2를 뺀 화면 내 예측 모드(BL mode-2, 32번 화면 내 예측 모드)를 사용할 수 있다.
기본 계층에서 대응되는 블록의 화면 내 예측 모드(BL mode)가 2번 화면 내 예측 모드인 경우, 제1 MPM으로 기본 계층의 화면 내 예측 모드에서 하나를 더한 화면 내 예측 모드(BL mode+1, 3번 화면 내 예측 모드), 제2 MPM으로 기본 계층의 화면 내 예측 모드에서 2를 더한 화면 내 예측 모드(BL mode+2, 4번 화면 내 예측 모드)를 사용할 수 있다.
도 11은 본 발명의 실시예에 따른 화면 내 예측 모드 방법을 수행하기 위한 순서도이다.
도 11에서는 향상 계층에서 화면 내 예측 모드에 사용되는 MPM을 산출하기 위한 방법에 대해 개시한다.
도 11을 참조하면, MPM 사용 여부를 판단한다(단계 S1100).
MPM 사용 여부는 MPM 사용 여부 플래그(prev_intra_luma_pred_flag)를 기초로 판단할 수 있다. MPM 사용 여부 플래그는 MPM 중 하나의 화면 내 예측 모드를 선택하여 향상 계층에서 화면 내 예측이 수행되는지 여부에 대한 정보를 포함한 플래그이다. 예를 들어, MPM 사용 여부 플래그가 1일 경우, MPM을 사용한 화면 내 예측을 수행할 수 있고, MPM 사용 여부 플래그가 0일 경우, MPM을 제외한 나머지 화면 내 예측 모드를 사용하여 화면 내 예측을 수행할 수 있다.
MPM을 사용한 화면 내 예측을 수행하는 경우, 전술한 도 7 및 도 8에서 3개의 MPM 인덱스를 산출하는 방법 중 하나의 방법을 사용하여 MPM을 산출할 수 있다(단계 S1110).
도 7에서 전술한 방법을 사용하여 MPM을 산출하는 경우는 기본 계층에서 유도된 화면 내 예측 모드값이 플레이너 모드, DC 모드, 수직 모드 중 하나인지 여부를 판단하여 기본 계층에서 유도된 화면 내 예측 모드가 이 중 하나인 경우, 제1 MPM으로 플레이너 모드, 제2 MPM으로 DC 모드, 제3 MPM으로 수직 모드를 사용할 수 있다. 위의 조건을 만족하지 못하는 경우, 제1 MPM으로 기본 계층의 화면 내 예측 모드, 제2 MPM으로 플레이너 모드, 제3 MPM으로 DC 모드를 사용할 수 있다.
단계 S1100을 통한 판단 결과 향상 계층에서 화면 내 예측 모드를 수행하기 위해 MPM을 사용하지 않는 경우, 나머지 화면 내 예측 모드 중 하나의 화면 내 예측 모드를 향상 계층의 블록에 대한 화면 내 예측 모드로 사용한다(단계 S1120).
향상 계층의 블록에 대한 화면 내 예측 모드로 MPM 중 하나의 화면 내 예측 모드를 사용하지 않는 경우, MPM을 제외한 나머지 화면 내 예측 모드 중 하나의 화면 내 예측 모드를 사용하여 향상 계층의 블록에 대한 화면 내 예측을 수행할 수 있다.
도 12는 본 발명의 실시예에 따른 나머지 화면 내 예측 모드 중 하나의 화면 내 예측 모드를 산출하기 위한 방법을 나타낸 순서도이다.
도 12를 참조하면, 나머지 화면 내 예측 모드(rem_intra_luma_pred_mode)를 복호화하고 나머지 화면 내 예측 모드와 MPM에 해당하는 화면 내 예측 모드를 비교한다(단계 S1200).
나머지 화면 내 예측 모드는 예측 블록이 MPM 중 하나의 화면 내 예측 모드를 사용하지 않을 경우, 최종적으로 사용되는 최종 화면 내 예측 모드를 산출하기 위해 부호화되어 전송되는 하나의 변수이다.
나머지 화면 내 예측 모드에 해당하는 값을 복호화한 후 MPM에 해당하는 화면 내 예측 모드값과 비교하여 나머지 화면 내 예측 모드에 해당하는 값을 이동시켜 (shifting) 최종 화면 내 예측 모드를 산출할 수 있다(단계 S1220).
예를 들어, 나머지 화면 내 예측 모드값으로 복호화된 화면 내 예측 모드 값이 10이고 MPM으로 사용된 화면 내 예측 모드 값이 1, 2, 11인 경우를 가정할 수 있다. 이러한 경우 MPM 중 나머지 화면 내 예측 모드 값(10)보다 작은 경우인 MPM이 1, 2를 고려하여 최종적으로 블록에 적용되는 화면 내 예측 모드값은 12가 될 수 있다. 즉, 실제 부호화 시 블록에 적용되는 화면 내 예측 모드값은 12였으나, MPM 값을 고려하여 더 작은 화면 내 예측 모드값으로 부호화한 후 추후 복호화 단계에서 MPM을 고려하여 실제 화면 내 예측 모드값을 산출하여 화면 내 예측을 수행하도록 할 수 있다. 이러한 방법을 사용함으로서 화면 내 예측 모드를 부호화하기 위한 부호화 효율을 높일 수 있다.
도 8에서와 같이 MPM의 개수에 따라 i값을 설정하고 각각의 MPM의 화면 내 예측 모드 값과 나머지 화면 내 예측 모드 값의 크기를 비교하여 최종 화면 내 예측 모드 값을 산출할 수 있다.
위와 같은 방법을 사용하여 화면 내 예측 모드에 대한 예측을 수행한 경우, 아래의 표 1과 같은 화면 내 예측 모드와 코드워드가 매핑될 수 있다.
표 1
Figure PCTKR2013010323-appb-T000001
표 1을 참조하면, 제1 MPM을 부호화 및 복호화하기 위해 가장 작은 길이의 코드워드를 할당하고 제2 MPM 및 제3 MPM에 그 다음 길이의 코드 워드로 할당함으로서 화면 내 예측 모드로 사용될 가능성이 높은 화면 내 예측 모드일수록 짧은 코드워드를 할당할 수 있다.
도 13은 본 발명의 실시예에 따른 기본 계층 모드 플래그를 사용하고 두 개의 MPM을 사용할 경우 화면 내 예측 모드를 복호화하는 과정을 나타낸 순서도이다.
도 13은 저술한 도 11과 동일하나, 두 개의 MPM을 산출하는 단계(단계 S1300)와 나머지 예측 모드를 기초로 현재 블록의 최종 화면 내 예측 모드를 결정하는 단계(단계 S1310)가 다를 수 있다.
두 개의 MPM을 산출하기 위해 도 9 및 도 10에서 전술한 MPM 유도 방법이 사용될 수 있다. 즉, 기본 계층의 블록이 가용한지 여부를 판단하여, 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 플레이너 또는 DC인지 여부를 판단하고 제1 MPM 및 제2 MPM을 결정할 수 있다.
나머지 예측 모드를 기초로 현재 블록의 최종 화면 내 예측 모드를 결정하는 단계는 기본 계층의 화면 내 예측 모드를 고려하여 수행될 수 있다. 이에 대해서는 도 14에서 상술한다.
도 14는 본 발명의 실시예에 따른 현재 블록의 화면 내 예측 모드를 산출하는 방법을 나타낸 순서도이다.
도 14에서는 기본 계층 모드 플래그를 사용할 경우 MPM을 사용하지 않는 향상 계층의 블록에 대한 화면 내 예측 모드를 산출하는 과정에 대해 개시한다.
도 14를 참조하면, 기본 계층에서 대응되는 블록의 화면 내 예측 모드가 복호화된 나머지 화면 내 예측 모드보다 작은지 여부를 판단할 수 있다(단계 S1400).
전술한 바와 같이 기본 계층 모드 플래그를 사용하여 향상 계층의 현재 블록의 화면 내 예측 모드가 대응되는 기본 계층의 블록의 화면 내 예측 모드로부터 직접적으로 유도되는지 여부를 나타낼 수 있다. 만약, 향상 계층의 현재 블록이 기본 계층에서 대응되는 블록의 화면 내 예측 모드를 바로 사용하지 않을 경우 MPM을 유도하여 현재 블록의 화면 내 예측 모드 값을 예측할 수 있다.
화면 내 예측 모드의 부호화 시 기본 계층에서 대응되는 블록에서 사용되는 화면 내 예측 모드 정보를 고려하여 부호화되는 현재 블록의 화면 내 예측 모드 값을 변화시킬 수 있다.
예를 들어, 기본 계층에서 대응되는 블록의 화면 내 예측 모드 값이 10이고 향상 계층의 현재 블록의 화면 내 예측 모드 값이 15인 경우, 현재 블록의 화면 내 예측 모드 값을 14로 부호화하고 추후 복호화 단계에서 복호화된 화면 내 예측 모드값에 1을 더한 값을 최종적으로 현재 블록의 화면 내 예측 모드 값으로 결정할 수 있다.
단계 S1400을 통해 산출된 나머지 화면 내 예측 모드 값과 MPM의 화면 내 예측 모드 값을 비교하여 현재 블록의 최종 화면 내 예측 모드를 산출할 수 있다(단계 S1410).
단계 S1410은 도 12의 과정과 동일하게 MPM의 화면 내 예측 모드 번호와 단계 S1400을 거친 나머지 화면 내 예측 모드 값을 비교하여 최종 화면 내 예측 모드를 산출하기 위한 단계로 사용할 수 있다.
예를 들어, 2개의 MPM이 6번 및 8번인 경우, 기존의 단계 S1400을 거쳐 산출된 화면 내 예측 모드 값은 15번에서 17번으로 쉬프팅(shifting)하여 현재 블록에 대한 최종적인 화면 내 예측 모드 값을 산출할 수 있다.
표 2는 기본 계층 모드 플래그(BL mode flag)를 사용할 경우, 화면 내 예측 모드와 코드워드 사이의 매핑 관계를 나타낸 표이다.
표 2
Figure PCTKR2013010323-appb-T000002
표 2를 참조하면, 기본 계층 모드 플래그에 대하여 향상 계층의 화면 내 예측 모드가 기본 계층 화면 내 예측 모드와 동일한 경우 기본 계층 모드 플래그에 대한 코드 워드를 ‘1’로 설정하여 화면 내 예측 모드를 지시할 수 있다.
나머지 제1 MPM 및 제2 MPM에 대하여 3개 비트에 해당하는 코드워드를 할당하고 나머지 화면 내 예측 모드에 대한 코드워드를 그 다음 코드워드 길이로 할당할 수 있다.
도 15는 본 발명의 실시예에 따른 계층적 영상 복호화 방법에서 MPM을 산출하는 방법을 나타낸 블록도이다.
도 15에서는 계층적 영상 복호화 방법에서 MPM을 산출하고 화면 내 예측을 수행하는 방법에 대해 개시한다.
후보 집합 산출부(1500)는 도 7 내지 도 14에서 전술한 MPM 산출 방법에 기초하여 MPM을 산출할 수 있다. 예를 들어, 후보 집합 산출부(1500)에서는 기본 계층에서 대응되는 블록의 화면 내 예측 모드인 기본 계층 화면 내 예측 모드가 가용한지 여부를 판단할 수 있다. 판단 결과, 기본 계층 화면 내 예측 모드가 가용한 경우 상기 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드(예를 들어, 플레이너 모드, DC 모드, 수직 모드)인지 여부를 판단할 수 있다.
후보 집합 산출부(1500)는 기본 계층의 화면 내 예측 모드가 특정한 화면 내 예측 모드인지 여부에 따라 복 수의 후보 모드를 포함하는 다양한 후보 집합, 즉 MPM 집합을 산출할 수 있다. 즉, 기본 계층의 화면 내 예측 모드가 어떠한 화면내 예측 모드이냐에 따라 도 7 내지 도 14에 설명된 MPM 집합 중 어느 하나가 산출될 수 있으며, MPM 집합에 포함되는 복 수개의 후보 모드는 서로 달라질 수 있다.
엔트로피 복호화부에서 기본 계층 화면 내 예측 모드를 상기 향상 계층의 블록의 화면 내 예측 모드로 직접적으로 사용할지 여부에 대한 정보를 복호화하여 만약, 기본 계층 화면 내 예측 모드를 상기 향상 계층의 블록의 화면 내 예측 모드로 직접적으로 사용하는 경우 따로 후보 집합 산출부(1500)에서 MPM 산출 프로세스를 수행하지 않을 수도 있다.
예측부(1550)는 후보 집합 산출부에서 산출된 MPM 정보를 기초로 화면 내 예측을 수행하여 예측된 샘플 또는 예측된 블록을 산출할 수 있다.
이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.

Claims (16)

  1. 화면 내 예측을 수행하는 계층적 영상 복호화 방법에 있어서,
    기본 계층에서 대응되는 블록의 화면 내 예측 모드인 기본 계층 화면 내 예측 모드가 가용한지 여부를 판단하는 단계;
    상기 기본 계층 화면 내 예측 모드가 가용한 경우 상기 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드인지 여부를 판단하는 단계;
    상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드가 아닌 경우, 복 수의 후보 모드를 포함하는 제1 후보 집합을 산출하고 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드인 경우, 상기 제1 후보 집합과 상이한 제2 후보 집합 및 제3 후보 집합 중 하나를 산출하는 단계; 및
    산출된 상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하는 단계를 포함하는 계층적 영상 복호화 방법.
  2. 제1항에 있어서,
    상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드, 수직 모드 중 하나의 예측 모드이고,
    상기 제1 후보 집합은 제1 후보 모드로 상기 기본 계층 화면 내 예측 모드, 제2 후보 모드로 상기 플레이너 모드, 제3 후보 모드로 상기 DC 모드가 설정되고,
    상기 제2 후보 집합은 상기 제 1 후보로 상기 플레이너 모드, 상기 제2 후보로 DC 모드, 상기 제3 후보로 상기 수직 모드가 설정되는 계층적 영상 복호화 방법.
  3. 제1항에 있어서,
    상기 특정한 화면 내 예측 모드는 상기 플레이너 모드, 상기 DC 모드 중 하나의 예측 모드이고,
    상기 제1 후보 집합은 상기 제1 후보로 상기 기본 계층 화면 내 예측 모드, 상기 제2 후보 및 상기 제 3 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고
    상기 제2 후보 집합은 상기 제1 후보로 플레이너 모드, 상기 제2 후보로 상기 DC 모드, 상기 제3 후보로 수직 모드가 설정되는 계층적 영상 복호화 방법.
  4. 제1항에 있어서,
    상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 블록의 화면 내 예측 모드로 사용할지 여부에 대한 정보를 복호화하는 단계를 더 포함하는 계층적 영상 복호화 방법.
  5. 제4항에 있어서,
    상기 기본 계층 화면 내 예측 모드를 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우,
    상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드이고,
    상기 제1 후보 집합은 제1 후보로 상기 플레이너 모드, 제2 후보로 상기 DC 모드가 설정되고,
    상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고,
    상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고,
    상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 상기 플레이너 모드인지 여부에 따라 산출되는 집합인 계층적 영상 복호화 방법.
  6. 제4항에 있어서,
    상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우,
    상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드이고,
    상기 제1 후보 집합은 제1 후보 및 제2 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고,
    상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고,
    상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고,
    상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 플레이너 모드인지 여부에 따라 산출되는 집합인 계층적 영상 복호화 방법.
  7. 제1항에 있어서,
    상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하는 단계는,
    상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드와 다를 경우,
    나머지 화면 내 예측 모드 값을 복호화하는 단계;
    상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 비교 단계; 및
    상기 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하는 단계를 포함하되,
    상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드 값에 따라 변화시켜 부호화된 정보인 계층적 영상 복호화 방법.
  8. 제1항에 있어서,
    상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하는 단계는,
    상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드 및 상기 기본 계층 화면 내 예측 모드와 다를 경우,
    나머지 화면 내 예측 모드 값을 복호화하는 단계;
    상기 기본 계층의 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 제1 비교 단계;
    상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 제2 비교 단계; 및
    상기 제1 비교 단계 및 상기 제2 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하는 단계를 포함하되,
    상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드값에 따라 변화시켜 부호화된 정보인 계층적 영상 복호화 방법.
  9. 화면 내 예측을 수행하는 계층적 영상 복호화 장치에 있어서,
    기본 계층에서 대응되는 블록의 화면 내 예측 모드인 기본 계층 화면 내 예측 모드가 가용한지 여부를 판단하고, 상기 기본 계층 화면 내 예측 모드가 가용한 경우 상기 기본 계층 화면 내 예측 모드가 특정한 화면 내 예측 모드인지 여부를 판단하고, 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드가 아닌 경우, 복 수의 후보 모드를 포함하는 제1 후보 집합을 산출하고 상기 기본 계층 화면 내 예측 모드가 상기 특정한 화면 내 예측 모드인 경우, 상기 제1 후보 집합과 상이한 제2 후보 집합 및 제3 후보 집합 중 하나를 산출하는 후보 집합 산출부; 및
    산출된 상기 후보 집합을 기초로 향상 계층의 블록에 대한 화면 내 예측을 수행하도록 구현되는 예측부를 포함하는 계층적 영상 복호화 장치.
  10. 제9항에 있어서,
    상기 후보 집합 산출부는,
    상기 제1 후보 집합은 제1 후보로 상기 기본 계층 화면 내 예측 모드, 제2 후보로 상기 플레이너 모드, 제3 후보로 상기 DC 모드가 설정되고, 상기 제2 후보 집합은 상기 1 후보로 상기 플레이너 모드, 상기 제2 후보로 DC 모드, 상기 제3 후보로 상기 수직 모드가 설정되도록 구현되고,
    상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드, 수직 모드 중 하나의 예측 모드인 계층적 영상 복호화 장치.
  11. 제9항에 있어서,
    상기 후보 집합 산출부는,
    상기 제1 후보 집합은 상기 제1 후보로 상기 기본 계층 화면 내 예측 모드, 상기 제2 후보 및 상기 제 3 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 플레이너 모드, 상기 제2 후보로 상기 DC 모드, 상기 제3 후보로 수직 모드가 설정되도록 구현되고
    상기 특정한 화면 내 예측 모드는 상기 플레이너 모드, 상기 DC 모드 중 하나의 예측 모드인 계층적 영상 복호화 장치.
  12. 제9항에 있어서,
    상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 블록의 화면 내 예측 모드로 사용할지 여부에 대한 정보를 복호화하는 엔트로피 복호화부를 더 포함하는 계층적 영상 복호화 장치.
  13. 제12항에 있어서,
    상기 후보 집합 산출부는,
    상기 기본 계층 화면 내 예측 모드를 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우, 상기 제1 후보 집합은 제1 후보로 상기 플레이너 모드, 제2 후보로 상기 DC 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고, 상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고,
    상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 상기 플레이너 모드인지 여부에 따라 산출되는 집합이고,
    상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드인 계층적 영상 복호화 장치.
  14. 제12항에 있어서,
    상기 후보 집합 산출부는,
    상기 기본 계층 화면 내 예측 모드를 상기 향상 계층의 화면 내 예측 모드로 사용하지 않는 경우, 상기 제1 후보 집합은 제1 후보 및 제2 후보로 상기 기본 계층 화면 내 예측 모드에 인접한 방향성 화면 내 예측 모드가 설정되고, 상기 제2 후보 집합은 상기 제1 후보로 상기 DC 모드, 상기 제2 후보로 수직 모드가 설정되고, 상기 제3 후보 집합은 상기 제1 후보로 상기 플레이너 모드, 상기 제2 후보로 상기 수직 모드가 설정되고,
    상기 제2 후보 집합과 상기 제3 후보 집합은 상기 기본 계층 화면 내 예측 모드가 플레이너 모드인지 여부에 따라 산출되는 집합이고,
    상기 특정한 화면 내 예측 모드는 플레이너 모드, DC 모드 중 하나의 예측 모드인 계층적 영상 복호화 장치.
  15. 제9항에 있어서,
    상기 예측부는,
    상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드와 다를 경우, 나머지 화면 내 예측 모드 값을 복호화하고 상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 비교하고 상기 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하도록 구현되고,
    상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드 값에 따라 변화시켜 부호화된 정보인 계층적 영상 복호화 장치.
  16. 제9항에 있어서,
    상기 예측부는,
    상기 향상 계층의 블록의 화면 내 예측 모드가 상기 후보 집합에 포함된 화면 내 예측 모드 및 상기 기본 계층 화면 내 예측 모드와 다를 경우, 나머지 화면 내 예측 모드 값을 복호화하고 상기 기본 계층의 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하여 제1 비교 결과를 산출하고, 상기 후보 집합에 포함된 화면 내 예측 모드 값과 상기 나머지 화면 내 예측 모드 값을 비교하는 제2 비교 결과를 산출하고 상기 제1 비교 단계 및 상기 제2 비교 단계의 결과를 기초로 상기 향상 계층의 블록의 화면 내 예측 모드를 산출하도록 구현되고,
    상기 나머지 화면 내 예측 모드 값은 상기 향상 계층의 블록의 화면 내 예측 모드 값을 상기 후보 집합에 포함된 화면 내 예측 모드값에 따라 변화시켜 부호화된 정보인 계층적 영상 복호화 장치.
PCT/KR2013/010323 2012-12-18 2013-11-14 Mpm을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치 WO2014098374A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020120148714A KR20140079661A (ko) 2012-12-18 2012-12-18 Mpm을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치
KR10-2012-0148714 2012-12-18

Publications (1)

Publication Number Publication Date
WO2014098374A1 true WO2014098374A1 (ko) 2014-06-26

Family

ID=50978646

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2013/010323 WO2014098374A1 (ko) 2012-12-18 2013-11-14 Mpm을 이용한 계층적 영상 복호화 방법 및 이러한 방법을 사용하는 장치

Country Status (2)

Country Link
KR (1) KR20140079661A (ko)
WO (1) WO2014098374A1 (ko)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109314790A (zh) * 2016-05-23 2019-02-05 佳稳电子有限公司 影像处理方法、利用其的影像解码及编码方法
CN111434109A (zh) * 2017-11-28 2020-07-17 韩国电子通信研究院 图像编码/解码方法和装置以及存储有比特流的记录介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018062881A1 (ko) * 2016-09-30 2018-04-05 엘지전자(주) 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치
CN111373755B (zh) 2017-11-16 2024-04-26 英迪股份有限公司 图像编码/解码方法和装置以及存储比特流的记录介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070076490A (ko) * 2006-01-13 2007-07-24 경희대학교 산학협력단 방향정보 기반의 업샘플링을 이용한 공간적 계층 비디오복호화 장치 및 그 방법
KR20090018019A (ko) * 2005-01-21 2009-02-19 엘지전자 주식회사 베이스 레이어의 내부모드 블록의 예측정보를 이용하여 영상신호를 엔코딩/디코딩하는 방법 및 장치
KR20120072357A (ko) * 2010-12-23 2012-07-03 삼성전자주식회사 영상 예측 단위에 대한 인트라 예측 모드 부호화 방법 및 장치, 및 영상 예측 단위에 대한 인트라 예측 모드 복호화 방법 및 장치
US20120170652A1 (en) * 2009-09-14 2012-07-05 Guo Liwei Methods and apparatus for efficient video encoding and decoding of intra prediction mode
WO2012167712A1 (en) * 2011-06-10 2012-12-13 Mediatek Inc. Method and apparatus of scalable video coding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090018019A (ko) * 2005-01-21 2009-02-19 엘지전자 주식회사 베이스 레이어의 내부모드 블록의 예측정보를 이용하여 영상신호를 엔코딩/디코딩하는 방법 및 장치
KR20070076490A (ko) * 2006-01-13 2007-07-24 경희대학교 산학협력단 방향정보 기반의 업샘플링을 이용한 공간적 계층 비디오복호화 장치 및 그 방법
US20120170652A1 (en) * 2009-09-14 2012-07-05 Guo Liwei Methods and apparatus for efficient video encoding and decoding of intra prediction mode
KR20120072357A (ko) * 2010-12-23 2012-07-03 삼성전자주식회사 영상 예측 단위에 대한 인트라 예측 모드 부호화 방법 및 장치, 및 영상 예측 단위에 대한 인트라 예측 모드 복호화 방법 및 장치
WO2012167712A1 (en) * 2011-06-10 2012-12-13 Mediatek Inc. Method and apparatus of scalable video coding

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109314790A (zh) * 2016-05-23 2019-02-05 佳稳电子有限公司 影像处理方法、利用其的影像解码及编码方法
CN111434109A (zh) * 2017-11-28 2020-07-17 韩国电子通信研究院 图像编码/解码方法和装置以及存储有比特流的记录介质

Also Published As

Publication number Publication date
KR20140079661A (ko) 2014-06-27

Similar Documents

Publication Publication Date Title
WO2018066959A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018212577A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018088805A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018212578A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018106047A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018008906A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017222325A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018221817A1 (ko) 영상 코딩 시스템에서 인트라 예측에 따른 영상 디코딩 방법 및 장치
WO2018056703A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017209328A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2020050684A1 (ko) 인트라 예측을 이용한 영상 부호화/복호화 방법 및 장치
WO2018008905A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018008904A2 (ko) 비디오 신호 처리 방법 및 장치
WO2016052977A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018212579A1 (ko) 비디오 신호 처리 방법 및 장치
WO2019117634A1 (ko) 2차 변환에 기반한 영상 코딩 방법 및 그 장치
WO2018044089A1 (ko) 비디오 신호 처리 방법 및 장치
WO2019117639A1 (ko) 변환에 기반한 영상 코딩 방법 및 그 장치
WO2013154366A1 (ko) 블록 정보에 따른 변환 방법 및 이러한 방법을 사용하는 장치
WO2020096425A1 (ko) 영상 신호 부호화/복호화 방법 및 이를 위한 장치
WO2016159610A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018056701A1 (ko) 비디오 신호 처리 방법 및 장치
WO2019235891A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016085231A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018164504A1 (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: 13865029

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13865029

Country of ref document: EP

Kind code of ref document: A1