Decoding Haar Coefficients for Texture Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current techniques for encoding and decoding textures in computer graphics face challenges in balancing data reduction, artefact minimization, and implementation costs, particularly in anisotropic texture mappings and frame buffer compression, where high-quality filtering is expensive in terms of memory bandwidth and processing resources.

Innovation Solution

A method of decoding a compressed data structure that encodes Haar coefficients for 2×2 quads of pixels, using differential and average coefficients, with bits indicating order, signs, and exponents, allowing for a weighted sum calculation without multiplication or division, and supporting anisotropic filtering through varying weights based on position and anisotropy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If traditional texture encoding and decoding is used, then texture data can be stored and accessed, but memory bandwidth consumption and processing costs are high

Engineering Contradiction:
Improvememory bandwidth consumptionVSAvoidtexture rendering quality
Core Design Contradiction:
Loss of energyVSManufacturing precision

Solution Approach 1:

The texture data is divided into 2×2 pixel quads, with each quad encoded independently using Haar coefficients. This segmentation allows for more efficient compression while maintaining the ability to reconstruct high-quality texture data when needed, reducing overall memory bandwidth consumption.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms texture pixel data into Haar coefficient representations (average and differential coefficients), changing the parameter space from raw pixel values to frequency-domain coefficients. This transformation enables lossless compression with minimal quality loss and lossy compression with controllable quality, significantly reducing memory bandwidth requirements.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If anisotropic texture filtering is implemented, then texture sampling accuracy is improved, but implementation cost and processing complexity increase

Engineering Contradiction:
Improvetexture sampling accuracyVSAvoidfiltering implementation cost
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies different filtering weights to different spatial locations within each 2×2 quad based on the anisotropy parameters. By adjusting the weights of Haar coefficients locally according to position and anisotropy direction, high sampling accuracy is achieved without requiring complex global filtering operations.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The filtering process dynamically adjusts weights based on anisotropy parameters and pixel position within the quad. This dynamic weighting approach enables adaptive anisotropic filtering that responds to different viewing angles and mapping distortions, improving sampling accuracy while keeping the implementation relatively simple through the use of pre-defined Haar basis functions.

Inventive Principle:
Principle #15Dynamics

3Manufacturing precision

If lossless compression is used, then texture quality is maintained, but compression ratio and data reduction are limited

Engineering Contradiction:
Improvetexture qualityVSAvoiddata reduction ratio
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The patent enables selective application of compression techniques - full precision Haar coefficient storage for lossless compression when quality is paramount, or truncated/rounded coefficient storage for lossy compression when data reduction is prioritized. This partial action approach allows flexible trade-off between quality and compression ratio based on specific application requirements.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20240371044A1Decoding a compressed data structure encoding a set of haar coefficients for a quad of pixels
Publication Date: 2024.11.07 IMAGINATION TECH LTD
  • US20240371044A1 patent drawing
  • US20240371044A1 patent drawing
  • US20240371044A1 patent drawing

AI summary

A compressed data structure that encodes a set of Haar coefficients for a 2×2 quad of pixels of a block of pixels is decoded. The set of Haar coefficients comprises differential coefficients and an average coefficient. A first portion of the compressed data structure encodes the differential coefficients for the 2×2 quad of pixels. A second portion of the compressed data structure encodes the average coefficient for the 2×2 quad of pixels. The first portion is used to determine signs and exponents differential coefficients which are non-zero. The second portion is used to determine a representation of the average coefficient. The result of a weighted sum of the differential coefficients and the average coefficient for the 2×2 quad of pixels is determined using: (i) the determined signs and exponents for the differential coefficients which are non-zero, (ii) the determined representation of the average coefficient, and (iii) respective weights for the differential coefficients. The determined result is used to determine the decoded value.