Word-Including Picture Encoding Method and Apparatus, and Word-Including Picture Decoding Method and Apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsHuanbang Chen, Chen Zhu, Yin Zhao, Li Song
Life of this patent
Estimating the term…
Abstract
In a word-including picture encoding method, a word area in a first picture is obtained, where a word area includes at least one character. The word area is filled to obtain a word-filled area, where a height or a width of the word-filled area is n times a preset size, and where n≥1. A second picture is obtained based on the word-filled area and the second picture and word alignment side information including the height or width of the word-filled area is encoded to obtain a first bitstream.
Claims20
A method, comprising:
- obtaining a word area in a first picture, wherein the word area comprises at least one character;
- filling the word area to obtain a word-filled area, wherein a height or a width of the word-filled area is n times a preset size, and wherein n≥1;
- obtaining a second picture based on the word-filled area;
- and
- encoding the second picture and word alignment side information to obtain a first bitstream,
- wherein the word alignment side information comprises the height or the width of the word-filled area.
A method, comprising:
- obtaining a bitstream;
- decoding the bitstream to obtain a first picture and word alignment side information, wherein the word alignment side information comprises a height or a width of a word-filled area in the first picture, and wherein the height or the width of the word-filled area is n times a preset size, and wherein n≥1;
- obtaining, based on the first picture and based on the height or the width of the word-filled area, the word-filled area;
- and
- obtaining, based on the word-filled area, a word area in a to-be-reconstructed picture.
A non-volatile computer-readable storage medium storing instructions, that when executed by one or more processors, cause an encoder to:
- obtain a word area in a first picture, wherein the word area comprises at least one character;
- fill the word area to obtain a word-filled area, wherein a height or a width of the word-filled area is n times a preset size, and wherein n≥1;
- obtain a second picture based on the word-filled area;
- and
- encode the second picture and word alignment side information to obtain a first bitstream,
- wherein the word alignment side information comprises the height or the width of the word-filled area.
Dependencies are inferred from the claim text.