IP Library Granted Patent US 12,581,069
Granted Patent B2
US 12,581,069 · App. 18/935,098 · Granted Mar 17, 2026

Method for encoding/decoding video signal, and apparatus therefor

Inventors: Moonmo Koo (Seoul, KR); Mehdi Salhifar (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,581,069
App. No.
18/935,098
Granted
Mar 17, 2026
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 (36)

1 . An apparatus for decoding an image, comprising:

a memory; and

at least one processor connected to the memory, the at least one processor being configured to:

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

obtain 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,

perform 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,

perform 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

generate 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 apparatus for decoding the image of claim 1 ,

wherein each of the secondary transform sets comprises two secondary transform matrices.

3 . The apparatus 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 apparatus for decoding the image of claim 3 ,

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 apparatus for decoding the image of claim 4 , wherein the pre-determined transform type is defined as DCT-2.

6 . The apparatus 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 . An apparatus for encoding an image, comprising:

a memory; and

at least one processor connected to the memory, the at least one processor being configured to:

generate prediction samples of a current block based on an intra prediction mode,

derive residual samples of the current block based on the prediction samples,

perform a primary transform on the residual samples to obtain primary-transformed coefficients of the current block,

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

generate 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

perform 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 the number of a output coefficients of the secondary transform for the current block having the 4×8 size or the 8×4 size.

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

9 . A transmission apparatus of data for an image, comprising:

at least one processor configured to obtain 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

a transmitter configured to transmit 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 5, 2024
From: KOO, MOONMO; KIM, SEUNGHWAN; SALEHIFAR, MEHDI; LIM, JAEHYUN
To: LG ELECTRONICS INC.
Reel/Frame 069149/0355 →
Continuity (9)
Continuation 18518829 · Nov 24, 2023
Continuation 17558086 · Dec 21, 2021
Continuation 16897681 · Jun 10, 2020
Continuation PCTKR2019011514 · Sep 5, 2019
Provisional Application 62731075 · Sep 13, 2018
Provisional Application 62731078 · Sep 13, 2018
Provisional Application 62731073 · Sep 13, 2018
Provisional Application 62727550 · Sep 5, 2018
Related Publication 20250063160A1 · Feb 20, 2025
References Cited (37)
US 5491515A · Suzuki · 1996 [cited by examiner]
US 6028967A · Kim · 2000 [cited by examiner]
US 6263021B1 · Sethuraman · 2001 [cited by examiner]
US 6295320B1 · Lim · 2001 [cited by examiner]
US 6456658B2 · Kamikura · 2002 [cited by examiner]
US 6577251B1 · Yip · 2003 [cited by examiner]
US 6934331B2 · Kamikura · 2005 [cited by examiner]
US 7239755B1 · Kim · 2007 [cited by examiner]
US 7720299B2 · Hou · 2010 [cited by examiner]
US 7860160B2 · Shimazaki · 2010 [cited by examiner]
US 7900124B2 · Conway · 2011 [cited by examiner]
US 8462853B2 · Jeon · 2013 [cited by examiner]
US 8467619B2 · Yoshida · 2013 [cited by examiner]
US 9177562B2 · Jeong · 2015 [cited by examiner]
US 9496886B2 · Chang · 2016 [cited by examiner]
US 9661338B2 · Karczewicz · 2017 [cited by examiner]
US 9813715B2 · Rosewarne · 2017 [cited by examiner]
US 9998746B2 · Wu · 2018 [cited by examiner]
US 10356413B1 · Sim · 2019 [cited by examiner]
US 10390044B2 · Karczewicz · 2019 [cited by examiner]
US 10405000B2 · Kao · 2019 [cited by examiner]
US 10491922B2 · Zhao · 2019 [cited by examiner]
US 10520916B1 · Gros · 2019 [cited by examiner]
US 20020196849A1 · Kamikura · 2002 [cited by examiner]
US 20050084011A1 · Song · 2005 [cited by examiner]
US 20050111543A1 · Seo · 2005 [cited by examiner]
US 20050281332A1 · Lai · 2005 [cited by examiner]
US 20080071846A1 · Sadafale · 2008 [cited by examiner]
US 20090222261A1 · Jung · 2009 [cited by examiner]
US 20100177819A1 · Jeon · 2010 [cited by examiner]
US 20110116539A1 · He · 2011 [cited by examiner]
US 20140133546A1 · Bandoh · 2014 [cited by examiner]
US 20190246142A1 · Zhao · 2019 [cited by examiner]
US 20190313126A1 · Lin · 2019 [cited by examiner]
US 20200213626A1 · Ikai · 2020 [cited by examiner]
CA 3005463A1 · 2017 [cited by examiner]
KR 102631802B1 · 2024 [cited by applicant]