Demosaicing Edge Artifact Reduction via Local Ratio Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing demosaicing techniques, such as linear approximation, often generate erroneous color values in edge areas with chromatic aberration, leading to undesirable effects like purpling and fringing, which exacerbate aberration and are not desirable.

Innovation Solution

An improved demosaicing technique that calculates color values by considering both neighboring pixels of the same color and those of a second color, separating neighboring pixels into multiple sets on opposite sides of the pixel to better discern and handle edges, using representative ratios and weighting factors to determine target color values.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If linear approximation is used to calculate color values for pixels, then the demosaicing process is simple and fast, but erroneous color values are generated in edge areas with chromatic aberration

Engineering Contradiction:
Improvedemosaicing processing speedVSAvoidcolor value accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent applies different demosaicing strategies to different regions of the image. For pixels in edge areas (identified by gradient calculations), a more sophisticated calculation method is used that considers pixels of both the same color and second colors. For non-edge pixels, simpler linear approximation can be used. This local differentiation resolves the contradiction by improving accuracy where needed while maintaining overall processing efficiency.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically adjusts the demosaicing approach based on local image characteristics. By calculating gradients and identifying edge areas, the system adapts its calculation method pixel-by-pixel, switching between simple and complex demosaicing strategies as needed. This dynamic adaptation allows the system to maintain high accuracy in problematic edge regions while preserving overall processing speed.

Inventive Principle:
Principle #15Dynamics

2Device complexity

If linear approximation is used in edge areas with chromatic aberration, then processing is simple, but chromatic aberration artifacts like purpling and fringing are exacerbated

Engineering Contradiction:
Improvedemosaicing algorithm complexityVSAvoidchromatic aberration artifacts
Core Design Contradiction:
Device complexityVSObject-affected harmful factors

Solution Approach 1:

The patent identifies edge areas with chromatic aberration through gradient calculations and applies a specialized demosaicing method only to those regions. This method considers not only pixels of the same color but also pixels of second colors, thereby reducing chromatic aberration artifacts. In non-edge areas, the simpler linear approximation suffices, maintaining overall algorithm simplicity while locally suppressing harmful artifacts.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent converts the potentially harmful effect of chromatic aberration into a detectable feature. By calculating gradients and identifying areas where chromatic aberration occurs, the system can then apply corrective demosaicing strategies specifically to those regions. This transforms the harmful artifact into a basis for targeted correction, reducing purpling and fringing effects.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

3Ease of operation

If only neighboring pixels of the same color are used for calculation, then the calculation is straightforward, but color accuracy in edge areas deteriorates

Engineering Contradiction:
Improvecalculation simplicityVSAvoidcolor calculation accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent differentiates between edge and non-edge pixels, applying different calculation strategies to each. For non-edge pixels, simple linear approximation using same-color neighbors suffices. For edge pixels, the system incorporates both same-color and second-color pixels in the calculation, improving color accuracy in critical regions while maintaining simplicity elsewhere.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically selects which pixels to use for demosaicing based on local image characteristics. By calculating gradients and identifying edge areas, the system adapts its pixel selection strategy pixel-by-pixel. In edge regions, it expands the calculation to include second-color pixels; in non-edge regions, it uses only same-color pixels, optimizing both accuracy and computational efficiency.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentEP2591607B1demosaicing
Publication Date: 2015.09.09 FOTONATION LIMITED
  • EP2591607B1 patent drawingFigure 1
  • EP2591607B1 patent drawingFigure 2
  • EP2591607B1 patent drawingFigure 3

AI summary

A demosaicing technique is disclosed for calculating a value for a second color for a particular pixel. The technique selects a first set of neighboring pixels situated on a first side of the particular pixel, and a second set of neighboring pixels situated on an opposite side of the particular pixel. Based upon color values from the first set of neighboring pixels, the technique determines a first representative ratio and based upon color values from the second set of neighboring pixels, the technique determines a second representative ratio. Based upon these representative ratios, the technique determines a target ratio between the value for the second color for the particular pixel and a value for a first color for the particular pixel. Based upon the target ratio and the value for the first color for the particular pixel, the technique calculates the value for the second color for the particular pixel.