IP Library Granted Patent US 7,526,125
Granted Patent B2
US 7,526,125 · App. 12/029,406 · Granted Apr 28, 2009

Method of and apparatus for compressing and uncompressing image data

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,526,125
App. No.
12/029,406
Granted
Apr 28, 2009
Kind
B2
Abstract

The present invention provides for a method of and apparatus for compressing and uncompressing image data. According to one embodiment of the present invention, the method of compressing a color cell comprises the steps of: defining at least four luminance levels of the color cell; generating a bitmask for the color cell, the bitmask having a plurality of entries each corresponding to a respective one of the pixels, each of the entries for storing data identifying one of the luminance levels associated with a corresponding one of the pixels; calculating a first average color of pixels associated with a first one of the luminance levels; calculating a second average color of pixels associated with a second one of the luminance levels; and storing the bitmask in association with the first average color and the second average color. In one embodiment, the color cell includes a matrix of 4×4 pixels, the bitmask includes 32-bits and each of the color values includes 16-bits such that a compression rate of 4-bits per pixel is achieved. The present invention is particularly applicable to compress texture data such that the texture data can be more efficiently cached and moved during texture mapping. In that embodiment, the present invention can also support the compression of luminance, intensity and alpha textures.

Claims (9)

1. A method for restoring compressed image data, comprising:

using a computer to perform the following steps:

converting a color cell having a first low bit per pixel color value and a second low bit per pixel color value to a first high bit per pixel color value and a second high bit per pixel color value, wherein the color cell is compressed;

interpolating between the first high bit per pixel color value and the second high bit per pixel color value to produce a third high bit per pixel color value and a fourth high bit per pixel color value; and

reconstructing the color cell from luminance-encoded bitmasks, the first high bit per pixel color value, the second high bit per pixel color value, the third high bit per pixel color value and the fourth high bit per pixel color value.

2. The method of claim 1 , wherein the converting comprises bit replication.

3. The method of claim 1 , wherein the first low bit per pixel color value is a first RGB565 color value, the second low bit per pixel color value is a second RGB565 color value, the first high bit per pixel color value is a first RGB8 color value, and the second high bit per pixel color value is a second RGB8 color value.

4. The method of claim 1 , wherein the third high bit color value is equal to a first sum, the fourth high bit per pixel color value is equal to a second sum, the first sum is equal to a first product added to a second product, the second sum is equal to a third product added to a fourth product, the first product is equal to two-thirds multiplied by the first high bit per pixel color value, the second product is equal to one-third multiplied by the second high bit per pixel color value, the third product is equal to one-third multiplied by the first high bit per pixel color value, and the fourth product is equal to two-thirds multiplied by the second high bit per pixel color value.

5. The method of claim 1 , wherein the luminance-encoded bitmasks contain data identifying a corresponding luminance level for each pixel of the color cell.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 26, 2013
From: GRAPHICS PROPERTIES HOLDINGS, INC.
To: SAMSUNG ELECTRONICS CO., LTD
Reel/Frame 030886/0217 →
CHANGE OF NAME Recorded Apr 18, 2012
From: SILICON GRAPHICS, INC.
To: GRAPHICS PROPERTIES HOLDINGS, INC.
Reel/Frame 028066/0415 →
SECURITY AGREEMENT Recorded Dec 16, 2008
From: SILICON GRAPHICS, INC.
To: MORGAN STANLEY & CO., INCORPORATED
Reel/Frame 021985/0269 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 11, 2008
From: DREBIN, ROBERT A.; WANG, DAVID (CHI-SHUNG); MIGDAL, CHRISTOPHER J.
To: SILICON GRAPHICS, INC.
Reel/Frame 020505/0420 →