IP Library › Granted Patent US 12,549,762
Granted Patent B2
US 12,549,762 · App. 18/665,065 · Granted Feb 10, 2026

Method and apparatus for video coding using intra prediction based on template matching

Inventors: Yong Jo Ahn (Seoul, KR); Jong Seok Lee (Seoul, KR); Jin Heo (Yongin-si, KR); Seung Wook Park (Yongin-si, KR)
Assignees: HYUNDAI MOTOR COMPANY; KIA CORPORATION; DIGITALINSIGHTS INC.
H04N19/593H04N19/105H04N19/172H04N19/176H04N19/1883H04N19/436H04N19/156
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,549,762
App. No.
18/665,065
Granted
Feb 10, 2026
Kind
B2
Abstract

A method and an apparatus for video coding using template matching-based intra prediction are disclosed. The video coding method and the video coding apparatus select an intra predictor by defining previously reconstructed pixels spatially adjacent to the current block as a template and performing a template matching-based search in the previously reconstructed region neighboring the current block.

Claims (34)

1 . A method performed by a video decoding apparatus for decoding a current block, the method comprising:

decoding, from a bitstream, an index indicating a target search region that is one of multiple search regions, the search region being a portion of a previously reconstructed region in a current picture;

setting the target search region based on the index;

setting a template from pixels spatially adjacent to the current block;

searching for a similar template with a highest degree of similarity to the template by performing a search based on template matching in the target search region; and

determining a matching block with the current block based on the similar template and selecting the matching block as an intra predictor,

wherein the multiple search regions are formed with both a current virtual pipeline data unit (VPDU), which contains the current block, and three consecutive VPDUs, that precede the current VPDU in decoding order, on a current coding tree unit (CTU) row.

2 . The method of claim 1 , wherein searching for the similar template comprises:

searching for the similar template based on a cost function that calculates similarities between the template and candidate templates in the target search region.

3 . The method of claim 2 , wherein searching for the similar template comprises:

when the template is larger than a predefined width or a predefined height, calculating a value of the cost function by using pixels obtained by sub-sampling the template and the candidate templates.

4 . The method of claim 1 , further comprising:

decoding a residual block from the bitstream; and

reconstructing the current block by adding the intra predictor and the residual block.

5 . A method performed by a video encoding apparatus configured to encode a current block, the method comprising:

determining an index indicating a target search region that is one of multiple search regions, the search region being a portion of a previously reconstructed region in a current picture;

setting the target search region based on the index;

setting a template from pixels spatially adjacent to the current block;

searching for a similar template with a highest degree of similarity to the template by performing a search based on template matching in the target search region; and

determining a matching block with the current block based on the similar template and selecting the matching block as an intra predictor,

wherein the multiple search regions are formed with both a current virtual pipeline data unit (VPDU), which contains the current block, and three consecutive VPDUs, that precede the current VPDU in encoding order, on a current coding tree unit (CTU) row.

6 . The method of claim 5 , further comprising:

generating a residual block by subtracting the intra predictor from the current block; and

encoding the index and the residual block.

7 . A method for providing a video decoding apparatus with video data, the method comprising:

encoding the video data into a bitstream; and

transmitting the bitstream to the video decoding device,

wherein encoding the video data comprises:

determining an index indicating a target search region that is one of multiple search regions, the search region being a portion of a previously reconstructed region in a current picture;

setting the target search region based on the index;

setting a template from pixels spatially adjacent to a current block;

searching for a similar template with a highest degree of similarity to the template by performing a search based on template matching in the target search region; and

determining a matching block with the current block based on the similar template and selecting the matching block as an intra predictor,

wherein the multiple search regions are formed with both a current virtual pipeline data unit (VPDU), which contains the current block, and three consecutive VPDUs, that precede the current VPDU in encoding order, on a current coding tree unit (CTU) row.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 17, 2024
From: AHN, YONG JO; LEE, JONG SEOK; HEO, JIN; PARK, SEUNG WOOK
To: HYUNDAI MOTOR COMPANY; KIA CORPORATION; DIGITALINSIGHTS INC.
Reel/Frame 067446/0514 →
Priority Claims (2)
KR 10-2021-0160587 · Nov 19, 2021 · national
KR 10-2022-0116837 · Sep 16, 2022 · national
Continuity (2)
Continuation PCTKR2022013976 · Sep 19, 2022
Related Publication 20240305815A1 · Sep 12, 2024
References Cited (20)
US 10219003B2 · Huang et al. · 2019 [cited by applicant]
US 11297340B2 · Chien · 2022 [cited by examiner]
US 11778176B2 · Xu · 2023 [cited by examiner]
US 11805245B2 · Chiu · 2023 [cited by examiner]
US 11831869B2 · Zhang · 2023 [cited by examiner]
US 11917176B2 · Zhou · 2024 [cited by examiner]
US 11956439B2 · Deng · 2024 [cited by examiner]
US 20110261882A1 · Zheng · 2011 [cited by applicant]
US 20170078696A1 · Huang et al. · 2017 [cited by applicant]
US 20210076058A1 · Robert · 2021 [cited by applicant]
US 20230097304A1 · Robert · 2023 [cited by applicant]
KR 101691199B1 · 2016 [cited by applicant]
KR 101909170B1 · 2018 [cited by applicant]
KR 20210006355A · 2021 [cited by applicant]
Fast Template Matching for Intra prediction; Venugopal—2017; (Year: 2017). [cited by examiner]
Intra region-based template matching; Venugopal—2018; (Year: 2018). [cited by examiner]
Intra template matching; Naser—2021; (Year: 2021). [cited by examiner]
Gayathri Venugopal et al., Intra Region-based Template Matching, JVET-J0039, Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 10th Meeting: San Diego, Apr. 3, 2018, 13pp. [cited by applicant]
International Search Report and Written Opinion cited in corresponding international patent application No. PCT/KR2022/013976; Dec. 13, 2022; 10 pp. [cited by applicant]
K. Naser et al., EE2: Intra Template Matching, JVET-V0130-v6, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, 22nd Meeting, by teleconference, Apr. 23, 2021, 8 pp. [cited by applicant]