# US 2025/0168350 A1 · Methods and systems for post-reconstruction filtering

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

- Number: US 2025/0168350 A1
- Document ID: US20250168350A1
- Status: Published application
- Kind: A1
- Application number: 19/033,943
- Filed: 2025-01-22
- Published: 2025-05-22
- Earliest claimed: 2019-03-11
- Assignees: InterDigital VC Holdings, Inc.
- Applicants: InterDigital VC Holdings, Inc.
- Inventors: Shilin Wu; Philippe Hanhart; Yuwen He
- Web page: https://patentgrep.com/patent/US20250168350A1

## CPC

- 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/82: involving filtering within a prediction loop
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- 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/18: the unit being a set of transform coefficients
- H04N 19/182: the unit being a pixel
- H04N 19/48: using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data (motion estimation in a transform domain H04N19/547; processing of decoded motion vectors H04N19/513)
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/60: using transform coding
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems and methods are described for video coding using adaptive Hadamard filtering of reconstructed blocks, such as coding units. In some embodiments, where Hadamard filtering might otherwise encompass samples outside the current coding unit, extrapolated samples are generated for use in the filtering. Reconstructed samples from neighboring blocks may be used in the filtering where available (e.g. in a line buffer). In some embodiments, different filter strengths are applied to different spectrum components in the transform domain. In some embodiments, filter strength is based on position of filtered samples within the block. In some embodiments, filter strength is based on the prediction mode used to code the current block.

## Claims

### Claim 1

A method for decoding a video signal comprising:
reconstructing a plurality of samples in a current block of samples;
applying a transform to a first set of samples, including at least a subset of the reconstructed samples in the current block and at least one reconstructed sample outside the current block, to generate a set of spectrum components;
applying a filter to at least one of the spectrum components to generate a set of filtered spectrum components, wherein a strength of the filter is position-dependent; and
applying an inverse of the transform to the filtered spectrum components to generate a plurality of filtered samples corresponding to the first set of samples.

### Claim 2 (depends on 1)

The method of claim 1, wherein, according to the position-dependent filter strength, stronger filtering is applied at a bottom-right part of the current block and weaker filtering being applied to a left or top part of the current block.

### Claim 3 (depends on 1)

The method of claim 1, wherein the transform is a Hadamard transform and the spectrum components are Hadamard spectrum components.

### Claim 4 (depends on 3)

The method of claim 3, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the normalization constant m is different at different sample positions in the current block.

### Claim 5 (depends on 3)

The method of claim 3, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the filtering parameter σ is different at different sample positions in the current block.

### Claim 6

An apparatus for decoding a video signal, the apparatus comprising one or more processors configured to perform:
reconstructing a plurality of samples in a current block of samples;
applying a transform to a first set of samples, including at least a subset of the reconstructed samples in the current block and at least one reconstructed sample outside the current block, to generate a set of spectrum components;
applying a filter to at least one of the spectrum components to generate a set of filtered spectrum components, wherein a strength of the filter is position-dependent; and
applying an inverse of the transform to the filtered spectrum components to generate a plurality of filtered samples corresponding to the first set of samples.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein, according to the position-dependent filter strength, stronger filtering is applied at a bottom-right part of the current block and weaker filtering being applied to a left or top part of the current block.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the transform is a Hadamard transform and the spectrum components are Hadamard spectrum components.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the normalization constant m is different at different sample positions in the current block.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the filtering parameter σ is different at different sample positions in the current block.

### Claim 11

A method for encoding a video signal comprising:
reconstructing a plurality of samples in a current block of samples;
applying a transform to a first set of samples, including at least a subset of the reconstructed samples in the current block and at least one reconstructed sample outside the current block, to generate a set of spectrum components;
applying a filter to at least one of the spectrum components to generate a set of filtered spectrum components, wherein a strength of the filter is position-dependent; and
applying an inverse of the transform to the filtered spectrum components to generate a plurality of filtered samples corresponding to the first set of samples.

### Claim 12 (depends on 11)

The method of claim 11, wherein, according to the position-dependent filter strength, stronger filtering is applied at a bottom-right part of the current block and weaker filtering being applied to a left or top part of the current block.

### Claim 13 (depends on 11)

The method of claim 11, wherein the transform is a Hadamard transform and the spectrum components are Hadamard spectrum components.

### Claim 14 (depends on 13)

The method of claim 13, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the normalization constant m is different at different sample positions in the current block.

### Claim 15 (depends on 13)

The method of claim 13, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the filtering parameter σ is different at different sample positions in the current block.

### Claim 16

An apparatus for encoding a video signal, the apparatus comprising one or more processors configured to perform:
reconstructing a plurality of samples in a current block of samples;
applying a transform to a first set of samples, including at least a subset of the reconstructed samples in the current block and at least one reconstructed sample outside the current block, to generate a set of spectrum components;
applying a filter to at least one of the spectrum components to generate a set of filtered spectrum components, wherein a strength of the filter is position-dependent; and
applying an inverse of the transform to the filtered spectrum components to generate a plurality of filtered samples corresponding to the first set of samples.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein, according to the position-dependent filter strength, stronger filtering is applied at a bottom-right part of the current block and weaker filtering being applied to a left or top part of the current block.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the transform is a Hadamard transform and the spectrum components are Hadamard spectrum components.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the normalization constant m is different at different sample positions in the current block.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein applying a filter to at least one of the Hadamard spectrum components comprises determining
F
⁡
(
i
,
σ
)
=
R
⁡
(
i
)
2
R
⁡
(
i
)
2
+
m
*
σ
2
*
R
⁡
(
i
)
where R(i) is a Hadamard spectrum component and F(i, σ) is the corresponding filtered Hadamard spectrum component, m is a normalization constant, and σ is a filtering parameter, and wherein the filtering parameter σ is different at different sample positions in the current block.
