# US 2023/0421753 A1 · Method and apparatus for video coding based on mapping

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

- Number: US 2023/0421753 A1
- Document ID: US20230421753A1
- Status: Published application
- Kind: A1
- Application number: 18/244,691
- Filed: 2023-09-11
- Published: 2023-12-28
- Earliest claimed: 2021-03-31
- Assignees: Hyundai Motor Company; Kia Corporation; Kwangwoon University Industry-Academic Collaboration Foundation
- Applicants: Hyundai Motor Company; Kia Corporation; Kwangwoon University Industry-Academic Collaboration Foundation
- Inventors: Dong Gyu Sim; Joo Hyung Byeon; Sea Nae Park; Seung Wook Park
- Web page: https://patentgrep.com/patent/US20230421753A1

## 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/114: Adapting the group of pictures [GOP] structure, e.g. number of B-frames between two anchor frames (H04N19/107 takes precedence)
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and an apparatus for video coding based on mapping are disclosed. The video coding method and the apparatus generate a prediction block of a current block with reference to a mapped image when a video encoding apparatus transmits mapping data related to a mapping of the image and a video decoding apparatus decodes the current block based on the mapping data.

## Claims

### Claim 1

A video decoding apparatus, comprising:
an entropy decoder configured to decode a prediction mode of an intra prediction of a current block, or to decode a reference picture index and a motion vector of an inter prediction from a bitstream, and then decode a residual block and mapping data of the current block from the bitstream;
a mapper configured to map a reference picture from an original range to a mapping range by using the mapping data, wherein the reference picture is selected based on the reference picture index from reference images;
a predictor configured to generate a prediction block of the current block by applying the prediction mode to previously reconstructed blocks and performing the intra prediction or by applying the motion vector to a mapped reference picture and performing the inter prediction;
an adder configured to sum the prediction block and the residual block to generate a reconstructed block to be included in a reconstructed image;
an inverse mapper configured to inversely map the reconstructed image from the mapping range to the original range by using inverse mapping data corresponding to the mapping data;
a loop filter unit configured to perform loop filtering on an inversely mapped reconstructed image, wherein the loop filtering comprises a deblocking filter and an offset filter; and
a memory configured to store a filtered reconstructed image as included in the reference images.

### Claim 2 (depends on 1)

The video decoding apparatus of claim 1, wherein the mapping data comprises, for a current image comprising the current block, as components, all or part of a minimum value in the original range, a number of intervals from dividing the original range, a size of each interval, and a size of each mapping interval corresponding to each of the intervals, and wherein all or part of the components are difference values.

### Claim 3 (depends on 2)

The video decoding apparatus of claim 2, wherein, when the mapping data comprises a difference value of the minimum value, the current image has a minimum value that is determined by taking a minimum value of an already decoded image for a predicted minimum value of the current image and then summing the predicted minimum value and the difference value of the minimum value.

### Claim 4 (depends on 3)

The video decoding apparatus of claim 3, wherein the predicted minimum value is a minimum value of a picture, subpicture, or slice that is decoded and immediately preceding in decoding chronological order, or a minimum value of a first picture in a GOP containing the current picture, depending on a transmission unit of the mapping data.

### Claim 5 (depends on 2)

The video decoding apparatus of claim 2, wherein, when the mapping data comprises a difference value of the minimum value, the current image has a minimum value that is determined by taking, for a predicted minimum value of the current image, a minimum value determined by previously transmitted mapping data when the mapping data is transmitted more than once for one encoding sequence and then summing the predicted minimum value and the difference value of the minimum value.

### Claim 6 (depends on 2)

The video decoding apparatus of claim 2, wherein, when the mapping data comprises a difference value of the number of the intervals, the number of intervals is determined by taking a number of intervals of an already decoded image for a number of predicted intervals of the current image and then summing the number of the predicted intervals and the difference value of the number of the intervals.

### Claim 7 (depends on 2)

The video decoding apparatus of claim 2, wherein, when the mapping data comprises a difference value of the size of each of the intervals, the size of each of the intervals is a difference value between a size of a current interval and a size of a previous interval.

### Claim 8 (depends on 2)

The video decoding apparatus of claim 2, wherein, when the mapping data comprises a difference value of the size of each of the mapping intervals, the size of each of the mapping intervals is a difference value between a size of a current mapping internal and a size of a previous mapping interval.

### Claim 9 (depends on 2)

The video decoding apparatus of claim 2, wherein, when the mapping data comprises a difference value of the size of each of the mapping intervals, the size of each of the mapping intervals is determined by taking a size of a corresponding interval within the original range for a predicted size of the mapping interval of the current image and then summing the predicted size of the mapping interval and the difference value of the size of each of the mapping intervals.

### Claim 10 (depends on 2)

The video decoding apparatus of claim 2, wherein, when each of the intervals has an equal size, the mapping data comprises:
a single value as the size of each interval.

### Claim 11 (depends on 2)

The video decoding apparatus of claim 2, wherein, for each of the intervals, the mapping data comprises:
a flag for use to distinguish a presence or absence of an empty interval that lacks a mapping sample value corresponding to an original sample value.

### Claim 12 (depends on 1)

The video decoding apparatus of claim 1, wherein, when different mapping data is utilized for each picture, the mapping data utilized by the inverse mapper is different from mapping data utilized by the mapper.

### Claim 13 (depends on 2)

The video decoding apparatus of claim 2, wherein the deblocking filter is configured to use the mapping data to determine whether or not a deblocking filtering is present and a type of the deblocking filtering.

### Claim 14 (depends on 2)

The video decoding apparatus of claim 2, wherein the offset filter is configured to use the mapping data to determine whether or not an offset correction is present or strength of the offset correction.

### Claim 15

A video encoding method performed by a computing device, the video encoding method comprising:
obtaining a prediction mode of an intra prediction of a current block, or obtaining a reference picture index and a motion vector of an inter prediction from a high level, and then obtaining mapping data of the current block from the high level;
mapping from an original range to a mapping range by using the mapping data, for the current block;
selecting a reference picture from reference images stored in a memory by using the reference picture index, and mapping the reference picture from an original range to a mapping range by using the mapping data;
generating a prediction block of the current block by applying the prediction mode to previously reconstructed blocks and performing the intra prediction, or by applying the motion vector to a mapped reference picture and performing the inter prediction;
generating a residual block by subtracting the prediction block from the current block, generating a bitstream by encoding the residual block, generating a reconstructed residual block from the residual block, and generating a reconstructed block included in a reconstructed image by summing the reconstructed residual block and the prediction block;
inversely mapping the reconstructed image from the mapping range to the original range by using inverse mapping data corresponding to the mapping data;
applying loop filtering to an inversely mapped reconstructed image; and
storing in the memory a filtered reconstructed image as included in the reference images.

### Claim 16 (depends on 15)

The video encoding method of claim 15, wherein, for a current image including the current block, the mapping data comprises as components, all or part of a minimum value in the original range, a number of intervals from dividing the original range, a size of each interval, and a size of each mapping interval corresponding to each of the intervals, and wherein all or part of the components are difference values.

### Claim 17 (depends on 16)

The video encoding method of claim 16, wherein, when different mapping data is used for each picture, the mapping data used for the current block is different from mapping data used for the reference picture.

### Claim 18

A computer-readable recording medium storing a bitstream generated by a video encoding method, the video encoding method comprising:
obtaining a prediction mode of an intra prediction of a current block, or obtaining a reference picture index and a motion vector of an inter prediction from a high level, and then obtaining mapping data of the current block from the high level;
mapping from an original range to a mapping range by using the mapping data, for the current block;
selecting a reference picture from reference images stored in a memory by using the reference picture index, and mapping the reference picture from an original range to a mapping range by using the mapping data;
generating a prediction block of the current block by applying the prediction mode to previously reconstructed blocks and performing the intra prediction, or by applying the motion vector to a mapped reference picture and performing the inter prediction;
generating a residual block by subtracting the prediction block from the current block, generating a bitstream by encoding the residual block, generating a reconstructed residual block from the residual block, and generating a reconstructed block included in a reconstructed image by summing the reconstructed residual block and the prediction block;
inversely mapping the reconstructed image from the mapping range to the original range by using inverse mapping data corresponding to the mapping data;
applying loop filtering to an inversely mapped reconstructed image; and
storing in the memory a filtered reconstructed image as included in the reference images.
