[go: up one dir, main page]

WO2017069591A1 - Procédé et dispositif de filtrage d'image dans un système de codage d'image - Google Patents

Procédé et dispositif de filtrage d'image dans un système de codage d'image Download PDF

Info

Publication number
WO2017069591A1
WO2017069591A1 PCT/KR2016/011949 KR2016011949W WO2017069591A1 WO 2017069591 A1 WO2017069591 A1 WO 2017069591A1 KR 2016011949 W KR2016011949 W KR 2016011949W WO 2017069591 A1 WO2017069591 A1 WO 2017069591A1
Authority
WO
WIPO (PCT)
Prior art keywords
target block
filtering
motion vector
prediction
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/KR2016/011949
Other languages
English (en)
Korean (ko)
Inventor
남정학
손은용
박내리
허진
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics Inc
Original Assignee
LG Electronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LG Electronics Inc filed Critical LG Electronics Inc
Publication of WO2017069591A1 publication Critical patent/WO2017069591A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness

Definitions

  • the present invention relates to image coding technology, and more particularly, to an image filtering method and apparatus in an image coding system.
  • video quality of the terminal device can be supported and the network environment is diversified, in general, video of general quality may be used in one environment, but higher quality video may be used in another environment. .
  • a consumer who purchases video content on a mobile terminal can view the same video content on a larger screen and at a higher resolution through a large display in the home.
  • An object of the present invention is to provide a method and apparatus for improving image coding efficiency.
  • Another object of the present invention is to provide a method and apparatus for improving the subjective / objective picture quality of a reconstructed picture.
  • Another technical problem of the present invention is to provide a filtering method and apparatus using a motion vector of a prediction target block.
  • Another technical problem of the present invention is to provide a filtering method and apparatus through weighted sum of a prediction sample derived based on a motion vector of a prediction target block and a reconstruction sample of a filtering target block.
  • an image decoding method performed by a decoding apparatus.
  • the method may include deriving a motion vector of a prediction target block, deriving a prediction sample for the prediction target block based on the motion vector, and deriving a filtering target block based on neighboring blocks of the prediction target block. Deriving a filtering target region in the filtering target block, and performing filtering on a reconstructed sample in the filtering target region based on a prediction sample of the prediction target block.
  • a decoding apparatus for performing inter prediction.
  • the decoding apparatus derives a motion vector of a prediction target block, a prediction unit for deriving a prediction sample for the prediction target block based on the motion vector, and derives a filtering target block based on neighboring blocks of the prediction target block.
  • a filter unit for deriving a filtering target region in the filtering target block and performing filtering on the reconstructed sample in the filtering target region based on a prediction sample of the prediction target block.
  • a video encoding method performed by an encoding apparatus may include deriving a motion vector of a prediction target block, deriving a prediction sample for the prediction target block based on the motion vector, and deriving a filtering target block based on neighboring blocks of the prediction target block. Determining a filtering target region in the filtering target block, performing filtering on a reconstructed sample in the filtering target region based on a prediction sample of the prediction target block, and information on filtering performed on the reconstructed sample It characterized in that it comprises the step of encoding and outputting.
  • a video encoding apparatus derives a motion vector of the prediction target block, a prediction unit for deriving a prediction sample for the prediction target block based on the motion vector, and derives a filtering target block based on neighboring blocks of the prediction target block.
  • a filter unit configured to determine a filtering target region in the filtering target block, and to perform filtering on the reconstructed sample in the filtering target region based on a prediction sample of the prediction target block, and a filtering performed on the reconstructed sample.
  • an entropy encoding unit for encoding and outputting the information.
  • subjective / objective image quality may be improved by filtering reconstructed samples in the neighboring block of the prediction target block.
  • filtering can be performed by weighted sum of neighboring reconstructed samples at the boundary of the predicted sample and the predicted block derived based on the motion vector of the predicted block, thereby reducing errors between blocks and subjective. Can improve the objective image quality.
  • FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram schematically illustrating a video decoding apparatus according to an embodiment of the present invention.
  • FIG. 3 illustrates positions of neighboring blocks usable in a prediction target block used in image encoding / decoding.
  • FIG. 4 illustrates an example of filtering a neighboring block using a motion vector of a prediction target block.
  • FIG. 5 illustrates an example of a process of filtering a neighboring block based on a motion vector of a prediction target block.
  • FIG 6 illustrates an example of filtering target block candidates.
  • FIG. 7 illustrates an example of comparing motion vectors to derive the filtering target block.
  • FIG. 8 illustrates an example of weights for performing filtering on reconstructed samples in the filtering region.
  • FIG. 9 schematically illustrates a video encoding method by an encoding device according to the present invention.
  • FIG. 10 schematically illustrates a video decoding method by a decoding apparatus according to the present invention.
  • each of the components in the drawings described in the present invention are shown independently for the convenience of description of the different characteristic functions in the video encoding apparatus / decoding apparatus, each component is a separate hardware or separate software It does not mean that it is implemented.
  • two or more of each configuration may be combined to form one configuration, or one configuration may be divided into a plurality of configurations.
  • Embodiments in which each configuration is integrated and / or separated are also included in the present invention without departing from the spirit of the present invention.
  • FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
  • the encoding apparatus 100 may include a picture divider 105, a predictor 110, a transformer 115, a quantizer 120, a reordering unit 125, an entropy encoding unit 130, An inverse quantization unit 135, an inverse transform unit 140, a filter unit 145, and a memory 150 are provided.
  • the picture dividing unit 105 may divide the input picture into at least one processing unit block.
  • the block as the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU).
  • a picture may be composed of a plurality of coding tree units (CTUs), and each CTU may be split into CUs in a quad-tree structure.
  • a CU may be divided into quad tree structures with CUs of a lower depth.
  • PU and TU may be obtained from a CU.
  • a PU may be partitioned from a CU into a symmetrical or asymmetrical square structure.
  • the TU may also be divided into quad tree structures from the CU.
  • the predictor 110 includes an inter predictor for performing inter prediction and an intra predictor for performing intra prediction, as described below.
  • the prediction unit 110 performs prediction on the processing unit of the picture in the picture division unit 105 to generate a prediction block including a prediction sample (or a prediction sample array).
  • the processing unit of the picture in the prediction unit 110 may be a CU, a TU, or a PU.
  • the prediction unit 110 may determine whether the prediction performed on the processing unit is inter prediction or intra prediction, and determine specific contents (eg, prediction mode, etc.) of each prediction method.
  • the processing unit in which the prediction is performed and the processing unit in which the details of the prediction method and the prediction method are determined may be different.
  • the method of prediction and the prediction mode may be determined in units of PUs, and the prediction may be performed in units of TUs.
  • a prediction block may be generated by performing prediction based on information of at least one picture of a previous picture and / or a subsequent picture of the current picture.
  • a prediction block may be generated by performing prediction based on pixel information in a current picture.
  • a skip mode, a merge mode, an advanced motion vector prediction (AMVP), and the like can be used.
  • a reference picture may be selected for a PU and a reference block corresponding to the PU may be selected.
  • the reference block may be selected in units of integer pixels (or samples) or fractional pixels (or samples).
  • a predictive block is generated in which a residual signal with the PU is minimized and the size of the motion vector is also minimized.
  • the prediction block may be generated in integer pixel units, or may be generated in sub-pixel units such as 1/2 pixel unit or 1/4 pixel unit.
  • the motion vector may also be expressed in units of integer pixels or less.
  • Information such as an index of a reference picture selected through inter prediction, a motion vector difference (MDV), a motion vector predictor (MVP), a residual signal, and the like may be entropy encoded and transmitted to a decoding apparatus.
  • MDV motion vector difference
  • MVP motion vector predictor
  • the residual may be used as the reconstructed block, and thus the residual may not be generated, transformed, quantized, or transmitted.
  • a prediction mode When performing intra prediction, a prediction mode may be determined in units of PUs, and prediction may be performed in units of PUs. In addition, a prediction mode may be determined in units of PUs, and intra prediction may be performed in units of TUs.
  • the prediction mode may have, for example, 33 directional prediction modes and at least two non-directional modes.
  • the non-directional mode may include a DC prediction mode and a planner mode (Planar mode).
  • a prediction block may be generated after applying a filter to a reference sample.
  • whether to apply the filter to the reference sample may be determined according to the intra prediction mode and / or the size of the current block.
  • the residual value (the residual block or the residual signal) between the generated prediction block and the original block is input to the converter 115.
  • the prediction mode information, the motion vector information, etc. used for the prediction are encoded by the entropy encoding unit 130 together with the residual value and transmitted to the decoding apparatus.
  • the transform unit 115 performs transform on the residual block in units of transform blocks and generates transform coefficients.
  • the transform block is a rectangular block of samples to which the same transform is applied.
  • the transform block can be a transform unit (TU) and can have a quad tree structure.
  • the transformer 115 may perform the transformation according to the prediction mode applied to the residual block and the size of the block.
  • the residual block is transformed using a discrete sine transform (DST), otherwise the residual block is transformed into a DCT (Discrete). Can be transformed using Cosine Transform.
  • DST discrete sine transform
  • DCT Discrete
  • the transform unit 115 may generate a transform block of transform coefficients by the transform.
  • the quantization unit 120 may generate quantized transform coefficients by quantizing the residual values transformed by the transform unit 115, that is, the transform coefficients.
  • the value calculated by the quantization unit 120 is provided to the inverse quantization unit 135 and the reordering unit 125.
  • the reordering unit 125 rearranges the quantized transform coefficients provided from the quantization unit 120. By rearranging the quantized transform coefficients, the encoding efficiency of the entropy encoding unit 130 may be increased.
  • the reordering unit 125 may rearrange the quantized transform coefficients in the form of a 2D block into a 1D vector form through a coefficient scanning method.
  • the entropy encoding unit 130 entropy-codes a symbol according to a probability distribution based on the quantized transform values rearranged by the reordering unit 125 or the encoding parameter value calculated in the coding process, thereby performing a bitstream. You can output The entropy encoding method receives a symbol having various values and expresses it as a decodable column while removing statistical redundancy.
  • the symbol means a syntax element, a coding parameter, a value of a residual signal, etc., to be encoded / decoded.
  • An encoding parameter is a parameter necessary for encoding and decoding, and may include information that may be inferred in the encoding or decoding process as well as information encoded by an encoding device and transmitted to the decoding device, such as a syntax element. It means the information you need when you do.
  • the encoding parameter may be, for example, a value such as an intra / inter prediction mode, a moving / motion vector, a reference image index, a coding block pattern, a residual signal presence, a transform coefficient, a quantized transform coefficient, a quantization parameter, a block size, block partitioning information, or the like. May include statistics.
  • the residual signal may mean a difference between the original signal and the prediction signal, and a signal in which the difference between the original signal and the prediction signal is transformed or a signal in which the difference between the original signal and the prediction signal is converted and quantized It may mean.
  • the residual signal may be referred to as a residual block in the block unit, and the residual sample in the sample unit.
  • Encoding methods such as exponential golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC) may be used for entropy encoding.
  • the entropy encoding unit 130 may store a table for performing entropy encoding, such as a variable length coding (VLC) table, and the entropy encoding unit 130 may store the variable length coding. Entropy encoding can be performed using the (VLC) table.
  • the entropy encoding unit 130 derives the binarization method of the target symbol and the probability model of the target symbol / bin, and then uses the derived binarization method or the probability model to entropy. You can also perform encoding.
  • the entropy encoding unit 130 may apply a constant change to a parameter set or syntax to be transmitted.
  • the inverse quantizer 135 inversely quantizes the quantized values (quantized transform coefficients) in the quantizer 120, and the inverse transformer 140 inversely transforms the inverse quantized values in the inverse quantizer 135.
  • the residual value (or the residual sample or the residual sample array) generated by the inverse quantizer 135 and the inverse transform unit 140 and the prediction block predicted by the predictor 110 are added together to reconstruct the sample (or the reconstructed sample array).
  • a reconstructed block including a may be generated.
  • a reconstructed block is generated by adding a residual block and a prediction block through an adder.
  • the adder may be viewed as a separate unit (restore block generation unit) for generating a reconstruction block.
  • the filter unit 145 may apply a deblocking filter, an adaptive loop filter (ALF), and a sample adaptive offset (SAO) to the reconstructed picture.
  • ALF adaptive loop filter
  • SAO sample adaptive offset
  • the deblocking filter may remove distortion generated at the boundary between blocks in the reconstructed picture.
  • the adaptive loop filter may perform filtering based on a value obtained by comparing the reconstructed image with the original image after the block is filtered through the deblocking filter. ALF may be performed only when high efficiency is applied.
  • the SAO restores the offset difference from the original image on a pixel-by-pixel basis for the residual block to which the deblocking filter is applied, and is applied in the form of a band offset and an edge offset.
  • the filter unit 145 may not apply filtering to the reconstructed block used for inter prediction.
  • the memory 150 may store the reconstructed block or the picture calculated by the filter unit 145.
  • the reconstructed block or picture stored in the memory 150 may be provided to the predictor 110 that performs inter prediction.
  • the video decoding apparatus 200 includes an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, and a filter unit 235.
  • Memory 240 may be included.
  • the input bitstream may be decoded according to a procedure in which image information is processed in the video encoding apparatus.
  • the entropy decoding unit 210 may entropy decode the input bitstream according to a probability distribution to generate symbols including symbols in the form of quantized coefficients.
  • the entropy decoding method is a method of generating each symbol by receiving a binary string.
  • the entropy decoding method is similar to the entropy encoding method described above.
  • VLC variable length coding
  • 'VLC' variable length coding
  • CABAC CABAC
  • the CABAC entropy decoding method receives a bin corresponding to each syntax element in a bitstream, and decodes syntax element information and decoding information of neighboring and decoding target blocks or information of symbols / bins decoded in a previous step.
  • the context model may be determined using the context model, the probability of occurrence of a bin may be predicted according to the determined context model, and arithmetic decoding of the bin may be performed to generate a symbol corresponding to the value of each syntax element. have.
  • the CABAC entropy decoding method may update the context model by using the information of the decoded symbol / bin for the context model of the next symbol / bean after determining the context model.
  • Information for generating the prediction block among the information decoded by the entropy decoding unit 210 is provided to the predictor 230, and a residual value where entropy decoding is performed by the entropy decoding unit 210, that is, a quantized transform coefficient It may be input to the reordering unit 215.
  • the reordering unit 215 may reorder the information of the bitstream entropy decoded by the entropy decoding unit 210, that is, the quantized transform coefficients, based on the reordering method in the encoding apparatus.
  • the reordering unit 215 may reorder the coefficients expressed in the form of a one-dimensional vector by restoring the coefficients in the form of a two-dimensional block.
  • the reordering unit 215 scans the coefficients based on the prediction mode applied to the current block (transform block) and the size of the transform block to generate an array of coefficients (quantized transform coefficients) in the form of a two-dimensional block. Can be.
  • the inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoding apparatus and the coefficient values of the rearranged block.
  • the inverse transform unit 225 may perform inverse DCT and / or inverse DST on the DCT and the DST performed by the transform unit of the encoding apparatus with respect to the quantization result performed by the video encoding apparatus.
  • the inverse transformation may be performed based on a transmission unit determined by the encoding apparatus or a division unit of an image.
  • the DCT and / or DST in the encoding unit of the encoding apparatus may be selectively performed according to a plurality of pieces of information, such as a prediction method, a size and a prediction direction of the current block, and the inverse transform unit 225 of the decoding apparatus is configured in the transformation unit of the encoding apparatus.
  • Inverse transformation may be performed based on the performed transformation information.
  • the prediction unit 230 may include prediction samples (or prediction sample arrays) based on prediction block generation related information provided by the entropy decoding unit 210 and previously decoded block and / or picture information provided by the memory 240.
  • a prediction block can be generated.
  • intra prediction for generating a prediction block based on pixel information in the current picture may be performed.
  • inter prediction on the current PU may be performed based on information included in at least one of a previous picture or a subsequent picture of the current picture.
  • motion information required for inter prediction of the current PU provided by the video encoding apparatus for example, a motion vector, a reference picture index, and the like, may be derived by checking a skip flag, a merge flag, and the like received from the encoding apparatus.
  • a prediction block may be generated such that a residual signal with a current block is minimized and a motion vector size is also minimized.
  • the motion information derivation scheme may vary depending on the prediction mode of the current block.
  • Prediction modes applied for inter prediction may include an advanced motion vector prediction (AMVP) mode, a merge mode, and the like.
  • AMVP advanced motion vector prediction
  • the encoding apparatus and the decoding apparatus may generate a merge candidate list by using the motion vector of the reconstructed spatial neighboring block and / or the motion vector corresponding to the Col block, which is a temporal neighboring block.
  • the motion vector of the candidate block selected from the merge candidate list is used as the motion vector of the current block.
  • the encoding apparatus may transmit, to the decoding apparatus, a merge index indicating a candidate block having an optimal motion vector selected from candidate blocks included in the merge candidate list. In this case, the decoding apparatus may derive the motion vector of the current block by using the merge index.
  • the encoding device and the decoding device use a motion vector corresponding to a motion vector of a reconstructed spatial neighboring block and / or a Col block, which is a temporal neighboring block, and a motion vector.
  • a predictor candidate list may be generated. That is, the motion vector of the reconstructed spatial neighboring block and / or the Col vector, which is a temporal neighboring block, may be used as a motion vector candidate.
  • the encoding apparatus may transmit the predicted motion vector index indicating the optimal motion vector selected from the motion vector candidates included in the list to the decoding apparatus. In this case, the decoding apparatus may select the predicted motion vector of the current block among the motion vector candidates included in the motion information candidate list using the motion vector index.
  • the encoding apparatus may obtain a motion vector difference MVD between the motion vector MV of the current block and the motion vector predictor MVP, and may encode the same and transmit the encoded motion vector to the decoding device. That is, MVD may be obtained by subtracting MVP from MV of the current block.
  • the decoding apparatus may decode the received motion vector difference and derive the motion vector of the current block through the addition of the decoded motion vector difference and the motion vector predictor.
  • the encoding apparatus may also transmit a reference picture index or the like indicating the reference picture to the decoding apparatus.
  • the decoding apparatus may predict the motion vector of the current block using the motion information of the neighboring block, and may derive the motion vector for the current block using the residual received from the encoding apparatus.
  • the decoding apparatus may generate a prediction block for the current block based on the derived motion vector and the reference picture index information received from the encoding apparatus.
  • the encoding apparatus and the decoding apparatus may generate the merge candidate list using the motion information of the reconstructed neighboring block and / or the motion information of the call block. That is, the encoding apparatus and the decoding apparatus may use this as a merge candidate for the current block when there is motion information of the reconstructed neighboring block and / or the call block.
  • the encoding apparatus may select a merge candidate capable of providing an optimal encoding efficiency among the merge candidates included in the merge candidate list as motion information for the current block.
  • a merge index indicating the selected merge candidate may be included in the bitstream and transmitted to the decoding apparatus.
  • the decoding apparatus may select one of the merge candidates included in the merge candidate list by using the transmitted merge index, and determine the selected merge candidate as motion information of the current block. Therefore, when the merge mode is applied, motion information corresponding to the reconstructed neighboring block and / or the call block may be used as the motion information of the current block.
  • the decoding apparatus may reconstruct the current block by adding the prediction block and the residual transmitted from the encoding apparatus.
  • the motion information of the reconstructed neighboring block and / or the motion information of the call block may be used to derive the motion information of the current block.
  • the encoding apparatus does not transmit syntax information such as residual to the decoding apparatus other than information indicating which block motion information to use as the motion information of the current block.
  • the encoding apparatus and the decoding apparatus may generate the prediction block of the current block by performing motion compensation on the current block based on the derived motion information.
  • the prediction block may mean a motion compensated block generated as a result of performing motion compensation on the current block.
  • the plurality of motion compensated blocks may constitute one motion compensated image.
  • the reconstruction block may be generated using the prediction block generated by the predictor 230 and the residual block provided by the inverse transform unit 225.
  • the reconstructed block is generated by combining the prediction block and the residual block in the adder.
  • the adder may be viewed as a separate unit (restore block generation unit) for generating a reconstruction block.
  • the reconstruction block includes a reconstruction sample (or reconstruction sample array) as described above
  • the prediction block includes a prediction sample (or a prediction sample array)
  • the residual block is a residual sample (or a residual sample). Array).
  • a reconstructed sample (or reconstructed sample array) may be expressed as the sum of the corresponding predictive sample (or predictive sample array) and the residual sample (residual sample array).
  • the residual is not transmitted for the block to which the skip mode is applied, and the prediction block may be a reconstruction block.
  • the reconstructed block and / or picture may be provided to the filter unit 235.
  • the filter unit 235 may apply deblocking filtering, sample adaptive offset (SAO), and / or ALF to the reconstructed block and / or picture.
  • SAO sample adaptive offset
  • the memory 240 may store the reconstructed picture or block to use as a reference picture or reference block and provide the reconstructed picture to the output unit.
  • Components directly related to the decoding of an image for example, an entropy decoding unit 210, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, and a filter unit ( 235) and the like may be distinguished from other components by a decoder or a decoder.
  • the decoding apparatus 200 may further include a parsing unit (not shown) for parsing information related to the encoded image included in the bitstream.
  • the parsing unit may include the entropy decoding unit 210 or may be included in the entropy decoding unit 210. Such a parser may also be implemented as one component of the decoder.
  • the compression coding process of the image is performed in units of blocks, distortion may occur at boundaries between blocks in the reconstructed picture.
  • the neighboring block of the predicted block that has already been decoded is filtered to the neighboring block. Can improve the quality.
  • image compression may divide an image into specific block units (eg, coding tree units, CTUs), and encode and decode blocks by one block in a sequential order from the upper left of the image.
  • the order may be a raster scan order.
  • the prediction target block in order to remove spatial and temporal redundancy, may be encoded and decoded by referring to information of neighboring blocks that have been encoded and decoded among neighboring blocks of the prediction target block.
  • a usable peripheral block may be a left peripheral block, an upper peripheral block, a left-above peripheral block, or a right-above peripheral block.
  • the information of the prediction target block may also be used to improve visual quality of neighboring blocks that are already decoded.
  • the present invention provides a method for improving the quality of the neighboring block based on the motion information of the prediction target block.
  • samples (or pixels) located at the boundary of the block may have a relatively large quantization error. Blocking degradation may occur.
  • filtering By applying filtering to a sample located at the boundary of the neighboring block based on the motion vector of the prediction target block, an error of the sample located at the boundary of the neighboring block can be reduced.
  • a prediction sample of a sample located at the boundary of the neighboring block may be derived based on the motion vector of the prediction target block, and the value of the sample located at the boundary of the prediction sample and the neighboring block is determined. Filtering may be performed through a weight sum of.
  • a filtering target region may be determined based on a motion vector of the prediction target block, and filtering may be performed on the filtering target region.
  • the filtering subject region may include samples located at a boundary of at least one of the above-described neighboring blocks.
  • FIG. 5 illustrates an example of a process of filtering a neighboring block based on a motion vector of a prediction target block.
  • the encoding apparatus and the decoding apparatus are provided through the filtering target block determining unit 500, the filtering target region determining unit 510, the filter parameter deriving unit 520, and the filtering execution unit 530. Filtering can be performed on neighboring blocks.
  • the filtering target block determiner 500 may derive a filtering target block to perform filtering among neighboring blocks adjacent to the prediction target block.
  • the size of the filtering target block may be the same as or different from the size of the prediction target block.
  • the filtering object block may be derived using a motion vector of the prediction object block.
  • the filtering target region determiner 510 may derive a boundary region adjacent to the prediction target block to be filtered in the filtering target block.
  • the filtering target region may be variably determined according to the size of the filtering target block.
  • the filtering parameter derivation unit 520 may derive whether to perform filtering on the filtering target region and a weight value used for filtering.
  • the filtering performing unit 530 may perform the filtering derived by the filter parameter deriving unit 520 on a region determined by the filtering target region determining unit 510 with respect to the block determined by the filtering target block determining unit 500. Filtering can be applied using the presence and absence of filter parameters.
  • the filtering target block determining unit 500, the filtering target region determining unit 510, the filter parameter deriving unit 520, and the filtering performing unit 530 may be included in a filter unit, and may be implemented by a processor. Can be.
  • the filtering target block determiner 500 may derive a neighboring block to perform filtering among neighboring blocks adjacent to the prediction target block. Conditions derived to the filtering target block may be as follows.
  • the filtering target block may be one of a left neighboring block, an upper neighboring block, and the upper left neighboring block among adjacent neighboring blocks of the prediction object block.
  • the motion information of the filtering target block may be different from the motion information of the prediction target block.
  • the motion information may include a motion vector and a reference picture index associated with the motion vector.
  • FIG. 5 illustrates the filtering target block determining unit 500, the filtering target region determining unit 510, the filter parameter deriving unit 520, and the filtering performing unit 530 separately according to functions.
  • the filtering target block determining unit 500, the filtering target region determining unit 510, the filter parameter deriving unit 520, and the filtering performing unit 530 may be included in a filter unit. . That is, all of the above functions may be performed by one filter unit.
  • the filtering target block candidate may include not only the neighboring block to which the inter prediction mode is applied but also the neighboring block to which the intra prediction mode is applied.
  • the filtering target block candidate may be derived as the filtering target block.
  • the motion vector of the prediction target block may be included in the motion information of the prediction target block.
  • the motion information of the prediction target block may be bi-predicted motion information or may be L0 or L1 predicted motion information.
  • the L0 or L1 predicted motion information may also be referred to as uni-predicted motion information.
  • the bi-predicted motion information may include an L0 motion vector and an L1 motion vector, and the unipredicted motion information may include only one of the L0 motion vector and the L1 motion vector.
  • the L0 motion vector represents a motion vector relating to L0 prediction
  • the L1 motion vector represents a motion vector relating to L1 prediction
  • L0 represents a reference picture list L0 (list 0)
  • L1 represents a reference picture list L1 (list 1).
  • the motion information of the prediction target block is bi-predictive motion information
  • the L0 reference picture index, the L0 motion vector, the L1 reference picture index, and the L1 motion vector may be included.
  • the motion information of the prediction block is unipredicted motion information
  • the L0 reference picture index and the L0 motion vector may be included, or the L1 reference picture index and the L1 motion vector may be included.
  • the filtering target block candidate When the motion information of the prediction target block is mono-predictive motion information, if the filtering target block candidate has the same reference picture index and the motion vector as the reference picture index and the motion vector of the prediction target block, the filtering target block candidate is the It may not be derived to the filtering target block.
  • the filtering target block candidate when the unipredicted motion information of the prediction target block includes an L0 reference picture index and an L0 motion vector, and the same as the L0 reference picture index and the L0 motion vector of the filtering target block candidate, the filtering target block candidate may be used. It may not be derived to the filtering target block.
  • the filtering target block candidate is the It may not be derived to the filtering target block.
  • the filtering target block candidate when the filtering target block candidate has the same reference picture index as the reference picture index of the prediction target block, but the motion vector is different, it may be derived as the filtering target block.
  • the short-predicted motion information of the prediction target block includes an L0 reference picture index and an L0 motion vector, the L0 reference picture index of the filtering target block candidate and the L0 reference picture index of the prediction target block are the same, and
  • the filtering target block candidate may be derived as the filtering target block.
  • the unidirectional motion information of the prediction target block includes an L1 reference picture index and an L1 motion vector
  • the L1 reference picture index of the filtering target block candidate and the L1 reference picture index of the prediction target block are the same
  • the filtering target block candidate may be derived as the filtering target block.
  • the motion information of the filtering target block candidate matches both the L0 prediction motion information of the prediction target block and the L1 prediction motion information of the prediction target block.
  • the filtering target block candidate may not be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering may be performed based on the L0 motion vector of the prediction target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering may be performed based on the L1 motion vector of the prediction target block.
  • the filtering target block candidate does not match both the L0 prediction motion information of the prediction target block and the L1 prediction motion information of the prediction target block, the L0 motion vector and the prediction target block of the prediction target block.
  • the filtering may be performed based on the L1 motion vector.
  • the weight value is different. Can be.
  • FIG. 7 illustrates an example of comparing motion vectors to derive the filtering target block.
  • FIG. 7A illustrates an example of comparing motion vectors when the size of the filtering target block candidate is the same as the size of the prediction target block.
  • FIG. 7B illustrates an example of comparing motion vectors when the size of the filtering target block candidates is smaller than the size of the prediction target block.
  • filtering may be performed on the prediction target block side of the filtering target block.
  • the filtering target block candidate may be derived as a filtering target block, and a boundary where the boundary of the prediction target block and the boundary of the filtering target block overlap with each other may be referred to as a reference boundary.
  • a filtering target region in the reference boundary direction of the filtering target block may be derived, and filtering may be performed on the filtering target region.
  • the filtering target block candidate is a filtering target block.
  • a filtering target region in the reference boundary direction of the filtering target block may be derived, and filtering may be performed on the filtering target region.
  • the filtering target block candidate may not be derived as the filtering target block. Can be.
  • the filtering target block candidate when the motion vector of the filtering target block candidate does not exist, for example, when an intra prediction mode is applied to the filtering target block candidate, the motion vector of the filtering target block candidate is different from the motion vector of the prediction target block.
  • the filtering target block candidate may be derived as the filtering target block, and filtering may be performed.
  • whether to perform filtering that is, whether to derive the filtering target block by comparing the motion vector of each sub-block with the motion vector of the filtering target block located around the prediction target block Can be determined.
  • the filtering target region determiner may derive a filtering target region to which samples are filtered when filtering the boundary of the prediction target block.
  • Conditions for derivation into the filtering target region may be as follows.
  • the filtering target region may be derived based on the size of the prediction target block.
  • the filtering target region may be derived based on a size of a filtering target block including the filtering target region.
  • the filtering target region may be derived based on a difference between the size of the prediction target block and the size of the filtering target block including the filtering target region.
  • the filtering target region may be derived based on whether an intra prediction mode is applied to a filtering target block including the filtering target region.
  • the filtering target region may be derived based on the presence or absence of a quantization coefficient of the filtering target block including the filtering target region.
  • a filtering target region may be derived based on the size of the prediction target block and the size of the filtering target block. Can be.
  • the filtering target region may be as shown in Table 1 below.
  • wxh indicates a case where the size of the block is larger than wxh
  • the decoding apparatus may determine the filtering target region based on a mapping table of a table set in advance, for example, Table 1, above, without performing a separate calculation process.
  • filtering when the value of the difference between the size of the prediction target block and the size of the filtering target block is smaller than a predefined threshold value TH1, filtering may not be performed. If the value of the difference from the size of the block to be filtered is greater than the predefined threshold value TH2, filtering may not be performed.
  • the filtering target region may be derived based on whether an intra prediction mode is applied to the filtering target block.
  • the filtering target region may be fixed to a preset range regardless of the size of the filtering target block.
  • the filtering target block may include a relatively larger error than when the inter prediction mode is applied on the boundary side of the block. Therefore, filtering may be performed to compensate for the error.
  • the quantization coefficient of the filtering target block does not exist, it may be determined that an error of the filtering target block is small and excluded from the filtering target block, that is, the filtering may not be performed.
  • FIG. 8 illustrates an example of weights for performing filtering on reconstructed samples in the filtering region.
  • the weight may be derived based on a distance from the reference boundary to the reconstructed sample.
  • the filtering parameter derivation unit may derive a weight used for the filtering.
  • the filtering subject region determiner may determine how many reconstructed samples are included in the filtered subject region based on the reference boundary.
  • a sample adjacent to the reference boundary may be referred to as a first reconstructed sample, and may be sequentially ordered in a direction away from the reference boundary.
  • different weights may be used for each position of the reconstructed sample.
  • FIG. 8 exemplarily shows a filtering weight for each reconstruction sample for each position.
  • FIG. 8A illustrates an example of weights derived from the reference boundary from the reference boundary to the second reconstruction sample
  • FIG. 8B illustrates the filtering region from the reference boundary to the fourth reconstruction sample.
  • P C may represent prediction samples of a position corresponding to the reconstruction samples of the filtering target region derived based on the motion vector of the prediction target block
  • P N may represent the reconstruction samples of the filtering target region.
  • P N ⁇ A, B ⁇ represents the weight for the reconstructed sample located at A or B
  • P C ⁇ A, B ⁇ represents the weight for the predictive sample located at A or B.
  • the weight of the reconstructed sample of the first position based on the A position that is, the reference boundary may be 1/2
  • the weight of the predicted sample of the first position based on the reference boundary may be 1/2.
  • the weight of the reconstructed sample of the second position based on the reference position B that is, the reference boundary may be 3/4
  • the weight of the predicted sample of the second position based on the reference boundary may be 1/4.
  • the weight of the reconstructed sample of the first position based on the A position that is, the reference boundary may be 1/4
  • the weight of the predicted sample of the first position based on the reference boundary may be 3/4.
  • the weight of the reconstructed sample of the second position based on the reference position B, that is, the reference boundary may be 1/2
  • the weight of the predicted sample of the second position based on the reference boundary may be 1/2.
  • the weight of the reconstructed sample of the third position based on the C position may be 3/4
  • the weight of the predicted sample of the third position based on the reference boundary may be 1/4
  • the weight of the reconstructed sample of the fourth position based on the reference position D that is, the reference boundary may be 7/8
  • the weight of the predicted sample of the fourth position based on the reference boundary may be 1/7.
  • the weight for performing the filtering may be set for each position of the reconstructed sample included in the filtering target region in the encoding / decoding process.
  • the encoding apparatus and the decoding apparatus may have a weight table including weight candidates of the reconstructed samples.
  • the decoding apparatus may receive the weight index through a bitstream, and the weight for the reconstructed sample for each position and the weight for the prediction sample based on the candidate included in the weight table indicated by the weight index. Can be derived.
  • the weight index may be transmitted in a slice unit or a CU unit.
  • the encoding apparatus may generate a flag indicating whether filtering is applied to neighboring blocks based on the motion vector of the prediction target block, and may encode and transmit the flag.
  • the flag may be referred to as a block-boundary filtering (bbf) flag.
  • the weight index and bbf flag may be transmitted through a syntax as shown in Table 2 below.
  • the bbf_flag syntax element may correspond to the bbf flag
  • the weight_idx syntax element may correspond to the weight index.
  • the weight index may be transmitted when the value of the bbf flag is 1.
  • the weight index may indicate a candidate included in the weight table.
  • the weight table may be as shown in Table 3 below.
  • Table 3 shows an example of a weight table applied when the filtering target region includes up to fourth reconstructed samples based on the reference boundary.
  • various weighting candidates may be added to the weighting table.
  • the weights for the first sample, the second sample, the third sample, and the fourth sample may be indicated sequentially from the front of the weighting candidate.
  • the weights shown in Table 3 may be weights for the prediction samples derived based on the motion vector of the prediction target block.
  • weights for the reconstructed samples corresponding to the prediction samples may be obtained in the form of (1- ⁇ ) based on the weights.
  • may represent a weight for the prediction sample.
  • FIG. 9 schematically illustrates a video encoding method by an encoding device according to the present invention.
  • the method disclosed in FIG. 9 may be performed by the encoding apparatus disclosed in FIG. 1.
  • S900 to S910 of FIG. 9 may be performed by the prediction unit of the encoding apparatus
  • S920 to S940 may be performed by the filter unit of the encoding apparatus
  • S950 may be entropy of the encoding apparatus. It may be performed by the encoding unit.
  • the encoding apparatus derives a motion vector of the prediction target block (S900).
  • the motion vector of the prediction target block may be included in the motion information of the prediction target block.
  • the motion information of the prediction target block may be bi-predicted motion information or may be L0 or L1 predicted motion information.
  • the L0 or L1 predicted motion information may also be referred to as uni-predicted motion information.
  • the bi-predicted motion information may include an L0 motion vector and an L1 motion vector, and the unipredicted motion information may include only one of the L0 motion vector and the L1 motion vector.
  • the L0 motion vector represents a motion vector relating to L0 prediction
  • the L1 motion vector represents a motion vector relating to L1 prediction.
  • L0 represents a reference picture list L0 (list 0)
  • L1 represents a reference picture list L1 (list 1).
  • the L0 reference picture index, the L0 motion vector, the L1 reference picture index, and the L1 motion vector may be included.
  • the motion information of the prediction block is unipredicted motion information
  • the L0 reference picture index and the L0 motion vector may be included, or the L1 reference picture index and the L1 motion vector may be included.
  • the encoding apparatus derives a prediction sample for the prediction block based on the motion vector (S910).
  • the encoding apparatus may obtain a predictive sample value on the reference picture indicated by the motion vector, and generate the predictive sample.
  • the encoding apparatus filters the neighboring block that has already been decoded.
  • the motion vector for deriving the prediction sample may be different by comparing the motion vector of the filtering target block candidate with the L0 motion vector and the L1 motion vector of the prediction target block.
  • a prediction sample of the prediction target block is based on the L0 motion vector and the L1 motion vector. Can be derived.
  • the prediction object based on the L1 motion vector.
  • the prediction sample of the block can be derived.
  • the prediction target block based on the L0 motion vector.
  • the prediction sample of can be derived.
  • the encoding apparatus derives a filtering target block based on neighboring blocks of the prediction target block (S920).
  • the filtering target block may be at least one of a left neighboring block, a left upper neighboring block, and an upper neighboring block of the prediction target block.
  • the neighboring block may have the same size as or different from the prediction target block. For example, the neighboring block may be smaller in size than the prediction target block.
  • the encoding apparatus may derive a neighboring block which is already decoded among the neighboring blocks of the prediction target block as a filtering target block candidate, and compare the motion vector of the filtering target block candidate and the motion vector of the prediction target block. have.
  • the filtering target block candidate may be derived as the filtering target block.
  • the motion information of the prediction target block may be uni-prediction motion information, and the uni-prediction motion information may include a L0 motion vector.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate is derived. Can be.
  • the motion information of the prediction target block may be unipredicted motion information, and the unipredicted motion information may include an L1 motion vector.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate has the same reference picture index as the L1 reference picture index of the prediction target block, but the motion vector of the filtering target block candidate is not the same as the L1 motion vector, the filtering target block candidate is derived. Can be.
  • the motion information of the prediction target block may be bi-predictive motion information, and the bi-predictive motion information may include an L0 motion vector and an L1 motion vector.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as both the L0 motion vector and the L1 motion vector.
  • the filtering target block candidate when an intra prediction mode is applied to the filtering target block candidate, the filtering target block candidate may be derived as the filtering target block. In this case, it may be assumed that the motion vector of the filtering target block candidate and the motion vector of the prediction target block are not the same.
  • the filtering target block candidate may not be derived as the filtering target block.
  • the prediction target block may not be derived.
  • the value of the difference between the size of and the size of the filtering target block candidate is larger than a predefined threshold value TH2, it may not be derived to the filtering target block.
  • the encoding apparatus determines a filtering target region in the filtering target block (S930).
  • the filtering target region may include reconstructed samples around a reference boundary.
  • the reference boundary may represent a boundary where a boundary of the prediction target block and a boundary of the filtering target block overlap.
  • the filtering target region may be determined based on a difference value between the value of the motion vector of the filtering target block and the value of the motion vector of the prediction target block.
  • the filtering target region may be determined based on the size of the prediction target block, may be determined based on the size of the filtering target block, and based on the size of the prediction target block and the size of the filtering target block. Can be determined.
  • the filtering target region may be as shown in Table 1 above.
  • the filtering target region may be determined based on whether an intra prediction mode is applied to the filtering target block.
  • the filtering target region may be fixed to a preset range regardless of the size of the filtering target block.
  • the filtering target region may be determined based on the presence or absence of a quantization coefficient of the filtering target block.
  • the encoding apparatus performs filtering on the reconstructed samples in the filtering target region based on the prediction samples of the prediction target block (S940).
  • the encoding apparatus may perform filtering based on a weighted sum of the value of the prediction sample and the value of the reconstructed sample.
  • the weight of the prediction sample and the weight of the reconstruction sample may be derived based on a distance from a reference boundary to the reconstruction sample.
  • the reference boundary may represent a boundary where a boundary of the prediction target block and a boundary of the filtering target block overlap.
  • the weight for the prediction sample may increase as the distance from the reference boundary is closer to the reference boundary, and the weight for the reconstructed sample may increase as the distance from the reference boundary increases.
  • the weight of the prediction sample and the weight of the reconstruction sample may be the same as the content shown in FIG. 8.
  • the encoding apparatus may configure a weight table based on the weight candidates for the weighted sum.
  • the weight table may be as shown in Table 3 above.
  • the specific candidate which is one of the candidates of the weight table, may be determined as the weight of the prediction sample and the weight of the reconstruction sample, and an index indicating the specific candidate may be generated.
  • the index may be called a weighted index.
  • the prediction sample is derived based on one of the L0 motion vector and the L1 motion vector of the prediction target block, and the L0 motion vector and the L1.
  • the weight value may be different.
  • the encoding apparatus encodes and outputs information on the filtering performed on the reconstructed sample (S950).
  • the encoding apparatus may entropy-encode the information about the filtering indicating the filtering performed on the reconstructed sample in the filtering target region of the filtering target block based on the motion vector of the prediction target block and output the result in a bitstream form.
  • the encoding apparatus may generate a flag indicating whether to perform the filtering on the reconstructed sample, encode it, and output the flag in the form of the bitstream.
  • the flag may be called a block-boundary filtering (bbf) flag.
  • bbf block-boundary filtering
  • the encoding apparatus may generate an index indicating a candidate in the weight table, encode it, and output the index in the form of the bitstream.
  • the index may be called a weighted index.
  • the bbf flag and the weight index may be transmitted to the decoding apparatus in the form of the bitstream.
  • the bitstream may be transmitted to a decoding apparatus via a network or a storage medium.
  • FIG. 10 schematically illustrates a video decoding method by a decoding apparatus according to the present invention.
  • the method disclosed in FIG. 10 may be performed by the decoding apparatus disclosed in FIG. 2.
  • S1000 to S1010 of FIG. 10 may be performed by the prediction unit of the decoding apparatus
  • S1020 to S1040 may be performed by the filter unit of the decoding apparatus.
  • the decoding apparatus derives a motion vector of the prediction target block (S1000).
  • the motion vector of the prediction target block may be included in the motion information of the prediction target block.
  • the motion information of the prediction target block may be bi-predicted motion information or may be L0 or L1 predicted motion information.
  • the L0 or L1 predicted motion information may also be referred to as uni-predicted motion information.
  • the bi-predicted motion information may include an L0 motion vector and an L1 motion vector, and the unipredicted motion information may include only one of the L0 motion vector and the L1 motion vector.
  • the L0 motion vector represents a motion vector relating to L0 prediction
  • the L1 motion vector represents a motion vector relating to L1 prediction.
  • L0 represents a reference picture list L0 (list 0)
  • L1 represents a reference picture list L1 (list 1).
  • the L0 reference picture index, the L0 motion vector, the L1 reference picture index, and the L1 motion vector may be included.
  • the motion information of the prediction block is unipredicted motion information
  • the L0 reference picture index and the L0 motion vector may be included, or the L1 reference picture index and the L1 motion vector may be included.
  • the decoding apparatus derives a prediction sample for the prediction target block based on the motion vector (S1010).
  • the decoding apparatus may obtain a predictive sample value on the reference picture indicated by the motion vector, and generate the predictive sample.
  • the decoding apparatus filters the neighboring block that has already been decoded.
  • the motion vector for deriving the prediction sample may be different by comparing the motion vector of the filtering target block candidate with the L0 motion vector and the L1 motion vector of the prediction target block.
  • a prediction sample of the prediction target block is based on the L0 motion vector and the L1 motion vector. Can be derived.
  • the prediction object based on the L1 motion vector.
  • the prediction sample of the block can be derived.
  • the prediction target block based on the L0 motion vector.
  • the prediction sample of can be derived.
  • the decoding apparatus derives a filtering target block based on neighboring blocks of the prediction target block (S1020).
  • the filtering target block may be at least one of a left neighboring block, a left upper neighboring block, and an upper neighboring block of the prediction target block.
  • the neighboring block may have the same size as or different from the prediction target block. For example, the neighboring block may be smaller in size than the prediction target block.
  • the decoding apparatus may derive the decoded neighboring block among the neighboring blocks of the prediction target block as a filtering target block candidate, and compare the motion vector of the filtering target block candidate and the motion vector of the prediction target block. have.
  • the filtering target block candidate may be derived as the filtering target block.
  • the motion information of the prediction target block may be uni-prediction motion information, and the uni-prediction motion information may include a L0 motion vector.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate is derived. Can be.
  • the motion information of the prediction target block may be unipredicted motion information, and the unipredicted motion information may include an L1 motion vector.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate has the same reference picture index as the L1 reference picture index of the prediction target block, but the motion vector of the filtering target block candidate is not the same as the L1 motion vector, the filtering target block candidate is derived. Can be.
  • the motion information of the prediction target block may be bi-predictive motion information, and the bi-predictive motion information may include an L0 motion vector and an L1 motion vector.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as the filtering target block.
  • the filtering target block candidate may be derived as both the L0 motion vector and the L1 motion vector.
  • the filtering target block candidate when an intra prediction mode is applied to the filtering target block candidate, the filtering target block candidate may be derived as the filtering target block. In this case, it may be assumed that the motion vector of the filtering target block candidate and the motion vector of the prediction target block are not the same.
  • the filtering target block candidate may not be derived as the filtering target block.
  • the prediction target block may not be derived.
  • the value of the difference between the size of and the size of the filtering target block candidate is larger than a predefined threshold value TH2, it may not be derived to the filtering target block.
  • the decoding apparatus derives a filtering target region in the filtering target block (S1030).
  • the filtering target region may include reconstructed samples around a reference boundary.
  • the reference boundary may represent a boundary where a boundary of the prediction target block and a boundary of the filtering target block overlap.
  • the filtering target region may be derived based on a difference value between the value of the motion vector of the filtering target block and the value of the motion vector of the prediction target block.
  • the filtering target region may be derived based on the size of the prediction target block, may be derived based on the size of the filtering target block, and may be derived from the size of the prediction target block and the size of the filtering target block. Can be derived based on this.
  • the filtering target region may be as shown in Table 1 above.
  • the filtering target region may be derived based on whether an intra prediction mode is applied to the filtering target block.
  • the filtering target region may be fixed to a preset range regardless of the size of the filtering target block.
  • the filtering target region may be derived based on the presence or absence of a quantization coefficient of the filtering target block.
  • the decoding apparatus performs filtering on the reconstructed samples in the filtering target region based on the prediction samples of the prediction target block (S1040).
  • the decoding apparatus may perform filtering based on a weighted sum of the value of the prediction sample and the value of the reconstructed sample.
  • the weight of the prediction sample and the weight of the reconstruction sample may be derived based on a distance from a reference boundary to the reconstruction sample.
  • the reference boundary may represent a boundary where a boundary of the prediction target block and a boundary of the filtering target block overlap.
  • the weight for the prediction sample may increase as the distance from the reference boundary is closer to the reference boundary, and the weight for the reconstructed sample may increase as the distance from the reference boundary increases.
  • the weight of the prediction sample and the weight of the reconstruction sample may be the same as the content shown in FIG. 8.
  • the decoding apparatus may configure a weight table based on the weight candidates for the weighted sum.
  • the weight table may be as shown in Table 3 above.
  • the decoding apparatus may obtain index information indicating one of the candidates included in the weight table through the bitstream, and the candidate indicating the weight for the prediction sample and the weight for the reconstruction sample is indicated by the index. Can be derived based on The index may be called a weighted index.
  • the prediction sample is derived based on one of the L0 motion vector and the L1 motion vector of the prediction target block, and the L0 motion vector and the L1.
  • the weight value may be different.
  • the decoding apparatus may obtain flag information indicating whether to perform filtering on the reconstructed sample based on the motion vector of the prediction target block through a bitstream.
  • the flag may be referred to as a block-boundary filtering (bbf) flag.
  • bbf block-boundary filtering
  • the decoding apparatus may perform filtering on the reconstructed sample.
  • the decoding device may not perform filtering on the reconstructed sample.
  • subjective / objective picture quality may be improved by filtering reconstructed samples in neighboring blocks of the prediction target block.
  • filtering can be performed by weighted sum of neighboring reconstructed samples at the boundary of the predicted sample and the predicted block derived based on the motion vector of the predicted block, thereby reducing errors between blocks.
  • subjective / objective image quality can be improved.
  • the above-described method according to the present invention may be implemented in software, and the encoding device and / or the decoding device according to the present invention may perform image processing of, for example, a TV, a computer, a smartphone, a set-top box, a display device, and the like. It can be included in the device.
  • the above-described method may be implemented as a module (process, function, etc.) for performing the above-described function.
  • the module may be stored in memory and executed by a processor.
  • the memory may be internal or external to the processor and may be coupled to the processor by various well known means.
  • the processor may include application-specific integrated circuits (ASICs), other chipsets, logic circuits, and / or data processing devices.
  • the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory card, storage medium and / or other storage device.

Landscapes

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

Abstract

La présente invention concerne un procédé de filtrage effectué par un dispositif de décodage, comprenant les étapes consistant : à dériver un vecteur de mouvement d'un bloc à prédire ; à dériver un échantillon de prédiction pour le bloc à prédire, sur la base du vecteur de mouvement ; à dériver un bloc à filtrer, sur la base de blocs voisins du bloc à prédire ; à dériver une zone à filtrer dans le bloc à filtrer ; et à filtrer un échantillon de restauration dans la zone à filtrer, sur la base de l'échantillon de prédiction du bloc à prédire. Selon la présente invention, le filtrage peut être effectué par l'intermédiaire d'une somme pondérée d'un échantillon de prédiction, dérivé sur la base d'un vecteur de mouvement d'un bloc à prédire, et d'échantillons de restauration voisins à la limite du bloc à prédire, ce qui permet d'activer une réduction des erreurs entre blocs et une amélioration de la qualité d'image objective / subjective.
PCT/KR2016/011949 2015-10-23 2016-10-24 Procédé et dispositif de filtrage d'image dans un système de codage d'image Ceased WO2017069591A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201562245280P 2015-10-23 2015-10-23
US62/245,280 2015-10-23

Publications (1)

Publication Number Publication Date
WO2017069591A1 true WO2017069591A1 (fr) 2017-04-27

Family

ID=58557314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2016/011949 Ceased WO2017069591A1 (fr) 2015-10-23 2016-10-24 Procédé et dispositif de filtrage d'image dans un système de codage d'image

Country Status (1)

Country Link
WO (1) WO2017069591A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024077561A1 (fr) * 2022-10-13 2024-04-18 Douyin Vision Co., Ltd. Procédé, appareil et support de traitement vidéo
EP4490908A4 (fr) * 2022-03-07 2025-12-31 Sharp Kk Systèmes et procédés de gestion de prédicteurs de compensation de mouvement hors limite en codage vidéo

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120010177A (ko) * 2010-07-20 2012-02-02 에스케이 텔레콤주식회사 디블록킹 필터링 방법 및 장치 및 이를 이용한 부호화 및 복호화 방법과 장치
KR101369224B1 (ko) * 2007-03-28 2014-03-05 삼성전자주식회사 움직임 보상 필터링을 이용한 영상 부호화, 복호화 방법 및장치
KR20140101755A (ko) * 2011-11-04 2014-08-20 엘지전자 주식회사 영상 정보 인코딩/디코딩 방법 및 장치
KR20140142199A (ko) * 2014-10-29 2014-12-11 삼성전자주식회사 디블로킹 필터링을 이용한 비디오 부호화 방법과 그 장치, 및 디블로킹 필터링을 이용한 비디오 복호화 방법 및 그 장치
KR101488497B1 (ko) * 2011-06-20 2015-01-30 한국전자통신연구원 영상 부호화/복호화 방법 및 그 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101369224B1 (ko) * 2007-03-28 2014-03-05 삼성전자주식회사 움직임 보상 필터링을 이용한 영상 부호화, 복호화 방법 및장치
KR20120010177A (ko) * 2010-07-20 2012-02-02 에스케이 텔레콤주식회사 디블록킹 필터링 방법 및 장치 및 이를 이용한 부호화 및 복호화 방법과 장치
KR101488497B1 (ko) * 2011-06-20 2015-01-30 한국전자통신연구원 영상 부호화/복호화 방법 및 그 장치
KR20140101755A (ko) * 2011-11-04 2014-08-20 엘지전자 주식회사 영상 정보 인코딩/디코딩 방법 및 장치
KR20140142199A (ko) * 2014-10-29 2014-12-11 삼성전자주식회사 디블로킹 필터링을 이용한 비디오 부호화 방법과 그 장치, 및 디블로킹 필터링을 이용한 비디오 복호화 방법 및 그 장치

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4490908A4 (fr) * 2022-03-07 2025-12-31 Sharp Kk Systèmes et procédés de gestion de prédicteurs de compensation de mouvement hors limite en codage vidéo
WO2024077561A1 (fr) * 2022-10-13 2024-04-18 Douyin Vision Co., Ltd. Procédé, appareil et support de traitement vidéo

Similar Documents

Publication Publication Date Title
WO2017052081A1 (fr) Procédé et appareil de prédiction inter dans un système de codage d'images
WO2020071830A1 (fr) Procédé de codage d'images utilisant des informations de mouvement basées sur l'historique, et dispositif associé
WO2017082443A1 (fr) Procédé et appareil pour prédire de manière adaptative une image à l'aide d'une valeur de seuil dans un système de codage d'image
WO2017057877A1 (fr) Procédé et appareil de filtrage d'image dans un système de codage d'image
WO2017014412A1 (fr) Procédé et dispositif de prédiction interne dans un système de codage vidéo
WO2017052009A1 (fr) Appareil et procédé de codage d'image fondé sur une plage de vecteurs de mouvement adaptative (amvr) dans un système de codage d'image
WO2017209328A1 (fr) Procédé et appareil de prédiction intra dans un système de codage d'images
WO2017164441A1 (fr) Procédé et appareil d'inter-prédiction dans un système de codage vidéo
WO2016204374A1 (fr) Procédé et dispositif de filtrage d'image dans un système de codage d'image
WO2016204373A1 (fr) Procédé et dispositif de filtrage adaptatif basé sur des propriétés d'image dans un système de codage d'image
WO2016052977A1 (fr) Procédé et appareil de traitement de signal vidéo
WO2019117639A1 (fr) Procédé de codage d'image sur la base d'une transformée et son dispositif
WO2018021585A1 (fr) Procédé et appareil d'intra-prédiction dans un système de codage d'image
WO2013154366A1 (fr) Procédé de transformation faisant appel à des informations de bloc, et appareil utilisant ce procédé
WO2017061671A1 (fr) Procédé et dispositif de codage d'image basé sur une transformation adaptative dans un système de codage d'image
WO2017159901A1 (fr) Procédé et dispositif pour dériver une structure de bloc dans un système de codage vidéo
WO2017065509A2 (fr) Procédé et appareil de décodage d'image dans un système de codage d'image
WO2016114583A1 (fr) Procédé et dispositif de traitement de signal vidéo
WO2017052272A1 (fr) Procédé et appareil pour une prédiction intra dans un système de codage vidéo
WO2017048008A1 (fr) Procédé et appareil de prédiction inter dans un système de codage vidéo
WO2018128222A1 (fr) Procédé et appareil de décodage d'image dans un système de codage d'image
WO2016122251A1 (fr) Procédé et appareil de traitement de signaux vidéo
WO2020141831A2 (fr) Procédé et appareil de codage d'image faisant appel à une prédiction de copie intra-bloc
WO2019066175A1 (fr) Procédé et dispositif de décodage d'image conformes à une structure divisée de blocs dans un système de codage d'image
WO2016178485A1 (fr) Procédé et dispositif de traitement d'unité de codage dans un système de codage d'image

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

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

Country of ref document: EP

Kind code of ref document: A1