# US 2019/0379906 A1 · Image encoding/decoding method using prediction block and apparatus for same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0379906 A1
- Document ID: US20190379906A1
- Status: Published application
- Kind: A1
- Application number: 16/546,795
- Filed: 2019-08-21
- Published: 2019-12-12
- Earliest claimed: 2011-06-20
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Jin Ho LEE; Hui Yong KIM; Sung Chang LIM; Jin Soo CHOI; Jin Woong KIM
- Web page: https://patentgrep.com/patent/US20190379906A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- H04N 19/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
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/182: the unit being a pixel
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to the present invention, an image encoding/decoding method comprises the steps of: performing an intra prediction on a current block so as to generate a prediction block; performing filtering on a filtering target pixel in the prediction block on the basis of the intra prediction mode of the current block so as to generate a final prediction block; and generating a reconstructed block on the basis of a reconstructed differential block corresponding to the current block and on the final prediction block. According to the present invention, image encoding/decoding efficiency can be improved.

## Claims

### Claim 1

A video decoding apparatus comprising:
a prediction block generating unit to generate a prediction block by performing prediction on a current block based on an intra prediction mode of the current block; and
a reconstructed block generating unit to generate a reconstructed block based on the prediction block and a reconstructed residual block corresponding to the current block,
wherein the prediction block comprises first prediction pixels and second prediction pixels,
the first prediction pixels are pixels on a left vertical pixel line,
the first prediction pixels are filtered based on a first offset when the intra prediction mode of the current block is a vertical mode,
the second prediction pixels are pixels on an upper horizontal pixel line,
the second prediction pixels are filtered based on a second offset when the intra prediction mode of the current block is a horizontal mode,
the left vertical pixel line is one vertical pixel line positioned at a leftmost side of the current block, and
the upper horizontal pixel line is one horizontal pixel line positioned at an uppermost side of the current block.

### Claim 2 (depends on 1)

The video decoding apparatus of claim 1, wherein the second prediction pixels are filtered by adding a value of the second offset to a pixel value of a first reference pixel present on the same horizontal line as a horizontal line on which the second prediction pixels are present among reconstructed reference pixels adjacent to a left of the current block when the intra prediction mode of the current block is the horizontal mode, and
the value of the second offset is determined based on a difference value between a pixel value of a second reference pixel adjacent to an upper portion of the second prediction pixels and a pixel value of a third reference pixel adjacent to an upper portion of the first reference pixel.

### Claim 3 (depends on 1)

The video decoding apparatus of claim 1, wherein the prediction block generating unit performs filtering when a size of the current block is smaller than 32×32.

### Claim 4

A video encoding apparatus comprising:
a prediction block generating unit to generate a prediction block by performing prediction on a current block based on an intra prediction mode of the current block; and
a reconstructed block generating unit to generate a reconstructed block based on the prediction block and a reconstructed residual block corresponding to the current block,
wherein the prediction block comprises first prediction pixels and second prediction pixels,
the first prediction pixels are pixels on a left vertical pixel line,
the first prediction pixels are filtered based on a first offset when the intra prediction mode of the current block is a vertical mode,
the second prediction pixels are pixels on an upper horizontal pixel line,
the second prediction pixels are filtered based on a second offset when the intra prediction mode of the current block is a horizontal mode,
the left vertical pixel line is one vertical pixel line positioned at a leftmost side of the current block, and
the upper horizontal pixel line is one horizontal pixel line positioned at an uppermost side of the current block.

### Claim 5 (depends on 4)

The video encoding apparatus of claim 4, wherein the second prediction pixels are filtered by adding a value of the second offset to a pixel value of a first reference pixel present on the same horizontal line as a horizontal line on which the second prediction pixels are present among reconstructed reference pixels adjacent to a left of the current block when the intra prediction mode of the current block is the horizontal mode, and
the value of the second offset is determined based on a difference value between a pixel value of a second reference pixel adjacent to an upper portion of the second prediction pixels and a pixel value of a third reference pixel adjacent to an upper portion of the first reference pixel.

### Claim 6 (depends on 4)

The video encoding apparatus of claim 4, wherein the prediction block generating unit performs filtering when a size of the current block is smaller than 32×32.

### Claim 7

A non-transitory computer-readable medium storing a bitstream, the bitstream comprising:
prediction mode information indicating an intra prediction mode for a current block on which filtering is performed;
wherein a prediction block is generated by performing prediction on the current block based on the intra prediction mode of the current block which the prediction mode information indicates,
a reconstructed block is generated based on the prediction block and a reconstructed residual block corresponding to the current block,
the prediction block comprises first prediction pixels and second prediction pixels,
the first prediction pixels are pixels on a left vertical pixel line,
the filtering is performed on the first prediction pixels based on a first offset when the intra prediction mode of the current block is a vertical mode,
the second prediction pixels are pixels on an upper horizontal pixel line,
the filtering is performed on the second prediction pixels based on a second offset when the intra prediction mode of the current block is a horizontal mode,
the left vertical pixel line is one vertical pixel line positioned at a leftmost side of the current block, and
the upper horizontal pixel line is one horizontal pixel line positioned at an uppermost side of the current block.

### Claim 8 (depends on 7)

The non-transitory computer-readable medium of claim 7, wherein the second prediction pixels are filtered by adding a value of the second offset to a pixel value of a first reference pixel present on the same horizontal line as a horizontal line on which the second prediction pixels are present among reconstructed reference pixels adjacent to a left of the current block when the intra prediction mode of the current block is the horizontal mode, and
the value of the second offset is determined based on a difference value between a pixel value of a second reference pixel adjacent to an upper portion of the second prediction pixels and a pixel value of a third reference pixel adjacent to an upper portion of the first reference pixel.

### Claim 9 (depends on 7)

The non-transitory computer-readable medium of claim 7, wherein the filtering is performed when a size of the current block is smaller than 32×32.
