IP Library Granted Patent US 12,452,456
Granted Patent B2
US 12,452,456 · App. 18/286,706 · Granted Oct 21, 2025

Image coding method and apparatus therefor

Inventors: Moonmo Koo (Seoul, KR); Seunghwan Kim (Seoul, KR); Jaehyun Lim (Seoul, KR)
Assignee: LG Electronics Inc.
H04N19/61H04N19/122H04N19/129H04N19/132H04N19/176H04N19/18
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,452,456
App. No.
18/286,706
Granted
Oct 21, 2025
Kind
B2
Abstract

An image decoding method according to this document comprises a step of deriving, for transform coefficients, modified transform coefficients on the basis of inverse secondary transform, wherein: the step of deriving the modified transform coefficients may comprise a step of deriving a transform kernel to be applied to the inverse secondary transform; on the basis of both the horizontal and vertical lengths of a target block being greater than or equal to 8 and the horizontal or vertical length being 8, the transform kernel may be set to a 64×32 matrix; and on the basis of both the horizontal and vertical lengths of the target block being 8, a 64×16 matrix sampled from the 64×32 matrix may be applied to the inverse secondary transform of the target block.

Claims (42)

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

deriving transform coefficients for a target block based on residual information obtained from a bitstream;

deriving modified transform coefficients based on an inverse second-order transform for the transform coefficients;

deriving residual samples for the target block based on an inverse first-order transform of the modified transform coefficients

wherein the deriving the modified transform coefficients includes deriving a transform kernel to be applied to the inverse second-order transform,

wherein, based on that a horizontal length and a vertical length of the target block are both greater than or equal to 8, and the horizontal length or the vertical length is 8, a 64×32 matrix is applied to the inverse second-order transform of the target block, and

wherein, based on that both the horizontal length and the vertical length of the target block are 8, a 64×16 matrix, which is sampled from the 64×32 matrix, is applied to the inverse second-order transform of the target block.

2. The method of claim 1 , wherein, based on that both the horizontal length and the vertical length of the target block are greater than or equal to 4 and the horizontal length or the vertical length is 4, a 16×16 matrix is applied to the inverse second-order transform of the target block, and

wherein, based on that both the horizontal length and the vertical length of the target block are greater than or equal to 16, a 96×32 matrix is applied to the inverse second-order transform of the target block.

3. The method of claim 1 , wherein the deriving the modified transform coefficients comprises:

deriving an input array by sorting the transform coefficients according to a forward diagonal scanning order;

deriving a larger number of modified transform coefficients than the transform coefficients through a matrix operation of the input array and a transform kernel; and

arranging the modified transform coefficients in an output area,

wherein the output area is composed of a plurality of 4×4 sub-blocks that can be arranged according to scanning order from a DC position of the target block.

4. The method of claim 3 , wherein, after the modified transform coefficients are derived, the target block includes the output area, a primary transform coefficient area where the transform coefficients exist, and a zero out area where a transform coefficient value is 0.

5. The method of claim 4 , wherein the primary transform coefficient area includes 4×4 sub-blocks in a diagonal direction adjacent to the output area.

6. The method of claim 5 , wherein, based on that both the horizontal length and vertical length of the target block are greater than or equal to 4 and the horizontal length or the vertical length is 4 , the primary transform coefficient area is a right 4×4 subblock or a lower 4×4 subblock of the output area.

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

deriving residual samples for a target block based on prediction samples for the target block;

deriving transform coefficients for the target block based on a first-order transform for the residual samples;

deriving modified transform coefficients based on a second-order transform for the transform coefficients;

encoding image information including residual information derived based on the modified transform coefficients,

wherein the deriving the modified transform coefficient includes deriving a transform kernel to be applied to the second-order transform,

wherein, based on that a horizontal length and a vertical length of the target block are both greater than or equal to 8, and the horizontal length or the vertical length is 8, a 32×64 matrix is applied to the second-order transform of the target block, and

wherein, based on that both the horizontal length and the vertical length of the target block are 8, a 16×64 matrix, which is sampled from the 32×64 matrix, is applied to the second-order transform of the target block.

8. The method of claim 7 , wherein, based on that both the horizontal length and the vertical length of the target block are greater than or equal to 4 and the horizontal length or the vertical length is 4, a 16×16 matrix is applied to the second-order transform of the target block, and

wherein, based on that both the horizontal length and the vertical length of the target block are greater than or equal to 16, a 32×96 matrix is applied to the second-order transform of the target block.

9. The method of claim 7 , wherein the deriving the modified transform coefficients comprises:

deriving an input array by aligning transform coefficients arranged in an upper left input area of the target block;

deriving a smaller number of the modified transform coefficients than the transform coefficients through a matrix operation of the input array and the transform kernel,

wherein the input area is composed of a plurality of 4×4 sub-blocks that can be arranged in scanning order from a DC position of the target block.

10. The method of claim 9 , wherein the target block includes the input area, a primary transform coefficient area where the transform coefficients exist, and a zero out region where a transform coefficient value is 0.

11. The method of claim 10 , wherein the primary transform coefficient area includes 4×4 sub-blocks in a diagonal direction bordering the input area.

12. The method of claim 11 , wherein, based on that both the horizontal length and the vertical length of the target block are greater than or equal to 4 and the horizontal length or vertical length is 4, the primary transform coefficient area is a right 4×4 subblock or a lower 4×4 subblock of the input area.

13. A computer-readable digital storage medium, wherein a bitstream generated according to a predetermined method is stored in the computer-readable digital storage medium, the method comprising:

deriving residual samples for a target block based on prediction samples for the target block;

deriving transform coefficients for the target block based on a first-order transform for the residual samples;

deriving modified transform coefficients based on a second-order transform for the transform coefficients;

encoding image information including residual information derived based on the modified transform coefficients to generate the bitstream,

wherein the deriving the modified transform coefficient includes deriving a transform kernel to be applied to the second-order transform,

wherein, based on that a horizontal length and a vertical length of the target block are both greater than or equal to 8, and the horizontal length or the vertical length is 8, a 32×64 matrix is applied to the second-order transform of the target block, and

wherein, based on that both the horizontal length and the vertical length of the target block are 8, a 16×64 matrix, which is sampled from the 32×64 matrix, is applied to the second-order transform of the target block.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2023
From: KOO, MOONMO; KIM, SEUNGHWAN; LIM, JAEHYUN
To: LG ELECTRONICS INC.
Reel/Frame 065262/0040 →
Continuity (2)
Provisional Application 63174013 · Apr 12, 2021
Related Publication 20240205456A1 · Jun 20, 2024
References Cited (9)
US 11317118B2 · Jung · 2022 [cited by examiner]
US 20080310507A1 · Ye · 2008 [cited by examiner]
US 20190246142A1 · Zhao · 2019 [cited by examiner]
US 20220014743A1 · Lee · 2022 [cited by examiner]
US 20230007290A1 · Lim · 2023 [cited by examiner]
US 20230269374A1 · Fan · 2023 [cited by examiner]
KR 1020210019108A · 2021 [cited by applicant]
WO 2020130661A1 · 2020 [cited by applicant]
Extended European Search Report in European Appln. No. 22788384.0, mailed on Feb. 10, 2025, 10 pages. [cited by applicant]