07-01-2021 дата публикации
Номер: US20210006827A1
Disclosed herein are a method and apparatus for filtering a reference pixel. A method of smoothing a reference pixel may include determining whether or not to perform smoothing on a reference pixel based on the size of a transform block and information about an intra-prediction mode for the transform block and determining a smoothing method by comparing the size of the transform block with the size of a maximum transform block. Accordingly, image coding efficiency can be increased, and picture quality can be improved. 1. An image decoder in which an intra-prediction is performed on a current block , comprising:an intra-prediction unit configured to:determine whether or not to perform smoothing on a reference pixel of the current block based on a size of a block, a size of a current block and an intra-prediction mode for the current block, the size of the block being indicated by an encoder and transmitted to the decoder; andapplying a bi-linear smoothing filter or a smoothing filter having predetermined filtering coefficients as the smoothing filter when it is determined to perform the smoothing on the reference pixel of the current block,wherein the smoothing filter having the filtering coefficients of [1,2,1] is a filter for calculating a filtered reference pixel,pF[x][y](x=−1, y=−1 . . . nT*2-1, x=0 . . . nT*2-1, y=−1), [{'br': None, 'i': pF', 'nT*', 'p', 'nT*, '[−1][2-1]=[−1][2-1]'}, {'br': None, 'i': pF', 'nT*', 'p', 'nT*, '[2-1][−1]=[2-1][−1]'}, {'br': None, 'i': pF', 'y', 'p', 'y+', 'p', 'y', 'p', 'y', 'y=nT*, '[−1][]=([−1][1]+2*[−1][]+[−1][−1]+2)>>2 for 2-2 . . . 0'}, {'br': None, 'i': pF', 'P', 'p', 'p, '[−1][−1]=([−1][0]+2*[−1][−1]+[0][−1]+2)>>2'}, {'br': None, 'i': pF', 'x', 'p', 'x−', 'p', 'x', 'p', 'x+, '[][−1]=([1][−1]+2*[][−1]+[1][−1]+2)>>2'}, {'br': None, 'i': pF', 'x', 'p', 'x−', 'p', 'x', 'p', 'x+', 'x=', 'nT*, '[][−1]=([1][−1]+2*[][−1]+[1][−1]+2)>>2 for 0 . . . 2-2'}], 'according to the equations2. The image decoder of claim 1 , wherein the ...
Подробнее