WO2019045383A1 - 영상 부호화/복호화 방법 및 장치 - Google Patents

영상 부호화/복호화 방법 및 장치 Download PDF

Info

Publication number
WO2019045383A1
WO2019045383A1 PCT/KR2018/009848 KR2018009848W WO2019045383A1 WO 2019045383 A1 WO2019045383 A1 WO 2019045383A1 KR 2018009848 W KR2018009848 W KR 2018009848W WO 2019045383 A1 WO2019045383 A1 WO 2019045383A1
Authority
WO
WIPO (PCT)
Prior art keywords
motion information
current block
block
prediction
neighboring blocks
Prior art date
Application number
PCT/KR2018/009848
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 WO2019045383A1 publication Critical patent/WO2019045383A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • 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/587Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence

Definitions

  • the present invention relates to a video signal encoding / decoding method and apparatus.
  • Video Coding Expert Group (VCEG) of ITU-T and Moving Picture Expert Group (ISO / IEC) of Moving Picture Expert Group (MPEG) of International Standardization Organization have agreed to implement High Efficiency Video Coding (HEVC) Respectively.
  • HEVC defines techniques such as intra prediction (or intra prediction), inter prediction (or inter prediction), transformation, quantization, entropy coding, and in-loop filters.
  • intra prediction or intra prediction
  • inter prediction or inter prediction
  • transformation or quantization
  • quantization or entropy coding
  • in-loop filters Among them, inter-picture prediction is performed by using motion information such as a motion vector, a reference picture index, an inter prediction indicator, and the like, it means.
  • Inter-screen prediction of the current moving image compression standard HEVC can be efficiently predicted in the case of a motion (translational motion) in which an object in an image moves simply on a horizontal axis (x axis) or a vertical axis (y axis) There is a problem that the object can not be efficiently predicted when the object is rotated or scaled.
  • the present invention has been made to solve the above-mentioned problems, and has its main object to provide an inter prediction method based on similarity of motion vectors.
  • the present invention has a main object to provide a method for determining an inter prediction mode based on a directionality of a motion vector of a current block and a neighboring block in coding / decoding an image.
  • a method of coding an image comprising: determining similarity between a motion vector of a neighboring block adjacent to a current block and a motion vector of the current block, the neighboring blocks including a spatially neighboring block spatially adjacent to the current block, At least one temporally neighboring block temporally adjacent to the current block; Selecting an inter-prediction mode of the current block according to a result of the similarity determination, wherein the inter-prediction mode includes at least one of a skip mode, a merge mode, and an Advance Motion Vector Prediction (AMVP) mode; And performing inter prediction of the current block according to the selected inter prediction mode.
  • AMVP Advance Motion Vector Prediction
  • the step of selecting the inter-prediction mode of the current block comprises the steps of: if it is determined that there is no similarity between a motion vector of a neighboring block adjacent to a current block and a motion vector of the current block, You can select the remade mode.
  • the step of selecting an inter prediction mode of the current block comprises the steps of: if it is determined that there is a similarity between a motion vector of a neighboring block adjacent to the current block and a motion vector of the current block, Either the far merge mode or the AMVP mode can be selected.
  • a method of decoding an image comprising: deriving motion information candidates from neighboring blocks adjacent to the current block, wherein the neighboring blocks are temporally adjacent to the current block, At least one of adjacent temporal neighbor blocks; Generating additional motion information candidates based on motion vector values of motion information candidates derived from the neighboring blocks; Generating a motion information candidate list including motion information candidates derived from the neighboring blocks and the additional motion information candidates; And performing inter-prediction on the current block using the motion information candidate list.
  • the step of generating the additional motion information candidate may generate the additional motion information candidate based on an average value of motion vector values of the motion information candidates derived from the neighboring blocks.
  • the step of generating the motion information candidate list may generate a motion information candidate list in which the additional motion information candidates are arranged after the motion information candidates derived from the neighboring blocks.
  • performing inter-prediction on the current block using the motion information candidate list may include: deriving motion information of the current block from the motion information candidate list; Selecting a reference block according to motion information of the current block; Performing interpolation on the reference block; And generating a prediction block of the current block based on the interpolated reference block, wherein the interpolation may be performed in units of 1/8 pixel with respect to the luminance component.
  • an image encoding method comprising: deriving motion information candidates from neighboring blocks adjacent to a current block, wherein the neighboring blocks are temporally adjacent to the current block and spatially neighboring blocks spatially adjacent to the current block; At least one of adjacent temporal neighbor blocks; Generating additional motion information candidates based on motion vector values of motion information candidates derived from the neighboring blocks; Generating a motion information candidate list including motion information candidates derived from the neighboring blocks and the additional motion information candidates; And performing inter-prediction on the current block using the motion information candidate list.
  • the step of generating the additional motion information candidate may generate the additional motion information candidate based on an average value of motion vector values of the motion information candidates derived from the neighboring blocks.
  • the step of generating the motion information candidate list may generate a motion information candidate list in which the additional motion information candidates are arranged after the motion information candidates derived from the neighboring blocks.
  • performing inter-prediction on the current block using the motion information candidate list may include: deriving motion information of the current block from the motion information candidate list; Selecting a reference block according to motion information of the current block; Performing interpolation on the reference block; And generating a prediction block of the current block based on the interpolated reference block, wherein the interpolation may be performed in units of 1/8 pixel with respect to the luminance component.
  • An image decoding apparatus derives motion information candidates from neighboring blocks adjacent to a current block and generates additional motion information candidates based on motion vector values of motion information candidates derived from the neighboring blocks
  • An inter prediction unit for generating a motion information candidate list including the motion information candidates derived from the neighboring blocks and the additional motion information candidates and performing inter prediction on the current block using the motion information candidate list,
  • the neighboring blocks may include at least one of a spatial neighboring block spatially adjacent to the current block and a temporally neighboring block temporally adjacent to the current block.
  • An image encoding apparatus determines a similarity between a motion vector of a neighboring block adjacent to a current block and a motion vector of the current block and selects an inter prediction mode of the current block according to a result of the similarity determination And an inter-prediction unit for performing inter-prediction of the current block according to the selected inter-prediction mode, wherein the neighboring blocks include at least one of a spatial neighboring block spatially adjacent to the current block and a temporally neighboring block temporally adjacent to the current block And the inter prediction mode may include at least one of a skip mode, a merge mode, and an Advance Motion Vector Prediction (AMVP) mode.
  • AMVP Advance Motion Vector Prediction
  • An image encoding apparatus derives motion information candidates from neighboring blocks adjacent to a current block and generates additional motion information candidates based on motion vector values of the motion information candidates derived from the neighboring blocks
  • An inter prediction unit for generating a motion information candidate list including the motion information candidates derived from the neighboring blocks and the additional motion information candidates and performing inter prediction on the current block using the motion information candidate list,
  • the neighboring blocks may include at least one of a spatial neighboring block spatially adjacent to the current block and a temporally neighboring block temporally adjacent to the current block.
  • a storage medium includes instructions for generating motion information candidates from neighboring blocks adjacent to a current block, wherein the neighboring blocks are spatially adjacent to the current block and temporally adjacent to the current block At least one of temporal neighbor blocks; Generating additional motion information candidates based on motion vector values of motion information candidates derived from the neighboring blocks; Generating a motion information candidate list including motion information candidates derived from the neighboring blocks and the additional motion information candidates; And performing inter-prediction on the current block using the motion information candidate list.
  • the present invention can improve inter prediction efficiency by performing inter prediction based on the similarity of motion vectors.
  • the present invention can improve the inter prediction efficiency by determining the inter prediction mode based on the directionality of the motion vector of the current block and the neighboring block.
  • FIG. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
  • 3 is a diagram showing an example of generating motion information through motion estimation.
  • FIG. 4 is a diagram showing an embodiment of neighboring blocks used in merge mode and AMVP mode.
  • FIG. 5 is a flowchart for explaining an inter prediction method based on similarity of motion vectors according to an embodiment of the present invention.
  • FIG. 6 is a diagram illustrating a case where a motion vector of a current block and a direction vector of motion vectors of available neighboring blocks are not similar to each other according to an embodiment of the present invention.
  • FIG. 7 illustrates a method of adding a new motion vector candidate to a merge candidate list according to an embodiment of the present invention.
  • FIG. 8 is a diagram for explaining a method of adding a motion vector candidate of a new AMVP according to an embodiment of the present invention.
  • FIG. 9 is a diagram for explaining an image encoding method according to an embodiment of the present invention.
  • FIG. 10 is a view for explaining a video decoding method according to an embodiment of the present invention.
  • first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
  • the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.
  • / or < / RTI &gt includes any combination of a plurality of related listed items or any of a plurality of related listed items.
  • FIG. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
  • the image encoding apparatus 100 includes a picture division unit 110, prediction units 120 and 125, a transform unit 130, a quantization unit 135, a reordering unit 160, an entropy encoding unit An inverse quantization unit 140, an inverse transform unit 145, a filter unit 150, and a memory 155.
  • each of the components shown in FIG. 1 is shown independently to represent different characteristic functions in the image encoding apparatus, and does not mean that each component is composed of separate hardware or one software configuration unit. That is, each constituent unit is included in each constituent unit for convenience of explanation, and at least two constituent units of the constituent units may be combined to form one constituent unit, or one constituent unit may be divided into a plurality of constituent units to perform a function.
  • the integrated embodiments and separate embodiments of the components are also included within the scope of the present invention, unless they depart from the essence of the present invention.
  • the components are not essential components to perform essential functions in the present invention, but may be optional components only to improve performance.
  • the present invention can be implemented only with components essential for realizing the essence of the present invention, except for the components used for the performance improvement, and can be implemented by only including the essential components except the optional components used for performance improvement Are also included in the scope of the present invention.
  • the picture division unit 110 may divide the input picture into at least one processing unit.
  • the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU).
  • the picture division unit 110 divides one picture into a plurality of coding units, a prediction unit, and a combination of conversion units, and generates a coding unit, a prediction unit, and a conversion unit combination So that the picture can be encoded.
  • one picture may be divided into a plurality of coding units.
  • a recursive tree structure such as a quad tree structure can be used.
  • a unit can be divided with as many child nodes as the number of divided coding units. Under certain constraints, an encoding unit that is no longer segmented becomes a leaf node. That is, when it is assumed that only one square division is possible for one coding unit, one coding unit can be divided into a maximum of four different coding units.
  • a coding unit may be used as a unit for performing coding, or may be used as a unit for performing decoding.
  • the prediction unit may be one divided into at least one square or rectangular shape having the same size in one coding unit, and one of the prediction units in one coding unit may be divided into another prediction Or may have a shape and / or size different from the unit.
  • intraprediction can be performed without dividing the prediction unit into a plurality of prediction units NxN.
  • the prediction units 120 and 125 may include an inter prediction unit 120 for performing inter prediction and an intra prediction unit 125 for performing intra prediction. It is possible to determine whether inter prediction or intra prediction is to be performed for the prediction unit and to determine concrete information (e.g., intra prediction mode, motion vector, reference picture, etc.) according to each prediction method. At this time, the processing unit in which the prediction is performed may be different from the processing unit in which the prediction method and the concrete contents are determined. For example, the method of prediction, the prediction mode and the like are determined as a prediction unit, and the execution of the prediction may be performed in a conversion unit. The residual value (residual block) between the generated prediction block and the original block can be input to the conversion unit 130.
  • inter prediction unit 120 for performing inter prediction
  • an intra prediction unit 125 for performing intra prediction. It is possible to determine whether inter prediction or intra prediction is to be performed for the prediction unit and to determine concrete information (e.g., intra prediction mode, motion vector, reference picture, etc.) according to each prediction method.
  • the prediction mode information, motion vector information, and the like used for the prediction may be encoded by the entropy encoding unit 165 together with the residual value and transmitted to the decoder.
  • the entropy encoding unit 165 When a particular encoding mode is used, it is also possible to directly encode the original block and transmit it to the decoding unit without generating a prediction block through the prediction units 120 and 125.
  • the inter-prediction unit 120 may predict a prediction unit based on information of at least one of a previous picture or a following picture of the current picture, and may predict a prediction unit based on information of a partially- Unit may be predicted.
  • the inter-prediction unit 120 may include a reference picture interpolator, a motion estimator, and a motion compensator.
  • the reference picture information is supplied from the memory 155 and pixel information of an integer pixel or less can be generated in the reference picture.
  • a DCT-based interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of quarter pixels.
  • a DCT-based 4-tap interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of 1/8 pixel.
  • the motion estimator can generate motion information based on the reference pictures interpolated by the reference picture interpolator.
  • the motion information refers to a motion vector, a reference image index, a prediction direction, and the like.
  • Various methods such as Full Search-based Block Matching Algorithm (FBMA), Three Step Search (TSS), and New Three-Step Search Algorithm (NTS) can be used as methods for estimating a motion vector.
  • the motion vector may have a motion vector value of 1/2 or 1/4 pixel unit based on the interpolated pixel.
  • the current prediction unit can be predicted by using a different motion estimation method.
  • Various methods such as a skip mode, a merge mode, an AMVP (Advanced Motion Vector Prediction) mode, and an intra block copy mode may be used as a motion estimation method.
  • the motion compensation unit may generate a prediction unit based on the motion information generated by the motion estimation unit.
  • the intra prediction unit 125 can generate a prediction unit based on reference pixel information around the current block which is pixel information in the current picture.
  • the reference pixel included in the block in which the inter prediction is performed is referred to as the reference pixel Information. That is, when the reference pixel is not available, the reference pixel information that is not available may be replaced by at least one reference pixel among the available reference pixels.
  • a residual block including a prediction unit that has been predicted based on the prediction unit generated by the prediction units 120 and 125 and a residual value that is a difference value from the original block of the prediction unit may be generated.
  • the generated residual block may be input to the transform unit 130.
  • the transform unit 130 transforms the residual block including the residual information of the prediction unit generated through the original block and the predictors 120 and 125 into a DCT (Discrete Cosine Transform), a DST (Discrete Sine Transform), a KLT You can convert using the same conversion method.
  • the decision to apply the DCT, DST, or KLT to transform the residual block may be based on the intra prediction mode information of the prediction unit used to generate the residual block.
  • the quantization unit 135 may quantize the values converted into the frequency domain by the conversion unit 130. [ The quantization factor may vary depending on the block or the importance of the image. The values calculated by the quantization unit 135 may be provided to the inverse quantization unit 140 and the reorder unit 160.
  • the transforming unit 130 and / or the quantizing unit 135 may be selectively included in the image encoding apparatus 100. That is, the image encoding apparatus 100 can perform at least one of conversion or quantization on the residual data of the residual block, or may skip both the conversion and the quantization, thereby encoding the residual block.
  • a block entering the input of the entropy encoding unit 165 is generally referred to as a transform block even though either transformation or quantization is not performed in the image coding apparatus 100 or both transformation and quantization are not performed.
  • the reordering unit 160 can reorder the coefficient values with respect to the quantized residual values.
  • the reordering unit 160 may change the two-dimensional block type coefficient to a one-dimensional vector form through a coefficient scanning method.
  • the rearranging unit 160 may scan a DC coefficient to a coefficient in a high frequency region using a Zig-Zag scan method, and change the DC coefficient to a one-dimensional vector form.
  • a vertical scan may be used to scan two-dimensional block type coefficients in a column direction, and a horizontal scan to scan a two-dimensional block type coefficient in a row direction depending on the size of the conversion unit and the intra prediction mode. That is, it is possible to determine whether any scanning method among the jig-jag scan, the vertical direction scan and the horizontal direction scan is used according to the size of the conversion unit and the intra prediction mode.
  • the entropy encoding unit 165 may perform entropy encoding based on the values calculated by the reordering unit 160.
  • various encoding methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be used.
  • the entropy encoding unit 165 receives the residual coefficient information of the encoding unit, the block type information, the prediction mode information, the division unit information, the prediction unit information, the transmission unit information, the motion Vector information, reference frame information, interpolation information of a block, filtering information, and the like.
  • the entropy encoding unit 165 can entropy-encode the coefficient value of the encoding unit input by the reordering unit 160.
  • the inverse quantization unit 140 and the inverse transformation unit 145 inverse quantize the quantized values in the quantization unit 135 and inversely transform the converted values in the conversion unit 130.
  • the residual value generated by the inverse quantization unit 140 and the inverse transform unit 145 is combined with the prediction unit predicted through the motion estimation unit, the motion compensation unit and the intra prediction unit included in the prediction units 120 and 125, A block (Reconstructed Block) can be generated.
  • the filter unit 150 may include at least one of a bilateral filter, a deblocking filter, a sample adaptive offset correcting unit, and an adaptive loop filter (ALF).
  • a bilateral filter e.g., a bilateral filter, a deblocking filter, a sample adaptive offset correcting unit, and an adaptive loop filter (ALF).
  • ALF adaptive loop filter
  • the bidirectional filter is the first filter in the in-loop filter processing.
  • Bi-directional filtering can be performed by replacing the target sample with a weighted sum of the target sample and neighboring neighboring samples to the target sample.
  • the bidirectional filter can be performed on the TU. In one example, if a residual sample in the TU is obtained through at least one of inverse quantization or inverse transform, bidirectional filtering may be performed using the obtained residual sample and neighboring neighboring residual samples to the residual sample.
  • the bidirectional filter may take the form of a cross, a square, or a rectangle.
  • the cross shape may mean that bidirectional filtering is performed using four neighboring samples adjacent to the top, left, right and bottom of the target sample and the target sample.
  • the weights applied to each neighbor sample may be determined based on the difference value between the object sample and the neighboring sample.
  • the deblocking filter can remove block distortion caused by the boundary between the blocks in the reconstructed picture. It may be determined whether to apply a deblocking filter to the current block based on pixels included in a few columns or rows included in the block to determine whether to perform deblocking. When a deblocking filter is applied to a block, a strong filter or a weak filter may be applied according to the deblocking filtering strength required. In applying the deblocking filter, horizontal filtering and vertical filtering may be performed concurrently in performing vertical filtering and horizontal filtering.
  • the sample adaptive offset correction unit may correct the offset of the deblocked image with respect to the original image in units of pixels.
  • pixels included in an image are divided into a predetermined number of areas, and then an area to be offset is determined and an offset is applied to the area.
  • Adaptive Loop Filtering can be performed based on a comparison between the filtered reconstructed image and the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and different filtering may be performed for each group.
  • the information related to whether to apply the ALF may be transmitted for each coding unit (CU), and the shape and the filter coefficient of the ALF filter to be applied may be changed according to each block. Also, an ALF filter of the same type (fixed form) may be applied irrespective of the characteristics of the application target block.
  • the memory 155 may store the reconstructed block or picture calculated through the filter unit 150 and the reconstructed block or picture stored therein may be provided to the predictor 120 or 125 when the inter prediction is performed.
  • FIG. 2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
  • the image decoder 200 includes an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, prediction units 230 and 235, 240, and a memory 245 may be included.
  • the input bitstream may be decoded in a procedure opposite to that of the image encoder.
  • the entropy decoding unit 210 can perform entropy decoding in a procedure opposite to that in which entropy encoding is performed in the entropy encoding unit of the image encoder. For example, various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied in accordance with the method performed by the image encoder.
  • various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied in accordance with the method performed by the image encoder.
  • CAVLC Context-Adaptive Variable Length Coding
  • CABAC Context-Adaptive Binary Arithmetic Coding
  • the entropy decoding unit 210 may decode information related to intra prediction and inter prediction performed in the encoder.
  • the reordering unit 215 can perform reordering based on a method in which the entropy decoding unit 210 rearranges the entropy-decoded bitstreams in the encoding unit.
  • the coefficients represented by the one-dimensional vector form can be rearranged by restoring the coefficients of the two-dimensional block form again.
  • the reordering unit 215 can perform reordering by receiving information related to the coefficient scanning performed by the encoding unit and performing a reverse scanning based on the scanning order performed by the encoding unit.
  • the inverse quantization unit 220 can perform inverse quantization based on the quantization parameters provided by the encoder and the coefficient values of the re-arranged blocks.
  • the inverse transform unit 225 may perform an inverse DCT, an inverse DST, and an inverse KLT on the DCT, DST, and KLT transformations performed by the transform unit on the quantization result performed by the image encoder.
  • the inverse transform can be performed based on the transmission unit determined by the image encoder.
  • a transform technique e.g., DCT, DST, KLT
  • the prediction units 230 and 235 can generate a prediction block based on the prediction block generation related information provided by the entropy decoding unit 210 and the previously decoded block or picture information provided in the memory 245.
  • intraprediction is performed using a reference pixel based on the conversion unit . It is also possible to use intra prediction using N x N divisions for only the minimum coding unit.
  • the prediction units 230 and 235 may include a prediction unit determination unit, an inter prediction unit, and an intra prediction unit.
  • the prediction unit determination unit receives various information such as prediction unit information input from the entropy decoding unit 210, prediction mode information of the intra prediction method, motion prediction related information of the inter prediction method, and identifies the prediction unit in the current coding unit, It is possible to determine whether the unit performs inter prediction or intra prediction.
  • the inter-prediction unit 230 uses information (or motion information) necessary for inter-prediction of the current prediction unit provided in the image encoder to predict information included in at least one of the previous picture of the current picture or the following picture including the current prediction unit
  • the inter prediction of the current prediction unit can be performed.
  • the inter prediction may be performed on the basis of the information of the partial region previously reconstructed in the current picture including the current prediction unit.
  • a motion prediction method of a prediction unit included in a corresponding encoding unit on the basis of an encoding unit includes a skip mode, a merge mode, an AMVP mode, and an intra block copy mode It is possible to judge whether or not it is any method.
  • the intra prediction unit 235 can generate a prediction block based on the pixel information in the current picture. If the prediction unit is a prediction unit that performs intra prediction, the intra prediction can be performed based on the intra prediction mode information of the prediction unit provided by the image encoder.
  • the intraprediction unit 235 may include an AIS (Adaptive Intra Smoothing) filter, a reference pixel interpolator, and a DC filter.
  • the AIS filter performs filtering on the reference pixels of the current block and can determine whether to apply the filter according to the prediction mode of the current prediction unit.
  • the AIS filtering can be performed on the reference pixel of the current block using the prediction mode of the prediction unit provided in the image encoder and the AIS filter information. When the prediction mode of the current block is a mode in which AIS filtering is not performed, the AIS filter may not be applied.
  • the reference pixel interpolator may interpolate the reference pixels to generate reference pixels in units of pixels less than or equal to an integer value when the prediction mode of the prediction unit is a prediction unit that performs intra prediction based on pixel values obtained by interpolating reference pixels.
  • the reference pixel may not be interpolated in the prediction mode in which the prediction mode of the current prediction unit generates the prediction block without interpolating the reference pixel.
  • the DC filter can generate a prediction block through filtering when the prediction mode of the current block is the DC mode.
  • the restored block or picture may be provided to the filter unit 240.
  • the filter unit 240 may include a bi-directional filter, a deblocking filter, a sample adaptive offset correction unit, and an ALF.
  • the image decoder may perform bidirectional filtering based on the weighted sum between the object sample and the neighboring sample. At this time, the weight applied to each neighboring sample may be determined based on the difference value between the target sample and the neighboring sample.
  • the deblocking filter of the video decoder When information on whether a deblocking filter is applied to a corresponding block or picture from the image encoder or a deblocking filter is applied, information on whether a strong filter or a weak filter is applied can be provided.
  • the deblocking filter of the video decoder the deblocking filter related information provided by the video encoder is provided, and the video decoder can perform deblocking filtering for the corresponding block.
  • the offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction applied to the image and the offset value information during encoding.
  • the ALF can be applied to an encoding unit on the basis of ALF application information and ALF coefficient information provided from an encoder.
  • ALF information may be provided in a specific parameter set.
  • the memory 245 may store the reconstructed picture or block to be used as a reference picture or a reference block, and may also provide the reconstructed picture to the output unit.
  • a coding unit (coding unit) is used as a coding unit for convenience of explanation, but it may be a unit for performing not only coding but also decoding. Further, a unit or a unit may be a region generated by the division of one picture. Also, in the embodiment of the present invention, a unit may mean a block, and the current block may indicate a current block to be coded or a current block to be decoded.
  • FIG. 3 An inter prediction method based on the similarity of motion vectors will be described with reference to FIGS. 3 to 8.
  • the motion estimation is to determine a motion vector of a current block, a reference image index, and an inter-picture prediction direction according to the determination, when a reference block identical or similar to a prediction block in a reference image that has already been encoded and decoded is determined.
  • a motion vector prediction may be generated and a difference value (MVD) between a motion vector of a current block and a prediction motion vector may be generated .
  • a merge index and a merge index are calculated by using a motion vector of a block having a smallest sum of absolute difference (SAD) as a predicted motion vector (MVP) And may be a method of transmitting a residual signal to the decoder.
  • SAD smallest sum of absolute difference
  • MVP predicted motion vector
  • the difference value MVD between the motion vector of the current block and the predicted motion vector MVP may not be transmitted to the decoder.
  • a motion vector of a neighboring block is used as a predicted motion vector (MVP) similar to the merge mode.
  • MVP predicted motion vector
  • an accurate motion vector is calculated through motion estimation (MVD), residual signal, and other motion information between the motion vector of the current block and the predictive motion vector MVP to the decoder.
  • FIG. 4 is a diagram showing an embodiment of neighboring blocks used in merge mode and AMVP mode.
  • the neighboring blocks of the current block include spatial neighboring blocks A0, A1, A2, B0, B1, and B2 spatially adjacent to the current block and temporally neighboring blocks C0 and C1 temporally adjacent to the current block .
  • a merge candidate list in the order of A1 -> B1 -> B0 -> A0 -> A2 as a spatial merge candidate, and add the temporal merge candidate C0 or C1 to the merge candidate list. If the number of candidates in the remainder candidate list is less than 5, merged bi-predictive merge candidate and zero motion vector (zero MV) may be added to construct a merge candidate list using up to 5 merge candidates.
  • spatial motion vector candidates can be constructed by dividing (A0, A1, A2), (B0, B1, B2) into two groups. If there are less than two spatial motion vector candidates, a temporal motion vector candidate or zero motion vector (zero MV) may be added to the candidate from C0 or C1 to construct the final two candidates.
  • FIG. 5 is a flowchart for explaining an inter prediction method based on similarity of motion vectors according to an embodiment of the present invention.
  • step S510 of checking whether a neighboring block of a current block is available may be performed.
  • the availability of neighboring blocks may mean that motion information can be derived from neighboring blocks. For example, if there is no neighboring block, or if the neighboring block is coded with intra prediction, the neighboring block may not be available.
  • MV C and MV N may denote a motion vector of a current block and a motion vector of a neighboring block, respectively. If ⁇ is in the same range as 0 o ⁇ ⁇ ⁇ X o , it can be determined that the directionality of the motion vector is similar. In one example, X may be set to 90 (right angle). However, the present invention is not limited to this and can be changed according to the setting of the encoder / decoder.
  • inter prediction may be performed in the merge mode when the motion vector of the current block and the directionality of the motion vector of the at least one available neighbor block are not similar (S530).
  • the interpolation filter may be set to a quarter pixel unit (pel) with respect to the luminance component (S540).
  • FIG. 6 is a diagram illustrating a case where the motion vectors of the current block and the motion vectors of the available neighboring blocks are not similar.
  • the fact that the motion vector of the current block is not similar to the directionality of the motion vector of at least one available neighboring block may mean that the current block is included in an object that is rotated or included in an object that is enlarged or reduced.
  • the motion vector of the neighboring block having the lowest SAD is used as the predicted motion vector of the current block, the probability of the residual signal data is high because the prediction block and the original block are not similar. Therefore, in this case, prediction through the merge mode rather than the AMVP mode in which motion information such as MVD is transmitted may be efficient in bit encoding.
  • the average value of the motion vectors of the available neighboring blocks may be used as a new motion vector candidate (S550), and the inter prediction may be performed in any of the merge mode (S560) and the AMVP mode (S570).
  • the interpolation filter may be set to 1/8 pixel unit (pel) with respect to the luminance component (S580).
  • the average value of the motion vectors of the available neighboring blocks is calculated based on the following Equation (3) It is available as a candidate.
  • Equation (3) an example of the average value of the motion vectors of the neighboring blocks is described as an example of the motion vectors of the neighboring blocks.
  • the present invention is not limited to this, and any one of the intermediate value, minimum value, maximum value, weighted average value, .
  • Equation (3) can be applied in an embodiment where the neighboring blocks A1 and B1 of FIG. 4 are available and the directionality of the motion vectors of neighboring blocks A1 and B1 is at least equal to the directionality of the motion vector of the current block.
  • a new motion vector candidate (avgMV) may be added to the end of the merge candidate list as shown in FIG. Accordingly, the size of the merge candidate list can be increased by 1, and merge indexes for selecting merge candidates in the merge candidate list can be additionally defined. For example, if the size of the merge candidate list is defined as 5, the size of the merge candidate list can be increased to 6.
  • a new motion vector candidate (avgMV) is arranged at the end of the merge candidate list.
  • the present invention is not limited to this, and it may be arranged before the first or temporal merge candidate Col of the merge candidate list.
  • the restriction of the MVP index indicating which to use in the MVP candidate to add a new motion vector candidate may be increased by one.
  • the MVP index is defined as 0 to 1
  • the range of the MVP index can be increased from 0 to 2.
  • the number of MVP candidates is 3, and the range of the MVP index can be defined as 0 to 2.
  • the spatial MVP candidate or the temporal MVP candidate is less than 2 in FIG. 8, a zero vector may be added as the MVP candidate.
  • the interpolation filter may be set to 1/8 pixel unit (pel) with respect to the luminance component (S580). Accordingly, interpolation used for motion compensation can be performed more precisely, and prediction performance can be expected to be improved.
  • the selection of the merge mode (S560) and the AMVP mode (S570) can be finally selected by the encoder through the RD-cost comparison, and the selected prediction mode information can be transmitted to the decoder.
  • FIG. 9 An image encoding / decoding method for performing inter prediction according to an embodiment of the present invention will be described with reference to FIGS. 9 and 10.
  • FIG. 9 An image encoding / decoding method for performing inter prediction according to an embodiment of the present invention will be described with reference to FIGS. 9 and 10.
  • FIG. 9 is a diagram for explaining an image encoding method according to an embodiment of the present invention.
  • the encoder can determine the similarity between the motion vectors of neighboring blocks adjacent to the current block and the motion vector of the current block (S901).
  • the neighboring blocks may include at least one of a spatial neighboring block spatially adjacent to the current block and a temporally neighboring block temporally adjacent to the current block.
  • Similarity determination is described in detail using equations (1) and (2), and redundant explanation is omitted.
  • the similarity determination of the motion vector it is possible to determine based on the size of the motion vector in addition to the directionality of the motion vector.
  • the encoder can select the inter prediction mode of the current block according to the similarity determination result (S902).
  • the inter prediction mode may include at least one of a skip mode, a merge mode, and an Advance Motion Vector Prediction (AMVP) mode.
  • AMVP Advance Motion Vector Prediction
  • the merge mode can be selected as the inter-prediction mode of the current block.
  • either merge mode or AMVP mode may be selected as the inter prediction mode of the current block.
  • the encoder may perform inter prediction of the current block according to the selected inter prediction mode (S903).
  • FIG. 10 is a view for explaining a video decoding method according to an embodiment of the present invention.
  • the decoder may derive motion information candidates from neighboring blocks adjacent to the current block (S1001).
  • the motion information candidate may mean a merge candidate of the merge mode or a predicted motion vector (MVP) candidate of the AMVP mode.
  • MVP predicted motion vector
  • the decoder may generate the additional motion information candidate based on the motion vector values of the motion information candidates derived from neighboring blocks (S1002).
  • an additional motion information candidate may be generated based on an average value of motion vector values of motion information candidates derived from neighboring blocks.
  • the decoder may generate a motion information candidate list including motion information candidates and additional motion information candidates derived from neighboring blocks (S1003).
  • the additional motion information candidate may be placed after the motion information candidate derived from the neighboring blocks in the motion information candidate list.
  • the decoder can perform inter-prediction on the current block using the motion information candidate list (S1004).
  • inter prediction of a current block using the motion information candidate list may include deriving motion information of a current block from a motion information candidate list, selecting a reference block according to motion information of the current block, Performing interpolation on the reference block, and generating a prediction block of the current block based on the interpolated reference block.
  • interpolation may be performed on a 1/8 pixel basis with respect to the luminance component.
  • the exemplary methods of this disclosure are represented by a series of acts for clarity of explanation, they are not intended to limit the order in which the steps are performed, and if necessary, each step may be performed simultaneously or in a different order.
  • the illustrative steps may additionally include other steps, include the remaining steps except for some steps, or may include additional steps other than some steps.
  • various embodiments of the present disclosure may be implemented by hardware, firmware, software, or a combination thereof.
  • one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays A general processor, a controller, a microcontroller, a microprocessor, and the like.
  • the present invention can be applied to an apparatus for image encoding and decoding.

Landscapes

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

Abstract

영상 부호화/복호화 방법 및 장치가 개시된다. 본 개시의 일 실시 예에 따른 영상 부호화 방법은, 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 상기 현재 블록의 움직임 벡터의 유사성을 판단하는 단계, 상기 유사성 판단 결과에 따라, 상기 현재 블록의 인터 예측 모드를 선택하는 단계, 상기 선택된 인터 예측 모드에 따라 상기 현재 블록의 인터 예측을 수행하는 단계를 포함할 수 있다.

Description

영상 부호화/복호화 방법 및 장치
본 발명은 영상 신호 부호화/복호화 방법 및 장치에 관한 것이다.
최근, 인터넷에서는 동영상과 같은 멀티미디어 데이터의 수요가 급격히 증가하고 있다. 하지만 채널(Channel)의 대역폭(Bandwidth)이 발전하는 속도는 급격히 증가하고 있는 멀티미디어 데이터의 양을 따라가기 힘든 상황이다. 이에 따라, 국제 표준화 기구인 ITU-T의 VCEG(Video Coding Expert Group)과 ISO/IEC의 MPEG(Moving Picture Expert Group)은 2014년 2월, 동영상 압축 표준인 HEVC(High Efficiency Video Coding) 버전1을 제정하였다.
HEVC에서는 화면 내 예측(또는 인트라 예측), 화면 간 예측(또는 인터 예측), 변환, 양자화, 엔트로피 부호화 및 인-루프 필터 등의 기술을 정의하고 있다. 이 중, 화면 간 예측은, 기 복원된 영상들과, 움직임 벡터(Motion vector), 참조 영상 인덱스(Reference picture index), 예측 방향(Inter prediction indicator) 등과 같은 움직임 정보들을 이용하여 예측을 수행하는 것을 의미한다.
현재 동영상 압축 표준인 HEVC의 화면 간 예측은 영상 내부의 물체(Object)가 단순히 가로축(x축) 또는 세로축(y축)으로 이동하는 모션(Translational Motion)의 경우 효율적으로 예측할 수 있지만, 영상 내부의 물체가 회전(Rotation) 또는 스케일(Scaling)된 경우, 효율적으로 예측할 수 없는 문제점이 있다.
본 발명은 상술한 문제점을 해결하기 위한 것으로, 움직임 벡터의 유사성에 기초한 인터 예측 방법을 제공하는 것에 주된 목적이 있다.
본 발명은 영상을 부호화/복호화함에 있어서, 현재 블록과 이웃 블록의 움직임 벡터의 방향성에 기초하여 인터 예측 모드를 결정하는 방법을 제공하는 것에 주된 목적이 있다.
본 개시에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 개시의 일 양상에 따르는 영상 부호화 방법은 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 상기 현재 블록의 움직임 벡터의 유사성을 판단하는 단계, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함; 상기 유사성 판단 결과에 따라, 상기 현재 블록의 인터 예측 모드를 선택하는 단계, 여기서, 상기 인터 예측 모드는 스킵 모드, 머지 모드 및 AMVP(Advance Motion Vector Prediction) 모드 중 적어도 하나를 포함함; 및 상기 선택된 인터 예측 모드에 따라 상기 현재 블록의 인터 예측을 수행하는 단계를 포함할 수 있다.
상기 영상 부호화 방법에 있어서, 상기 현재 블록의 인터 예측 모드를 선택하는 단계는, 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성이 없다고 판단된 경우, 상기 현재 블록의 인터 예측 모드로 머지 모드를 선택할 수 있다.
상기 영상 부호화 방법에 있어서, 상기 현재 블록의 인터 예측 모드를 선택하는 단계는, 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성이 있다고 판단된 경우, 상기 현재 블록의 인터 예측 모드로 머지 모드 및 AMVP 모드 중 어느 하나를 선택할 수 있다.
본 개시의 일 양상에 따르는 영상 복호화 방법은 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하는 단계, 여기서, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함; 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성하는 단계; 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하는 단계; 및 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계를 포함할 수 있다.
상기 영상 복호화 방법에 있어서, 상기 추가 움직임 정보 후보를 생성하는 단계는, 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값의 평균값을 기초로, 상기 추가 움직임 정보 후보를 생성할 수 있다.
상기 영상 복호화 방법에 있어서, 상기 움직임 정보 후보 리스트를 생성하는 단계는, 상기 이웃 블록들로부터 유도된 움직임 정보 후보 뒤에 상기 추가 움직임 정보 후보가 배치되는 움직임 정보 후보 리스트를 생성할 수 있다.
상기 영상 복호화 방법에 있어서, 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계는, 상기 움직임 정보 후보 리스트에서 상기 현재 블록의 움직임 정보를 유도하는 단계; 상기 현재 블록의 움직임 정보에 따라 참조 블록을 선택하는 단계; 상기 참조 블록에 보간(interpolation)을 수행하는 단계; 및 상기 보간된 참조 블록에 기초하여 상기 현재 블록의 예측 블록을 생성하는 단계를 포함하고, 상기 보간(interpolation)은 휘도 성분에 대하여 1/8 화소 단위로 수행될 수 있다.
본 개시의 일 양상에 따르는 영상 부호화 방법은 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하는 단계, 여기서, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함; 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성하는 단계; 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하는 단계; 및 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계를 포함할 수 있다.
상기 영상 부호화 방법에 있어서, 상기 추가 움직임 정보 후보를 생성하는 단계는, 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값의 평균값을 기초로, 상기 추가 움직임 정보 후보를 생성할 수 있다.
상기 영상 부호화 방법에 있어서, 상기 움직임 정보 후보 리스트를 생성하는 단계는, 상기 이웃 블록들로부터 유도된 움직임 정보 후보 뒤에 상기 추가 움직임 정보 후보가 배치되는 움직임 정보 후보 리스트를 생성할 수 있다.
상기 영상 부호화 방법에 있어서, 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계는, 상기 움직임 정보 후보 리스트에서 상기 현재 블록의 움직임 정보를 유도하는 단계; 상기 현재 블록의 움직임 정보에 따라 참조 블록을 선택하는 단계; 상기 참조 블록에 보간(interpolation)을 수행하는 단계; 및 상기 보간된 참조 블록에 기초하여 상기 현재 블록의 예측 블록을 생성하는 단계를 포함하고, 상기 보간(interpolation)은 휘도 성분에 대하여 1/8 화소 단위로 수행될 수 있다.
본 개시의 일 양상에 따르는 영상 복호화 장치는 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하고, 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여 추가 움직임 정보 후보를 생성하며, 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하고, 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 인터 예측부를 포함하되, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함할 수 있다.
본 개시의 일 양상에 따르는 영상 부호화 장치는 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 상기 현재 블록의 움직임 벡터의 유사성을 판단하고, 상기 유사성 판단 결과에 따라, 상기 현재 블록의 인터 예측 모드를 선택하며, 상기 선택된 인터 예측 모드에 따라 상기 현재 블록의 인터 예측을 수행하는 인터 예측부를 포함하되, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함하고, 상기 인터 예측 모드는 스킵 모드, 머지 모드 및 AMVP(Advance Motion Vector Prediction) 모드 중 적어도 하나를 포함할 수 있다.
본 개시의 일 양상에 따르는 영상 부호화 장치는 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하고, 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여 추가 움직임 정보 후보를 생성하며, 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하고, 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 인터 예측부를 포함하되, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함할 수 있다.
본 개시의 일 양상에 따르는 저장 매체는 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하는 단계, 여기서, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함; 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성하는 단계; 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하는 단계; 및 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계를 포함하는 영상 부호화 방법에 의해 생성된 비트스트림을 저장할 수 있다.
본 발명은 움직임 벡터의 유사성에 기초한 인터 예측을 수행함으로써 인터 예측 효율을 향상시킬 수 있다.
본 발명은 현재 블록과 이웃 블록의 움직임 벡터의 방향성에 기초하여 인터 예측 모드를 결정함으로써 인터 예측 효율을 향상시킬 수 있다.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
도 1은 본 발명의 일 실시 예에 따른 영상 부호화 장치를 나타낸 블록도이다.
도 2는 본 발명의 일 실시 예에 따른 영상 복호화 장치를 나타낸 블록도이다.
도 3은 움직임 추정을 통해 움직임 정보를 생성하는 예를 나타낸 도면이다.
도 4는 머지 모드 및 AMVP 모드에서 사용하는 이웃 블록들의 실시 예를 도시한 도면이다.
도 5는 본 발명의 일 실시 예에 따른 움직임 벡터의 유사성에 기초한 인터 예측 방법을 설명하기 위한 순서도이다.
도 6은 본 발명의 일 실시 예에 따른 현재 블록의 움직임 벡터와 가용한 이웃 블록들의 움직임 벡터들의 방향성이 모두 유사하지 않는 경우를 도시한 도면이다.
도 7은 본 발명의 일 실시 예에 따른 머지 후보 리스트에 새로운 움직임 벡터 후보를 추가하는 방법을 설명하기 위한 도면이다.
도 8은 본 발명의 일 실시 예에 따른 새로운 AMVP의 움직임 벡터 후보를 추가하는 방법을 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시 예에 따른 영상 부호화 방법을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시 예에 따른 영상 복호화 방법을 설명하기 위한 도면이다.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.
제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어"있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어"있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.
본 출원에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시 예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시 예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.
도 1은 본 발명의 일 실시 예에 따른 영상 부호화 장치를 나타낸 블록도이다.
도 1을 참조하면, 영상 부호화 장치(100)는 픽쳐 분할부(110), 예측부(120, 125), 변환부(130), 양자화부(135), 재정렬부(160), 엔트로피 부호화부(165), 역양자화부(140), 역변환부(145), 필터부(150) 및 메모리(155)를 포함할 수 있다.
도 1에 나타난 각 구성부들은 영상 부호화 장치에서 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시한 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시 예 및 분리된 실시 예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.
또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.
픽쳐 분할부(110)는 입력된 픽쳐를 적어도 하나의 처리 단위로 분할할 수 있다. 이때, 처리 단위는 예측 단위(Prediction Unit: PU)일 수도 있고, 변환 단위(Transform Unit: TU)일 수도 있으며, 부호화 단위(Coding Unit: CU)일 수도 있다. 픽쳐 분할부(110)에서는 하나의 픽쳐에 대해 복수의 부호화 단위, 예측 단위 및 변환 단위의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 하나의 부호화 단위, 예측 단위 및 변환 단위 조합을 선택하여 픽쳐를 부호화 할 수 있다.
예를 들어, 하나의 픽쳐는 복수개의 부호화 단위로 분할될 수 있다. 픽쳐에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(Quad Tree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있는데 하나의 영상 또는 최대 크기 부호화 단위(largest coding unit)를 루트로 하여 다른 부호화 단위로 분할되는 부호화 유닛은 분할된 부호화 단위의 개수만큼의 자식 노드를 가지고 분할될 수 있다. 일정한 제한에 따라 더 이상 분할되지 않는 부호화 단위는 리프 노드가 된다. 즉, 하나의 코딩 유닛에 대하여 정방형 분할만이 가능하다고 가정하는 경우, 하나의 부호화 단위는 최대 4개의 다른 부호화 단위로 분할될 수 있다.
이하, 본 발명의 실시 예에서는 부호화 단위는 부호화를 수행하는 단위의 의미로 사용할 수도 있고, 복호화를 수행하는 단위의 의미로 사용할 수도 있다.
예측 단위는 하나의 부호화 단위 내에서 동일한 크기의 적어도 하나의 정사각형 또는 직사각형 등의 형태를 가지고 분할된 것일 수도 있고, 하나의 부호화 단위 내에서 분할된 예측 단위 중 어느 하나의 예측 단위가 다른 하나의 예측 단위와 상이한 형태 및/또는 크기를 가지도록 분할된 것일 수도 있다.
부호화 단위를 기초로 인트라 예측을 수행하는 예측 단위를 생성시 최소 부호화 단위가 아닌 경우, 복수의 예측 단위 NxN 으로 분할하지 않고 인트라 예측을 수행할 수 있다.
예측부(120, 125)는 인터 예측을 수행하는 인터 예측부(120)와 인트라 예측을 수행하는 인트라 예측부(125)를 포함할 수 있다. 예측 단위에 대해 인터 예측을 사용할 것인지 또는 인트라 예측을 수행할 것인지를 결정하고, 각 예측 방법에 따른 구체적인 정보(예컨대, 인트라 예측 모드, 움직임 벡터, 참조 픽쳐 등)를 결정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 예측 단위로 결정되고, 예측의 수행은 변환 단위로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 벡터 정보 등은 잔차값과 함께 엔트로피 부호화부(165)에서 부호화되어 복호화기에 전달될 수 있다. 특정한 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측 블록을 생성하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.
인터 예측부(120)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 단위를 예측할 수도 있고, 경우에 따라서는 현재 픽쳐 내의 부호화가 완료된 일부 영역의 정보를 기초로 예측 단위를 예측할 수도 있다. 인터 예측부(120)는 참조 픽쳐 보간부, 움직임 추정부, 움직임 보상부를 포함할 수 있다.
참조 픽쳐 보간부에서는 메모리(155)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.
움직임 추정부는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 정보를 생성할 수 있다. 여기서 움직임 정보는, 움직임 벡터, 참조 영상 인덱스, 예측 방향 등을 의미한다. 움직임 벡터를 추정하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터값을 가질 수 있다. 움직임 추정부에서는 움직임 추정 방법을 다르게 하여 현재 예측 단위를 예측할 수 있다. 움직임 추정 방법으로 스킵(Skip) 모드, 머지(Merge) 모드, AMVP(Advanced Motion Vector Prediction) 모드, 인트라 블록 카피(Intra Block Copy) 모드 등 다양한 방법이 사용될 수 있다.
움직임 보상부는 움직임 추정부에서 생성된 움직임 정보를 기초로 예측 단위를 생성할 수 있다.
인트라 예측부(125)는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀 정보를 기초로 예측 단위를 생성할 수 있다. 현재 예측 단위의 주변 블록이 인터 예측을 수행한 블록이어서, 참조 픽셀이 인터 예측을 수행한 픽셀일 경우, 인터 예측을 수행한 블록에 포함되는 참조 픽셀을 주변의 인트라 예측을 수행한 블록의 참조 픽셀 정보로 대체하여 사용할 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.
또한, 예측부(120, 125)에서 생성된 예측 단위를 기초로 예측을 수행한 예측 단위와 예측 단위의 원본 블록과 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(130)로 입력될 수 있다.
변환부(130)에서는 원본 블록과 예측부(120, 125)를 통해 생성된 예측 단위의 잔차값(residual)정보를 포함한 잔차 블록을 DCT(Discrete Cosine Transform), DST(Discrete Sine Transform), KLT와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지, DST를 적용할지 또는 KLT를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 단위의 인트라 예측 모드 정보를 기초로 결정할 수 있다.
양자화부(135)는 변환부(130)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(135)에서 산출된 값은 역양자화부(140)와 재정렬부(160)에 제공될 수 있다.
상기 변환부(130) 및/또는 양자화부(135)는, 영상 부호화 장치(100)에 선택적으로 포함될 수 있다. 즉, 영상 부호화 장치(100)는, 잔차 블록의 잔차 데이터에 대해 변환 또는 양자화 중 적어도 하나를 수행하거나, 변환 및 양자화를 모두 스킵하여 잔차 블록을 부호화할 수 있다. 영상 부호화 장치(100)에서 변환 또는 양자화 중 어느 하나가 수행되지 않거나, 변환 및 양자화 모두 수행되지 않더라도, 엔트로피 부호화부(165)의 입력으로 들어가는 블록을 통상적으로 변환 블록이라 일컫는다.
재정렬부(160)는 양자화된 잔차값에 대해 계수값의 재정렬을 수행할 수 있다.
재정렬부(160)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(160)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 단위의 크기 및 인트라 예측 모드에 따라 지그-재그 스캔 대신 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔이 사용될 수도 있다. 즉, 변환 단위의 크기 및 인트라 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.
엔트로피 부호화부(165)는 재정렬부(160)에 의해 산출된 값들을 기초로 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다.
엔트로피 부호화부(165)는 재정렬부(160) 및 예측부(120, 125)로부터 부호화 단위의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 단위 정보 및 전송 단위 정보, 움직임 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 부호화할 수 있다.
엔트로피 부호화부(165)에서는 재정렬부(160)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다.
역양자화부(140) 및 역변환부(145)에서는 양자화부(135)에서 양자화된 값들을 역양자화하고 변환부(130)에서 변환된 값들을 역변환한다. 역양자화부(140) 및 역변환부(145)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 인트라 예측부를 통해서 예측된 예측 단위와 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다.
필터부(150)는 양방향 필터(Bilateral filter), 디블록킹 필터, 샘플 적응적 오프셋 보정부 및 ALF(Adaptive Loop Filter) 중 적어도 하나를 포함할 수 있다.
양방향 필터는 인루프 필터 프로세싱 중 첫번째 필터이다. 양방향 필터링은, 대상 샘플을, 대상 샘플과 대상 샘플에 이웃하는 이웃 샘플들의 가중합으로 교체함으로써 수행될 수 있다. 양방향 필터는 TU를 대상으로 수행될 수 있다. 일 예로, 역양자화 또는 역변환 중 적어도 하나를 통해 TU 내 잔차 샘플이 획득되면, 획득된 잔차 샘플 및 상기 잔차 샘플에 이웃하는 이웃 잔차 샘플들을 이용하여 양방향 필터링이 수행될 수 있다.
가중합 연산에 이용되는 이웃 잔차 샘플들의 위치에 따라, 양방향 필터는 십자 모양, 정사각형 모양 또는 직사각형 모양을 띨 수 있다. 일 예로, 십자 모양은, 대상 샘플 및 대상 샘플의 상단, 좌측, 우측 및 하단에 인접한 4개의 이웃 샘플을 이용하여 양방향 필터링이 수행되는 것을 의미할 수 있다. 각 이웃 샘플에 적용되는 가중치는 대상 샘플 및 이웃 샘플 사이의 차분값에 기초하여 결정될 수 있다.
디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행 처리되도록 할 수 있다.
샘플 적응적 오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정한 수의 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.
ALF(Adaptive Loop Filtering)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 수행될 수 있다. 영상에 포함된 픽셀을 소정의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF 필터의 모양 및 필터 계수는 달라질 수 있다. 또한, 적용 대상 블록의 특성에 상관없이 동일한 형태(고정된 형태)의 ALF 필터가 적용될 수도 있다.
메모리(155)는 필터부(150)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 인터 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.
도 2는 본 발명의 일 실시 예에 따른 영상 복호화 장치를 나타낸 블록도이다.
도 2를 참조하면, 영상 복호화기(200)는 엔트로피 복호화부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230, 235), 필터부(240), 메모리(245)가 포함될 수 있다.
영상 부호화기에서 영상 비트스트림이 입력된 경우, 입력된 비트스트림은 영상 부호화기와 반대의 절차로 복호화될 수 있다.
엔트로피 복호화부(210)는 영상 부호화기의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 예를 들어, 영상 부호화기에서 수행된 방법에 대응하여 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 방법이 적용될 수 있다.
엔트로피 복호화부(210)에서는 부호화기에서 수행된 인트라 예측 및 인터 예측에 관련된 정보를 복호화할 수 있다.
재정렬부(215)는 엔트로피 복호화부(210)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부(215)에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다.
역양자화부(220)는 부호화기에서 제공된 양자화 파라미터와 재정렬된 블록의 계수값을 기초로 역양자화를 수행할 수 있다.
역변환부(225)는 영상 부호화기에서 수행한 양자화 결과에 대해 변환부에서 수행한 변환 즉, DCT, DST, 및 KLT에 대해 역변환 즉, 역 DCT, 역 DST 및 역 KLT를 수행할 수 있다. 역변환은 영상 부호화기에서 결정된 전송 단위를 기초로 수행될 수 있다. 영상 복호화기의 역변환부(225)에서는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 변환 기법(예를 들어, DCT, DST, KLT)이 선택적으로 수행될 수 있다.
예측부(230, 235)는 엔트로피 복호화부(210)에서 제공된 예측 블록 생성 관련 정보와 메모리(245)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다.
전술한 바와 같이 영상 부호화기에서의 동작과 동일하게 인트라 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 인트라 예측을 수행하지만, 인트라 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 인트라 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 N x N 분할을 사용하는 인트라 예측을 사용할 수도 있다.
예측부(230, 235)는 예측 단위 판별부, 인터 예측부 및 인트라 예측부를 포함할 수 있다. 예측 단위 판별부는 엔트로피 복호화부(210)에서 입력되는 예측 단위 정보, 인트라 예측 방법의 예측 모드 정보, 인터 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 단위에서 예측 단위를 구분하고, 예측 단위가 인터 예측을 수행하는지 아니면 인트라 예측을 수행하는지 여부를 판별할 수 있다.
인터 예측부(230)는 영상 부호화기에서 제공된 현재 예측 단위의 인터 예측에 필요한 정보(또는 움직임 정보)를 이용해 현재 예측 단위가 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 단위에 대한 인터 예측을 수행할 수 있다. 또는, 현재 예측 단위가 포함된 현재 픽쳐 내에서 기-복원된 일부 영역의 정보를 기초로 인터 예측을 수행할 수도 있다.
인터 예측을 수행하기 위해 부호화 단위를 기준으로 해당 부호화 단위에 포함된 예측 단위의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode), 인트라 블록 카피 모드 중 어떠한 방법인지 여부를 판단할 수 있다.
인트라 예측부(235)는 현재 픽쳐 내의 화소 정보를 기초로 예측 블록을 생성할 수 있다. 예측 단위가 인트라 예측을 수행한 예측 단위인 경우, 영상 부호화기에서 제공된 예측 단위의 인트라 예측 모드 정보를 기초로 인트라 예측을 수행할 수 있다. 인트라 예측부(235)에는 AIS(Adaptive Intra Smoothing) 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 부분으로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 결정하여 적용할 수 있다. 영상 부호화기에서 제공된 예측 단위의 예측 모드 및 AIS 필터 정보를 이용하여 현재 블록의 참조 화소에 AIS 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다.
참조 화소 보간부는 예측 단위의 예측 모드가 참조 화소를 보간한 화소값을 기초로 인트라 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성할 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다.
복원된 블록 또는 픽쳐는 필터부(240)로 제공될 수 있다. 필터부(240)는 양방향 필터, 디블록킹 필터, 샘플 적응적 오프셋 보정부, ALF를 포함할 수 있다.
영상 부호화기로부터, 해당 블록에 양방향 필터를 적용하였는지 여부에 대한 정보를 제공받을 수 있다. 영상 복호화기는 대상 샘플 및 이웃 샘플간의 가중합을 기초로 양방향 필터링을 수행할 수 있다. 이때, 각 이웃 샘플에 적용되는 가중치는 대상 샘플 및 이웃 샘플 사이의 차분값에 기초하여 결정될 수 있다.
영상 부호화기로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 영상 복호화기의 디블록킹 필터에서는 영상 부호화기에서 제공된 디블록킹 필터 관련 정보를 제공받고 영상 복호화기에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다.
오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값 정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.
ALF는 부호화기로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 적용될 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.
메모리(245)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력부로 제공할 수 있다.
전술한 바와 같이 이하, 본 발명의 실시 예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 단위라는 용어로 사용하지만, 부호화뿐만 아니라 복호화를 수행하는 단위가 될 수도 있다. 또한, 유닛 또는 단위는 하나의 픽쳐의 분할에 의해 생성된 영역일 수 있다. 또한, 본 발명의 실시 예에서 유닛은 블록을 의미할 수 있으며, 현재 블록은 현재 부호화 대상 블록 또는 현재 복호화 대상 블록을 의미할 수 있다.
이하, 도 3 내지 도 8을 참조하여, 움직임 벡터의 유사성에 기반한 인터 예측 방법에 대해 설명하도록 한다.
도 3은 움직임 추정을 통해 움직임 정보를 생성하는 예를 나타낸 도면이다. 움직임 추정은 이미 부호화 및 복호화가 종료된 참조 영상 내 예측 블록과 동일 또는 유사한 참조 블록이 결정되면, 상기 결정에 따라 현재 블록의 움직임 벡터, 참조 영상 인덱스 및 화면 간 예측 방향을 결정하는 것이다.
한편, 부호화/복호화 효율을 향상시키기 위해, 예측 움직임 벡터(MVP:Motion Vector Prediction)를 생성하고, 현재 블록의 움직임 벡터와 예측 움직임 벡터 사이의 차분값 (MVD : Motion Vector Difference)를 생성할 수 있다.
움직임 예측 방법으로 머지 모드가 적용되는 경우, 이웃 블록 중 현재 블록과 비교하여 가장 SAD(Sum of Absolute Difference)가 낮은 블록의 움직임 벡터를 예측 움직임 벡터(MVP)로 이용하여 머지 인덱스(merge index) 및 잔차(residual)신호를 복호화기에 전송하는 방법일 수 있다. 그리고, 머지 모드의 경우, 현재 블록의 움직임 벡터와 예측 움직임 벡터(MVP)사이의 차분값(MVD)는 복호화기로 전송하지 않을 수 있다.
반면, 움직임 예측 방법으로 AMVP 모드가 적용되는 경우, 머지 모드와 유사하게 이웃 블록의 움직임 벡터를 예측 움직임 벡터(MVP)로 이용하지만, 움직임 추정(Motion estimation)과정을 통하여 정확한 움직임 벡터를 계산하여 생성된 현재 블록의 움직임 벡터와 예측 움직임 벡터(MVP)사이의 차분값(MVD), 잔차(Residual)신호 및 기타 움직임 정보를 복호화기로 전송하는 방법일 수 있다.
도 4는 머지 모드 및 AMVP 모드에서 사용하는 이웃 블록들의 실시 예를 도시한 도면이다.
도 4를 참조하면, 현재 블록의 이웃블록은 현재 블록에 공간적으로 인접한 공간적 이웃 블록(A0, A1, A2, B0, B1, B2) 및 현재 블록에 시간적으로 인접한 시간적 이웃 블록(C0, C1)을 포함할 수 있다.
머지 모드의 경우, 공간적 머지 후보로 A1->B1->B0->A0->A2 순서로 머지 후보 리스트를 구성하고, 시간적 머지 후보인 C0이나 C1을 머지 후보 리스트에 추가할 수 있다. 만약, 머지 후보 리스트의 후보의 개수가 5개 미만인 경우 Combined bi-predictive 머지 후보 및 제로 움직임 벡터(zero MV)를 추가하여 최대 5개의 머지 후보들을 이용하여 머지 후보 리스트를 구성할 수 있다.
AMVP의 경우, (A0,A1,A2), (B0,B1,B2)를 두 개의 그룹으로 나누어 공간적 움직임 벡터 후보를 구성할 수 있다. 만약, 공간적 움직임 벡터 후보가 2개 미만인 경우, C0이나 C1으로부터 시간적 움직임 벡터 후보 또는 제로 움직임 벡터(zero MV)를 후보에 추가하여 최종 2개의 후보를 구성할 수 있다.
도 5는 본 발명의 일 실시 예에 따른 움직임 벡터의 유사성에 기초한 인터 예측 방법를 설명하기 위한 순서도이다.
도 5를 참조하면, 인터 예측(Inter prediction)이 수행되는 경우, 먼저 현재 블록의 이웃 블록이 가용한지 확인하는 단계(S510)가 수행될 수 있다. 여기서, 이웃 블록이 가용하다는 것은 이웃 블록으로부터 움직임 정보를 유도할 수 있다는 의미일 수 있다. 일 예로, 이웃 블록이 존재하지 않는 경우 또는 이웃 블록이 인트라 예측으로 부호화 된 경우에는 이웃 블록이 가용하지 않을 수 있다.
그리고, 가용한 이웃 블록들의 움직임 벡터의 방향성이 현재 블록의 움직임 벡터의 방향성과 유사한지 확인하는 단계(S520)가 수행될 수 있다. 아래와 같은 수학식 1을 이용하여 움직임 벡터의 방향성이 유사한지 여부(유사성)을 판단할 수 있다.
Figure PCTKR2018009848-appb-M000001
위와 같은 수학식 1에서, MVC 와 MVN은 각각 현재 블록의 움직임 벡터와 이웃 블록의 움직임 벡터를 의미할 수 있다. 여기서, θ 가 0o ≤ θ ≤ Xo 와 같은 범위에 존재하면, 움직임 벡터의 방향성이 유사하다고 판단할 수 있다. 일 예로, X는 90(직각)으로 설정될 수 있다. 다만, 이에 한정되지 않고 부호화기/복호화기의 설정에 따라 변경될 수 있다.
한편, 움직임 벡터의 방향성이 유사한지 여부는 아래 수학식 2와 같은 정수형 연산으로 판단할 수도 있다.
Figure PCTKR2018009848-appb-M000002
S520 단계에서, 현재 블록의 움직임 벡터와 적어도 하나의 가용한 이웃 블록의 움직임 벡터의 방향성이 모두 유사하지 않는 경우(Not similar), 머지 모드로 인터 예측이 수행될 수 있다(S530). 이때, 보간 필터는 휘도 성분에 대하여 1/4 화소 단위(pel)로 설정될 수 있다(S540).
도 6은 현재 블록의 움직임 벡터와 가용한 이웃 블록들의 움직임 벡터들의 방향성이 모두 유사하지 않는 경우를 도시한 도면이다.
현재 블록의 움직임 벡터와 적어도 하나의 가용한 이웃 블록의 움직임 벡터의 방향성이 모두 유사하지 않다는 것은 현재 블록이 회전하는 물체에 포함되거나 확대 또는 축소하는 물체에 포함되어 있는 것을 의미할 수 있다. 이 경우, SAD가 가장 낮은 이웃 블록의 움직임 벡터를 현재 블록의 예측 움직임 벡터로 이용하면 예측 블록과 원본 블록이 유사하지 않아 잔차신호 데이터가 클 확률이 높다. 따라서, 이 경우에는 MVD 등의 움직임 정보들 전송하는 AMVP 모드보다는 머지 모드를 통해 예측을 하는 것이 비트 부호화에 있어 효율적일 수 있다.
반면, S520 단계에서, 현재 블록의 움직임 벡터와 적어도 하나의 가용한 이웃 블록의 움직임 벡터의 방향성이 유사한 경우(Not similar), 가용한 이웃 블록의 움직임 벡터들의 평균값을 새로운 움직임 벡터 후보로 이용할 수 있으며(S550), 인터 예측은 머지 모드(S560) 및 AMVP 모드(S570) 중 어느 하나의 모드로 수행될 수 있다. 이때, 보간 필터는 휘도 성분에 대하여 1/8 화소 단위(pel)로 설정될 수 있다(S580).
구체적으로, 현재 블록의 움직임 벡터와 적어도 하나의 가용한 이웃 블록의 움직임 벡터의 방향성이 유사한 경우, 아래와 같은 수학식 3에 기초하여 가용한 이웃 블록의 움직임 벡터들의 평균값을 산출하고, 이를 새로운 움직임 벡터 후보로 이용할 수 있다. 여기서, 새로운 움직임 벡터 후보로 이웃 블록의 움직임 벡터들의 평균값의 예를 들었으나, 이에 한정되지 않고 이웃 블록의 움직임 벡터들의 중간값, 최소값, 최대값, 가중 평균값 도는 최빈값 중 어느 하나를 새로운 움직임 벡터 후보로 결정할 수 있다.
Figure PCTKR2018009848-appb-M000003
상기 수학식 3은, 도 4의 이웃블록 A1 및 B1이 가용하고, 이웃블록 A1 및 B1의 움직임 벡터의 방향성이 현재 블록의 움직임 벡터의 방향성과 적어도 하나 유사한 경우의 실시 예에서 적용될 수 있다.
머지 모드(S560)인 경우, 도 7과 같이 머지 후보 리스트의 마지막에 새로운 움직임 벡터 후보(avgMV)를 더 추가할 수 있다. 이에 따라, 머지 후보 리스트의 사이즈를 1 증가 시킬 수 있으며, 머지 후보 리스트에서 머지 후보를 선택하는 머지 인덱스를 추가로 정의할 수 있다. 일 예로, 머지 후보 리스트의 사이즈가 5로 정의된 경우, 머지 후보 리스트의 사이즈를 6으로 증가시킬 수 있다.
한편, 도 7의 경우 머지 후보 리스트의 마지막에 새로운 움직임 벡터 후보(avgMV)를 배치하는 것으로 설명하였으나, 이에 한정되지 않고 머지 후보 리스트의 첫번째 또는 시간적 머지 후보(Col) 앞에 배치될 수도 있다.
AMVP 모드(S570)인 경우, 새로운 움직임 벡터 후보를 추가하기 위하여 MVP 후보에서 어느 것을 사용할지 지시하는 MVP 인덱스의 제한을 1 증가 시킬 수 있다. 일 예로, MVP 인덱스가 0~1로 정의된 경우, MVP 인덱스의 범위를 0~2로 증가시킬 수 있다. 도 8과 같이, 공간적 MVP 후보 또는 시간적 MVP 후보가 2개 가용한 경우, 가용한 MVP 후보들의 평균값을 산출하여 새로운 MVP 후보로 사용할 수 있다. 이 경우, MVP 후보의 개수는 3개로, MVP 인덱스의 범위는 0~2로 정의될 수 있다. 한편, 도 8에서 공간적 MVP 후보 또는 시간적 MVP 후보가 2개 미만 가용한 경우, 제로 벡터(Zero vector)가 MVP 후보로 추가될 수 있다.
한편, S520 단계에서, 현재 블록의 움직임 벡터와 적어도 하나의 가용한 이웃 블록의 움직임 벡터의 방향성이 유사한 경우(Not similar), 가용한 이웃 블록의 움직임 벡터들의 평균값을 새로운 움직임 벡터 후보로 이용하는 할 때, 보간 필터는 휘도 성분에 대하여 1/8 화소 단위(pel)로 설정될 수 있다(S580). 이에 따라, 움직임 보상에 사용되는 보간(interpolation)을 더욱 정밀하게 수행하여 예측 성능의 향상을 기대할 수 있게 된다.
한편, 머지 모드(S560) 및 AMVP 모드(S570)의 선택은 RD-cost 비교를 통하여 부호화기에서 최종적으로 선택할 수 있으며, 선택된 예측 모드 정보는 복호화기에 전달될 수 있다.
이상, 이웃 블록의 유사성을 기초한 인터 예측 방법에 대해 알아보았다.
이하에서는, 본 발명의 일 실시 예에 따른 인터 예측을 수행하는 영상 부호화/복호화 방법에 대해 도 9 및 도 10을 참조하여 설명하도록 한다.
도 9는 본 발명의 일 실시 예에 따른 영상 부호화 방법을 설명하기 위한 도면이다.
도 9를 참조하면, 부호화기는 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성을 판단할 수 있다(S901).
여기서, 이웃 블록들은 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함할 수 있다.
유사성 판단은 상술한 수학식 1 및 수학식 2을 통하여 자세히 설명하였는바, 중복설명은 생략한다. 한편, 움직임 벡터의 유사성 판단과 관련하여, 움직임 벡터의 방향성 외에도 움직임 벡터의 크기를 기초로 판단할 수 있다.
그리고, 부호화기는 유사성 판단 결과에 따라 상기 현재 블록의 인터 예측 모드를 선택할 수 있다(S902).
여기서, 인터 예측 모드는 스킵 모드, 머지 모드 및 AMVP(Advance Motion Vector Prediction) 모드 중 적어도 하나를 포함할 수 있다.
이 경우, 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성이 없다고 판단된 경우, 현재 블록의 인터 예측 모드로 머지 모드를 선택할 수 있다. 반대로, 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성이 있다고 판단된 경우, 현재 블록의 인터 예측 모드로 머지 모드 및 AMVP 모드 중 어느 하나를 선택할 수 있다.
그리고, 부호화기는 선택된 인터 예측 모드에 따라 상기 현재 블록의 인터 예측을 수행할 수 있다(S903).
도 10은 본 발명의 일 실시 예에 따른 영상 복호화 방법을 설명하기 위한 도면이다.
도 10을 참조하면, 복호화기는 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도할 수 있다(S1001). 여기서, 움직임 정보 후보는 머지 모드의 머지 후보 또는 AMVP 모드의 예측 움직임 벡터(MVP) 후보를 의미할 수 있다.
그리고, 복호화기는 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성할 수 있다(S1002). 이 경우, 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값의 평균값을 기초로, 추가 움직임 정보 후보를 생성할 수 있다.
그리고, 복호화기는 이웃 블록들로부터 유도된 움직임 정보 후보 및 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성할 수 있다(S1003). 여기서, 추가 움직임 정보 후보는 움직임 정보 후보 리스트내에서 이웃 블록들로부터 유도된 움직임 정보 후보 뒤에 배치될 수 있다.
그리고, 복호화기는 움직임 정보 후보 리스트를 이용하여 현재 블록에 인터 예측을 수행할 수 있다(S1004).
한편, 상기 움직임 정보 후보 리스트를 이용하여 현재 블록에 인터 예측을 수행하는 단계(S1004)는, 움직임 정보 후보 리스트에서 현재 블록의 움직임 정보를 유도하는 단계, 현재 블록의 움직임 정보에 따라 참조 블록을 선택하는 단계, 참조 블록에 보간(interpolation)을 수행하는 단계 및 보간된 참조 블록에 기초하여 현재 블록의 예측 블록을 생성하는 단계를 포함할 수 있다. 이 경우, 보간(interpolation)은 휘도 성분에 대하여 1/8 화소 단위로 수행될 수 있다.
본 개시의 예시적인 방법들은 설명의 명확성을 위해서 동작의 시리즈로 표현되어 있지만, 이는 단계가 수행되는 순서를 제한하기 위한 것은 아니며, 필요한 경우에는 각각의 단계가 동시에 또는 상이한 순서로 수행될 수도 있다. 본 개시에 따른 방법을 구현하기 위해서, 예시하는 단계에 추가적으로 다른 단계를 포함하거나, 일부의 단계를 제외하고 나머지 단계를 포함하거나, 또는 일부의 단계를 제외하고 추가적인 다른 단계를 포함할 수도 있다.
본 개시의 다양한 실시 예는 모든 가능한 조합을 나열한 것이 아니고 본 개시의 대표적인 양상을 설명하기 위한 것이며, 다양한 실시 예에서 설명하는 사항들은 독립적으로 적용되거나 또는 둘 이상의 조합으로 적용될 수도 있다.
또한, 본 개시의 다양한 실시 예는 하드웨어, 펌웨어(firmware), 소프트웨어, 또는 그들의 결합 등에 의해 구현될 수 있다. 하드웨어에 의한 구현의 경우, 하나 또는 그 이상의 ASICs(Application Specific Integrated Circuits), DSPs(Digital Signal Processors), DSPDs(Digital Signal Processing Devices), PLDs(Programmable Logic Devices), FPGAs(Field Programmable Gate Arrays), 범용 프로세서(general processor), 컨트롤러, 마이크로 컨트롤러, 마이크로 프로세서 등에 의해 구현될 수 있다.
본 개시의 범위는 다양한 실시 예의 방법에 따른 동작이 장치 또는 컴퓨터 상에서 실행되도록 하는 소프트웨어 또는 머신-실행가능한 명령들(예를 들어, 운영체제, 애플리케이션, 펌웨어(firmware), 프로그램 등), 및 이러한 소프트웨어 또는 명령 등이 저장되어 장치 또는 컴퓨터 상에서 실행 가능한 비-일시적 컴퓨터-판독가능 매체(non-transitory computer-readable medium)를 포함한다.
본 발명은 영상 부호화 및 복호화하는 장치에 이용될 수 있다.

Claims (15)

  1. 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 상기 현재 블록의 움직임 벡터의 유사성을 판단하는 단계, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함;
    상기 유사성 판단 결과에 따라, 상기 현재 블록의 인터 예측 모드를 선택하는 단계, 여기서, 상기 인터 예측 모드는 스킵 모드, 머지 모드 및 AMVP(Advance Motion Vector Prediction) 모드 중 적어도 하나를 포함함; 및
    상기 선택된 인터 예측 모드에 따라 상기 현재 블록의 인터 예측을 수행하는 단계를 포함하는 영상 부호화 방법.
  2. 제1항에 있어서,
    상기 현재 블록의 인터 예측 모드를 선택하는 단계는,
    현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성이 없다고 판단된 경우, 상기 현재 블록의 인터 예측 모드로 머지 모드를 선택하는 것을 특징으로 하는 영상 부호화 방법.
  3. 제1항에 있어서,
    상기 현재 블록의 인터 예측 모드를 선택하는 단계는,
    현재 블록에 인접한 이웃 블록들의 움직임 벡터와 현재 블록의 움직임 벡터의 유사성이 있다고 판단된 경우, 상기 현재 블록의 인터 예측 모드로 머지 모드 및 AMVP 모드 중 어느 하나를 선택하는 것을 특징으로 하는 영상 부호화 방법.
  4. 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하는 단계, 여기서, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함;
    상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성하는 단계;
    상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하는 단계; 및
    상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계를 포함하는 영상 복호화 방법.
  5. 제4항에 있어서,
    상기 추가 움직임 정보 후보를 생성하는 단계는,
    상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값의 평균값을 기초로, 상기 추가 움직임 정보 후보를 생성하는 것을 특징으로 하는 영상 복호화 방법.
  6. 제4항에 있어서,
    상기 움직임 정보 후보 리스트를 생성하는 단계는,
    상기 이웃 블록들로부터 유도된 움직임 정보 후보 뒤에 상기 추가 움직임 정보 후보가 배치되는 움직임 정보 후보 리스트를 생성하는 것을 특징으로 하는 영상 복호화 방법.
  7. 제4항에 있어서,
    상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계는,
    상기 움직임 정보 후보 리스트에서 상기 현재 블록의 움직임 정보를 유도하는 단계;
    상기 현재 블록의 움직임 정보에 따라 참조 블록을 선택하는 단계;
    상기 참조 블록에 보간(interpolation)을 수행하는 단계; 및
    상기 보간된 참조 블록에 기초하여 상기 현재 블록의 예측 블록을 생성하는 단계를 포함하고,
    상기 보간(interpolation)은 휘도 성분에 대하여 1/8 화소 단위로 수행되는 것을 특징으로 하는 영상 복호화 방법.
  8. 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하는 단계, 여기서, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함;
    상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성하는 단계;
    상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하는 단계; 및
    상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계를 포함하는 영상 부호화 방법.
  9. 제8항에 있어서,
    상기 추가 움직임 정보 후보를 생성하는 단계는,
    상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값의 평균값을 기초로, 상기 추가 움직임 정보 후보를 생성하는 것을 특징으로 하는 영상 부호화 방법.
  10. 제8항에 있어서,
    상기 움직임 정보 후보 리스트를 생성하는 단계는,
    상기 이웃 블록들로부터 유도된 움직임 정보 후보 뒤에 상기 추가 움직임 정보 후보가 배치되는 움직임 정보 후보 리스트를 생성하는 것을 특징으로 하는 영상 부호화 방법.
  11. 제8항에 있어서,
    상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계는,
    상기 움직임 정보 후보 리스트에서 상기 현재 블록의 움직임 정보를 유도하는 단계;
    상기 현재 블록의 움직임 정보에 따라 참조 블록을 선택하는 단계;
    상기 참조 블록에 보간(interpolation)을 수행하는 단계; 및
    상기 보간된 참조 블록에 기초하여 상기 현재 블록의 예측 블록을 생성하는 단계를 포함하고,
    상기 보간(interpolation)은 휘도 성분에 대하여 1/8 화소 단위로 수행되는 것을 특징으로 하는 영상 부호화 방법.
  12. 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하고, 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여 추가 움직임 정보 후보를 생성하며, 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하고, 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 인터 예측부를 포함하되,
    상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함하는 영상 복호화 장치.
  13. 현재 블록에 인접한 이웃 블록들의 움직임 벡터와 상기 현재 블록의 움직임 벡터의 유사성을 판단하고, 상기 유사성 판단 결과에 따라, 상기 현재 블록의 인터 예측 모드를 선택하며, 상기 선택된 인터 예측 모드에 따라 상기 현재 블록의 인터 예측을 수행하는 인터 예측부를 포함하되,
    상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함하고, 상기 인터 예측 모드는 스킵 모드, 머지 모드 및 AMVP(Advance Motion Vector Prediction) 모드 중 적어도 하나를 포함하는 영상 부호화 장치.
  14. 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하고, 상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여 추가 움직임 정보 후보를 생성하며, 상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하고, 상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 인터 예측부를 포함하되,
    상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함하는 영상 부호화 장치.
  15. 현재 블록에 인접한 이웃 블록들로부터 움직임 정보 후보들을 유도하는 단계, 여기서, 상기 이웃 블록들은 상기 현재 블록에 공간적으로 인접한 공간적 이웃블록 및 상기 현재 블록에 시간적으로 인접한 시간적 이웃블록 중 적어도 하나를 포함함;
    상기 이웃 블록들로부터 유도된 움직임 정보 후보들의 움직임 벡터 값에 기초하여, 추가 움직임 정보 후보를 생성하는 단계;
    상기 이웃 블록들로부터 유도된 움직임 정보 후보 및 상기 추가 움직임 정보 후보를 포함하는 움직임 정보 후보 리스트를 생성하는 단계; 및
    상기 움직임 정보 후보 리스트를 이용하여 상기 현재 블록에 인터 예측을 수행하는 단계를 포함하는 영상 부호화 방법에 의해 생성된 비트스트림을 저장한 기록 매체.
PCT/KR2018/009848 2017-08-29 2018-08-27 영상 부호화/복호화 방법 및 장치 WO2019045383A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170109303A KR102435445B1 (ko) 2017-08-29 2017-08-29 영상 부호화/복호화 방법 및 장치
KR10-2017-0109303 2017-08-29

Publications (1)

Publication Number Publication Date
WO2019045383A1 true WO2019045383A1 (ko) 2019-03-07

Family

ID=65525929

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/009848 WO2019045383A1 (ko) 2017-08-29 2018-08-27 영상 부호화/복호화 방법 및 장치

Country Status (2)

Country Link
KR (1) KR102435445B1 (ko)
WO (1) WO2019045383A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013098745A (ja) * 2011-10-31 2013-05-20 Fujitsu Ltd 動画像復号装置、動画像符号化装置、動画像復号方法、動画像符号化方法、動画像復号プログラム及び動画像符号化プログラム
KR101483174B1 (ko) * 2013-07-25 2015-01-20 에스케이텔레콤 주식회사 움직임 벡터 부호화 방법 및 장치와 그를 이용한 영상 부호화/복호화 방법 및 장치
KR20150105346A (ko) * 2012-11-23 2015-09-16 인텔렉추얼디스커버리 주식회사 움직임 정보 병합을 이용한 비디오 부호화/복호화 방법 및 장치
WO2017022973A1 (ko) * 2015-08-04 2017-02-09 엘지전자 주식회사 비디오 코딩 시스템에서 인터 예측 방법 및 장치
KR20170059423A (ko) * 2015-11-20 2017-05-30 한국전자통신연구원 기하 변환 영상을 이용하는 영상의 부호화/복호화 방법 및 장치

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101423648B1 (ko) * 2011-09-09 2014-07-28 주식회사 케이티 화면 간 예측 수행시 후보 블록 결정 방법 및 이러한 방법을 사용하는 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013098745A (ja) * 2011-10-31 2013-05-20 Fujitsu Ltd 動画像復号装置、動画像符号化装置、動画像復号方法、動画像符号化方法、動画像復号プログラム及び動画像符号化プログラム
KR20150105346A (ko) * 2012-11-23 2015-09-16 인텔렉추얼디스커버리 주식회사 움직임 정보 병합을 이용한 비디오 부호화/복호화 방법 및 장치
KR101483174B1 (ko) * 2013-07-25 2015-01-20 에스케이텔레콤 주식회사 움직임 벡터 부호화 방법 및 장치와 그를 이용한 영상 부호화/복호화 방법 및 장치
WO2017022973A1 (ko) * 2015-08-04 2017-02-09 엘지전자 주식회사 비디오 코딩 시스템에서 인터 예측 방법 및 장치
KR20170059423A (ko) * 2015-11-20 2017-05-30 한국전자통신연구원 기하 변환 영상을 이용하는 영상의 부호화/복호화 방법 및 장치

Also Published As

Publication number Publication date
KR20190023478A (ko) 2019-03-08
KR102435445B1 (ko) 2022-08-22

Similar Documents

Publication Publication Date Title
WO2017052000A1 (ko) 영상 코딩 시스템에서 움직임 벡터 정제 기반 인터 예측 방법 및 장치
WO2013069932A1 (ko) 영상의 부호화 방법 및 장치, 및 복호화 방법 및 장치
WO2011149291A2 (ko) 비디오 신호의 처리 방법 및 장치
WO2019240448A1 (ko) 성분 간 참조 기반의 비디오 신호 처리 방법 및 장치
WO2016200043A1 (ko) 비디오 코딩 시스템에서 가상 참조 픽처 기반 인터 예측 방법 및 장치
WO2013157820A1 (ko) 고속 에지 검출을 이용하는 비디오 부호화 방법 및 장치, 그 비디오 복호화 방법 및 장치
WO2016006894A1 (ko) 비디오 신호의 처리 방법 및 이를 위한 장치
WO2018056602A1 (ko) 영상 코딩 시스템에서 인터 예측 방법 및 장치
WO2019112071A1 (ko) 영상 코딩 시스템에서 크로마 성분의 효율적 변환에 기반한 영상 디코딩 방법 및 장치
WO2018066791A1 (ko) 영상 코딩 시스템에서 영상 디코딩 방법 및 장치
WO2022114742A1 (ko) 비디오 부호화 및 복호화를 위한 장치 및 방법
WO2018084344A1 (ko) 영상 코딩 시스템에서 영상 디코딩 방법 및 장치
WO2020185050A1 (ko) 인트라 블록 복사를 이용하는 영상 부호화 및 복호화
WO2013069976A1 (ko) 영상의 부호화 방법 및 장치, 그리고 영상의 복호화 방법 및 장치
WO2023038447A1 (ko) 비디오 부호화/복호화 방법 및 장치
WO2018066874A1 (ko) 비디오 신호의 복호화 방법 및 이의 장치
WO2019045383A1 (ko) 영상 부호화/복호화 방법 및 장치
WO2023022376A1 (ko) 개선된 인루프 필터를 이용하는 비디오 코딩방법 및 장치
WO2022191525A1 (ko) 나선스캔 순서를 이용하는 비디오 코딩방법 및 장치
WO2023132509A1 (ko) 공간적 상관성을 이용하는 디코더측 움직임벡터 유도를 위한 방법
WO2022031003A1 (ko) 영상 부/복호화 장치에서 이용하는 양자화 파라미터 예측 방법
WO2023182673A1 (ko) 컨텍스트 모델 초기화를 사용하는 비디오 코딩을 위한 방법 및 장치
WO2023132508A1 (ko) 크로마 성분을 위한 템플릿 기반 인트라 모드 유도를 위한 방법
WO2023075120A1 (ko) 다양한 블록 분할 구조를 이용하는 비디오 코딩방법 및 장치
WO2024053987A1 (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: 18851757

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: 18851757

Country of ref document: EP

Kind code of ref document: A1