Adaptive Texture Compression Median Lookup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current texture compression techniques, such as S3TC, are inadequate for efficiently managing memory and bandwidth in mobile and low-power systems used for 3D graphics, particularly in wireless phone architectures, as they do not effectively compress and decompress textures in real-time without significant performance degradation.

Innovation Solution

An adaptive method for selecting reference colors to construct a look-up table, where groups of colors are formed, and the median color is chosen as the representative, with error computation and bitstream composition differing from S3TC, allowing for more efficient compression and decompression.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If S3TC algorithm is used for texture compression, then memory size is reduced, but decompression latency and processing time increase

Engineering Contradiction:
Improvememory sizeVSAvoiddecompression latency
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent pre-calculates and stores error values in a lookup table during compression, so that during decompression only simple table lookups and arithmetic operations are needed, dramatically reducing decompression latency while maintaining compression ratios

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If S3TC algorithm is used for texture compression, then memory bandwidth is reduced, but visual quality and objective measures degrade

Engineering Contradiction:
Improvememory bandwidthVSAvoidvisual quality
Core Design Contradiction:
Quantity of substanceVSManufacturing precision

Solution Approach 1:

The patent modifies the color selection parameters by using median colors of sorted color groups instead of simple min/max colors, and changes the error calculation to use Euclidean distance with weighted components, improving visual quality while maintaining bandwidth efficiency

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If adaptive median color selection is implemented, then visual quality improves, but computational complexity increases

Engineering Contradiction:
Improvevisual qualityVSAvoidcomputational complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent performs the computationally intensive median color calculation and error value storage during the offline compression phase, creating lookup tables that contain pre-computed error values. This shifts the computational burden from runtime decompression to offline preparation, making the runtime operation simple and efficient

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a lookup table that copies and stores pre-computed error values for different color combinations. During decompression, instead of recalculating errors, the system simply looks up pre-stored values, dramatically reducing computational complexity at runtime

Inventive Principle:
Principle #26Copying

Data Source

PatentUS7382917B2Methods and apparatus for texture compression and computer program product therefor
Publication Date: 2008.06.03 STMICROELECTRONICS SRL
  • US7382917B2 patent drawing
  • US7382917B2 patent drawing
  • US7382917B2 patent drawing

AI summary

A method for texture compressing images having a plurality of color components (R, G, B) includes defining color representatives for use in encoding by defining groups of colors for each color component (R,G,B), and selecting a representative median color for the group. Each group ideally includes 3 to 15 increasing colors. The method includes computing, for each group, an error between each member of the group and the representative median color of the group. Typically, the error is computed as the sum of the absolute differences (SAD) between each member of the group and the representative median color of the group.