IP Library Granted Patent US 11,330,265
Granted Patent B2
US 11,330,265 · App. 16/751,666 · Granted May 10, 2022

Encoder, decoder, encoding method, and decoding method

Inventors: Ryuichi Kanoh (Osaka, JP); Kiyofumi Abe (Osaka, JP); Tadamasa Toma (Osaka, JP); Takahiro Nishi (Nara, JP)
Assignee: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
H04N19/126H04N19/12H04N19/176
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 11,330,265
App. No.
16/751,666
Granted
May 10, 2022
Kind
B2
Abstract

An encoder which encodes a current block to be encoded in an image includes: a transformer which performs a primary transform from residuals of the current block to primary coefficients, determines whether to apply a secondary transform to the current block, and performs the secondary transform from the primary coefficients to secondary coefficients when the secondary transform is applied; a quantizer which calculates quantized primary coefficients by performing a first quantization on the primary coefficients when a secondary transform is not applied, and calculates quantized secondary coefficients by performing a second quantization different from the first quantization on the secondary coefficients when the secondary transform is applied; and an entropy encoder which generates an encoded bitstream by encoding either quantized primary coefficients or quantized secondary coefficients.

Claims (52)

1. An encoder which encodes a current block to be encoded in an image, the encoder comprising:

circuitry; and

memory,

wherein using the memory, the circuitry:

performs a primary transform on the current block from residuals of the current block to primary coefficients;

determines whether a secondary transform is to be applied to the current block;

(i) when the secondary transform is not to be applied, calculates quantized primary coefficients by performing a first quantization on the primary coefficients using a quantization matrix, and (ii) when the secondary transform is to be applied, performs a secondary transform from the primary coefficients to secondary coefficients, and calculates quantized secondary coefficients by performing a second quantization on the secondary coefficients; and

generates an encoded bitstream by encoding either the quantized primary coefficients or the quantized secondary coefficients,

the first quantization is a weighted quantization using a first quantization matrix,

the second quantization is a weighted quantization using a second quantization matrix different from the first quantization matrix, and

the circuitry:

derives a third quantization matrix from the first quantization matrix, the third quantization matrix having component values which are greater when corresponding component values of the first quantization matrix are smaller;

derives a fourth quantization matrix by applying the secondary transform to the third quantization matrix; and

derives, as the second quantization matrix, a fifth quantization matrix from the fourth quantization matrix, the fifth quantization matrix having component values which are greater when corresponding component values of the fourth quantization matrix are smaller.

2. The encoder according to claim 1 ,

wherein the circuitry writes the first quantization matrix and the second quantization matrix into the encoded bitstream.

3. The encoder according to claim 2 ,

wherein the primary coefficients include one or more first primary coefficients and one or more second primary coefficients,

the secondary transform is applied to the one or more first primary coefficients and is not applied to the one or more second primary coefficients,

the second quantization matrix has one or more first component values corresponding to the one or more first primary coefficients and one or more second component values corresponding to the one or more second primary coefficients,

each of the one or more second component values of the second quantization matrix matches a corresponding one of component values of the first quantization matrix, and

when the circuitry writes the second quantization matrix, the circuitry writes, into the encoded bitstream, only the one or more first component values among the one or more first component values and the one or more second component values.

4. The encoder according to claim 2 ,

wherein in the secondary transform, a plurality of bases which has been determined is selectively used,

the encoded bitstream includes a plurality of second quantization matrices corresponding to the plurality of bases, and

in the second quantization, a second quantization matrix corresponding to a basis used for the second transform is selected from the plurality of second quantization matrices.

5. The encoder according to claim 1 ,

wherein the primary coefficients include one or more first primary coefficients and one or more second primary coefficients,

the secondary transform is applied to the one or more first primary coefficients and is not applied to the one or more second primary coefficients,

the second quantization matrix has one or more first component values corresponding to the one or more first primary coefficients and one or more second component values corresponding to the one or more second primary coefficients,

each of the one or more second component values of the second quantization matrix matches a corresponding one of component values of the first quantization matrix.

6. The encoder according to claim 1 ,

wherein the component values of the third quantization matrix are reciprocals of the corresponding component values of the first quantization matrix, and

the component values of the fifth quantization matrix are reciprocals of the corresponding component values of the fourth quantization matrix.

7. The encoder according to claim 1 ,

wherein the first quantization is a weighted quantization using a first quantization matrix,

in the secondary transform, (i) weighted primary coefficients are calculated by multiplying each of the primary coefficients by a corresponding component value of a weighting matrix, and (ii) the weighted primary coefficients are transformed into secondary coefficients.

8. The encoder according to claim 7 ,

wherein the circuitry derives the weighting matrix from the first quantization matrix.

9. The encoder according to claim 1 ,

wherein the circuitry derives the common quantization step from a quantization parameter for the current block.

10. An encoding method for encoding a current block to be encoded in an image, the encoding method comprising:

performing a primary transform from residuals of the current block to primary coefficients;

determining whether a secondary transform is to be applied to the current block;

(i) when the secondary transform is not to be applied, calculating quantized primary coefficients by performing a first quantization on the primary coefficients using a quantization matrix, and (ii) when the secondary transform is to be applied, performing a secondary transform from the primary coefficients to secondary coefficients, and calculating quantized secondary coefficients by performing a second quantization on the secondary coefficients; and

generating an encoded bitstream by encoding either the quantized primary coefficients or the quantized secondary coefficients,

the first quantization is a weighted quantization using a first quantization matrix,

the second quantization is a weighted quantization using a second quantization matrix different from the first quantization matrix, and

the encoding method further comprising:

deriving a third quantization matrix from the first quantization matrix, the third quantization matrix having component values which are greater when corresponding component values of the first quantization matrix are smaller;

deriving a fourth quantization matrix by applying the secondary transform to the third quantization matrix; and

deriving, as the second quantization matrix, a fifth quantization matrix from the fourth quantization matrix, the fifth quantization matrix having component values which are greater when corresponding component values of the fourth quantization matrix are smaller.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2020
From: KANOH, RYUICHI; ABE, KIYOFUMI; TOMA, TADAMASA; NISHI, TAKAHIRO
To: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
Reel/Frame 052158/0513 →
Priority Claims (1)
JP JP2017-167911 · Aug 31, 2017 · national
Continuity (3)
Continuation PCTJP2018027787 · Jul 25, 2018
Provisional Application 62538338 · Jul 28, 2017
Related Publication 20200162738A1 · May 21, 2020