# US 2011/0235938 A1 · Method and Device for Adaptively Removing Noise from an Image

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

- Number: US 2011/0235938 A1
- Document ID: US20110235938A1
- Status: Published application
- Kind: A1
- Application number: 13/053,214
- Filed: 2011-03-22
- Published: 2011-09-29
- Earliest claimed: 2010-03-29
- Inventors: Yu-Mao Lin
- Web page: https://patentgrep.com/patent/US20110235938A1

## CPC

- G06T 5/70: Denoising; Smoothing
- G06T 5/20: using local operators
- G06T 2207/20012: Locally adaptive
- G06T 2207/20192: Edge enhancement; Edge preservation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processing method for adaptively removing noise from an image is disclosed. The image processing method includes computing a plurality of gradients for one of a plurality of pixels of the image, determining an edge level and an edge direction of the pixel according to the plurality of gradients, selecting a plurality of nearby pixels from the plurality of pixels according to the edge level and the edge direction, computing a plurality of likelihoods between the pixel and the plurality of nearby pixels, generating a plurality of weights according to the plurality of likelihoods, and applying weighted low-pass filtering to the plurality of nearby pixels and the pixel according to the plurality of weights to generate an output pixel.

## Claims

### Claim 1

An image processing method for adaptively removing noise from an image, the image processing method comprising:
computing a plurality of gradients corresponding to a plurality of directions for one of a plurality of pixels of the image;
determining an edge level and an edge direction of the pixel according to the plurality of gradients;
selecting a plurality of nearby pixels around the pixel from the plurality of pixels according to the edge level and the edge direction;
computing a plurality of likelihoods between the pixel and the plurality of nearby pixels;
generating a plurality of weights according to the plurality of likelihoods; and
applying weighted low-pass filtering to the plurality of nearby pixels and the pixel according to the plurality of weights to generate an output pixel.

### Claim 2 (depends on 1)

The image processing method of claim 1, wherein the plurality of directions comprises a first direction and a second direction orthogonal to each other.

### Claim 3 (depends on 1)

The image processing method of claim 1, wherein the step of selecting the plurality of nearby pixels around the pixel from the plurality of pixels according to the edge level and the edge direction comprises selecting parts of the plurality of pixels horizontally nearby the pixel to be the plurality of nearby pixels when the edge direction is a horizontal direction.

### Claim 4 (depends on 1)

The image processing method of claim 1, wherein the step of selecting the plurality of nearby pixels around the pixel from the plurality of pixels according to the edge level and the edge direction comprises selecting parts of the plurality of pixels vertically nearby the pixel to be the plurality of nearby pixels when the edge direction is a vertical direction.

### Claim 5 (depends on 1)

The image processing method of claim 1, wherein the step of selecting the plurality of nearby pixels around the pixel from the plurality of pixels according to the edge level and the edge direction comprises averagely selecting parts of the plurality of pixels around the pixel to be the plurality of nearby pixels when the edge direction is insignificant.

### Claim 6 (depends on 1)

The image processing method of claim 1, wherein the step of computing the plurality of likelihoods between the pixel and the plurality of nearby pixels comprises computing a plurality of absolute values of a plurality of reciprocals of a plurality of grey-level differences between the plurality of nearby pixels and the pixel to be the plurality of likelihoods.

### Claim 7 (depends on 1)

The image processing method of claim 1, wherein the step of generating the plurality of weights according to the plurality of likelihoods comprises maintaining the weight to be a standard weight when the weight corresponds to a high likelihood of the plurality of likelihoods.

### Claim 8 (depends on 1)

The image processing method of claim 1, wherein the step of generating the plurality of weights according to the plurality of likelihoods comprises reducing the weight when the weight corresponds to a low likelihood of the plurality of likelihoods.

### Claim 9

An image processing device for adaptively removing noise from an image, the image processing device comprising:
a reception end, for receiving a plurality of pixels of the image;
an output end, for outputting an output pixel;
an edge detector, comprising:
at least one gradient detector, for computing a plurality of gradients corresponding to a plurality of directions for one of the plurality of pixels; and
a gradient analyzer, for determining an edge level and an edge direction of the pixel according to the plurality of gradients;
a pixel delay unit, for delaying the plurality of pixels to be synchronized with the edge level and the edge direction;
a pixel selector, for selecting a plurality of nearby pixels around the pixel from the plurality of pixels according to the edge level and the edge direction; and
an adaptive low-pass filtering device, comprising:
a likelihood computing unit, for computing a plurality of likelihoods between the pixel and the plurality of nearby pixels;
a weight generator, for generating a plurality of weights according to the plurality of likelihoods; and
a low-pass filter, for applying weighted low-pass filtering to the plurality of nearby pixels and the pixel according to the plurality of weights to generate the output pixel.

### Claim 10 (depends on 9)

The image processing device of claim 9, wherein the plurality of directions comprises a first direction and a second direction orthogonal to each other.

### Claim 11 (depends on 9)

The image processing device of claim 9, wherein the pixel selector selects parts of the plurality of pixels horizontally nearby the pixel to be the plurality of nearby pixels when the edge direction is a horizontal direction.

### Claim 12 (depends on 9)

The image processing device of claim 9, wherein the pixel selector selects parts of the plurality of pixels vertically nearby the pixel to be the plurality of nearby pixels when the edge direction is a vertical direction.

### Claim 13 (depends on 9)

The image processing device of claim 9, wherein the pixel selector averagely selects parts of the plurality of pixels around the pixel to be the plurality of nearby pixels when the edge direction is insignificant.

### Claim 14 (depends on 9)

The image processing device of claim 9, wherein the likelihood computing unit computes a plurality of absolute values of a plurality of reciprocals of a plurality of grey-level differences between the plurality of nearby pixels and the pixel to be the plurality of likelihoods.

### Claim 15 (depends on 9)

The image processing device of claim 9, wherein the weight generator maintains the weight to be a standard weight when the weight corresponds to a high likelihood of the plurality of likelihoods.

### Claim 16 (depends on 9)

The image processing device of claim 9, wherein the weight generator reduces the weight when the weight corresponds to a low likelihood of the plurality of likelihoods.
