# US 2022/0046241 A1 · Coding method, decoding method, encoder, and decoder

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

- Number: US 2022/0046241 A1
- Document ID: US20220046241A1
- Status: Published application
- Kind: A1
- Application number: 17/508,289
- Filed: 2021-10-22
- Published: 2022-02-10
- Earliest claimed: 2017-07-03
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Ryuichi KANOH; Tadamasa TOMA; Kiyofumi ABE; Takahiro NISHI
- Web page: https://patentgrep.com/patent/US20220046241A1

## CPC

- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/61: in combination with predictive coding
- H04N 19/65: using error resilience
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encoder which codes a moving picture includes: a processor; and a memory, wherein the processor, using the memory: subtracts a prediction image of an image included in the moving picture from the image so as to derive a prediction error; sequentially selects a plurality of transform basis candidates; derives an evaluation value of a transform basis candidate selected; compares the evaluation value with a threshold value; based on a result of the comparison, skips selection of one or more transform basis candidates that have not been selected; determines the transform basis from one or more transform basis candidates selected; performs the transform of the prediction error, using the transform basis; quantizes a result of the transform; and codes a result of the quantization as data of the image.

## Claims

### Claim at position 1

1-13. (canceled)

### Claim 14

A decoder comprising:
a processor; and
a memory,
wherein the processor, using the memory:
inverse quantizes data corresponding to a current block of an image;
performs an inverse secondary transform, using one candidate of the inverse secondary transform selected from candidates of the inverse secondary transform, on a result of the inverse quantization to generate second transform coefficients, the candidates of the inverse secondary transform including transform bases for the inverse secondary transform and a skip of the inverse secondary transform; and
performs an inverse primary transform, using one candidate of the inverse primary transform selected from candidates of the inverse primary transform, on the second transform coefficients or the result of the inverse quantization to generate first transform coefficients, the candidates of the inverse primary transform including transform bases for the inverse primary transform, wherein
when a selected candidate of the inverse primary transform is other than a first candidate, a fixedly selected second candidate is used for the inverse secondary transform, and
when the selected candidate of the inverse secondary transform is other than the second candidate, the fixedly selected first candidate is used for the inverse primary transform.

### Claim 15

A decoding method comprising:
performing inverse quantization of data corresponding to a current block of an image;
performing an inverse secondary transform, using one candidate of the inverse secondary transform selected from candidates of the inverse secondary transform, on a result of the inverse quantization to generate second transform coefficients, the candidates of the inverse secondary transform including transform bases for the inverse secondary transform and a skip of the inverse secondary transform; and
performing an inverse primary transform, using one candidate of the inverse primary transform selected from candidates of the inverse primary transform, on the second transform coefficients or the result of the inverse quantization to generate first transform coefficients, the candidates of the inverse primary transform including transform bases for the inverse primary transform, wherein
when a selected candidate of the inverse primary transform is other than a first candidate, a fixedly selected second candidate is used for the inverse secondary transform; and
when the selected candidate of the inverse secondary transform is other than the second candidate, the fixedly selected first candidate is used for the inverse primary transform.

### Claim 16

An encoder comprising:
a processor; and
a memory, wherein the processor, using the memory:
performs a primary transform, using one candidate of the primary transform selected from candidates of the primary transform, on residual signals of a current block to generate first transform coefficients, the candidates of the primary transform including transform bases for the primary transform;
performs a secondary transform, using one candidate of the secondary transform selected from candidates of the secondary transform, on the first transform coefficients to generate second transform coefficients, the candidates of the secondary transform including transform bases for the secondary transform and a skip of the secondary transform; and
quantizes the first transform coefficients or the second transform coefficients to generate quantized coefficients, wherein
when a selected candidate of the primary transform is other than a first candidate, a fixedly selected second candidate is used for the secondary transform,
when the selected candidate of the secondary transform is other than the second candidate, the fixedly selected first candidate is used for the primary transform, and
the residual signals are luma signals.

### Claim 17

A non-transitory computer readable medium storing a bitstream, the bitstream comprising:
information according to which a decoder selects a skip of an inverse secondary transform from candidates of inverse secondary transform; and
a picture including a current block on which a decoding process is performed, wherein
in the decoding process:
inverse quantization is performed on data corresponding to the current block of an image;
an inverse secondary transform is performed, using one candidate of the inverse secondary transform selected from the candidates of the inverse secondary transform, on a result of the inverse quantization to generate second transform coefficients, the candidates of the inverse secondary transform including transform bases for the inverse secondary transform and the skip of the inverse secondary transform; and
an inverse primary transform is performed, using one candidate of the inverse primary transform selected from candidates of the inverse primary transform, on the second transform coefficients or the result of the inverse quantization to generate first transform coefficients, the candidates of the inverse primary transform including transform bases for the inverse primary transform,
when a selected candidate of the inverse primary transform is other than a first candidate, a fixedly selected second candidate is used for the inverse secondary transform, and
when the selected candidate of the inverse secondary transform is other than the second candidate, the fixedly selected first candidate is used for the inverse primary transform.
