摘要:
A video encoding method, a video encoding apparatus, a video decoding method, and a video decoding apparatus, the video encoding method including producing a fast transform matrix based on a transform matrix which is used for frequency transformation on a predetermined-size block; producing a transformed block by transforming the predetermined-size block by using the fast transform matrix; and performing scaling with respect to the transformed block to correct a difference between the transform matrix used for the frequency transformation and the fast transform matrix.
摘要:
Provided are a method of interpolating an image by determining interpolation filter coefficients, and an apparatus for performing the same. The method includes: differently selecting an interpolation filter, from among interpolation filters for generating at least one sub-pel-unit pixel value located between integer-pel-unit pixels, based on a sub-pel-unit interpolation location and a smoothness; and generating the at least one sub-pel-unit pixel value by interpolating, using the selected interpolation filter, pixel values of the integer-pel-unit pixels.
摘要:
A method of encoding a video based on a bit depth increment, the method including: determining a scaling method so that a dynamic range, which is based on a bit depth of a restored image decreased by de-scaling that is performed to decrease the bit depth increment, is identical to a dynamic range based on a bit depth of an input image, and generating an internal image having the bit depth increment by applying the scaling method to pixel values of the input image; and determining and encoding coding units having a tree structure, for each maximum coding unit of the internal image having the bit depth increment.
摘要:
Provided are methods and apparatuses for transforming and inverse-transforming an image. The method of transforming an image includes: generating a substituted N×N transformation matrix by substituting elements of an N×N transformation matrix used for a 1-dimensional (1D) discrete cosine transform (DCT) of a N×N block of the image with values based on N variables, where N is an integer; obtaining a multiplication matrix of the substituted N×N transformation matrix and a transposed matrix of the substituted N×N transformation matrix; obtaining the N variables that enable a sum of squares of elements excluding diagonal components of the obtained multiplication matrix to be a minimum; and transforming the N×N block by using the substituted N×N transformation matrix, which is substituted with the values based on the obtained N variables.
摘要:
A method of encoding a video is provided, the method includes: determining a filtering boundary on which deblocking filtering is to be performed based on at least one data unit from among a plurality of coding units that are hierarchically configured according to depths indicating a number of times at least one maximum coding unit is spatially spilt, and a plurality of prediction units and a plurality of transformation units respectively for prediction and transformation of the plurality of coding units, determining filtering strength at the filtering boundary based on a prediction mode of a coding unit to which pixels adjacent to the filtering belong from among the plurality of coding units, and transformation coefficient values of the pixels adjacent to the filtering boundary, and performing deblocking filtering on the filtering boundary based on the determined filtering strength.
摘要:
Provided is a method and apparatus for encoding a video by using dynamic range transformation based on content and a method and apparatus for decoding a video by using dynamic range transformation based on content. The encoding method includes: performing inter prediction, through motion estimation, and intra prediction for a current region using image data in which a dynamic range of the current region is transformed based on content of an image of input video; performing transformation on residual data generated by the intra prediction and the inter prediction and performing quantization on a transformation coefficient generated by the transformation; and performing entropy encoding on the quantized transformation coefficient.
摘要:
Provided are a method and apparatus for interpolating an image. The method includes: selecting a first filter, from among a plurality of different filters, for interpolating between pixel values of integer pixel units, according to an interpolation location; and generating at least one pixel value of at least one fractional pixel unit by interpolating between the pixel values of the integer pixel units by using the selected first filter.
摘要:
A method of encoding a video is provided, the method includes: determining a filtering boundary on which deblocking filtering is to be performed based on at least one data unit from among a plurality of coding units that are hierarchically configured according to depths indicating a number of times at least one maximum coding unit is spatially spilt, and a plurality of prediction units and a plurality of transformation units respectively for prediction and transformation of the plurality of coding units, determining filtering strength at the filtering boundary based on a prediction mode of a coding unit to which pixels adjacent to the filtering belong from among the plurality of coding units, and transformation coefficient values of the pixels adjacent to the filtering boundary, and performing deblocking filtering on the filtering boundary based on the determined filtering strength.
摘要:
Provided are image transform/inverse transform methods and apparatuses. The image transform method substitutes a trigonometric function which is included in a discrete cosine transform (DCT) matrix with a rational number, and uses a scaling matrix in a scaling process that is performed in conjunction with quantization, in order to minimize a transform error due to the substituted DCT matrix.
摘要:
An image transforming method, an image transforming apparatus, an image inverse-transforming method, and an image inverse-transforming apparatus are provided. The image transforming method includes the operations of selecting a predetermined frequency area for performing a frequency transformation with respect to an M×N (where M and N are positive integers) input block, acquiring a truncated transform matrix by selecting elements to be used for a generation of transformation coefficients which correspond to the selected frequency area from among elements of an M×N transform matrix, and generating the transformation coefficients which correspond to the selected frequency area by performing the frequency transformation by applying the truncated transform matrix to the M×N input block.