# US 2009/0268976 A1 · Adaptive Area Of Influence Filter For Irregular Spatial Sub-sampled Images

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

- Number: US 2009/0268976 A1
- Document ID: US20090268976A1
- Status: Published application
- Kind: A1
- Application number: 12/111,928
- Filed: 2008-04-29
- Published: 2009-10-29
- Earliest claimed: 2008-04-29
- Assignees: Sony Corporation; Sony Electronics Inc.
- Inventors: Marco Paniconi
- Web page: https://patentgrep.com/patent/US20090268976A1

## CPC

- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- G06T 3/4007: based on interpolation, e.g. bilinear interpolation (image demosaicing G06T3/4015; edge-driven or edge-based scaling G06T3/403)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A sample cell corresponding to a sample is computed to include pixels of an image according to sample cell criteria and shape. The sample cell shape and criteria define pixels to include in the sample cell. A target pixel cell corresponding to a target pixel includes pixels of the image according to a target pixel cell criteria defining which pixels are included in the target pixel cell. A sample filter coefficient is computed from pixels in the sample and target pixel cells. A filter tap corresponding to the target pixel is defined based on the sample filter coefficient. A tap extension corresponding to the target pixel is generated. The tap extension defines additional pixels of the image to be included in an extended target pixel cell according to a tap extension criteria. The extended target pixel cell includes pixel in the target pixel cell and the additional pixels. A tap extension filter coefficient based on pixels located in the extended target pixel cell and the sample cell is computed. Sample cell shape is varied according to sample cell shape parameters. An optimal filter weight for the target pixel is extracted from the sample filter and tap extension filter coefficients.

## Claims

### Claim 1

A computerized method comprising:
computing a sample cell corresponding to a sample, the sample cell including pixels of an image according to a sample cell criteria and a sample cell shape, the sample cell criteria and the sample cell shape defining which pixels of the image are included in the sample cell;
defining a target pixel cell corresponding to a target pixel, the target pixel cell including pixels of the image according to a target pixel cell criteria, the target pixel cell criteria defining which pixels of the image are included in the target pixel cell;
computing a sample filter coefficient based on pixels located in both the sample cell and the target pixel cell;
defining a filter tap based on the sample filter coefficient, the filter tap corresponding to the target pixel;
generating a tap extension corresponding to the target pixel, the tap extension defining, according to a tap extension criteria, additional pixels of the image to be included in an extended target pixel cell, the extended target pixel cell including the pixels in the target pixel cell and the additional pixels;
computing an tap extension filter coefficient based on pixels located in both the extended target pixel cell and the sample cell;
varying the shape of the sample cell according to sample cell shape parameters;
extracting an optimal filter weight for the target pixel based on the sample filter coefficient and the tap extension filter coefficient.

### Claim 2 (depends on 1)

The computerized method of claim 1, wherein computing the sample cell comprises:
determining distances between the sample and the pixels;
determining a motion class and a texture class of the pixels;
adding to the sample cell a subset of pixels closer to the sample than other samples and having a same motion class and a same texture class of the sample.

### Claim 3 (depends on 1)

The computerized method of claim 1, wherein computing the target pixel cell comprises:
defining a sampling window around the target pixel, the sampling window including pixels of the image according to a size of the window;
computing a sampling type of pixels included in the sampling window;
defining the target pixel cell to include sampled pixels within the sampling window according to the sampling type.

### Claim 4 (depends on 1)

The computerized method of claim 1, wherein varying the shape of the sample cell comprises:
computing an area of influence of the sample, the area of influence including pixels for which the sample is a factor in a prediction thereof;
computing a total prediction error for pixels in the area of influence;
computing a set of sample cell shape parameters to modify the shape of the sample cell;
computing a set of filter coefficients for the predicted pixels;
computing a set of prediction errors for the predicted pixels;
selecting an optimal pair of sample cell shape parameters having a lowest total prediction error;
updating a sample cell partition for the predicted pixels based on a new shape of the sample cell;
updating the set of filter coefficients for the predicted pixels; and
updating the set of prediction errors for the predicted pixels.

### Claim 5

A computer-readable storage medium storing instructions which when executed by a data processing system cause the data processing system to perform operations that process data, the operations comprising:
computing a sample cell corresponding to a sample, the sample cell including pixels of an image according to a sample cell criteria and a sample cell shape, the sample cell criteria and the sample cell shape defining which pixels of the image are included in the sample cell;
defining a target pixel cell corresponding to a target pixel, the target pixel cell including pixels of the image according to a target pixel cell criteria, the target pixel cell criteria defining which pixels of the image are included in the target pixel cell;
computing a sample filter coefficient based on pixels located in both the sample cell and the target pixel cell;
defining a filter tap based on the sample filter coefficient, the filter tap corresponding to the target pixel;
generating a tap extension corresponding to the target pixel, the tap extension defining, according to a tap extension criteria, additional pixels of the image to be included in an extended target pixel cell, the extended target pixel cell including the pixels in the target pixel cell and the additional pixels;
computing an tap extension filter coefficient based on pixels located in both the extended target pixel cell and the sample cell;
varying the shape of the sample cell according to sample cell shape parameters;
extracting an optimal filter weight for the target pixel based on the sample filter coefficient and the tap extension filter coefficient.

### Claim 6 (depends on 5)

The computer-readable storage medium of claim 5, wherein computing the sample cell comprises:
determining distances between the sample and the pixels;
determining a motion class and a texture class of the pixels;
adding to the sample cell a subset of pixels closer to the sample than other samples and having a same motion class and a same texture class of the sample.

### Claim 7 (depends on 5)

The computer-readable storage medium of claim 5, wherein computing the target pixel cell comprises:
defining a sampling window around the target pixel, the sampling window including pixels of the image according to a size of the window;
computing a sampling type of pixels included in the sampling window;
defining the target pixel cell to include sampled pixels within the sampling window according to the sampling type.

### Claim 8 (depends on 5)

The computer-readable storage medium of claim 5, wherein varying the shape of the sample cell comprises:
computing an area of influence of the sample, the area of influence including pixels for which the sample is a factor in a prediction thereof;
computing a total prediction error for pixels in the area of influence;
computing a set of sample cell shape parameters to modify the shape of the sample cell;
computing a set of filter coefficients for the predicted pixels;
computing a set of prediction errors for the predicted pixels;
selecting an optimal pair of sample cell shape parameters having a lowest total prediction error;
updating a sample cell partition for the predicted pixels based on a new shape of the sample cell;
updating the set of filter coefficients for the predicted pixels; and
updating the set of prediction errors for the predicted pixels.

### Claim 9

A system comprising:
a processor coupled to a bus;
a memory coupled to the processor through the bus;
instructions executed by the processor from the memory to cause the processor
to compute a sample cell corresponding to a sample, the sample cell including pixels of an image according to a sample cell criteria and a sample cell shape, the sample cell criteria and the sample cell shape defining which pixels of the image are included in the sample cell,
define a target pixel cell corresponding to a target pixel, the target pixel cell including pixels of the image according to a target pixel cell criteria, the target pixel cell criteria defining which pixels of the image are included in the target pixel cell,
compute a sample filter coefficient based on pixels located in both the sample cell and the target pixel cell; define a filter tap based on the sample filter coefficient, the filter tap corresponding to the target pixel,
generate a tap extension corresponding to the target pixel, the tap extension defining, according to a tap extension criteria, additional pixels of the image to be included in an extended target pixel cell, the extended target pixel cell including the pixels in the target pixel cell and the additional pixels,
compute an tap extension filter coefficient based on pixels located in both the extended target pixel cell and the sample cell,
vary the shape of the sample cell according to sample cell shape parameters; extract an optimal filter weight for the target pixel based on the sample filter coefficient and the tap extension filter coefficient.

### Claim 10 (depends on 9)

The system of claim 9, wherein computing the sample cell comprises:
determining distances between the sample and the pixels;
determining a motion class and a texture class of the pixels;
adding to the sample cell a subset of pixels closer to the sample than other samples and having a same motion class and a same texture class of the sample.

### Claim 11 (depends on 9)

The system of claim 9, wherein computing the target pixel cell comprises:
defining a sampling window around the target pixel, the sampling window including pixels of the image according to a size of the window;
computing a sampling type of pixels included in the sampling window;
defining the target pixel cell to include sampled pixels within the sampling window according to the sampling type.

### Claim 12 (depends on 9)

The system of claim 9, wherein varying the shape of the sample cell comprises:
computing an area of influence of the sample, the area of influence including pixels for which the sample is a factor in a prediction thereof;
computing a total prediction error for pixels in the area of influence;
computing a set of sample cell shape parameters to modify the shape of the sample cell;
computing a set of filter coefficients for the predicted pixels;
computing a set of prediction errors for the predicted pixels;
selecting an optimal pair of sample cell shape parameters having a lowest total prediction error;
updating a sample cell partition for the predicted pixels based on a new shape of the sample cell;
updating the set of filter coefficients for the predicted pixels; and
updating the set of prediction errors for the predicted pixels.
