Packed Pixel Data Averaging via Bitwise Logic

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mobile devices face challenges in processing and downsizing images due to limited resources, leading to increased costs and power consumption when using high-powered processing chips for image processing tasks.

Innovation Solution

The method involves averaging packed data words containing image data in a format that allows processing while still packed, using logical operations like AND, XOR, and right shifting to generate an average without unpacking, reducing processing cycles and power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional unpacking and separate averaging is used, then processing accuracy is maintained, but processing time and power consumption increase significantly

Engineering Contradiction:
Improveprocessing accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent merges multiple separate processing operations (unpacking, individual channel averaging, repacking) into a single packed-format averaging operation. By performing bitwise operations on entire pixel data words simultaneously, the invention combines what would traditionally require multiple sequential steps into one unified operation, reducing processing time while maintaining accuracy through the mathematical equivalence of the averaging algorithm.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The invention changes the parameter representation by keeping pixel data in packed format throughout processing rather than converting to unpacked format. This parameter change (maintaining compact representation) enables more efficient processing by operating on complete pixel data words simultaneously, reducing the number of operations required while preserving processing accuracy through careful design of the bitwise averaging algorithm.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If high-powered processing chips are used, then image processing capability is improved, but device cost and power consumption increase

Engineering Contradiction:
Improveimage processing capabilityVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by stationary object

Solution Approach 1:

The invention enables standard, low-power processors to perform image processing tasks efficiently by utilizing the packed format averaging method. The algorithm is designed to work with basic bitwise operations (AND, OR, addition, right shift) that are natively supported by common mobile device processors, allowing these processors to handle image processing without requiring specialized high-performance chips, thereby reducing power consumption and cost.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent employs simple, widely available processor units that are less expensive and consume less power compared to dedicated video/image processing chips. By optimizing the software algorithm to work efficiently on standard processors, the invention replaces expensive hardware solutions with more economical processing approaches, reducing device cost and power consumption while maintaining adequate processing capability for mobile devices.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Productivity

If packed format processing is used, then processing efficiency increases, but implementation complexity increases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidimplementation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The invention replaces complex mechanical-style processing (unpacking, separate channel processing, repacking) with a streamlined computational approach using bitwise operations. By substituting the traditional multi-step mechanical process with a unified mathematical operation working directly on packed data, the patent reduces implementation complexity while maintaining processing efficiency, as the bitwise operations can be executed in a single instruction cycle on standard processors.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS8036484B2In-place averaging of packed pixel data
Publication Date: 2011.10.11 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US8036484B2 patent drawing
  • US8036484B2 patent drawing
  • US8036484B2 patent drawing

AI summary

Methods, systems, and apparatuses for averaging data in packed format are provided. The data may be image data, such as data words containing color-specific data portions representative of pixels of a captured image. A first data word containing first image data is received. A second data word containing second image data is received. A logical AND of the first data word and the second data word is performed to generate a third data word. A logical exclusive OR (XOR) of the first data word and the second data word is performed to generate a fourth data word. A right shift of the fourth data word is performed. The third data word and the right shifted fourth data word are summed to generate a fifth data word that is an average of the first and second data words.