Deblocking filtering control
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsAndrey NORKIN, Kenneth ANDERSSON, Rickard SJÖBERG
Life of this patent
Estimating the term…
Abstract
A first filter decision value is calculated for a block of pixels in a video frame based on pixel values of pixels in a first line of pixels in the block. A second filter decision value is also calculated for the block based on pixel values of pixels in a corresponding first line of pixels in a neighboring block in the video frame. The first filter decision value is used to determine how many pixels in a line of pixels in the block to filter relative to a block boundary between the block and the neighboring block. The second filter decision value is used to determine how many pixels in a corresponding line of pixels in the neighboring block to filter relative to the block boundary.
Claims16
A method of filtering control applicable to a block of multiple pixels in a video frame, each pixel having a respective pixel value, comprising:
- calculating a first filter decision value for a block of pixels based at least in part on a first weighted sum of first pixel values, the first pixel values including a first pixel value of a pixel closest to, in a first line of pixels, a boundary to a neighboring block, a second pixel value of a pixel next closest to, in the first line of pixels, the neighboring block boundary, a third pixel value of a pixel second next closest to, in the first line of pixels, the neighboring block boundary;
- calculating a second filter decision value for the block of pixels based at least in part on a second weighted sum of second pixel values, the second pixel values including a first pixel value of a pixel in the neighboring block closest to, in a corresponding first line of pixels in the neighboring block, the neighboring block boundary, a second pixel value of a pixel of the neighboring block next closest to, in the corresponding first line of pixels, the neighboring block boundary, and a third pixel value of a pixel in the neighboring block second next closest to, in the corresponding first line of pixels, the neighboring block boundary;
- determining how many pixels in the line of pixels in the block to filter relative to the neighboring block boundary based on a comparison of the first filter decision value to a first threshold value;
- and
- determining how many pixels in the corresponding line of pixels in the neighboring block to filter relative to the neighboring block boundary based on a comparison of the second filter decision value to a second threshold value.
A filtering control device comprising:
- a first decision value calculator configured to calculate a first filter decision value for a block of pixels based at least in part a first weighted sum of first pixel values, the first pixel values including a pixel value of a pixel closest to, in a first line of pixels, a boundary to a neighboring block, a second pixel value of a pixel next closest to, in the first line of pixels, the neighboring block boundary, and a third pixel value a pixel second next closest to, in the first line of pixels, the neighboring block boundary;
- a second decision value calculator configured to calculate a second filter decision value for the block of pixels based at least in part on a second weighted sum of second pixel values, the second pixel values including a first pixel value of a pixel in the neighboring block closest to, in a corresponding first line of pixels in the neighboring block, the neighboring block boundary, a second pixel value of a pixel of the neighboring block next closest to, in the corresponding first line of pixels, the neighboring block boundary, and a third pixel value of a pixel in the neighboring block second next closest to, in the corresponding first line of pixels, the neighboring block boundary;
- a first pixel determiner configured to determine how many pixels in a line of pixels in the block to filter relative to the neighboring block boundary based on the first filter decision value calculated by the first decision value calculator;
- and
- a second pixel determiner configured to determine how many pixels in a corresponding line of pixels in the neighboring block to filter relative to the neighboring block boundary based on the second filter decision value calculated by the second decision value calculator.
A non-transitory computer-readable medium comprising a computer program stored thereon for filtering control of a block of multiple pixels in a video frame, each pixel having a respective pixel value, the computer program comprises computer program instructions that when run on a computer cause the computer to:
- calculate a first filter decision value for a block of pixels based at least in part on a first weighted sum of first pixel values, the first pixel values including a first pixel value of a pixel closest to, in a first line of pixels, a boundary to a neighboring block, a second pixel value of a pixel next closest to, in the first line of pixels, the neighboring block boundary, a third pixel value of a pixel second next closest to, in the first line of pixels, the neighboring block boundary;
- calculate a second filter decision value for the block of pixels based at least in part on a second weighted sum of second pixel values, the second pixel values including a first pixel value of a pixel in the neighboring block closest to, in a corresponding first line of pixels in the neighboring block, the neighboring block boundary, a second pixel value of a pixel of the neighboring block next closest to, in the corresponding first line of pixels, the neighboring block boundary, and a third pixel value of a pixel in the neighboring block second next closest to, in the corresponding first line of pixels, the neighboring block boundary;
- determine how many pixels in a line of pixels in the block to filter relative to the neighboring block boundary, based on the first filter decision value, wherein the determining how many pixels in the line of pixels to filter comprises determining how many pixels in the first line of pixels in the block to filter relative to the neighboring block boundary based on a comparison of the first filter decision value to a first threshold value;
- and
- determine how many pixels in a corresponding line of pixels in the neighboring block to filter relative to the neighboring block boundary, based on the second filter decision value, wherein determining how many pixels in the corresponding line of pixels in the neighboring block to filter comprises determining how many pixels in the corresponding first line of pixels in the neighboring block to filter relative to the neighboring block boundary based on a comparison of the second filter decision value to a second threshold value.
Dependencies are inferred from the claim text.