# US 2008/0259190 A1 · Noise filter for bayer pattern image data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0259190 A1
- Document ID: US20080259190A1
- Status: Published application
- Kind: A1
- Application number: 12/060,367
- Filed: 2008-04-01
- Published: 2008-10-23
- Earliest claimed: 2001-08-31
- Assignees: STMicroelectronics S.r.l.
- Inventors: Angelo Bosco; Massimo Mancuso
- Web page: https://patentgrep.com/patent/US20080259190A1

## CPC

- H04N 23/81: for suppressing or minimising disturbance in the image signal generation
- G06T 3/4015: Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
- G06T 5/20: using local operators
- G06T 5/70: Denoising; Smoothing
- H04N 23/843: {Demosaicing, e.g. interpolating colour pixel values}
- H04N 25/134: {based on three different wavelength filter elements}
- G06T 2207/10024: Color image
- G06T 2207/20012: Locally adaptive
- G06T 2207/20192: Edge enhancement; Edge preservation
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method of filtering an image filter is disclosed. The filter is provided for a digital camera including image sensors sensitive to light, a color filter placed over sensitive elements of the sensors and patterned according to a Bayer mosaic pattern layout and an interpolation algorithm joining together the digital information provided by differently colored adjacent pixels in said Bayer pattern. The filter is adaptive and includes a noise level computation block for operating directly on a said Bayer pattern data set of for each color channel thus removing noise while simultaneously preserving picture detail.

## Claims

### Claim 1

An image filtering method for processing a color channel of Bayer pattern data, comprising the steps of:
identifying a target pixel in the Bayer pattern data;
identifying, within the Bayer pattern data, a plurality of neighboring pixels to the target pixel having a common color;
comparing the common color target and neighboring pixels; and
determining a filtered value for the target pixel based on the common color target and neighboring pixels comparison by:
resisting change in the target pixel value when the comparison indicates dramatic difference between the target and neighboring pixels; and
encouraging change in the target pixel value when the comparison indicates minimal difference between the target and neighboring pixels.

### Claim 2 (depends on 1)

The method as in claim 1 wherein the comparing step implements a fuzzy logic processing operation.

### Claim 3 (depends on 1)

The method as in claim 1 wherein the step of resisting comprises the step of reducing a weighting factor applied to each of the neighboring pixel values if the comparison indicates dramatic difference between the target and neighboring pixels.

### Claim 4 (depends on 1)

The method as in claim 1 wherein the step of encouraging comprises the step of increasing a weighting factor applied to each of the neighboring pixel values if the comparison indicates minimal difference between the target and neighboring pixels.

### Claim 5 (depends on 1)

The method as in claim 1 wherein the step of determining comprises the step of calculating the filtered value of the target pixel as a sum of:
a weighting factor times the neighboring pixel value; and
one minus the weighting factor times the target pixel value;
wherein the sum is calculated across the plurality of neighboring pixels.

### Claim 6

An image filtering method for processing a color channel of Bayer pattern data, comprising the steps of:
identifying a target pixel in the Bayer pattern data;
identifying, within the Bayer pattern data, a plurality of neighboring pixels to the target pixel having a common color;
comparing the common color target and neighboring pixels; and
determining a filtered value for the target pixel based on the common color target and neighboring pixels comparison that:
preserves image detail where the comparison indicates dramatic difference between the target and neighboring pixels; and
corrects noisy pixels where the comparison indicates minimal difference between the target and neighboring pixels.

### Claim 7 (depends on 6)

The method as in claim 6 wherein the comparing step implements a fuzzy logic processing operation.

### Claim 8 (depends on 6)

The method as in claim 6 wherein the step of preserving comprises the step of resisting change in the target pixel value by reducing a weighting factor applied to each of the neighboring pixel values if the comparison indicates dramatic difference between the target and neighboring pixels.

### Claim 9 (depends on 6)

The method as in claim 6 wherein the step of correcting comprises the step of encouraging change in the target pixel value by increasing a weighting factor applied to each of the neighboring pixel values if the comparison indicates minimal difference between the target and neighboring pixels.

### Claim 10 (depends on 6)

The method as in claim 6 wherein the step of determining comprises the step of calculating the filtered value of the target pixel as a sum of:
a weighting factor times the neighboring pixel value; and
one minus the weighting factor times the target pixel value;
wherein the sum is calculated across the plurality of neighboring pixels.

### Claim 11

A device, comprising:
a sensor for sensing an image and producing a first signal;
a Bayer pattern producer coupled to said sensor and structured to produce a Bayer pattern from said first signal;
a splitter structured to split said Bayer pattern into separate color channels; and
an image filter for processing each of the separate color channels of the Bayer pattern in a manner that removes noise while simultaneously preserving picture detail.
