IP Library › Granted Patent US 12,075,052
Granted Patent B2
US 12,075,052 · App. 17/499,294 · Granted Aug 27, 2024

Encoder, decoder, encoding method, and decoding method

Inventors: Tadamasa Toma (Osaka, JP); Takahiro Nishi (Nara, JP); Kiyofumi Abe (Osaka, JP); Yusuke Kato (Osaka, JP)
Assignee: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
H04N19/126H04N19/159H04N19/176H04N19/61
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,075,052
App. No.
17/499,294
Granted
Aug 27, 2024
Kind
B2
Abstract

Provided is an encoder including: circuitry; and memory coupled to the circuitry, in which the circuitry: derives a prediction residual indicating a difference between a current block and a prediction image of the current block; performs primary transform on the prediction residual, and performs secondary transform on a result of the primary transform; performs quantization on a result of the secondary transform; and encodes a result of the quantization. In the performing of the secondary transform, when a matrix weighted intra prediction included in intra prediction and having prediction modes is used, the circuitry uses, as a transform set for the secondary transform, a common transform set shared among the prediction modes. The matrix weighted intra prediction generates the prediction image by performing matrix calculation on a pixel sequence obtained from pixel values of surrounding pixels of the current block.

Claims (46)

1. An encoder that encodes an image, the encoder comprising:

circuitry; and

memory coupled to the circuitry,

wherein the circuitry:

derives a prediction residual indicating a difference between a current block and a prediction image of the current block;

performs primary transform on the prediction residual, and performs secondary transform on a result of the primary transform;

performs quantization on a result of the secondary transform; and

encodes a result of the quantization,

wherein in the performing of the secondary transform,

when a matrix weighted intra prediction included in intra prediction and having a plurality of prediction modes is used, the circuitry uses, as a transform set for the secondary transform, a common transform set shared among the plurality of prediction modes, the matrix weighted intra prediction generating the prediction image by performing matrix calculation on a pixel sequence obtained from pixel values of surrounding pixels of the current block, the transform set for the secondary transform being applied to primary transform coefficients obtained from the result of the primary transform, and

wherein the transform set includes a plurality of transform matrices.

2. A decoder that decodes an image, the decoder comprising:

circuitry; and

memory coupled to the circuitry,

wherein the circuitry:

performs inverse quantization on a current block to be decoded;

performs secondary inverse transform on a result of the inverse quantization, and performs primary inverse transform on a result of the secondary inverse transform; and

derives the image based on a prediction image of the current block and a prediction residual which is a result of the primary inverse transform,

wherein in the performing of the secondary inverse transform,

when a matrix weighted intra prediction included in intra prediction and having a plurality of prediction modes is used, the circuitry uses, as an inverse transform set for the secondary inverse transform, a common inverse transform set shared among the plurality of prediction modes, the matrix weighted intra prediction generating the prediction image by performing matrix calculation on a pixel sequence obtained from pixel values of surrounding pixels of the current block, the inverse transform set for the secondary inverse transform being applied to quantized coefficients obtained from the result of the inverse quantization, and

wherein the inverse transform set includes a plurality of transform matrices.

3. An encoding method of encoding an image, the encoding method comprising:

deriving a prediction residual indicating a difference between a current block and a prediction image of the current block;

performing primary transform on the prediction residual, and performing secondary transform on a result of the primary transform;

performing quantization on a result of the secondary transform; and

encoding a result of the quantization,

wherein in the performing of the secondary transform,

when a matrix weighted intra prediction included in intra prediction and having a plurality of prediction modes is used, a common transform set shared among the plurality of prediction modes is used as a transform set for the secondary transform, the matrix weighted intra prediction generating the prediction image by performing matrix calculation on a pixel sequence obtained from pixel values of surrounding pixels of the current block, the transform set for the secondary transform being applied to primary transform coefficients obtained from the result of the primary transform, and

wherein the transform set includes a plurality of transform matrices.

4. A decoding method of decoding an image, the decoding method comprising:

performing inverse quantization on a current block to be decoded;

performing secondary inverse transform on a result of the inverse quantization, and performing primary inverse transform on a result of the secondary inverse transform; and

deriving the image based on a prediction image of the current block and a prediction residual which is a result of the primary inverse transform,

wherein in the performing of the secondary inverse transform,

when a matrix weighted intra prediction included in intra prediction and having a plurality of prediction modes is used, a common inverse transform set shared among the plurality of prediction modes is used as an inverse transform set for the secondary inverse transform, the matrix weighted intra prediction generating the prediction image by performing matrix calculation on a pixel sequence obtained from pixel values of surrounding pixels of the current block, the inverse transform set for the secondary inverse transform being applied to quantized coefficients obtained from the result of the inverse quantization, and

wherein the inverse transform set includes a plurality of transform matrices.

5. A non-transitory computer readable medium storing a bitstream, the bitstream comprising:

a parameter according to which a decoder selects a prediction mode from among a plurality of prediction modes; and

a picture including a current block on which a decoding process is performed,

wherein in the decoding process:

inverse quantization is performed on the current block to be decoded;

secondary inverse transform is performed on a result of the inverse quantization, and primary inverse transform is performed on a result of the secondary inverse transform; and

an image is derived based on a prediction image of the current block and a prediction residual which is a result of the primary inverse transform,

wherein in the performing of the secondary inverse transform,

when a matrix weighted intra prediction included in intra prediction and having the plurality of prediction modes is used, a common inverse transform set shared among the plurality of prediction modes is used as an inverse transform set for the secondary inverse transform, the matrix weighted intra prediction generating the prediction image by performing matrix calculation on a pixel sequence obtained from pixel values of surrounding pixels of the current block, the inverse transform set for the secondary inverse transform being applied to quantized coefficients obtained from the result of the inverse quantization, and

wherein the inverse transform set includes a plurality of transform matrices.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 16, 2022
From: TOMA, TADAMASA; NISHI, TAKAHIRO; ABE, KIYOFUMI; KATO, YUSUKE
To: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
Reel/Frame 058668/0015 →
Continuity (3)
Continuation PCTJP2020016704 · Apr 16, 2020
Provisional Application 62834715 · Apr 16, 2019
Related Publication 20220030242A1 · Jan 27, 2022