Apparatus and Method for Compressing Color Index Map
First Claim
1. A method for image coding, the method comprising:
- obtaining, at a video codec device, an image block;
generating a color index map comprising a plurality of entries and representing the image block, wherein each one of the entries is assigned a color index indicating a respective color;
determining whether each one of the entries is predictable by a neighboring entry in the color index map;
assigning, in a correct prediction map, a first bit-value for each one of the entries that is predictable by a neighboring entry in the color index map;
assigning, in the correct prediction map, a second bit-value for each one of the entries that is unpredictable by any neighboring entry in the color index map; and
adding, in a sequence of non-predictable color indices, an actual value from the color index map for each one of the entries that is unpredictable by any neighboring entry.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments are provided for compressing a color index map in video coding applications including screen content images. An embodiment method includes obtaining, at a video codec device, an image block, and generating a color index map comprising a plurality of entries and representing the image block. Each one of the entries is assigned a color index indicating a respective color. The method further includes assigning, in a correct prediction map, a first bit-value for each one of the entries that is predictable by a neighboring entry in the color index map, and a second bit-value for each one of the entries that is unpredictable by any neighboring entry in the color index map. Further, an actual value from the color index map for the each one of the entries that is unpredictable by any neighboring entry is added in a sequence of non-predictable color indices.
20 Citations
20 Claims
-
1. A method for image coding, the method comprising:
-
obtaining, at a video codec device, an image block; generating a color index map comprising a plurality of entries and representing the image block, wherein each one of the entries is assigned a color index indicating a respective color; determining whether each one of the entries is predictable by a neighboring entry in the color index map; assigning, in a correct prediction map, a first bit-value for each one of the entries that is predictable by a neighboring entry in the color index map; assigning, in the correct prediction map, a second bit-value for each one of the entries that is unpredictable by any neighboring entry in the color index map; and adding, in a sequence of non-predictable color indices, an actual value from the color index map for each one of the entries that is unpredictable by any neighboring entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for image coding, the method comprising:
-
obtaining, at an video codec device, an image block; selecting a plurality of major colors for the image block; assigning, for each pixel or group of pixels in the image block, a color index in a color index map, wherein the color index indicates a respective color from the plurality of major colors; adding a left column and a top row to the color index map, wherein the left column and the top row comprise a plurality of entries all assigned a most probable color index in the color index map; assigning, in a correct prediction map, a first bit-value for each color index that is predictable by a neighboring color index of a plurality of selected neighbor color indices in the color index map; assigning, in the correct prediction map, a second bit-value for each color index that is unpredictable by any neighboring color index of the plurality of selected neighbor color indices in the color index map; and adding, in a sequence of non-predictable color indices, an actual value of each color index that is unpredictable by any neighboring color index of the plurality of selected neighbor color indices in the color index map, wherein the actual value indicates a respective color from the plurality of major colors. - View Dependent Claims (13, 14, 15, 16)
-
-
17. An apparatus for video coding, the apparatus comprising:
-
at least one processor; and a non-transitory computer readable storage medium storing programming for execution by the at least one processor, the programming including instructions to; obtain an image block; generate a color index map comprising a plurality of entries and representing the image block, wherein each one of the entries is assigned a color index indicating a respective color; determine whether each one of the entries is predictable by a neighboring entry in the color index map; assign, in a correct prediction map, a first bit-value for each one of the entries that is predictable by a neighboring entry in the color index map; assign, in the correct prediction map, a second bit-value for each one of the entries that is unpredictable by any neighboring entry in the color index map; and add, in a sequence of non-predictable color indices, an actual value from the color index map for each one of the entries that is unpredictable by any neighboring entry. - View Dependent Claims (18, 19, 20)
-
Specification