Image encoding and decoding methods, image processing device, and computer storage medium
Abstract
Disclosed are an image encoding and decoding method, image processing device, and computer storage medium, comprising: when using one of a palette and a pixel-string encoding replication means to replicate the encoding of a currently encoded block, generating a new palette color according to the pixels of said currently encoded block; according to said new palette color and/or palette color candidate set shared by the palette and the pixel-string encoding replication means, generating the palette of said current encoded block; using said palette to replicate the encoding of the palette and the pixel string, and generate a video code stream comprising the replication means and replication parameters. The video code stream is parsed, and at least one of the following information is obtained: the replication means, replication parameters, and new palette color of the palette and pixel-string decoding replication; according to said new palette color and/or palette color candidate set shared by the palette and the pixel-string decoding replication means, generating a palette; using said palette to replicate the decoding of the palette and the pixel string.
Claims
exact text as granted — not AI-modified1 . An image coding method, comprising:
when copying coding is performed on a current coding block by using one of palette and pixel string copying coding manners, generating a new palette color according to pixels of the current coding block; generating a palette for the current coding block according to the new palette color and/or a palette color candidate set shared by the palette and pixel string copying coding manners; and performing palette and pixel string copying coding by using the palette for the current coding block, and generating a video bitstream comprising a copying manner and a copying parameter.
2 . The image coding method according to claim 1 , wherein the coding block is a coding region of an image, and the coding block comprises at least one of: a Largest Coding Unit (LCU), a Coding Tree Unit (CTU), a Coding Unit (CU), a sub-region of the CU, a Prediction Unit (PU) and a Transform Unit (TU).
3 . The image coding method according to claim 1 , wherein the video bitstream further comprises the new palette color.
4 . The image coding method according to claim 1 , wherein a maximum number of palette colors which are capable of being accommodated by a largest space of the palette color candidate set is a predetermined constant.
5 . The image coding method according to claim 1 , further comprising: performing one or more of the following operations on the palette color candidate set according to a predetermined rule:
updating, palette color deletion, palette color position regulation and palette color addition.
6 . The image coding method according to claim 1 , wherein addition of the new palette color and/or deletion of existing palette colors are/is performed on the palette color candidate set according to a first-in-first-out rule.
7 . The image coding method according to claim 1 , further comprising:
for the coding block coded by using one of palette and pixel string copying manners, adding part or all of the new palette color of the coding block into the shared palette color candidate set.
8 . An image decoding method, comprising:
parsing a video bitstream to acquire at least one of: a copying manner for palette and pixel string copying decoding, a copying parameter and a new palette color; generating a palette used when palette and pixel string copying decoding is performed on a current decoding block by using the copying manner, according to the new palette color and/or a palette color candidate set shared by palette and pixel string copying decoding manners; and performing palette and pixel string copying decoding by using the palette for the current decoding block.
9 . The image decoding method according to claim 8 , wherein the decoding block is a decoding region of an image, and the decoding block comprises at least one of: a Largest Coding Unit (LCU), a Coding Tree Unit (CTU), a Coding Unit (CU), a sub-region of the CU, a Prediction Unit (PU) and a Transform Unit (TU).
10 . The image decoding method according to claim 8 , wherein a maximum number of palette colors which are capable of being accommodated by a largest space of the palette color candidate set is a predetermined constant.
11 . The image decoding method according to claim 8 , further comprising: performing one or more of the following operations on the palette color candidate set according to a predetermined rule:
updating, palette color deletion, palette color position regulation and palette color addition.
12 . The image decoding method according to claim 11 , wherein addition of the new palette color and/or deletion of existing palette colors are/is performed on the palette color candidate set according to a first-in-first-out rule.
13 . The image decoding method according to claim 8 , further comprising:
for the decoding block decoded by using one of palette and pixel string copying manners, adding part or all of the new palette color of the decoding block into the shared palette color candidate set.
14 . A coding device, comprising:
a processor; and a memory for storing a set of instructions executable by the processor, wherein when the instructions are executed by the processor, the processor is arranged to: when copying coding is performed on a current coding block by using one of palette and pixel string copying coding manners, generate a new palette color according to pixels of the current coding block; generate a palette for the current coding block according to the new palette color and/or a palette color candidate set shared by the palette and pixel string copying coding manners; and perform palette and pixel string copying coding by using the palette for the current coding block, and generate a video bitstream comprising a copying manner and a copying parameter.
15 . A decoding device, comprising:
a processor; and a memory for storing a set of instructions executable by the processor, wherein when the instructions are executed by the processor, the processor is arranged to: parse a video bitstream to acquire at least one of: a copying manner for palette and pixel string copying decoding, a copying parameter and new palette color; generate a palette used when palette and pixel string copying decoding is performed on a current decoding block by using the copying manner according to the new palette color and/or a palette color candidate set shared by palette and pixel string copying decoding manners; and perform palette and pixel string copying decoding by using the palette for the current decoding block.
16 . (canceled)
17 . The decoding device according to claim 15 , wherein the decoding block is a decoding region of an image, and the decoding block comprises at least one of: a Largest Coding Unit (LCU), a Coding Tree Unit (CTU), a Coding Unit (CU), a sub-region of the CU, a Prediction Unit (PU) and a Transform Unit (TU).
18 . The decoding device according to claim 15 , wherein a maximum number of palette colors which are capable of being accommodated by a largest space of the palette color candidate set is a predetermined constant.
19 . The decoding device according to claim 15 , wherein the processor is further arranged to: perform one or more of the following operations on the palette color candidate set according to a predetermined rule:
updating, palette color deletion, palette color position regulation and palette color addition.
20 . The decoding device according to claim 19 , wherein addition of the new palette color and/or deletion of existing palette colors are/is performed on the palette color candidate set according to a first-in-first-out rule.
21 . The decoding device according to claim 15 , wherein the processor is further arranged to:
for the decoding block decoded by using one of palette and pixel string copying manners, add part or all of the new palette color of the decoding block into the shared palette color candidate set.Join the waitlist — get patent alerts
Track US2018167623A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.