IP Library Granted Patent US 12,166,977
Granted Patent B2
US 12,166,977 · App. 18/518,829 · Granted Dec 10, 2024

Method for encoding/decoding video signal, and apparatus therefor

Inventors: Moonmo Koo (Seoul, KR); Mehdi Salehifar (Seoul, KR); Seunghwan Kim (Seoul, KR); Jaehyun Lim (Seoul, KR)
Assignee: LG ELECTRONICS INC.
H04N19/11H04N19/176H04N19/61H04N19/70
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,166,977
App. No.
18/518,829
Granted
Dec 10, 2024
Kind
B2
Abstract

Embodiments of the disclosure provide a method and apparatus for processing a video signal. Particularly, a method for decoding a video signal according to an embodiment of the disclosure may include: determining, among predefined secondary transform sets based on intra-prediction modes of a current block, a secondary transform set applied to the current block; obtaining a first syntax element indicating a secondary transform matrix applied to the current block in the determined secondary transform set; deriving a secondary inverse-transformed block by performing a secondary inverse transform on a left top region of the current block by using the secondary transform matrix specified by the first syntax element; and deriving a residual block of the current block by performing a primary inverse transform on the secondary inverse-transformed block using a primary transform matrix of the current block.

Claims (27)

1. A method for decoding an image performed by a decoding apparatus, comprising:

determining a secondary transform set among a pre-determined number of secondary transform sets based on an intra prediction mode of a current block;

obtaining a first syntax element related to a secondary transform matrix to be applied to the current block among secondary transform matrices included in the secondary transform set;

performing a secondary inverse-transform on secondary transformed coefficients of the current block based on the secondary transform matrix specified by the first syntax element to obtain primary transformed coefficients, the secondary inverse-transform being a non-separable transform;

performing a primary inverse-transform on the primary transformed coefficients based on a primary transform matrix of the current block to obtain residual samples of the current block; and

generating reconstructed samples of the current block based on the residual samples, wherein a number of input coefficients of the secondary inverse-transform and a number of output coefficients of the secondary inverse-transform are respectively determined as 8 and 16 based on the current block having a 4×4 size, and

wherein the number of the input coefficients of the secondary inverse-transform for the current block having the 4×4 size is not equal to a number of the input coefficients of the secondary inverse-transform for the current block having a 4×8 size or an 8×4 size, while the number of the output coefficients of the secondary inverse-transform for the current block having the 4×4 size is equal to a number of the output coefficients of the secondary inverse-transform for the current block having the 4×8 size or the 8×4 size.

2. The method for decoding the image of claim 1 , wherein each of the secondary transform sets comprises two secondary transform matrices.

3. The method for decoding the image of claim 1 , further comprising: parsing a second syntax element related to the primary transform matrix; and determining whether to perform the secondary inverse-transform based on the second syntax element.

4. The method for decoding the image of The method for decoding the image of wherein the determining whether to perform the secondary inverse-transform comprises determining to perform the secondary inverse-transform based on the second syntax element related to information for a pre-determined transform type.

5. The method for decoding the image of claim 4 , wherein the pre-determined transform type is defined as DCT-2.

6. The method for decoding the image of claim 1 , wherein the number of the input coefficients of the secondary inverse-transform and the number of the output coefficients of the secondary inverse-transform are respectively determined as 16 and 16 based on the current block having the 4×8 size or the 8×4 size.

7. A method for encoding an image performed by an encoding apparatus, comprising:

generating prediction samples of a current block based on an intra prediction mode;

deriving residual samples of the current block based on the prediction samples;

performing a primary transform on the residual samples to obtain primary-transformed coefficients of the current block;

determining a secondary transform set among a pre-determined number of secondary transform sets based on the intra prediction mode;

generating a first syntax element related to a secondary transform matrix to be applied to the current block among secondary transform matrices included in the determined secondary transform set; and

performing a secondary transform on the primary-transformed coefficients based on the secondary transform matrix, the secondary transform being a non-separable transform, wherein a number of input coefficients of the secondary transform and a number of output coefficients of the secondary transform are respectively determined as 16 and 8 based on the current block having a 4×4 size, and

wherein the number of the input coefficients of the secondary transform for the current block having the 4×4 size is equal to a number of the input coefficients of the secondary transform for the current block having a 4×8 size or an 8×4 size, while the number of the output coefficients of the secondary transform for the current block having the 4×4 size is not equal to a number of the output coefficients of the secondary transform for the current block having the 4×8 size or the 8×4 size.

8. The method for encoding the image of claim 7 , wherein each of the secondary transform sets comprises two secondary transform matrices.

9. A non-transitory decoder-readable storage medium storing a bitstream generated by the method for encoding the image of claim 7 .

10. A transmission method of data for an image performed by a transmission apparatus, the transmission method comprising:

obtaining a bitstream for the image, wherein the bitstream is generated based on generating prediction samples of a current block based on an intra prediction mode, deriving residual samples of the current block based on the prediction samples, performing a primary transform on the residual samples to obtain primary-transformed coefficients of the current block, determining a secondary transform set among a pre-determined number of secondary transform sets based on the intra prediction mode, generating a first syntax element related to a secondary transform matrix to be applied to the current block among secondary transform matrices included in the determined secondary transform set, and performing a secondary transform on the primary-transformed coefficients based on the secondary transform matrix, the secondary transform being a non-separable transform; and

transmitting the data comprising the bitstream,

wherein a number of input coefficients of the secondary transform and a number of output coefficients of the secondary transform are respectively determined as 16 and 8 based on the current block having a 4×4 size, and

wherein the number of the input coefficients of the secondary transform for the current block having the 4×4 size is equal to a number of the input coefficients of the secondary transform for the current block having a 4×8 size or an 8×4 size, while the number of the output coefficients of the secondary transform for the current block having the 4×4 size is not equal to a number of the output coefficients of the secondary transform for the current block having the 4×8 size or the 8×4 size.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 27, 2023
From: KOO, MOONMO; KIM, SEUNGHWAN; SALEHIFAR, MEHDI; LIM, JAEHYUN
To: LG ELECTRONICS INC.
Reel/Frame 065672/0686 →
Continuity (8)
Continuation 17558086 · Dec 21, 2021
Continuation 16897681 · Jun 10, 2020
Continuation PCTKR2019011514 · Sep 5, 2019
Provisional Application 62731073 · Sep 13, 2018
Provisional Application 62731078 · Sep 13, 2018
Provisional Application 62731075 · Sep 13, 2018
Provisional Application 62727550 · Sep 5, 2018
Related Publication 20240214559A1 · Jun 27, 2024