Color distribution for texture and image compression
First Claim
1. A method comprising, for each of a plurality of blocks in an image, generating compressed information including information representing a single color value and information representing a plurality of color palette indices including at least one color palette index to a color represented in compressed information for another block in the image.
1 Assignment
0 Petitions
Accused Products
Abstract
A block decomposition based method is provided for compressing textures based on sharing color information between texture blocks. The texture map is divided into a plurality of texture blocks containing texels. During compression a first color value is stored for a first block and a second color value is stored for a second block. A palette is created for each texture block using the color values stored for several neighboring texture blocks. Each texel in each of the texture blocks is indexed to one of the colors in the palette. Accordingly the method compresses the information in the texture map by storing for each texture block bits representing a color value and bits to index each of the texels to a color in the palette, which allows sharing of color information between blocks. During decompression the palettes are regenerated and colors from the palette are assigned to the texels according to the stored index values. Accordingly, the decompression of the texture allows regeneration of the compressed texture, which may be mapped to surfaces to improve the visual quality of three-dimensional graphics.
-
Citations
11 Claims
- 1. A method comprising, for each of a plurality of blocks in an image, generating compressed information including information representing a single color value and information representing a plurality of color palette indices including at least one color palette index to a color represented in compressed information for another block in the image.
-
5. A computer-readable medium having stored thereon data representing sequences of computer instructions that when executed cause a machine to:
generate compressed texture information for a first block in a texture, the compressed texture information including information representing a single color value and information representing a plurality of color palette indices, at least one of the plurality of color palette indices corresponding to a color value associated with a second block in the texture.
-
6. A method comprising:
-
dividing a texture into a plurality of non-overlapping texture blocks including a first texture block and a second texture block; determining a color palette for the first texture block, the color palette including a plurality of color values including at least one color value stored for the second texture block; and compressing the first texture block by determining indices for a plurality of texels in the first texture block to color values in the color palette and storing compressed texture information which includes these indices. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer system comprising:
-
a bus; a memory coupled to the bus; a network interface device coupled to the bus; a processor coupled to the bus; and computer instructions stored on a computer-readable medium that when executed cause the processor to generate compressed texture information for a block in an image, the compressed texture information including information representing a single color value and information representing a plurality of color palette indices including an index to a color value associated with another block in the image.
-
Specification