Image processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsPengfei Luo, Yongqiang Leng, Wei Wang, Jianan Zhang, Junping Zhang
Life of this patent
Estimating the term…
Abstract
This application provides an image processing method and apparatus, and relates to the field of image processing technologies. In the image processing method, at least one unit pattern of a first part of a graphic code can be encoded based on at least three different image parameters, to obtain at least three frames of images. In this way, when the at least three frames of images are decoded to obtain the graphic code, the graphic code can be obtained through correct decoding without being affected by a refresh stripe.
Claims20
A method of image processing, comprising:
- obtaining a first graphic code comprising a first part representing target information;
- encoding the first graphic code to generate at least three frames of images of the first graphic code, wherein the at least three frames of images comprise a first image, a second image, and a third image, wherein at least one first unit pattern of a first part of the first image is encoded based on a first image parameter, at least one first unit pattern of a first part of the second image is encoded based on a second image parameter, and at least one first unit pattern of a first part of the third image is encoded based on a third image parameter;
- and
- alternately displaying the at least three frames of images to transmit the target information.
A method of image processing, comprising:
- shooting at least three frames of images alternately displayed on a screen of a transmit end, to obtain at least two frames of images, wherein the at least three frames of images are an encoding result of a first graphic code, the at least three frames of images comprise a first image, a second image, and a third image, and at least one first unit pattern of a first part of the first image is encoded based on a first image parameter, at least one first unit pattern of a first part of the second image is encoded based on a second image parameter, and at least one first unit pattern of a first part of the third image is encoded based on a third image parameter;
- calculating a difference between image parameters for at least one group of two frames of images of the at least two frames of images;
- and
- obtaining the first graphic code based on the difference, to obtain target information represented by the first graphic code.
An image processing apparatus, comprising:
- one or more processors;
- and
- one or more interface circuits configured to receive a signal from a memory storing computer instructions, and send the signal to the one or more processors, wherein the signal comprises the computer instructions, which when executed by the one or more processors, cause the image processing apparatus to perform operations,
- wherein the operations comprise:
- obtaining a first graphic code comprising a first part representing target information;
- encoding the first graphic code to generate at least three frames of images of the first graphic code, wherein the at least three frames of images comprise a first image, a second image, and a third image, wherein at least one first unit pattern of a first part of the first image is encoded based on a first image parameter, at least one first unit pattern of a first part of the second image is encoded based on a second image parameter, and at least one first unit pattern of a first part of the third image is encoded based on a third image parameter;
- and
- alternately displaying the at least three frames of images to transmit the target information;
- or
- wherein the operations comprise:
- shooting at least three frames of images alternately displayed on a screen of a transmit end, to obtain at least two frames of images, wherein the at least three frames of images are an encoding result of a first graphic code, the at least three frames of images comprise a first image, a second image, and a third image, and at least one first unit pattern of a first part of the first image is encoded based on a first image parameter, at least one first unit pattern of a first part of the second image is encoded based on a second image parameter, and at least one first unit pattern of a first part of the third image is encoded based on a third image parameter;
- calculating a difference between image parameters for at least one group of two frames of images of the at least two frames of images;
- and
- obtaining the first graphic code based on the difference, to obtain target information represented by the first graphic code.
Dependencies are inferred from the claim text.