# US 2010/0061648 A1 · Protection filter for image and video processing

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

- Number: US 2010/0061648 A1
- Document ID: US20100061648A1
- Status: Published application
- Kind: A1
- Application number: 12/206,404
- Filed: 2008-09-08
- Published: 2010-03-11
- Earliest claimed: 2008-09-08
- Assignees: ATI Technologies ULC
- Inventors: Daniel Wong; Peter Cao
- Web page: https://patentgrep.com/patent/US20100061648A1

## CPC

- G06T 5/70: Denoising; Smoothing
- G06T 5/20: using local operators
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/73: Deblurring; Sharpening
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20182: Noise reduction or smoothing in the temporal domain; Spatio-temporal filtering
- G06T 2207/20201: Motion blur correction
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A filter includes a conventional filtering block and a protection block. The conventional filtering block receives input values and provides filtered values. The protection block receives filtered values and a group of input values proximate the current input, to ensure that the output is lies within a range computed for the current input. The range is determined by the protection block based on the group of input values proximate the current input. Any algorithm or statistical function may be applied to the group of input values to determine the range. If a filtered value provided by the conventional filtering block is outside the range, then the protection block computes and outputs a value that is within the range. The filter may be used in temporal or spatial filtering of images and video to mitigate artifacts such as motion artifacts and static artifacts.

## Claims

### Claim 1

A digital filter comprising:
a filtering block receiving an input value from an input signal and providing a filtered value; and
a protection block comprising:
an input for receiving said filtered value, and a group of values proximate said input value in said input signal; and
control logic for computing minimum and maximum bounds based on said group of values; and for forming an output value from said filtered value, such that said output value lies within the range of said bounds.

### Claim 2 (depends on 1)

The filter of claim 1, wherein said control logic sets said output value to said maximum bound if said filtered value exceeds said maximum bound.

### Claim 3 (depends on 1)

The filter of claim 1, wherein said control logic sets said output value to said minimum bound if said filtered value falls below said minimum bound.

### Claim 4 (depends on 1)

The filter of claim 1, wherein said group of input values is proximate said input value in time within said input signal.

### Claim 5 (depends on 1)

The filter of claim 1, wherein said group of input values is proximate said input value in space within said input signal.

### Claim 6 (depends on 5)

The filter of claim 5, wherein said filter block receives a plurality of pixels comprising Xi,j[n], Xi,j[n−1],Xi,j[n−2] . . . corresponding to location (i,j) in a sequence of video frames Fn, Fn−1, Fn−2, . . . respectively; and wherein said input value corresponds to Xi,j[n], and said group of input values proximate said input value comprise a set of pixels surrounding Xi,j[n] in Fn.

### Claim 7 (depends on 6)

The filter of claim 6, wherein said group of input values is a P×Q block of pixels { . . . ,Xi−1,j−1[n], Xi−1,j[n], Xi−1,j+1[n], Xi,j−1[n], Xi,j[n], Xi,j+1[n], Xi+1,j−1[n], Xi+1,j[n], Xi+1,j+1[n], . . . } in Fn surrounding Xi,j[n].

### Claim 8 (depends on 1)

The filter of claim 1, wherein said minimum bound is the smallest value in said group of values.

### Claim 9 (depends on 1)

The filter of claim 1, wherein said maximum bound is the largest value in said group of values.

### Claim 10 (depends on 1)

The filter of claim 1, wherein said group of values proximate said input value consists of M values, and said minimum bound is an average of the smallest N values in said group of values, for N<M.

### Claim 11 (depends on 1)

The filter of claim 1, wherein said group of values proximate said input value consists of M values, and said maximum bound is an average of the largest N values in said group of values, for N<M.

### Claim 12

A digital filter comprising:
a filter block receiving an input value from an input signal and providing a filtered value; and
a protection block comprising:
an input for receiving said filtered value, and a group of values proximate said input value in said input signal;
an output for providing an output value; and
control logic for computing a set of all possible output values corresponding to said input value based on said group of values, said logic forming and providing said output value by selecting an element of said set.

### Claim 13

A spatial filter comprising:
a scaling block for scaling an input image comprising input pixels, to provide a scaled image comprising scaled pixels; said scaling block providing a scaled pixel corresponding to at least one input pixel;
a protection block comprising:
an input for receiving said scaled pixel, and a group of pixels proximate said at least one pixel in said input image; and
a control logic to compute minimum and maximum bounds for said scaled pixel based on said group of pixels and to provide an output value corresponding to said scaled pixel such that said output value lies within the range of said bounds.

### Claim 14 (depends on 13)

The filter of claim 13, wherein said scaling block accepts a second group of pixels proximate said at least one input pixel to provide said scaled pixel, and said control logic sets said output value to said maximum bound if said scaled pixel exceeds said maximum bound.

### Claim 15 (depends on 13)

The filter of claim 13, wherein said scaling block accepts a second group of pixels proximate said at least one input pixel to provide said scaled pixel, and said control logic sets said output value to said minimum bound if said scaled pixel falls below said minimum bound.

### Claim 16

A method of providing an output corresponding to a current input value in an input signal, said method comprising:
i) receiving said input value;
ii) receiving a group of input values proximate said input value in said input signal;
iii) filtering said input value to provide a filtered value;
iv) computing a minimum bound and a maximum bound for said filtered value based on said group of input values proximate said input value in said input signal; and
v) forming said output value from said filtered value such that said output value lies within the range of said bounds, and providing said output value.

### Claim 17 (depends on 16)

The method of claim 16, wherein said output value is set to said maximum bound if said filtered value exceeds said maximum bound.

### Claim 18 (depends on 16)

The method of claim 16, wherein said output value is set to said minimum bound if said filtered value falls below said minimum bound.

### Claim 19 (depends on 16)

The method of claim 16, wherein said group of input values is proximate said input value in time, in said input signal.

### Claim 20 (depends on 16)

The method of claim 16, wherein said group of input values is proximate said input value in space, in said input signal.

### Claim 21 (depends on 16)

The method of claim 16, wherein said input signal comprises a sequence of input values Xi,j[n], Xi,j[n−1], Xi,j[n−2] . . . corresponding to pixels at location (i,j) in a sequence of video frames Fn, Fn−1, Fn−2 . . . ; and said input value corresponds to Xi,j[n].

### Claim 22

A device comprising a processor in communication with memory, said memory storing processor executable instructions causing said processor to:
i) receive a current input value in an input signal;
ii) receive a group of input values proximate said input value in said input signal;
iii) filter said input value to provide a filtered value;
iv) compute a minimum bound and a maximum bound for said filtered value based on said group of input values proximate said input value in said input signal; and
v) form an output value from said filtered value such that said output value lies within the range of said bounds; and
vi) provide said output value.

### Claim 23 (depends on 22)

The device of claim 22, wherein said processor comprises one of a digital signal processor (DSP), a central processing unit (CPU) and a graphical processing unit (GPU).

### Claim 24 (depends on 22)

The device of claim 22, wherein said group of input values is proximate said input value in time, in said input signal.

### Claim 25 (depends on 22)

The device of claim 22, wherein said group of input values is proximate said input value in space, in said input signal.
