# US 2023/0055874 A1 · Image coding device and method

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

- Number: US 2023/0055874 A1
- Document ID: US20230055874A1
- Status: Published application
- Kind: A1
- Application number: 17/777,241
- Filed: 2020-11-17
- Published: 2023-02-23
- Earliest claimed: 2019-11-18
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hendry HENDRY; Seethal PALURI; Seunghwan KIM
- Web page: https://patentgrep.com/patent/US20230055874A1

## 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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- 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

In relation to an in-loop filtering procedure described in the present document, a virtual boundary is defined so as to further increase the subjective/objective visual quality of a restored picture and the in-loop filtering procedure can be applied across the virtual boundary. The virtual boundary can include, for example, a discontinuous edge such as a 360-degree image, a VR image, or picture in picture (PIP). For example, the virtual boundary can be at a predetermined appointed position, and the existence and/or the position thereof can be signaled. Embodiments of the present document present a method for efficiently signaling virtual boundary-related information.

## Claims

### Claim 1

An image decoding method performed by a decoding apparatus, comprising:
obtaining image information including residual information and virtual boundaries-related information through a bitstream;
deriving reconstructed samples of a current picture, based on the residual information;
performing an in-loop filtering process of the reconstructed samples to generate modified reconstructed samples; and
determining whether the in-loop filtering process is performed across virtual boundaries, based on the virtual boundaries-related information,
wherein the image information includes a sequence parameter set (SPS), and picture header information referring to the SPS,
wherein the virtual boundaries-related information includes a virtual boundaries enabled flag, information on a number of the virtual boundaries, and information on positions of the virtual boundaries,
wherein whether signaling of the virtual boundaries-related information is present in the SPS or the picture header information is determined based on the virtual boundaries enabled flag, and
wherein the in-loop filtering process is performed across the virtual boundaries based on the determination that the in-loop filtering process is performed across the virtual boundaries, wherein the performing the in-loop filtering process comprises:
parsing the information on the number of the virtual boundaries; and
parsing the information on positions of the virtual boundaries.

### Claim 2 (depends on 1)

The image decoding method of claim 1,
wherein the SPS includes the virtual boundaries enabled flag and an SPS virtual boundaries present flag, and
wherein whether the information on positions of the virtual boundaries and the information on the number of virtual boundaries are included in the SPS is determined based on the SPS virtual boundaries present flag.

### Claim 3 (depends on 2)

The image decoding method of claim 2, wherein the SPS includes information on a number of vertical virtual boundaries, based on that a value of the SPS virtual boundaries present flag is 1.

### Claim 4 (depends on 3)

The image decoding method of claim 3,
wherein the SPS includes information on positions of the vertical virtual boundaries, and
wherein a number of pieces of the information on positions of the vertical virtual boundaries is determined based on the information on the number of vertical virtual boundaries.

### Claim 5 (depends on 2)

The image decoding method of claim 2, wherein the SPS includes information on a number of horizontal virtual boundaries, based on that a value of the SPS virtual boundaries present flag is 1.

### Claim 6 (depends on 5)

The image decoding method of claim 5,
wherein the SPS includes information on positions of the horizontal virtual boundaries, and
wherein a number of pieces of the information on positions of the horizontal virtual boundaries is determined based on the information on the number of horizontal virtual boundaries.

### Claim 7 (depends on 2)

The image decoding method of claim 2, wherein the picture header information includes a picture header virtual boundaries present flag, based on that a value of the virtual boundaries enabled flag is 1 and a value of the SPS virtual boundaries present flag is 0.

### Claim 8 (depends on 1)

The image decoding method of claim 1, wherein a sum of a number of vertical virtual boundaries and a number of horizontal virtual boundaries is greater than 0, based on that the SPS includes information on positions of the vertical virtual boundaries and information on positions of the horizontal virtual boundaries.

### Claim 9 (depends on 1)

The image decoding method of claim 1,
wherein the image information further includes an SPS virtual boundaries present flag, a picture header virtual boundaries present flag, and a gradual decoding refresh (GDR) enabled flag, and
wherein a value of the virtual boundaries enabled flag is 1, a value of the SPS virtual boundaries present flag is 0, and a value of the picture header virtual boundaries present flag is 1, based on that a value of the GDR enabled flag is 1.

### Claim 10

An image encoding method performed by an encoding apparatus, comprising:
deriving residual samples for a current block;
generating residual information, based on the residual samples for the current block;
determining whether an in-loop filtering process is performed across virtual boundaries;
generating virtual boundaries-related information, based on the determination;
configuring information on a number of the virtual boundaries to be parsed;
configuring information on positions of the virtual boundaries to be parsed; and
encoding image information including the residual information and the virtual boundaries-related information,
wherein the image information includes a sequence parameter set (SPS), and picture header information referring to the SPS,
wherein the virtual boundaries-related information includes a virtual boundaries enabled flag, the information on the number of the virtual boundaries, and the information on positions of the virtual boundaries,
wherein whether signaling of the virtual boundaries-related information is present in the SPS or the picture header information is determined based on the virtual boundaries enabled flag, and
wherein based on the determination that the in-loop filtering process is performed across the virtual boundaries, the in-loop filtering process is performed across the virtual boundaries based on the information on the number of the virtual boundaries and the information on positions of the virtual boundaries.

### Claim at position 11

-16. (canceled)

### Claim 17

A non-transitory computer readable storage medium storing a bitstream generated by an image encoding method, the method comprising:
deriving residual samples for a current block;
generating residual information, based on the residual samples for the current block;
determining whether an in-loop filtering process is performed across virtual boundaries;
generating virtual boundaries-related information, based on the determination;
configuring information on a number of the virtual boundaries to be parsed;
configuring information on positions of the virtual boundaries to be parsed; and
encoding image information including the residual information and the virtual boundaries-related information,
wherein the image information includes a sequence parameter set (SPS), and picture header information referring to the SPS,
wherein the virtual boundaries-related information includes a virtual boundaries enabled flag, the information on the number of the virtual boundaries, and the information on positions of the virtual boundaries,
wherein whether signaling of the virtual boundaries-related information is present in the SPS or the picture header information is determined based on the virtual boundaries enabled flag, and
wherein based on the determination that the in-loop filtering process is performed across the virtual boundaries, the in-loop filtering process is performed across the virtual boundaries based on the information on the number of the virtual boundaries and the information on positions of the virtual boundaries.
