IP Library › Granted Patent US 12,593,028
Granted Patent B2
US 12,593,028 · App. 18/756,664 · Granted Mar 31, 2026

Encoder which generates prediction image to be used to encode current block

Inventors: Tadamasa Toma (Osaka, JP); Takahiro Nishi (Nara, JP); Kiyofumi Abe (Osaka, JP); Yusuke Kato (Osaka, JP)
Assignee: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
H04N19/105H04N19/176H04N19/182
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,593,028
App. No.
18/756,664
Granted
Mar 31, 2026
Kind
B2
Abstract

An encoder includes circuitry and memory connected to the circuitry. The circuitry, in operation: derives, as a first parameter, a total sum of absolute values of sums of horizontal gradient values respectively for pairs of relative pixel positions; derives, as a second parameter, a total sum of absolute values of sums of vertical gradient values respectively for the pairs of relative pixel positions; derives, as a third parameter, a total sum of horizontal-related pixel difference values respectively for the pairs of relative pixel positions; derives, as a fourth parameter, a total sum of vertical-related pixel difference values respectively for the pairs of relative pixel positions; derives, as a fifth parameter, a total sum of vertical-related sums of horizontal gradient values respectively for the pairs of relative pixel positions; and generates a prediction image to be used to encode the current block using the first, second, third, fourth, and fifth parameters.

Claims (547)

1 . An encoder comprising:

a memory; and

a processor connected to the memory and configured to generate a prediction image in order to encode a current block based on a first parameter, a second parameter, a third parameter, a fourth parameter, and a fifth parameter that are derived in a bi-directional optical flow (BDOF) process, wherein

the first parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

abs

⁡

(

I

x

1

+

I

x

0

)

;

[

Math

.

1

]

the second parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

abs

⁡

(

I

y

1

+

I

y

0

)

;

[

Math

.

2

]

the third parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

(

-

sign

⁡

(

I

x

1

+

I

x

0

)

×

(

I

0

-

I

1

)

)

;

[

Math

.

3

]

the fourth parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

(

-

sign

⁡

(

I

y

1

+

I

y

0

)

×

(

I

0

-

I

1

)

)

;

[

Math

.

4

]

and

the fifth parameter is derived based on the following expression,

∑

[

i

,

j

]

∈

Ω

⁢

(

sign

⁡

(

I

y

1

+

I

y

0

)

×

(

I

x

1

+

I

x

0

)

)

,

[

Math

.

5

]

where:

Ω indicates a set of relative pixel positions;

[i, j] indicates a relative pixel position in the set ( 2 defined by a horizontal position i and a vertical position j;

I x 0 indicates a horizontal gradient value at a first pixel position in a first gradient image, and I x 1 indicates a horizontal gradient value at the first pixel position in a second gradient image, the first pixel position being determined based on a relative pixel position [i, j], the first gradient image and the second gradient image corresponding to the current block;

I y 0 indicates a vertical gradient value at the first pixel position in the first gradient image, and I y 1 indicates a vertical gradient value at the first pixel position in the second gradient image;

I 0 indicates a pixel value at the first pixel position in a first interpolated image corresponding to the current block;

I 1 indicates a pixel value at the first pixel position in a second interpolated image corresponding to the current block;

the abs function outputs an absolute value of an argument;

the sign function outputs a sign of an argument which is −1, 0, or 1; and

I x 0 indicates a difference between a value of a right sample and a value of a left sample, the right sample being adjacent to a right side of a target sample, the left sample being adjacent to a left side of the target sample, the target sample being included in a first prediction block.

2 . A decoder comprising:

a memory; and

a processor connected to the memory and configured to generate a prediction image in order to decode a current block based on a first parameter, a second parameter, a third parameter, a fourth parameter, and a fifth parameter that are derived in a bi-directional optical flow (BDOF) process, wherein

the first parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

abs

⁡

(

I

x

1

+

I

x

0

)

;

[

Math

.

1

]

the second parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

abs

⁡

(

I

y

1

+

I

y

0

)

;

[

Math

.

2

]

the third parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

(

-

sign

⁡

(

I

x

1

+

I

x

0

)

×

(

I

0

-

I

1

)

)

;

[

Math

.

3

]

the fourth parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

(

-

sign

⁡

(

I

y

1

+

I

y

0

)

×

(

I

0

-

I

1

)

)

;

[

Math

.

4

]

and

the fifth parameter is derived based on the following expression,

∑

[

i

,

j

]

∈

Ω

⁢

(

sign

⁡

(

I

y

1

+

I

y

0

)

×

(

I

x

1

+

I

x

0

)

)

,

[

Math

.

5

]

where:

Ω indicates a set of relative pixel positions;

[i, j] indicates a relative pixel position in the set ( 2 defined by a horizontal position i and a vertical position j;

I x 0 indicates a horizontal gradient value at a first pixel position in a first gradient image, and I x 1 indicates a horizontal gradient value at the first pixel position in a second gradient image, the first pixel position being determined based on a relative pixel position [i, j], the first gradient image and the second gradient image corresponding to the current block;

I y 0 indicates a vertical gradient value at the first pixel position in the first gradient image, and I y 1 indicates a vertical gradient value at the first pixel position in the second gradient image;

I 0 indicates a pixel value at the first pixel position in a first interpolated image corresponding to the current block;

I 1 indicates a pixel value at the first pixel position in a second interpolated image corresponding to the current block;

the abs function outputs an absolute value of an argument;

the sign function outputs a sign of an argument which is −1, 0, or 1; and

I x 0 indicates a difference between a value of a right sample and a value of a left sample, the right sample being adjacent to a right side of a target sample, the left sample being adjacent to a left side of the target sample, the target sample being included in a first prediction block.

3 . A non-transitory computer readable medium that stores a bitstream and computer-executable instructions, the bitstream including a prediction parameter according to which the computer-executable instructions, when executed by a processor, cause a decoder to perform a decoding method of decoding a current block provided in the bitstream, the prediction parameter indicating a prediction process among prediction process candidates, the prediction process candidates including a bi-directional optical flow (BDOF) process in which a first parameter, a second parameter, a third parameter, a fourth parameter, and a fifth parameter are used to generate a prediction image of the current block, wherein

the first parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

abs

⁡

(

I

x

1

+

I

x

0

)

;

[

Math

.

1

]

the second parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

abs

⁡

(

I

y

1

+

I

y

0

)

;

[

Math

.

2

]

the third parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

(

-

sign

⁡

(

I

x

1

+

I

x

0

)

×

(

I

0

-

I

1

)

)

;

[

Math

.

3

]

the fourth parameter is derived based on the following expression:

∑

[

i

,

j

]

∈

Ω

⁢

(

-

sign

⁡

(

I

y

1

+

I

y

0

)

×

(

I

0

-

I

1

)

)

;

[

Math

.

4

]

and

the fifth parameter is derived based on the following expression,

∑

[

i

,

j

]

∈

Ω

⁢

(

sign

⁡

(

I

y

1

+

I

y

0

)

×

(

I

x

1

+

I

x

0

)

)

,

[

Math

.

5

]

where:

Ω indicates a set of relative pixel positions;

[i, j] indicates a relative pixel position in the set Ω defined by a horizontal position i and a vertical position j;

I x 0 indicates a horizontal gradient value at a first pixel position in a first gradient image, and I x 1 indicates a horizontal gradient value at the first pixel position in a second gradient image, the first pixel position being determined based on a relative pixel position [i, j], the first gradient image and the second gradient image corresponding to the current block;

I y 0 indicates a vertical gradient value at the first pixel position in the first gradient image, and I y 1 indicates a vertical gradient value at the first pixel position in the second gradient image;

I 0 indicates a pixel value at the first pixel position in a first interpolated image corresponding to the current block;

I 1 indicates a pixel value at the first pixel position in a second interpolated image corresponding to the current block;

the abs function outputs an absolute value of an argument;

the sign function outputs a sign of an argument which is −1, 0, or 1; and

I x 0 indicates a difference between a value of a right sample and a value of a left sample, the right sample being adjacent to a right side of a target sample, the left sample being adjacent to a left side of the target sample, the target sample being included in a first prediction block.

Continuity (6)
Continuation 18196763 · May 12, 2023
Continuation 17368123 · Jul 6, 2021
Continuation 17173634 · Feb 11, 2021
Continuation PCTJP2020023329 · Jun 15, 2020
Provisional Application 62864728 · Jun 21, 2019
Related Publication 20240348775A1 · Oct 17, 2024
References Cited (50)
US 5089887A · Robert · 1992 [cited by applicant]
US 8582666B2 · Zuo · 2013 [cited by examiner]
US 9420312B2 · Jeong et al. · 2016 [cited by applicant]
US 9681150B2 · Garud · 2017 [cited by applicant]
US 9686543B2 · Lee et al. · 2017 [cited by applicant]
US 9786066B2 · Zuo · 2017 [cited by examiner]
US 10931969B2 · Chen · 2021 [cited by applicant]
US 11206419B2 · Lee · 2021 [cited by applicant]
US 20020044601A1 · Haskell et al. · 2002 [cited by applicant]
US 20050024586A1 · Teiwes · 2005 [cited by examiner]
US 20070291846A1 · Hussain · 2007 [cited by applicant]
US 20080204593A1 · Sharman · 2008 [cited by applicant]
US 20090189997A1 · Stec · 2009 [cited by examiner]
US 20100027686A1 · Zuo · 2010 [cited by examiner]
US 20100045862A1 · Burns · 2010 [cited by applicant]
US 20110206236A1 · Center, Jr. · 2011 [cited by applicant]
US 20110298913A1 · Matsushima · 2011 [cited by applicant]
US 20140079330A1 · Zuo · 2014 [cited by examiner]
US 20140369420A1 · Alshina et al. · 2014 [cited by applicant]
US 20150350671A1 · Alshin · 2015 [cited by applicant]
US 20160253789A1 · Chen · 2016 [cited by applicant]
US 20160277762A1 · Zhang · 2016 [cited by examiner]
US 20170094305A1 · Li et al. · 2017 [cited by applicant]
US 20180213227A1 · Lim et al. · 2018 [cited by applicant]
US 20180376166A1 · Chuang · 2018 [cited by applicant]
US 20190014342A1 · Li · 2019 [cited by applicant]
US 20190045214A1 · Ikai · 2019 [cited by applicant]
US 20190124350A1 · Thirumalai · 2019 [cited by applicant]
US 20190222848A1 · Chen · 2019 [cited by applicant]
US 20190320197A1 · Chen · 2019 [cited by applicant]
US 20190349589A1 · Lee · 2019 [cited by applicant]
US 20200053387A1 · Lee · 2020 [cited by applicant]
US 20210029378A1 · He · 2021 [cited by applicant]
EP 3942825 · 2022 [cited by applicant]
JP 2010177784 · 2010 [cited by applicant]
JP 6017638 · 2016 [cited by applicant]
WO 2020187284 · 2020 [cited by applicant]
International Search Report (ISR) issued on Jul. 21, 2020 in International (PCT) Application No. PCT/JP2020/023329. [cited by applicant]
H.265 (ISO/IEC 23008-2 HEVC)/HEVC (High Efficiency Video Coding), Dec. 1, 2013. [cited by applicant]
C. Chen, X. Xiu, Y. He and Y. Ye, “Generalized bi-prediction method for future video coding,” 2016 Picture Coding Symposium (PCS), Nuremberg, Germany, 2016, pp. 1-5, doi: 10.1109/PCS.2016.7906342. [cited by applicant]
Extended European Search Report issued Aug. 18, 2022 in corresponding European Patent Application No. 20826441.6. [cited by applicant]
Kato, Yusuke et al., “Non-CE9: Simplification of BDOF”, Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, No. JVET-O0304-v2; Jul. 2019. [cited by applicant]
Office Action issued Nov. 30, 2023 in corresponding Indian Patent Application No. 202147057502. [cited by applicant]
Office Action of the Substantive Examination issued Feb. 22, 2024 in corresponding Russian Patent Application No. 2023133392, with English language translation. [cited by applicant]
Search Report issued Feb. 22, 2024 in corresponding Russian Patent Application No. 2023133392, with English language translation. [cited by applicant]
Hearing Notice issued Apr. 15, 2025 in corresponding Indian Patent Application No. 202147057502. [cited by applicant]
Jingya Li et al., “CE9-related: simplification of BDOF”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, Document: JVET-M0316, Jan. 2019, pp. 1-7. [cited by applicant]
Xiaoyu Xiu et al., “CE9-related: Complexity reduction and bit-width control for bi-directional optical flow (BIO)”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, Document: JVET-L0256… [cited by applicant]
Examination Report issued Nov. 25, 2025 in corresponding Indian Patent Application No. 202448042088. [cited by applicant]
A. Alshin et al., “Bi-Directional Optical Flow for Improving Motion Compensation”, Samsung Electronics Co., Ltd., 28th Picture Coding Symposium, PCS2010, Dec. 2010, pp. 422-425. [cited by applicant]