WO2016204374A1 - 영상 코딩 시스템에서 영상 필터링 방법 및 장치 - Google Patents
영상 코딩 시스템에서 영상 필터링 방법 및 장치 Download PDFInfo
- Publication number
- WO2016204374A1 WO2016204374A1 PCT/KR2016/001141 KR2016001141W WO2016204374A1 WO 2016204374 A1 WO2016204374 A1 WO 2016204374A1 KR 2016001141 W KR2016001141 W KR 2016001141W WO 2016204374 A1 WO2016204374 A1 WO 2016204374A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- alf
- region
- area
- information
- coefficients
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/13—Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/172—Methods 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 picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/174—Methods 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 slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
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 subjective / objective image quality of an image.
- Another technical problem of the present invention is to provide an image filtering method and apparatus.
- Another technical problem of the present invention is to provide a method and apparatus for filtering by region of a picture.
- a picture filtering method performed by an encoding apparatus includes deriving areas for adaptive loop filtering (ALF) from a current picture, determining ALF coefficients in picture units or area units, and ALF units in area units based on the ALF coefficients.
- ALF adaptive loop filtering
- Determining availability re-determining ALF coefficients for the first available ALF region; deriving a filter shape for the first region; based on the re-determined ALF coefficients; determining whether ALF is available in units of coding units, performing filtering based on the derived filter shape and the re-determined ALF coefficients for the ALF-enabled CU, and information on the ALF-enabled first region And transmitting at least one of information on an ALF-enabled CU.
- an encoding apparatus for performing picture filtering.
- the encoding apparatus derives regions for adaptive loop filtering (ALF) from a current picture, determines ALF coefficients in picture units or region units, and uses ALFs in area units based on the ALF coefficients. Determine whether or not, re-determine ALF coefficients for the first available ALF region, derive a filter shape for the first region, and encode a coding unit (CU) unit within the first region based on the re-determined ALF coefficients.
- ALF adaptive loop filtering
- a filter unit configured to determine whether ALF is available, and to perform filtering based on the derived filter shape and the re-determined ALF coefficients for the ALF-enabled CU, and information on the ALF-enabled first region and the ALF available
- an encoding unit for encoding and outputting at least one of the information about the CU.
- a picture filtering method performed by a decoding apparatus.
- the method includes parsing an area ALF available flag indicating that adaptive loop filtering (ALF) is performed on an area basis, and when the area ALF available flag is 1, parsing information about areas for the ALF. Deriving the regions for the ALF from a current picture based on information about regions, parsing information about an ALF available region, and deriving the region based on information about the ALF available region Deriving filter shape and ALF coefficients for the current region when the current region is available for ALF, and performing filtering on the current region based on the filter shape and the ALF coefficients. do.
- ALF adaptive loop filtering
- a decoding apparatus for performing picture filtering.
- the decoding apparatus receives a bitstream and parses an area ALF available flag indicating that adaptive loop filtering (ALF) is performed on an area basis, and when the area ALF available flag is 1, information about areas for the ALF is obtained.
- a decoding unit for parsing and parsing information about an ALF available area; Derive the regions for the ALF from the current picture based on the information about the regions, and if the current region among the derived regions is ALF available based on the information on the ALF available region, the current And a filter unit for deriving a filter shape and ALF coefficients for a region and performing filtering on the current region based on the filter shape and the ALF coefficients.
- subjective / objective image quality can be improved and coding efficiency can be improved through filtering of reconstructed pictures.
- the filtered picture may be stored in a memory and used as a reference picture for another picture. In this case, inter prediction efficiency may be improved.
- 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 shows an embodiment of filter shapes according to the invention.
- FIG. 4 schematically illustrates an ALF process performed by an encoding apparatus according to an embodiment of the present invention.
- FIG. 5 shows an example of ALF On / Off application in area units.
- FIG. 6 shows an example of additional On / Off application in units of blocks in an area.
- FIG. 7 schematically illustrates an ALF process performed by an encoding apparatus according to an embodiment of the present invention.
- FIG. 8 shows an example of a signaling method of region information for the ALF.
- FIG. 9 schematically illustrates an example of an area based ALF method according to the present invention.
- FIG. 10 schematically illustrates an example of an area based ALF method according to the present invention.
- each of the components in the drawings described in the present invention are shown independently for the convenience of description of the different characteristic functions in the video encoding apparatus / decoding apparatus, each component is a separate hardware or separate software It does not mean that it is implemented.
- two or more of each configuration may be combined to form one configuration, or one configuration may be divided into a plurality of configurations.
- Embodiments in which each configuration is integrated and / or separated are also included in the present invention without departing from the spirit of the present invention.
- FIG. 1 is a block diagram schematically illustrating a video encoding apparatus according to an embodiment of the present invention.
- the encoding apparatus 100 may include a picture divider 105, a predictor 110, a transformer 115, a quantizer 120, a reordering unit 125, an entropy encoding unit 130, An inverse quantization unit 135, an inverse transform unit 140, a filter unit 145, and a memory 150 are provided.
- the picture dividing unit 105 may divide the input picture into at least one processing unit block.
- the block as the processing unit may be a prediction unit (PU), a transform unit (CU), 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 transformer 225 of the decoding apparatus may be 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 When the prediction mode for the current PU is an intra prediction mode, intra prediction that generates a prediction block based on pixel information in the current picture may be performed.
- inter prediction on the current PU may be performed based on information included in at least one of a previous picture or a subsequent picture of the current picture.
- motion information required for inter prediction of the current PU provided by the video encoding apparatus for example, a motion vector, a reference picture index, and the like, may be derived by checking a skip flag, a merge flag, and the like received from the encoding apparatus.
- a prediction block may be generated such that a residual signal with a current block is minimized and a motion vector size is also minimized.
- the motion information derivation scheme may vary depending on the prediction mode of the current block.
- Prediction modes applied for inter prediction may include an advanced motion vector prediction (AMVP) mode, a merge mode, and the like.
- AMVP advanced motion vector prediction
- the encoding apparatus and the decoding apparatus may generate a merge candidate list by using the motion vector of the reconstructed spatial neighboring block and / or the motion vector corresponding to the Col block, which is a temporal neighboring block.
- the motion vector of the candidate block selected from the merge candidate list is used as the motion vector of the current block.
- the encoding apparatus may transmit, to the decoding apparatus, a merge index indicating a candidate block having an optimal motion vector selected from candidate blocks included in the merge candidate list. In this case, the decoding apparatus may derive the motion vector of the current block by using the merge index.
- the encoding device and the decoding device use a motion vector corresponding to a motion vector of a reconstructed spatial neighboring block and / or a Col block, which is a temporal neighboring block, and a motion vector.
- a predictor candidate list may be generated. That is, the motion vector of the reconstructed spatial neighboring block and / or the Col vector, which is a temporal neighboring block, may be used as a motion vector candidate.
- the encoding apparatus may transmit the predicted motion vector index indicating the optimal motion vector selected from the motion vector candidates included in the list to the decoding apparatus. In this case, the decoding apparatus may select the predicted motion vector of the current block from the motion vector candidates included in the motion vector candidate list using the motion vector index.
- the encoding apparatus may obtain a motion vector difference MVD between the motion vector MV of the current block and the motion vector predictor MVP, and may encode the same and transmit the encoded motion vector to the decoding device. That is, MVD may be obtained by subtracting MVP from MV of the current block.
- the decoding apparatus may decode the received motion vector difference and derive the motion vector of the current block through the addition of the decoded motion vector difference and the motion vector predictor.
- the encoding apparatus may also transmit a reference picture index or the like indicating the reference picture to the decoding apparatus.
- the decoding apparatus may predict the motion vector of the current block using the motion information of the neighboring block, and may derive the motion vector for the current block using the residual received from the encoding apparatus.
- the decoding apparatus may generate a prediction 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.
- An in-loop filter may be applied to the reconstructed picture to compensate for a difference between an original picture and a reconstructed picture due to an error occurring in a compression coding process such as quantization.
- in-loop filtering may be performed in the filter unit of the encoder and the decoder, and the filter unit may apply a deblocking filter, a sample adaptive offset (SAO), and / or an adaptive loop filter (ALF) to the reconstructed picture.
- the ALF may perform filtering based on a value obtained by comparing the reconstructed picture with the original picture after the deblocking filtering and / or SAO process is performed.
- the ALF may adaptively apply a Wiener filter to the reconstructed picture after the deblocking filtering and / or the SAO process is performed. That is, the ALF may compensate for encoding error by using a Wiener filter.
- the filter used in the ALF may be determined based on a filter shape and a filter coefficient. That is, the encoding apparatus and the decoding apparatus may perform filtering based on the filter shape and the filter coefficients.
- the filter shape indicates the shape / size of the filter used. That is, one filter shape may be selected for each target area among a plurality of predetermined filter shapes.
- the filter shape may include various filter shapes and sizes, such as an n ⁇ n star shape and an m ⁇ n cross shape. Where n and m are positive integers and n and m may be the same or different.
- the filter shape may be represented by various expressions such as filter size, filter type, and filter mode.
- FIG 3 shows an embodiment of filter shapes according to the invention.
- the encoding apparatus and the decoding apparatus may select and use one filter among filters having a predetermined filter shape. That is, the encoding apparatus and the decoding apparatus may perform filtering based on a filter selected from among filters having a predetermined filter shape.
- the filters may have a filter shape as shown in FIG. 11.
- filter coefficients may be allocated according to the filter shape.
- the position and / or unit to which each filter coefficient is assigned may be referred to as a filter tap.
- one filter coefficient may be allocated to each filter tab, and the form in which the filter tabs are arranged may correspond to a filter shape.
- the filter tab located at the center of the filter shape may be referred to as a center filter tab.
- the filter tabs are symmetric about a center filter tab located at the center of the filter shape.
- the filter tabs may be numbered in a raster scan order, in ascending order from the beginning to the center tap and in descending order from the center tap to the end. Except for the filter coefficients assigned to the center filter taps, the remaining filter coefficients may be equally allocated to two filter taps existing at positions corresponding to each other based on the center filter taps.
- C6 represents a center tap for a 5 ⁇ 5 filter
- C12 represents a center tap for a 7 ⁇ 7 filter
- C19 represents a center tap for a 9 ⁇ 7 filter.
- filters of various shapes and sizes may be used.
- the use of filters of various shapes and sizes is because the shape and size of a suitable filter vary depending on the image characteristics.
- a filter having the best rate-distortion cost may be selected and used. Since the size of the image used varies and especially high resolution images are used, filters of various shapes (and sizes) need to be used for optimal filtering.
- the encoding apparatus and / or the decoding apparatus may determine whether to perform filtering and filter shape and / or filter coefficient through a predetermined process. Filtering may be applied to minimize an error occurring in the compression encoding process, and a filter shape and / or a filter coefficient may be determined to minimize the error. Information about the determined filter may be transmitted to the decoding apparatus, and the decoding apparatus may determine the filter shape and / or filter coefficients based on the transmitted information.
- FIG. 4 schematically illustrates an ALF process performed by an encoding apparatus according to an embodiment of the present invention.
- whether to apply the ALF may be determined at the frame (or picture) level and the CU level.
- the filter shape may be determined at the frame level.
- the encoding apparatus calculates ALF coefficients at the frame (or picture) level (S400). In this case, the encoding apparatus may assume a 5 ⁇ 5 filter as the default filter.
- the encoding apparatus determines ALF On / Off at the CU level based on the calculated ALF coefficients, and determines (or sets) an ALF On / Off flag at the CU level (S410).
- the encoding apparatus may calculate an RD cost according to whether the filter is applied or not based on the 5 ⁇ 5 filter and the calculated ALF coefficients for each of the CUs in the current picture, and determine ALF On / Off based on this.
- the encoding apparatus re-determines (or recalculates) ALF coefficients for each of the ALF On CUs among the CUs (S420). In this case, the encoding apparatus calculates image characteristics (eg, activity and / or direction) on a sample and / or block basis for CUs that are ALF On (that is, CUs having an ALF On flag set). Through the appropriate ALF coefficients can be determined again.
- image characteristics eg, activity and / or direction
- the encoding apparatus again determines ALF On / Off at the CU level and re-determines the ALF On / Off flag at the CU level (S430).
- the encoding apparatus may re-determine ALF On / Off for CUs in the current picture based on the re-determined (or recalculated) ALF coefficients.
- the encoding apparatus may re-determine ALF On / Off and re-determine not only CUs that are ALF On but also CUs that are ALF Off in S410.
- CUs that are ALF On may re-determine ALF On / Off based on the corresponding ALF coefficients calculated in S430, and CUs that are ALF Off may be re-determined for other CUs that are ALF On according to a predetermined criterion. Can be used.
- the ALF On / Off can be re-determined and the flag can be re-determined by using ALF coefficients for a CU having a location similar to that CU and having the same or similar image characteristics. have.
- the encoding apparatus may re-determine ALF On / Off and re-determine a flag only for CUs that are ALF Off in S410. This is because ALF On will generally come out even if ALF On / Off is determined again based on the ALF coefficients recalculated for CUs that are ALF On in S410, so that ALF On / Off is determined again only for CUs that are ALF Off. The complexity of the calculation can be reduced.
- the encoding device determines the filter tap (S440).
- the filter tab may be a filter tab for a filter shape such as 5 ⁇ 5, 7 ⁇ 7, 9 ⁇ 7, and the like.
- determining the filter tab may include determining a filter shape (or filter type).
- the filter tap may be determined in units of frames. That is, one filter shape and a filter tap may be determined and used for the current picture.
- the encoding apparatus determines ALF On / Off at the frame level (S450).
- the encoding apparatus determines ALF On / Off at the frame level based on the determined filter tap and ALF coefficients corresponding to the ALF On CUs and the ALF On CUs. That is, although it is better in terms of efficiency to apply ALF in each CU unit, the encoding apparatus may ALF Off at the frame level when it is more inefficient in terms of RD cost in the entire frame unit.
- the ALF On / Off flag at the CU level re-determined in S430 may be encoded and signaled to the decoding apparatus through the bitstream.
- the ALF On / Off flag at the CU level re-determined in S430 may not be signaled to the decoding device, in which case a flag indicating ALF Off at the frame level is explicitly transmitted or related. By not transmitting information, it may imply that ALF is not applied.
- the image when the image is divided by region, there may be a region that can obtain a high effect due to the application of ALF, while there may be a region that does not. Also, depending on the region, a region suitable for a large filter and a region suitable for a small filter may exist differently. Therefore, when the application of ALF is determined at the frame level and the CU level as described above, and the filter tap and the filter shape are determined at the frame level, the regional characteristics of the image may not be properly reflected.
- an image may be divided into a plurality of regions, a filter may be determined for each region, and / or a filter shape (and a filter tap) may be determined for each region.
- FIG. 5 shows an example of ALF On / Off application in area units
- FIG. 6 shows an example of additional On / Off application in block units in an area.
- the current picture may be divided into four regions, for example, and ALF On / Off determination may be performed for each region.
- area A and area D are areas that are ALF-off
- area B and area C are areas where ALF is on.
- ALF On / Off determination may be performed at a CU level with respect to an ALF On region.
- blocks in each region correspond to CUs
- blocks with shades in regions B and C represent ALF-on CUs
- blocks without shades represent CUs in ALF-off.
- the ALF process may be performed as follows.
- FIG. 7 schematically illustrates an ALF process performed by an encoding apparatus according to an embodiment of the present invention.
- whether to apply the ALF may be determined at the frame (or picture) level and the CU level.
- the filter shape may be determined at the frame level.
- the encoding apparatus defines an area (S710). That is, the decoding apparatus defines how many regions the (current) picture is divided into.
- the decoding apparatus may define an area of a picture at a picture level or a sequence level.
- a predefined area may be used, in which case step S710 may be omitted.
- the predefined area may include, for example, a CTU, a tile, a slice, and the like.
- the tile is a rectangular area including CTUs, and may be divided based on a specific tile row and a specific tile column.
- a slice is a sequence of CTUs, and the CTUs within the slice can be included in an independent slice segment and subsequent dependent slice segments.
- the encoding apparatus calculates ALF coefficients (S710).
- the encoding apparatus may assume a 5 ⁇ 5 filter as the default filter, calculate ALF coefficients at the region level according to a predefined criterion, or calculate ALF coefficients at the frame (or picture) level.
- the encoding apparatus determines the ALF On / Off at the region level based on the calculated ALF coefficients, and determines the ALF On / Off flag at the region level (S720).
- the encoding apparatus may calculate an RD cost according to whether the filter is applied or not based on the calculated ALF coefficients for each of the regions within the current picture, and determine ALF On / Off based on the calculated ALF coefficients.
- the encoding apparatus re-determines ALF coefficients for the ALF On regions (S730). For example, the encoding apparatus may re-determine suitable ALF coefficients for regions that are ALF On (regions in which the Alf On flag is set) through image characteristic calculation in units of samples and / or blocks.
- the encoding apparatus may judge whether ALF On / Off of the area that is ALF Off using ALF coefficients determined again for the surrounding area that is ALF On.
- the areas that are ALF Off may use the re-determined ALF coefficients for the other ALF On area according to a predetermined criterion. For example, for an area that is ALF Off, ALF On / Off may be re-determined and flag may be re-determined by using ALF coefficients for a location having a location and / or neighboring area of the area and / or having an identical or similar image characteristic. have.
- the encoding apparatus determines a CU level ALF On / Off flag for an area that is ALF On (S740). The encoding apparatus determines whether the ALF is On / Off for CUs in the current region based on the ALF coefficients for the current region, and determines the ALF On / Off flag.
- the ALF coefficient at the CU level may be determined and used again.
- the encoding device determines the filter tap (S750). That is, the encoding device determines the filter shape. In this case, the encoding apparatus may determine the filter shape for each region or the filter shape for each frame (or picture).
- the encoding apparatus determines whether to ALF On / Off at the region level or the frame level (S760).
- the encoding apparatus determines ALF On / Off at an area level or frame level based on the determined filter shape and the ALF On CUs and the ALF coefficients. That is, although it is better in terms of efficiency to apply ALF in each CU unit, the encoding apparatus may ALF Off at an area or frame level when it is more inefficient in terms of RD cost or the like in an entire area unit or a frame unit.
- an ALF On flag for the region level and / or the CU level may be encoded and signaled to the decoding apparatus through a bitstream.
- the region may be defined as follows to apply a filter for each region. Regions may be divided evenly according to the size (or resolution) of the picture, or may have a different size for each region. In case of having different sizes for each region, portions having similar image characteristics may be defined as one region.
- the area for the ALF may be defined as follows, for example.
- Tables 1 and 2 show the syntax and semantics for the area for the ALF.
- Syntax elements in the syntax of Table 1 may be signaled through a bitstream from an encoding device to a decoding device according to a condition defined in the syntax.
- the region_alf_enabled_flag is flag information indicating whether a region for ALF is used or available.
- the num_region_column_minus1, the num_region_rows_minus1, and the uniform_region_flag may be signaled and checked by the decoding apparatus.
- the num_region_column_minus1 represents the number of region columns in a picture. In more detail, +1 of the value of the num_region_column_minus1 syntax element may indicate the number of region columns.
- the num_region_rows_minus1 represents the number of region rows in a picture. In more detail, +1 of the value of the num_region_rows_minus1 syntax element may indicate the number of region rows.
- the uniform_region_flag indicates that region row boundaries and region column boundaries within a picture are uniformly distributed. That is, when the value of the uniform_region_flag syntax element is 1, each region in the picture may have a uniform size.
- the region_width_minus1 [i] and the region_height_minus1 [i] may be signaled and checked by the decoding apparatus.
- Region_width_minus1 [i] represents the width of the i-th region column.
- the width may correspond to the number of CTUs.
- +1 of the value of the region_width_minus1 [i] syntax element may indicate the width of the column.
- the region_height_minus1 [i] represents the height of the i-th region row.
- the height may correspond to the number of CTUs.
- +1 of the value of the region_height_minus1 [i] syntax element may indicate the height of the row.
- u (1) represents an unsigned integer using 1 bit
- ue (v) represents an o-th order exponential Golem-coded syntax element. Indicates. Syntax elements with ue (v) may be encoded / decoded based on exponential gollum coding.
- FIG. 8 shows an example of a signaling method of region information for the ALF.
- the method disclosed in FIG. 8 may be performed by a decoding apparatus.
- the decoding apparatus receives and parses region_alf_enabled_flag and checks whether the region_alf_enabled_flag has a value of 1 (S800).
- the decoding apparatus parses and acquires num_region_column_minus1, num_region_rows_minus1, and uniform_region_flag in order to derive a region by dividing a picture (S810). Based on the num_region_column_minus1 and num_region_rows_minus1, the number of region columns and region rows in the current picture may be known, and the total number of regions may be known. For example, when the value of num_region_column_minus1 is N and the value of num_region_rows_minus1 is M, the current picture may be divided into (N + 1) ⁇ (M_1) regions. N and M may be any integer.
- the decoding apparatus checks whether the value of the uniform_region_flag is 1 (S820).
- the decoding apparatus divides the picture into regions of equal size (S830). That is, when the value of the uniform_region_flag is 1, the decoding apparatus knows the number of region columns and region rows in the current picture based on the num_region_column_minus1 and num_region_rows_minus1, and thus deduces regions of equal size based on the overall size of the picture. Can be. That is, when the value of the uniform_region_flag is 1, the current picture may be divided into (N + 1) ⁇ (M + 1) regions having a uniform size.
- the decoding apparatus parses and obtains region_width_minus1 [i] and region_height_minus1 [i] (S840).
- the decoding apparatus may determine the width and the height of the i-th region based on region_width_minus1 [i] and region_height_minus1 [i], and may segment each region based on this (S850). For example, when the value of region_width_minus1 [0] is A and the value of region_height_minus1 [0] is B, the first region may have a size of (A + 1) ⁇ (B + 1).
- (A + 1) may indicate the number of CTUs in the horizontal direction
- (B + 1) may indicate the number of CTUs in the vertical direction.
- a and B may be any integer.
- FIG. 9 schematically illustrates an example of an area based ALF method according to the present invention.
- the method disclosed in FIG. 9 may be performed by an encoding device.
- the encoding apparatus derives regions for ALF (S900). Regions for the ALF may be predefined or actively determined based on an RD cost or the like by the encoding apparatus.
- the encoder device determines the ALF coefficients (S910).
- the encoding apparatus may determine the ALF coefficients in picture units or region units.
- the encoding apparatus determines whether ALF is available on a region basis based on the determined ALF coefficients (S920).
- the encoding apparatus re-determines ALF coefficients for the ALF available area (S930). For example, if it is determined that the first of the areas is an ALF-enabled area, the encoding apparatus re-determines ALF coefficients for the first area. In this case, the encoding apparatus may re-determine the ALF coefficients according to a predetermined criterion based on the image characteristic of the first region.
- the encoding apparatus determines whether the ALF is available for the second area based on the ALF coefficients determined for the first area. You can also judge.
- the first region may be a spatial peripheral region or a temporal peripheral region of the second region.
- the first region may be a region located on the left side or the upper side of the second region in the current picture.
- the first region may have an image characteristic that is the same as or similar to that of the second region.
- the first region may have the same image complexity and / or image orientation as the second region.
- the encoding apparatus determines whether ALF is available on a CU basis within a region based on the re-determined ALF coefficients (S940). In this case, the encoding apparatus may determine whether ALF is available on a CU basis for the areas where ALF is available.
- the second region when the second region is available for ALF, it may be determined whether ALF is available based on the re-determined ALF coefficients in units of CUs within the second region.
- the encoding apparatus derives a filter shape for the ALF available area according to a predetermined criterion (950), and performs filtering based on the re-determined ALF coefficients for the ALF available CU (S960).
- the encoding apparatus encodes the information on the ALF available region and / or the information on the ALF available CU and transmits the encoded information to the decoding apparatus through the bitstream (S970).
- the encoding apparatus may finally determine whether ALF is available on a picture basis. That is, the encoding apparatus may compare the RD cost between applying the ALF to the current picture based on the re-determined ALF coefficients and not applying the ALF, and may not apply the ALF to the current picture when the efficiency is low. In this case, the encoding apparatus may transmit a flag indicating that the ALF is not available for the current picture to the decoding apparatus.
- the encoding apparatus may generate and transmit an area ALF available flag indicating that the ALF is performed on an area basis as in the present invention.
- the area ALF available flag is 1
- information about areas for the ALF may be further transmitted to a decoding apparatus.
- the information about the regions may include information about the regions, including region column number information indicating the number of region columns, region row number information indicating the number of region rows, and uniform region indicating whether the regions have a uniform size. It may include a flag.
- the information about the areas may include area width information indicating a width of each area and area height information indicating a height of each area.
- the information includes the contents described above in Tables 1 and 2 above.
- FIG. 10 schematically illustrates an example of an area based ALF method according to the present invention.
- the method disclosed in FIG. 10 may be performed by an encoding device.
- the decoding apparatus receives and parses an ALF available flag (S1000).
- the decoding device may receive and parse the ALF available flag via a bitstream received from the encoding device.
- the bitstream may be received over a network or storage medium.
- the decoding apparatus receives and parses information about areas for the ALF (S1010).
- the information about the areas for the ALF may include area column number information indicating the number of area columns, area row number information indicating the number of area rows, and a uniform area flag indicating whether the areas have a uniform size. have.
- +1 of the value of the syntax element corresponding to the area column number information indicates the number of the area columns
- +1 of the value of the syntax element corresponding to the area row number information indicates the number of the area rows. have.
- the information about the areas may include area width information indicating a width of each area and area height information indicating a height of each area.
- +1 of the value of the syntax element corresponding to the area width information on the current area indicates the width of the current area
- +1 of the value of the syntax element corresponding to the area height information about the current area is It can represent the height of the current area.
- the height of the current area and the width of the current area may be expressed by the number of CTUs.
- the decoding apparatus derives the regions for the ALF from the current picture (S1020).
- the decoding apparatus may derive the regions based on the region column number information, region row number information, and uniform region flag information.
- the regions may be derived based on the region column number information, region row number information, uniform region flag information, the region width information, and the region height information.
- the decoding apparatus receives and parses information on the ALF available area (S1030).
- the decoding apparatus may determine whether the current area is the ALF available area based on the information on the ALF available area.
- the decoding apparatus derives a filter shape and ALF coefficients for the current region (ALF available region) (S1040).
- the decoding apparatus may explicitly or implicitly derive the filter shape and the ALF coefficients for the current region.
- the filter shape and ALF coefficients for the current region may be indicated from the encoding apparatus, in which case the filter shape and ALF coefficients may be indicated through any index value according to a predefined criterion.
- the filter shape and the ALF coefficients for the current region may be determined according to a predefined criterion based on image characteristics in the corresponding region.
- the decoding apparatus performs filtering on the current region based on the filter shape and the ALF coefficients (S1050).
- the decoding apparatus may further receive and parse information on the ALF-enabled CU in the current region, and derive the ALF-enabled CU based on the information on the ALF-enabled CU.
- the filtering of the current region may include filtering the ALF-enabled CU based on the filter shape and the ALF coefficients. In this case, filtering may be skipped for a CU that is not ALF-enabled.
- subjective / objective image quality can be improved and coding efficiency can be improved through filtering of reconstructed pictures.
- the filtered picture may be stored in a memory and used as a reference picture for another picture. In this case, inter prediction efficiency may be improved.
- 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
Description
Claims (15)
- 인코딩 장치에 의하여 수행되는 픽처 필터링 방법에 있어서,현재 픽처로부터 ALF(adaptive loop filtering)을 위한 영역들을 도출(derive)하는 단계;픽처 단위 또는 영역 단위로 ALF 계수들(coefficients)을 결정하는 단계;상기 ALF 계수들을 기반으로 영역 단위로 ALF 가용 여부를 판단하는 단계;ALF 가용한 제1 영역에 대하여 ALF 계수들을 재결정하는 단계;상기 제1 영역에 대한 필터 모양을 도출하는 단계;상기 재결정된 ALF 계수들을 기반으로 상기 제1 영역 내의 CU(coding unit) 단위로 ALF 가용 여부를 판단하는 단계;ALF 가용한 CU에 대하여 상기 도출된 필터 모양 및 상기 재결정된 ALF 계수들을 기반으로 필터링을 수행하는 단계; 및상기 ALF 가용한 제1 영역에 대한 정보 및 ALF 가용한 CU에 대한 정보 중 적어도 하나를 전송하는 단계를 포함함을 특징으로 하는, 필터링 방법.
- 제1항에 있어서,ALF 가용하지 않은 제2 영역에 대하여 상기 제1 영역에 대한 재결정된 ALF 계수를 기반으로 ALF 가용 여부를 재판단하는 단계를 더 포함함을 특징으로 하는, 필터링 방법.
- 제 2항에 있어서,상기 재판단 결과 상기 제2 영역이 ALF 가용한 경우 상기 제2 영역 내의 CU 단위로 상기 재결정된 ALF 계수들을 기반으로 ALF 가용 여부를 판단하는 단계를 포함함을 특징으로 하는, 필터링 방법.
- 제 2항에 있어서,상기 제1 영역은 상기 제2 영역의 공간적(spatial) 주변(neighboring) 영역임을 특징으로 하는, 필터링 방법.
- 제 2항에 있어서,상기 제1 영역은 상기 제2 영역의 영상 특성과 유사한 영상 특성을 갖는 것을 특징으로 하는, 필터링 방법.
- 제 1항에 있어서,상기 재결정된 ALF 계수들을 기반으로 상기 현재 픽처에 대한 ALF 가용 여부를 판단하는 단계를 더 포함함을 특징으로 하는, 필터링 방법.
- 제 1항에 있어서,상기 ALF가 영역 기반으로 수행됨을 나타내는 영역 ALF 가용 플래그를 전송하는 단계;상기 영역 ALF 가용 플래그가 1인 경우, 상기 ALF를 위한 영역들에 관한 정보를 전송하는 단계를 더 포함함을 특징으로 하는, 필터링 방법.
- 제 7항에 있어서,상기 영역들에 관한 정보는 영역 열들의 개수를 나타내는 영역 열 개수 정보, 영역 행들의 개수를 나타내는 영역 행 개수 정보, 상기 영역들이 균일한 사이즈를 갖는지 여부를 나타내는 균일 영역 플래그를 포함함을 특징으로 하는, 필터링 방법.
- 제 8항에 있어서,상기 균일 영역 플래그의 값이 0인 경우, 상기 영역들에 관한 정보는 영역별 너비를 나타내는 영역 너비 정보, 상기 영역별 높이를 나타내는 영역 높이 정보를 포함함을 특징으로 하는, 필터링 방법.
- 디코딩 장치에 의하여 수행되는 픽처 필터링 방법에 있어서,ALF(adaptive loop filtering)가 영역 기반으로 수행됨을 나타내는 영역 ALF 가용 플래그를 파싱하는 단계;상기 영역 ALF 가용 플래그가 1인 경우, 상기 ALF를 위한 영역들에 관한 정보를 파싱하는 단계;상기 영역들에 관한 정보를 기반으로 현재 픽처로부터 상기 ALF를 위한 상기 영역들을 도출(derive)하는 단계;ALF 가용 영역에 대한 정보를 파싱하는 단계;상기 ALF 가용 영역에 대한 정보를 기반으로 상기 도출된 영역들 중 현재 영역이 ALF 가용한 경우 상기 현재 영역에 대한 필터 모양 및 ALF 계수들을 도출하는 단계; 및상기 필터 모양 및 상기 ALF 계수들을 기반으로 상기 현재 영역에 대한 필터링을 수행하는 단계를 포함함을 특징으로 하는, 필터링 방법.
- 제 10항에 있어서,상기 현재 영역 내의 ALF 가용 CU에 대한 정보를 파싱하는 단계; 및상기 ALF 가용 CU에 대한 정보를 기반으로 ALF 가용한 CU를 도출하는 단계를 더 포함하되,상기 현재 영역에 대한 필터링을 수행하는 단계는상기 필터 모양 및 상기 ALF 계수들을 기반으로 상기 ALF 가용한 CU에 대한 필터링을 수행함을 포함함을 특징으로 하는, 필터링 방법.
- 제 11항에 있어서,상기 ALF를 위한 영역들에 관한 정보는 영역 열들의 개수를 나타내는 영역 열 개수 정보, 영역 행들의 개수를 나타내는 영역 행 개수 정보, 상기 영역들이 균일한 사이즈를 갖는지 여부를 나타내는 균일 영역 플래그를 포함함을 특징으로 하는, 필터링 방법.
- 제 12항에 있어서,상기 균일 영역 플래그의 값이 0인 경우, 상기 영역들에 관한 정보는 영역별 너비를 나타내는 영역 너비 정보, 상기 영역별 높이를 나타내는 영역 높이 정보를 포함함을 특징으로 하는, 필터링 방법.
- 제 13항에 있어서,상기 영역 열 개수 정보에 대응하는 신텍스 요소의 값의 +1이 상기 영역 열들의 개수를 나타내고, 상기 영역 행 개수 정보에 대응하는 신텍스 요소의 값의 +1이 상기 영역 행들의 개수를 나타냄을 특징으로 하는, 필터링 방법.
- 제 14항에 있어서,상기 현재 영역에 관한 상기 영역 너비 정보에 대응하는 신텍스 요소의 값의 +1이 상기 현재 영역의 너비를 나타내고, 상기 현재 영역에 관한 상기 영역 높이 정보에 대응하는 신텍스 요소의 값의 +1이 상기 현재 영역의 높이를 나타내며, 상기 현재 영역의 높이 및 상기 현재 영역의 너비는 CTU들의 개수로 표현됨을 특징으로 하는, 필터링 방법.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/737,607 US10750170B2 (en) | 2015-06-18 | 2016-02-02 | Image filtering method and device in image coding system |
KR1020177035612A KR20180019549A (ko) | 2015-06-18 | 2016-02-02 | 영상 코딩 시스템에서 영상 필터링 방법 및 장치 |
EP16811787.7A EP3313079B1 (en) | 2015-06-18 | 2016-02-02 | Image filtering method in image coding system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201562181732P | 2015-06-18 | 2015-06-18 | |
US62/181,732 | 2015-06-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016204374A1 true WO2016204374A1 (ko) | 2016-12-22 |
Family
ID=57545403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2016/001141 WO2016204374A1 (ko) | 2015-06-18 | 2016-02-02 | 영상 코딩 시스템에서 영상 필터링 방법 및 장치 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10750170B2 (ko) |
EP (1) | EP3313079B1 (ko) |
KR (1) | KR20180019549A (ko) |
WO (1) | WO2016204374A1 (ko) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111279706A (zh) * | 2019-03-13 | 2020-06-12 | 北京大学 | 环路滤波的方法、装置、计算机系统和可移动设备 |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200120359A1 (en) * | 2017-04-11 | 2020-04-16 | Vid Scale, Inc. | 360-degree video coding using face continuities |
GB2580173B (en) | 2018-12-21 | 2022-07-27 | Canon Kk | A filter |
US11570435B2 (en) * | 2019-01-16 | 2023-01-31 | Telefonaktiebolaget Lm Ericsson (Publ) | Video coding comprising uniform tile split with remainder |
US11917143B2 (en) | 2019-04-03 | 2024-02-27 | Lg Electronics Inc. | Adaptive loop filter-based video or image coding |
KR20220044894A (ko) | 2019-08-29 | 2022-04-12 | 엘지전자 주식회사 | 영상 코딩 장치 및 방법 |
US12101476B2 (en) | 2019-11-22 | 2024-09-24 | Electronics And Telecommunications Research Institute | Adaptive in-loop filtering method and device |
US11432016B2 (en) * | 2019-12-05 | 2022-08-30 | Hfi Innovation Inc. | Methods and apparatuses of syntax signaling constraint for cross-component adaptive loop filter in video coding system |
US11516469B2 (en) | 2020-03-02 | 2022-11-29 | Tencent America LLC | Loop filter block flexible partitioning |
CN111798532B (zh) | 2020-08-03 | 2021-03-16 | 广州市宝绅科技应用有限公司 | 一种基于质心重合的网屏编码方法及系统 |
CN114205582B (zh) * | 2021-05-28 | 2023-03-24 | 腾讯科技(深圳)有限公司 | 用于视频编解码的环路滤波方法、装置及设备 |
WO2024147658A1 (ko) * | 2023-01-04 | 2024-07-11 | 엘지전자 주식회사 | 영상 부호화/복호화 방법, 비트스트림을 전송하는 방법 및 비트스트림을 저장한 기록 매체 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120039383A1 (en) * | 2010-08-12 | 2012-02-16 | Mediatek Inc. | Coding unit synchronous adaptive loop filter flags |
KR20130030294A (ko) * | 2010-10-05 | 2013-03-26 | 미디어텍 인크. | 영역 기반의 적응 루프 필터링의 방법 및 장치 |
KR20130051029A (ko) * | 2011-11-09 | 2013-05-20 | 에스케이텔레콤 주식회사 | 변환을 이용한 주파수 도메인 상의 적응적 루프 필터를 이용한 영상 부호화/복호화 방법 및 장치 |
KR20130070191A (ko) * | 2011-12-19 | 2013-06-27 | 광운대학교 산학협력단 | 최대코딩유닛 단위의 병렬 인-루프 필터링 방법 및 장치 |
KR20140116992A (ko) * | 2013-03-25 | 2014-10-07 | 삼성전자주식회사 | 외부 메모리 접근의 대역폭을 감소시키는 lcu단위의 인-루프 필터링 장치 및 방법 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6950547B2 (en) * | 2001-02-12 | 2005-09-27 | 3M Innovative Properties Company | Web inspection method and device |
KR100612871B1 (ko) * | 2004-11-11 | 2006-08-14 | 삼성전자주식회사 | 액정 표시장치의 동적 캐패시턴스 보상장치 및 방법 |
JP5233897B2 (ja) * | 2009-07-31 | 2013-07-10 | ソニー株式会社 | 画像処理装置および方法 |
CN102948151B (zh) * | 2010-06-17 | 2016-08-03 | 夏普株式会社 | 图像滤波装置、解码装置及编码装置 |
WO2012071417A1 (en) * | 2010-11-24 | 2012-05-31 | Thomson Licensing | Adaptive loop filtering |
US8964852B2 (en) * | 2011-02-23 | 2015-02-24 | Qualcomm Incorporated | Multi-metric filtering |
US9451284B2 (en) * | 2011-10-10 | 2016-09-20 | Qualcomm Incorporated | Efficient signaling of reference picture sets |
KR20130116782A (ko) * | 2012-04-16 | 2013-10-24 | 한국전자통신연구원 | 계층적 비디오 부호화에서의 계층정보 표현방식 |
KR20160072105A (ko) * | 2013-10-18 | 2016-06-22 | 엘지전자 주식회사 | 멀티-뷰 비디오를 디코딩하는 비디오 디코딩 장치 및 방법 |
US10057574B2 (en) * | 2015-02-11 | 2018-08-21 | Qualcomm Incorporated | Coding tree unit (CTU) level adaptive loop filter (ALF) |
-
2016
- 2016-02-02 WO PCT/KR2016/001141 patent/WO2016204374A1/ko active Application Filing
- 2016-02-02 US US15/737,607 patent/US10750170B2/en active Active
- 2016-02-02 EP EP16811787.7A patent/EP3313079B1/en active Active
- 2016-02-02 KR KR1020177035612A patent/KR20180019549A/ko unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120039383A1 (en) * | 2010-08-12 | 2012-02-16 | Mediatek Inc. | Coding unit synchronous adaptive loop filter flags |
KR20130030294A (ko) * | 2010-10-05 | 2013-03-26 | 미디어텍 인크. | 영역 기반의 적응 루프 필터링의 방법 및 장치 |
KR20130051029A (ko) * | 2011-11-09 | 2013-05-20 | 에스케이텔레콤 주식회사 | 변환을 이용한 주파수 도메인 상의 적응적 루프 필터를 이용한 영상 부호화/복호화 방법 및 장치 |
KR20130070191A (ko) * | 2011-12-19 | 2013-06-27 | 광운대학교 산학협력단 | 최대코딩유닛 단위의 병렬 인-루프 필터링 방법 및 장치 |
KR20140116992A (ko) * | 2013-03-25 | 2014-10-07 | 삼성전자주식회사 | 외부 메모리 접근의 대역폭을 감소시키는 lcu단위의 인-루프 필터링 장치 및 방법 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3313079A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111279706A (zh) * | 2019-03-13 | 2020-06-12 | 北京大学 | 环路滤波的方法、装置、计算机系统和可移动设备 |
CN111279706B (zh) * | 2019-03-13 | 2022-03-22 | 北京大学 | 环路滤波的方法、装置、计算机系统和可移动设备 |
Also Published As
Publication number | Publication date |
---|---|
KR20180019549A (ko) | 2018-02-26 |
US20180160116A1 (en) | 2018-06-07 |
US10750170B2 (en) | 2020-08-18 |
EP3313079A4 (en) | 2019-06-12 |
EP3313079B1 (en) | 2021-09-01 |
EP3313079A1 (en) | 2018-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016204374A1 (ko) | 영상 코딩 시스템에서 영상 필터링 방법 및 장치 | |
WO2017069419A1 (ko) | 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2017057877A1 (ko) | 영상 코딩 시스템에서 영상 필터링 방법 및 장치 | |
WO2017052081A1 (ko) | 영상 코딩 시스템에서 인터 예측 방법 및 장치 | |
WO2016204373A1 (ko) | 영상 코딩 시스템에서 영상 특성에 기반한 적응적 필터링 방법 및 장치 | |
WO2017014412A1 (ko) | 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2017082670A1 (ko) | 영상 코딩 시스템에서 계수 유도 인트라 예측 방법 및 장치 | |
WO2018044088A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2019194440A1 (ko) | 인트라 예측 모드에 대한 룩업 테이블을 이용한 영상 코딩 방법 및 그 장치 | |
WO2017043786A1 (ko) | 비디오 코딩 시스템에서 인트라 예측 방법 및 장치 | |
WO2016200043A1 (ko) | 비디오 코딩 시스템에서 가상 참조 픽처 기반 인터 예측 방법 및 장치 | |
WO2016204360A1 (ko) | 영상 코딩 시스템에서 조도 보상에 기반한 블록 예측 방법 및 장치 | |
WO2017069590A1 (ko) | 영상 코딩 시스템에서 모델링 기반 영상 디코딩 방법 및 장치 | |
WO2018008904A2 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017034331A1 (ko) | 영상 코딩 시스템에서 크로마 샘플 인트라 예측 방법 및 장치 | |
WO2017052000A1 (ko) | 영상 코딩 시스템에서 움직임 벡터 정제 기반 인터 예측 방법 및 장치 | |
WO2018070632A1 (ko) | 영상 코딩 시스템에서 영상 디코딩 방법 및 장치 | |
WO2017082443A1 (ko) | 영상 코딩 시스템에서 임계값을 이용한 적응적 영상 예측 방법 및 장치 | |
WO2012148138A2 (ko) | 인트라 예측 방법과 이를 이용한 부호화기 및 복호화기 | |
WO2017061671A1 (ko) | 영상 코딩 시스템에서 적응적 변환에 기반한 영상 코딩 방법 및 장치 | |
WO2013154366A1 (ko) | 블록 정보에 따른 변환 방법 및 이러한 방법을 사용하는 장치 | |
WO2017048008A1 (ko) | 영상 코딩 시스템에서 인터 예측 방법 및 장치 | |
WO2017159901A1 (ko) | 비디오 코딩 시스템에서 블록 구조 도출 방법 및 장치 | |
WO2019194507A1 (ko) | 어파인 움직임 예측에 기반한 영상 코딩 방법 및 그 장치 | |
WO2017052272A1 (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: 16811787 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20177035612 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15737607 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2016811787 Country of ref document: EP |