# US 2015/0147004 A1 · Modified bicubic interpolation

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

- Number: US 2015/0147004 A1
- Document ID: US20150147004A1
- Status: Published application
- Kind: A1
- Application number: 14/612,338
- Filed: 2015-02-03
- Published: 2015-05-28
- Earliest claimed: 2011-06-15
- Assignees: Marvell World Trade Ltd.
- Applicants: Marvell World Trade Ltd.
- Inventors: Douglas G. KEITHLEY
- Web page: https://patentgrep.com/patent/US20150147004A1

## CPC

- G06T 3/4007: based on interpolation, e.g. bilinear interpolation (image demosaicing G06T3/4015; edge-driven or edge-based scaling G06T3/403)
- G06T 3/403: Edge-driven scaling; Edge-based scaling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems, methods, and other embodiments associated with image scaling are described. According to one embodiment, a method includes acquiring a set of amplitude values describing pixels in an image. A target pixel is identified from the set of pixels and a preceding pixel is identified to the target pixel. An amplitude range of amplitudes is defined between the amplitude of the preceding pixel and the target pixel. The method determines whether the interpolation between the preceding pixel and target pixel will result in an interpolated pixel having an interpolated amplitude outside of the amplitude range. An interpolation slope is determined that reduces overshoot or undershoot in interpolation pixels generated between the target pixel and the preceding pixel.

## Claims

### Claim 1

A method, comprising:
acquiring a plurality of amplitude values respectively describing a set of pixels in an image; and
performing image scaling on the image by:
identifying a first pixel from the set of pixels;
identifying a second pixel from set of pixels, wherein the second pixel precedes the first pixel in the set of pixels;
defining a range of amplitude values between an amplitude value of the second pixel and an amplitude value of the first pixel;
determining an interpolation slope for the first pixel based on at least (i) a first slope determined between the second pixel and the first pixel and (ii) a second slope determined between the first pixel and a third pixel wherein the third pixel is adjacent to and follows the first pixel in the set of pixels;
determining when interpolation between the second pixel and first pixel will result in an interpolated pixel having an interpolated amplitude value outside of the range of amplitude values; and
generating a set of interpolated pixels between the second pixel and the first pixel along a curve defining amplitude values of the interpolated pixels based, at least in part, on the selected interpolation slope, wherein the curve has the selected interpolation slope at the first pixel.

### Claim 2 (depends on 1)

The method of claim 1, wherein performing the image scaling further includes enlarging the image by adding the set of interpolated pixels between the second pixel and the first pixel in the image.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining when interpolation between the second pixel and first pixel will result in an interpolated pixel outside the range of amplitude values comprises:
comparing a first sign of the first slope to a second sign of the second slope; and
when the first slope and the second slope have different signs, determining that the interpolated amplitude value is outside of the range of amplitude values.

### Claim 4 (depends on 1)

The method of claim 1, wherein when the interpolated amplitude value is not outside of the range of amplitude values, the method further comprises:
selecting the interpolation slope from the first slope, the second slope, or an average of the first slope and the second slope.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining the interpolation slope comprises selecting the interpolation slope based, at least in part, on relative magnitudes of the first slope, the second slope, and an average of the first slope and the second slope.

### Claim 6 (depends on 5)

The method of claim 5, further comprising applying a scaling factor to the first and second slopes prior to generating the set of interpolation pixel.

### Claim 7 (depends on 1)

The method of claim 1, wherein the interpolation is cubic interpolation or bicubic interpolation.

### Claim 8

A non-transitory computer medium comprising stored instructions that when executed by at least a processor of a computing device causes an algorithm to be performed, the instructions comprising:
an acquisition module configured to acquire a plurality of amplitude values describing a set of pixels in an image; and
a scaling module configured to perform image scaling on the image, comprising:
an overshoot module configured to (i) identify a first pixel and a second pixel, wherein the second pixel precedes the first pixel in the set of pixels and (ii) determine if interpolation between the second pixel and first pixel will result in an interpolated pixel having an interpolated amplitude value outside of a range of amplitude values between the second pixel and the first pixel;
a slope selection module configured to determine an interpolation slope at the first pixel for a curve that defines amplitudes of a set of interpolated pixels, wherein the interpolation slope is selected from (i) a first slope determined between the second pixel and the first pixel and (ii) a second slope determined between the first pixel and a third pixel that is adjacent the first pixel; and
a rendering module configured to render the set of interpolated pixels between the second pixel and the first pixel using the interpolation slope at the first pixel.

### Claim 9 (depends on 8)

The non-transitory computer medium of claim 8, wherein when the interpolated amplitude value is outside of the range of amplitude values, the interpolation slope is set to zero.

### Claim 10 (depends on 8)

The non-transitory computer medium of claim 8, wherein the overshoot module is configured with instructions to:
determine the first slope between the second pixel and the first pixel;
determine the second slope between the first pixel and the third pixel;
compare a first sign of the first slope to a second sign of the second slope; and
when the first slope and the second slope have different signs, determine that the interpolated amplitude value is outside the range of amplitude values.

### Claim 11 (depends on 8)

The non-transitory computer medium of claim 8, wherein the slope selection module is configured to select the interpolation slope from the first slope, the second slope, and an average of the first slope and the second slope when the interpolated amplitude value is not outside of the range of amplitude values.

### Claim 12 (depends on 8)

The non-transitory computer medium of claim 8, wherein the slope selection module is configured to select the interpolation slope based, at least in part, on relative magnitudes of the first slope, the second slope, and an average of the first slope and the second slope.

### Claim 13 (depends on 8)

The non-transitory computer medium of claim 8, wherein the slope selection module is configured to apply a scaling factor to the first and second slopes.

### Claim 14 (depends on 8)

The non-transitory computer medium of claim 8, wherein the rendering module is configured to perform cubic interpolation or bicubic interpolation.

### Claim 15

A method, comprising:
identifying at least a first pixel, a second pixel, and a third pixel in an image, wherein the second pixel precedes the first pixel in the image, and wherein the third pixel is adjacent to and follows the first pixel in the image;
determining a first slope between the second pixel and the first pixel;
determining a second slope between the first pixel and the third pixel;
determining an interpolation slope based, at least in part, on the first slope and the second slope, wherein the interpolation slope is set to a substantially zero value when the first slope and the second slope have different signs;
defining an interpolation curve having the determined interpolation slope at the first pixel; and
scaling the image by generating a set of interpolated pixels between the second pixel and the third pixel along the interpolation curve.

### Claim 16 (depends on 15)

The method of claim 15, wherein the scaling includes enlarging the image by adding the set of interpolated pixels between the second pixel and the first pixel in the image.

### Claim 17 (depends on 15)

The method of claim 15, further comprising selecting the interpolation slope corresponding to one of the first slope, the second slope, and an average of the first slope and the second slope when the first slope and second slope have a same sign.

### Claim 18 (depends on 17)

The method of claim 17, wherein the interpolation slope is determining to limit an angle of rise or an angle of drop in the interpolation curve.

### Claim 19 (depends on 17)

The method of claim 17, wherein determining the interpolation slope is based, at least in part, on relative magnitudes of the first slope, the second slope, and the average of the first slope and the second slope.

### Claim 20 (depends on 15)

The method of claim 15, further comprising determining if additional pixels are available for interpolation, and in the event the additional pixels are available, acquiring amplitude values for the additional pixels to identify an additional pixel as an additional first pixel.
