Machine Learning Demosaicing for Resource-Constrained Devices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image demosaicing processes are limited by accuracy and quality, often introducing artifacts, and require significant computing and memory resources, which is a challenge for resource-constrained devices like smartphones.

Innovation Solution

A machine learning-based demosaicing method using a cascade of trained regression tree fields, optionally combined with denoising, is employed to convert raw image sensor data with intensity values in one color channel into a demosaiced image with intensity values in three color channels, utilizing training data created through downsampling and noise simulation to improve quality and efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional image demosaicing processes are used, then computing resources and processing time are reduced, but accuracy and image quality deteriorate due to introduced artifacts

Engineering Contradiction:
Improvedemosaicing accuracyVSAvoidcomputing resource requirements
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces traditional mechanical/deterministic demosaicing algorithms with a machine learning-based system that uses trained neural networks to predict missing color channel values. This substitution enables higher accuracy by learning complex color relationships from training data while maintaining efficiency through optimized model architecture and inference techniques.

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

Solution Approach 2:

The patent changes the fundamental parameters of the demosaicing process by using data-driven models instead of fixed mathematical operations. The system transforms input images through learned transformations that adapt to different image content and lighting conditions, achieving superior accuracy without proportionally increasing computational complexity.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If traditional image demosaicing processes are used, then processing time is reduced, but image quality deteriorates with more artifacts

Engineering Contradiction:
Improveimage qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-training machine learning models on extensive datasets of images with known ground truth color information. This training phase occurs beforehand, allowing the system to make rapid predictions during actual image processing without requiring complex real-time computations, thus improving image quality while controlling processing time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by creating synthetic training data through downsampling high-quality reference images to simulate the demosaicing task. This copying approach enables the system to learn optimal demosaicing behavior from perfect references and apply it to real images, achieving high quality results efficiently.

Inventive Principle:
Principle #26Copying

3Measurement precision

If existing demosaicing methods are used in resource-constrained devices, then processing speed is maintained, but accuracy and quality are limited

Engineering Contradiction:
Improvedemosaicing accuracyVSAvoidprocessing energy consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies dynamics by implementing adaptive demosaicing that adjusts processing intensity and model complexity based on image characteristics and device capabilities. The system dynamically selects appropriate processing levels to maximize accuracy while minimizing energy consumption on resource-constrained mobile devices.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes operational parameters by optimizing model architecture and inference settings specifically for mobile platforms. This includes using quantized precision, pruning unnecessary network layers, and adjusting batch processing sizes to achieve high accuracy with reduced energy consumption compared to traditional methods on the same hardware.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9344690B2Image demosaicing
Publication Date: 2016.05.17 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9344690B2 patent drawing
  • US9344690B2 patent drawing
  • US9344690B2 patent drawing

AI summary

Image demosaicing is described, for example, to enable raw image sensor data, where image elements have intensity values in only one of three color channels, to be converted into a color image where image elements have intensity values in three color channels. In various embodiments a trained machine learning component is used to carry out demosaicing optionally in combination with denoising. In some examples the trained machine learning system comprises a cascade of trained regression tree fields. In some examples the machine learning component has been trained using pairs of mosaiced and demosaiced images where the demosaiced images have been obtained by downscaling natural color digital images. For example, the mosaiced images are obtained from the demosaiced images by subsampling according to one of a variety of color filter array patterns.