# US 2021/0289197 A1 · Video signal processing method and device using intra prediction filtering

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

- Number: US 2021/0289197 A1
- Document ID: US20210289197A1
- Status: Published application
- Kind: A1
- Application number: 17/333,887
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-28
- Assignees: Wilus Institute of Standards and Technology Inc.; Humax Co., Ltd.
- Applicants: Wilus Institute of Standards and Technology Inc.; Humax Co., Ltd.
- Inventors: Geonjung KO; Dongcheol KIM; Juhyung SON; Jaehong JUNG; Jinsam KWAK
- Web page: https://patentgrep.com/patent/US20210289197A1

## CPC

- 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video signal processing method comprises: a step for deriving an intra prediction mode of a current block; a step for constructing a reference sample around the current block; a step for generating a prediction sample of the current block by using the reference sample on the basis of the intra prediction mode; and a step for restoring the current block on the basis of the prediction sample. The step for generating the prediction sample may comprise: a step for setting a filter flag value which specifies a filter coefficient of an interpolation filter applied to the reference sample on the basis of the width and height of the current block; and a step for performing filtering on the reference sample by using the interpolation filter having the filter coefficient specified by the filter flag.

## Claims

### Claim 1

A non-transitory computer-readable medium storing a bitstream, the bitstream being decoded by a decoding method,
wherein the decoding method, comprising:
deriving an intra-prediction mode of a current block;
configuring a reference sample around the current block;
generating a prediction sample of the current block by using the reference sample, on the basis of the intra-prediction mode; and
reconstructing the current block on the basis of the prediction sample,
wherein the generating of the prediction sample comprises:
on the basis of a width and a height of the current block, configuring a value of a filter flag specifying a filter coefficient of an interpolation filter applied to the reference sample; and
performing filtering for the reference sample by using the interpolation filter having the filter coefficient specified by the filter flag.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the value of the filter flag is configured on the basis of a block size variable of the current block, and
wherein the block size variable is derived by summing up a value of log base 2 of the width, and a value of log base 2 of the height, and applying a right shift operation by 1 for a sum value.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the value of the filter flag is configured to be 1 if a vertical horizontal distance minimum value is larger than a predefined particular threshold value, and otherwise, the value of the filter flag is configured to be 0, and
wherein the vertical horizontal distance minimum value is derived to be a smaller value between an absolute value of a difference between the intra-prediction mode and a horizontal mode and an absolute value of a difference between the intra-prediction mode and a vertical mode.

### Claim 4 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein the threshold value is previously defined according to the block size variable.

### Claim 5 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein, if a value of the block size variable is 2, the value of the filter flag is configured to be 0.

### Claim 6 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein, if a value of the block size variable is 2, the threshold value is previously defined to be a value that is always larger than or equal to the vertical horizontal distance minimum value.

### Claim 7 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein the intra-prediction mode used to derive the vertical horizontal distance minimum value comprises an intra-prediction mode of a case where a wide angle intra-prediction is used for the current block.

### Claim 8 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein when the value of the filter flag is 0, the interpolation filter is at least one of a smoothing filter, a DCT (Discrete Cosine Transform) filter and a gaussian filter.

### Claim 9

A video signal decoding device comprising a processor,
wherein the processor is configured to:
derive an intra-prediction mode of a current block;
configure a reference sample around the current block;
generate a prediction sample of the current block by using the reference sample on the basis of the intra-prediction mode; and
reconstruct the current block on the basis of the prediction sample, and
wherein the processor:
on the basis of a width and a height of the current block, configure a value of a filter flag specifying a filter coefficient of an interpolation filter applied to the reference sample; and
perform filtering for the reference sample by using the interpolation filter having the filter coefficient specified by the filter flag, so as to generate the prediction sample.

### Claim 10 (depends on 9)

The video signal decoding device of claim 9, wherein the value of the filter flag is configured on the basis of a block size variable of the current block, and
wherein the block size variable is derived by summing up a value of log base 2 of the width, and a value of log base 2 of the height, and applying a right shift operation by 1 for a sum value.

### Claim 11 (depends on 10)

The video signal decoding device of claim 10, wherein the value of the filter flag is configured to be 1 if a vertical horizontal distance minimum value is larger than a predefined particular threshold value, and otherwise, the value of the filter flag is configured to be 0, and
wherein the vertical horizontal distance minimum value is derived to be a smaller value between an absolute value of a difference between the intra-prediction mode and a horizontal mode and an absolute value of a difference between the intra-prediction mode and a vertical mode.

### Claim 12 (depends on 11)

The video signal decoding device of claim 11, wherein the threshold value is previously defined according to the block size variable.

### Claim 13 (depends on 11)

The video signal decoding device of claim 11, wherein, if a value of the block size variable is 2, the value of the filter flag is configured to be 0.

### Claim 14 (depends on 12)

The video signal decoding device of claim 12, wherein, if a value of the block size variable is 2, the threshold value is previously defined to be a value that is always larger than or equal to the vertical horizontal distance minimum value.

### Claim 15 (depends on 11)

The video signal decoding device of claim 11, wherein the intra-prediction mode used to derive the vertical horizontal distance minimum value comprises an intra-prediction mode of a case where a wide angle intra-prediction is used for the current block.

### Claim 16 (depends on 11)

The video signal decoding device of claim 11, wherein when the value of the filter flag is 0, the interpolation filter is at least one of a smoothing filter, a DCT (Discrete Cosine Transform) filter and a gaussian filter.

### Claim 17

A video signal encoding device comprising a processor,
wherein the processor is configured to:
obtain a bitstream to be decoded by a decoder using a decoding method,
wherein the decoding method comprising:
deriving an intra-prediction mode of a current block;
configuring a reference sample around the current block;
generating a prediction sample of the current block by using the reference sample, on the basis of the intra-prediction mode; and
reconstructing the current block on the basis of the prediction sample,
wherein the generating of the prediction sample comprises:
on the basis of a width and a height of the current block, configuring a value of a filter flag specifying a filter coefficient of an interpolation filter applied to the reference sample; and
performing filtering for the reference sample by using the interpolation filter having the filter coefficient specified by the filter flag.

### Claim 18 (depends on 17)

The video signal encoding device of claim 17, wherein the value of the filter flag is configured on the basis of a block size variable of the current block, and
wherein the block size variable is derived by summing up a value of log base 2 of the width, and a value of log base 2 of the height, and applying a right shift operation by 1 for a sum value.

### Claim 19 (depends on 18)

The video signal encoding device of claim 18, wherein the value of the filter flag is configured to be 1 if a vertical horizontal distance minimum value is larger than a predefined particular threshold value, and otherwise, the value of the filter flag is configured to be 0, and
wherein the vertical horizontal distance minimum value is derived to be a smaller value between an absolute value of a difference between the intra-prediction mode and a horizontal mode and an absolute value of a difference between the intra-prediction mode and a vertical mode.

### Claim 20 (depends on 19)

The video signal encoding device of claim 19, wherein the threshold value is previously defined according to the block size variable.
