IP Library › Granted Patent US 12,556,683
Granted Patent B2
US 12,556,683 · App. 18/285,935 · Granted Feb 17, 2026

Intra block copy with template matching for video encoding and decoding

Inventors: Antoine Robert (Mezieres sur Couesnon, FR); Karam Naser (Mouaze, FR); Tangi Poirier (Thorigne-Fouillard, FR); Gaelle Martin-Cocher (Toronto, CA)
Assignee: InterDigital CE Patent Holdings, SAS
H04N19/105H04N19/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 12,556,683
App. No.
18/285,935
Granted
Feb 17, 2026
Kind
B2
Abstract

In a video coding system, it is proposed to improve the intra prediction based on intra-block copy by allowing a decoder-side refinement allowing further refinement of the block vector obtained from IBC using a template matching process. In this template matching, the decoder searches in an iterative process the best match for the current block (L-shaped) template within the reconstructed area, adjacent to the block vector determined using the IBC 10 prediction. This technique allows to obtain a finer precision that what is possible with IBC while minimizing the amount of coding information. In at least one embodiment where a coarse precision is used for IBC, it allows at the same time to benefit from significant coding gain provided by IBC while providing a much finer precision with reduced signaling of the block vector.

Claims (38)

1 . A method comprising:

determining a template based on L-shaped samples surrounding a block of a picture of a video;

determining an initial location for an initial iteration;

selecting a matching template among a set of template candidates in reconstructed blocks of the picture, wherein the set of template candidates is determined based on a determined location and wherein the matching template is selected based on a similarity measure between samples of the template and samples of the template candidates;

refining the selection by iterating over the selection step while the similarity of a template candidate is better than the similarity of the other template candidates and, on a condition that the similarity of the template candidate at a current location is better than the similarity of the other template candidates of the set of template candidates, refining the selection by iterating over a further set of template candidates for which the location is determined with a finer precision; and

reconstructing the block by copying samples of the selected matching template into the block,

wherein, for the initial iteration over the selection step, the location is determined by the initial location and wherein, for further iterations, the location is determined as a refinement based on the location of the selected matching template of the previous iteration.

2 . The method of claim 1 , wherein the set of template candidates are selected based on a precision.

3 . The method of claim 2 , wherein the initial location for the initial iteration of the selection step is determined using a coarse precision of 8 or 16 pixels.

4 . The method of claim 1 , wherein the initial location for the initial iteration of the selection step is determined by techniques of motion coding modes such as merge mode or advanced motion vector prediction and wherein the motion coding modes apply to reconstructed blocks of the picture.

5 . The method of claim 2 , wherein the initial precision for the initial iteration of the selection step is obtained from information in the bitstream.

6 . The method of claim 2 , wherein the set of template candidates is determined by selecting candidates according to a sampling of a search region according to the precision.

7 . The method of claim 2 , wherein the set of template candidates is determined by selecting candidates according to a location and precision in both horizontal and vertical directions.

8 . The method of claim 1 , further comprising:

decoding picture data using the reconstructed block.

9 . The method of claim 1 , further comprising:

encoding picture data using the reconstructed block.

10 . An apparatus for video decoding, the apparatus comprising one or more processors configured to:

determine a template based on L-shaped samples surrounding a block of a picture of a video;

determine an initial location for an initial iteration;

select a matching template among a set of template candidates in reconstructed blocks of the picture, wherein the set of template candidates is determined based on a determined location and wherein the matching template is selected based on a similarity measure between samples of the template and samples of the template candidates;

refine the selection by iterating over the selection step while the similarity of a template candidate is better than the similarity of the other template candidates and, on a condition that the similarity of the template candidate at a current location is better than the similarity of the other template candidates of the set of template candidates, refine the selection by iterating over a further set of template candidates for which the location is determined with a finer precision;

reconstruct the block by copying samples of the selected matching template into the block, wherein, for the initial iteration over the selection step, the location is determined by the initial location and wherein, for further iterations, the location is determined as a refinement based on the location of the selected matching template of the previous iteration; and

decode picture data using the reconstructed block.

11 . The apparatus of claim 10 , wherein the set of template candidates are selected based on a precision.

12 . The apparatus of claim 11 , wherein the initial location for the initial iteration of the selection step is determined using a coarse precision of 8 or 16 pixels.

13 . The apparatus of claim 11 , wherein the initial precision for the initial iteration of the selection step is obtained from information in the bitstream.

14 . The apparatus of claim 11 , wherein the set of template candidates is determined by selecting candidates according to a sampling of a search region according to the precision.

15 . The apparatus of claim 11 , wherein the set of template candidates is determined by selecting candidates according to a location and precision in both horizontal and vertical directions.

16 . An apparatus for video encoding, the apparatus comprising one or more processors configured to:

determine a template based on L-shaped samples surrounding a block of a picture of a video;

determine an initial location for an initial iteration;

select a matching template among a set of template candidates in reconstructed blocks of the picture, wherein the set of template candidates is determined based on a determined location and wherein the matching template is selected based on a similarity measure between samples of the template and samples of the template candidates;

refine the selection by iterating over the selection step while the similarity of a template candidate is better than the similarity of the other template candidates and, on a condition that the similarity of the template candidate at a current location is better than the similarity of the other template candidates of the set of template candidates, refine the selection by iterating over a further set of template candidates for which the location is determined with a finer precision;

reconstruct the block by copying samples of the selected matching template into the block, wherein, for the initial iteration over the selection step, the location is determined by the initial location and wherein, for further iterations, the location is determined as a refinement based on the location of the selected matching template of the previous iteration; and

encode picture data using the reconstructed block.

17 . A computer program comprising program code instructions for implementing the steps of the method according to claim 1 when executed by a processor.

18 . A non-transitory computer readable medium comprising program code instructions for implementing the steps of the method according to claim 1 when executed by a processor.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 6, 2023
From: ROBERT, ANTOINE; NASER, KARAM; POIRIER, TANGI; MARTIN-COCHER, GAELLE
To: INTERDIGITAL VC HOLDINGS FRANCE, SAS
Reel/Frame 065149/0637 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 6, 2023
From: INTERDIGITAL VC HOLDINGS FRANCE, SAS
To: INTERDIGITAL CE PATENT HOLDINGS, SAS
Reel/Frame 065177/0950 →
Priority Claims (1)
EP 21305470 · Apr 9, 2021 · regional
Continuity (1)
Related Publication 20240205386A1 · Jun 20, 2024
References Cited (15)
US 20040037467A1 · Wenzel · 2004 [cited by examiner]
US 20130343610A1 · Dal Mutto · 2013 [cited by examiner]
US 20160300586A1 · Hoerichü · 2016 [cited by examiner]
US 20200137416A1 · Esenlik · 2020 [cited by examiner]
US 20200213612A1 · Liu et al. · 2020 [cited by applicant]
US 20200267409A1 · Stepin · 2020 [cited by examiner]
US 20200374543A1 · Liu et al. · 2020 [cited by applicant]
US 20200413048A1 · Zhang et al. · 2020 [cited by applicant]
Xu et al., “CE8-2.2: Current picture referencing using reference index signaling”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, Document: JVET-K0076-v2, 11th Meeting: Ljubljana, Slo… [cited by applicant]
“Information Technology—Generic Coding of Moving Pictures and Associated Audio Information: Video”, International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC), Internati… [cited by applicant]
“Infrastructure of audiovisual services—Coding of moving video—High Efficiency Video Coding”, International Telecommunication Union, Telecommunication Standardization Sector of ITU, Series H: Audiovisual and Multimedia … [cited by applicant]
Zuo et al., “Intra block copy for intra-frame coding”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, Document: JVET-J0042-v1, 10th Meeting: San Diego, California, USA, Apr. 10, 2018,… [cited by applicant]
Robert et al., “EE2-related: IBC with Template Matching”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, Document: JVET-Y0088-v1, 25th Meeting, by teleconference, Jan. 12, 2022, 4 pages. [cited by applicant]
Chen et al., “Improvements on Intra Block Copy in Natural Content Video Coding”, Institute of Electrical and Electronics Engineers (IEEE), 2015 IEEE International Symposium on Circuits and Systems (ISCAS), Lisbon, Portu… [cited by applicant]
“Infrastructure of audiovisual services—Transmission multiplexing and synchronization—Information technology—Generic coding of moving pictures and associated audio information: Systems”, International Telecommunication … [cited by applicant]