# US 2019/0246145 A1 · Method and apparatus for encoding/decoding image information

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

- Number: US 2019/0246145 A1
- Document ID: US20190246145A1
- Status: Published application
- Kind: A1
- Application number: 16/387,251
- Filed: 2019-04-17
- Published: 2019-08-08
- Earliest claimed: 2011-09-20
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Seungwook PARK; Jaehyun LIM; Yongjoon JEON; Chulkeun KIM; Jungsun KIM; Naeri PARK; Hendry HENDRY; Byeongmoon JEON; Joonyoung PARK
- Web page: https://patentgrep.com/patent/US20190246145A1

## CPC

- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/134: characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 19/60: using transform coding
- H04N 19/61: in combination with predictive coding
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention relates to a deblocking filtering method, a method for inducing bs (boundary strength) therefor, and a method and an apparatus for encoding/decoding using the same. The method for inducing the bS of the present invention comprises the steps of: inducing a boundary of a deblocking filtering unit block as a unit block for applying the deblocking filtering; and setting the bS according to each bS setting unit block within the deblocking filtering unit block, wherein the bS setting step can set a bS value for a target boundary corresponding to a boundary of the deblocking filtering unit block as the bs setting unit block

## Claims

### Claim 1

(canceled)

### Claim 2

A deblocking filtering method performed by a decoding apparatus, the method comprising:
deriving a reconstructed picture based on information obtained from a bitstream; and
applying a deblocking filtering process on the reconstructed picture,
wherein applying the deblocking filtering process includes:
setting a boundary strength (bS) value on a target boundary in the reconstructed picture, wherein the bS value is set from three case values, and
applying deblocking filtering on the target boundary based on the bS value,
wherein the bS value is set for the target boundary which is an overlapped boundary of a boundary of a bS setting unit and a boundary of a deblocking filtering unit,
wherein the deblocking filtering unit is an array of 8×8 samples and the bS setting unit is an array of 4×4 samples.

### Claim 3 (depends on 2)

The method of claim 2, wherein applying the deblocking filtering on the target boundary includes:
determining whether the deblocking filtering is not to be applied on the target boundary based on the bS value, wherein the deblocking filtering is not applied on the target boundary when the bS value is set equal to 0;
determining based on specific samples neighboring the target boundary and located in specific sample rows or columns, whether the deblocking filtering is not to be applied on the target boundary when the set bS value is larger than 0, wherein even when the bS value is larger than 0 when it is determined that the deblocking filtering is not to be applied on the target boundary, the deblocking filtering is not applied on the target boundary;
determining whether strong filtering is to be applied or weak filtering is to be applied when the deblocking filtering is determined to be applied; and
applying a strong filtering or a weak filtering on the target boundary according to the determination on whether strong filtering is to be applied or weak filtering is to be applied,
wherein the specific samples in k-th sample row and (k+3)-th sample row are used for determining whether the deblocking filtering is not to be applied on the target boundary when the target boundary is a vertical boundary or the specific samples in k-th sample column and (k+3)-th sample column are used for determining whether the deblocking filtering is not to be applied on the target boundary when the target boundary is a horizontal boundary, wherein k is an integer and 0≤k.

### Claim 4 (depends on 2)

The method of claim 2, wherein if one of two blocks facing each other across the target boundary includes a non-zero transform coefficient, the bS value is set equal to 1, and if different reference pictures are used for the inter prediction of the two blocks, the bS value is set equal to 1.

### Claim 5 (depends on 2)

The method of claim 2, wherein in the applying the deblocking filtering, the deblocking filtering on reconstructed samples neighboring vertical boundaries are performed and then the deblocking filtering on reconstructed samples neighboring horizontal boundaries are performed.

### Claim 6 (depends on 2)

The method of claim 2, wherein the applying the deblocking filtering includes determining whether strong filtering is to be applied or weak filtering is to be applied based on samples of two blocks facing each other across the target boundary.

### Claim 7 (depends on 6)

The method of claim 6, wherein whether the strong filtering is to be applied or the weak filtering is to be applied is determined based on samples to be subjected to the filtering out of samples in sample rows when the target boundary is the vertical boundary, or based on samples to be subjected to the filtering out of samples in sample columns when the target boundary is the horizontal boundary.

### Claim 8 (depends on 3)

The method of claim 3, wherein the applying the deblocking filtering further includes determining additionally whether the deblocking filtering is applied when the weak filtering is determined to be applied.

### Claim 9 (depends on 3)

The method of claim 3, wherein the applying the deblocking filtering further includes determining whether the weak filtering is to be applied on specific samples when the weak filtering is determined to be applied.

### Claim 10 (depends on 3)

The method of claim 3, wherein when the bS value is larger than 0 and the target boundary is the vertical boundary, whether the deblocking filtering is not to be applied is determined based on a first sum of a difference between the first sample and the second sample from the vertical boundary and a difference between the third sample and the second sample from the vertical boundary among samples in the k-th sample row, and a second sum of a difference between the first sample and the second sample from the vertical boundary and a difference between the third sample and the second sample from the vertical boundary among samples in the (k+3)-th sample row,
wherein when a sum of the first sum and the second sum is greater than a threshold value it is determined that the deblocking filtering is not to be applied for the target boundary.

### Claim 11 (depends on 3)

The method of claim 3, wherein when the bS value is larger than 0 and the target boundary is the horizontal boundary, whether the deblocking filtering is not to be applied is determined based on a first sum of a difference between the first sample and the second sample from the horizontal boundary and a difference between the third sample and the second sample from the horizontal boundary among the samples in the k-th sample column, and a second sum of a difference between the first sample and the second sample from the horizontal boundary and a difference between the third sample and the second sample from the horizontal boundary among samples in the (k+3)-th sample column,
wherein when a sum of the first sum and the second sum is greater than a threshold value it is determined that the deblocking filtering is not to be applied for the target boundary.

### Claim 12

A deblocking filtering method performed by an encoding apparatus, the method comprising:
deriving a reconstructed picture of a current picture; and
applying a deblocking filtering process on the reconstructed picture,
wherein applying the deblocking filtering process includes:
setting a boundary strength (bS) value on a target boundary in the reconstructed picture, wherein the bS value is set from three case values, and
applying deblocking filtering on the target boundary based on the bS value,
wherein the bS value is set for the target boundary which is an overlapped boundary of a boundary of a bS setting unit and a boundary of a deblocking filtering unit,
wherein the deblocking filtering unit is an array of 8×8 samples and the bS setting unit is an array of 4×4 samples.

### Claim 13 (depends on 12)

The method of claim 12, wherein applying the deblocking filtering on the target boundary includes:
determining whether the deblocking filtering is not to be applied on the target boundary based on the bS value, wherein the deblocking filtering is not applied on the target boundary when the bS value is set equal to 0;
determining based on specific samples neighboring the target boundary and located in specific sample rows or columns, whether the deblocking filtering is not to be applied on the target boundary when the set bS value is larger than 0, wherein even when the bS value is larger than 0 when it is determined that the deblocking filtering is not to be applied on the target boundary, the deblocking filtering is not applied on the target boundary;
determining whether strong filtering is to be applied or weak filtering is to be applied when the deblocking filtering is determined to be applied; and
applying a strong filtering or a weak filtering on the target boundary according to the determination on whether strong filtering is to be applied or weak filtering is to be applied,
wherein the specific samples in k-th sample row and (k+3)-th sample row are used for determining whether the deblocking filtering is not to be applied on the target boundary when the target boundary is a vertical boundary or the specific samples in k-th sample column and (k+3)-th sample column are used for determining whether the deblocking filtering is not to be applied on the target boundary when the target boundary is a horizontal boundary, wherein k is an integer and 0≤k.

### Claim 14 (depends on 12)

The method of claim 12, wherein if one of two blocks facing each other across the target boundary includes a non-zero transform coefficient, the bS value is set equal to 1, and if different reference pictures are used for the inter prediction of the two blocks, the bS value is set equal to 1.

### Claim 15 (depends on 12)

The method of claim 12, wherein in the applying the deblocking filtering, the deblocking filtering on reconstructed samples neighboring vertical boundaries are performed and then the deblocking filtering on reconstructed samples neighboring horizontal boundaries are performed.

### Claim 16 (depends on 12)

The method of claim 12, wherein the applying the deblocking filtering includes determining whether strong filtering is to be applied or weak filtering is to be applied based on samples of two blocks facing each other across the target boundary.

### Claim 17 (depends on 16)

The method of claim 16, wherein whether the strong filtering is to be applied or the weak filtering is to be applied is determined based on samples to be subjected to the filtering out of samples in sample rows when the target boundary is the vertical boundary, or based on samples to be subjected to the filtering out of samples in sample columns when the target boundary is the horizontal boundary.

### Claim 18 (depends on 13)

The method of claim 13, wherein the applying the deblocking filtering further includes determining additionally whether the deblocking filtering is applied when the weak filtering is determined to be applied.

### Claim 19 (depends on 13)

The method of claim 13, wherein when the bS value is larger than 0 and the target boundary is the vertical boundary, whether the deblocking filtering is not to be applied is determined based on a first sum of a difference between the first sample and the second sample from the vertical boundary and a difference between the third sample and the second sample from the vertical boundary among samples in the k-th sample row, and a second sum of a difference between the first sample and the second sample from the vertical boundary and a difference between the third sample and the second sample from the vertical boundary among samples in the (k+3)-th sample row,
wherein when a sum of the first sum and the second sum is greater than a threshold value it is determined that the deblocking filtering is not to be applied for the target boundary.

### Claim 20 (depends on 13)

The method of claim 13, wherein when the bS value is larger than 0 and the target boundary is the horizontal boundary, whether the deblocking filtering is not to be applied is determined based on a first sum of a difference between the first sample and the second sample from the horizontal boundary and a difference between the third sample and the second sample from the horizontal boundary among the samples in the k-th sample column, and a second sum of a difference between the first sample and the second sample from the horizontal boundary and a difference between the third sample and the second sample from the horizontal boundary among samples in the (k+3)-th sample column,
wherein when a sum of the first sum and the second sum is greater than a threshold value it is determined that the deblocking filtering is not to be applied for the target boundary.

### Claim 21

A non-transitory decoder-readable storage medium storing encoded video information causing a decoding apparatus to execute a deblocking filtering method comprising:
deriving a reconstructed picture based on information obtained from a bitstream; and applying a deblocking filtering process on the reconstructed picture, wherein applying the deblocking filtering process includes: setting a boundary strength (bS) value on a target boundary in the reconstructed picture, wherein the bS value is set from three case values, and applying deblocking filtering on the target boundary based on the bS value, wherein the bS value is set for the target boundary which is an overlapped boundary of a boundary of a bS setting unit and a boundary of a deblocking filtering unit, wherein the deblocking filtering unit is an array of 8×8 samples and the bS setting unit is an array of 4×4 samples.
