Macroblock Predictive Lossless Coding for Mixed Image Content

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image and video codecs struggle to provide lossless compression that is generically applicable across diverse image types, including photographic and graphic content, due to differences in image characteristics, leading to inefficiencies and poor interoperability.

Innovation Solution

Predictive lossless coding (PLC) uses the YCoCg color space, operates on macroblocks, and employs a rich set of local differential pulse-code modulation (DPCM) predictions combined with run-length Golomb Rice (RLGR) entropy coding to decorrelate image data, enabling efficient compression of various image and video content.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If transform methods (DCT or wavelets) are used for photographic image compression, then compression efficiency for photographic images is improved, but performance on graphic images deteriorates because the assumption of local smoothness is broken

Engineering Contradiction:
Improvecompression efficiencyVSAvoidapplicability to different image types
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The codec dynamically adapts its prediction strategy based on image content characteristics. It uses multiple prediction modes (spatial, temporal, and combined predictions) and selects the most appropriate mode for each macroblock, allowing it to effectively handle both photographic images with smooth regions and graphic images with sharp edges and transitions.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the fundamental coding approach from transform-based to prediction-based coding. By using predictive coding with multiple modes and adaptive selection, the system achieves good compression for both photographic and graphic images without relying on the local smoothness assumption that limits transform methods.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If string based codecs (LZ77 or LZ78) are used for graphic image compression, then compression efficiency for graphic images is improved, but performance on photographic images deteriorates because the alphabet is too large to build a good dictionary

Engineering Contradiction:
Improvecompression efficiencyVSAvoidapplicability to different image types
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The codec uses adaptive prediction that dynamically adjusts to the image content. By employing multiple prediction modes and adaptively selecting the best mode for each macroblock, the system effectively handles the large alphabet of photographic images without requiring dictionary-based methods, achieving good compression for both graphic and photographic content.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention creates a universal codec that can efficiently handle both graphic and photographic images using prediction-based methods. The multi-mode prediction system serves multiple functions: it works well for the sharp edges in graphics and the smooth gradients in photographs, eliminating the need for separate specialized codecs.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If specialized lossless image codecs (CALIC, JPEG-LS, SPIHT) are used for photographic images, then compression efficiency for photographic content is improved, but interoperability with video codecs and handling of graphic content deteriorates

Engineering Contradiction:
Improvecompression efficiencyVSAvoidinteroperability and graphic handling
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The invention designs a universal lossless codec that can handle photographic images, graphic images, and integrate with video codecs. By using prediction-based coding with multiple modes and macroblock processing, the system achieves good compression for photographic content while maintaining interoperability and effective graphic handling, eliminating the need for separate specialized codecs.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The codec processes images in macroblocks, which enables easy integration with video codecs that also use macroblock structures. This segmentation approach allows the same coding framework to be applied across different image and video applications, improving interoperability while maintaining compression efficiency.

Inventive Principle:
Principle #1Segmentation

4Ease of manufacture

If PTC macroblock-based codec is used for integration into image and video codecs, then ease of integration is improved, but compression performance for graphic content deteriorates

Engineering Contradiction:
Improveintegrability into codecsVSAvoidcompression efficiency
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The codec uses dynamic mode selection with multiple prediction modes for each macroblock. This allows the system to adapt to different content types (photographic vs. graphic) while maintaining the macroblock structure for easy integration, achieving both good compression performance and integrability.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the prediction approach from single-mode to multi-mode prediction within macroblocks. By employing multiple prediction modes and adaptively selecting the best one, the system improves compression performance for graphic content while maintaining the macroblock-based structure that enables easy integration into image and video codecs.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS7689051B2Predictive lossless coding of images and video
Publication Date: 2010.03.30 MICROSOFT TECHNOLOGY LICENSING LLC
  • US7689051B2 patent drawing
  • US7689051B2 patent drawing
  • US7689051B2 patent drawing

AI summary

Predictive lossless coding provides effective lossless image compression of both photographic and graphics content in image and video media. Predictive lossless coding can operate on a macroblock basis for compatibility with existing image and video codecs. Predictive lossless coding chooses and applies one of multiple available differential pulse-code modulation (DPCM) modes to individual macro-blocks to produce DPCM residuals having a closer to optimal distribution for run-length, Golomb Rice RLGR entropy encoding. This permits effective lossless entropy encoding despite the differing characteristics of photographic and graphics image content.