# US 2006/0078227 A1 · Method and apparatus for scaling image block

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

- Number: US 2006/0078227 A1
- Document ID: US20060078227A1
- Status: Published application
- Kind: A1
- Application number: 11/162,575
- Filed: 2005-09-15
- Published: 2006-04-13
- Earliest claimed: 2004-09-24
- Assignees: Realtek Semiconductor Corp.
- Inventors: Yi-Shu Chang; Zou-Ping Chen; Tsung-Chi Lin; Cheng-Shun Liao
- Web page: https://patentgrep.com/patent/US20060078227A1

## CPC

- G06T 3/4015: Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image scaling method for calculating a pixel value of a target pixel within a scaled image block is disclosed. The method includes selecting a plurality of reference pixels from the image block, wherein each reference pixel has a pixel value and corresponds to a transparency parameter; respectively setting a corresponding weight value for each reference pixel; adjusting the weight values according to the transparency parameters of the reference pixels; and blending the pixel values of the reference pixels to generate the pixel value of the target pixel according to the adjusted weight values of the reference pixels.

## Claims

### Claim 1

An image scaling method for calculating a pixel value of a target pixel within a scaled image block, the method comprising:
selecting a plurality of reference pixels from the image block, wherein each reference pixel has a pixel value and corresponds to a transparency parameter;
respectively setting a corresponding weight value for each reference pixel;
adjusting the weight values according to the transparency parameters of the reference pixels; and
blending the pixel values of the reference pixels to generate the pixel value of the target pixel according to the adjusted weight values of the reference pixels.

### Claim 2 (depends on 1)

The method of claim 1, wherein the reference pixel with a transparency parameter less than or equal to a predetermined value is defined as a background pixel and the reference pixel with a transparency parameter greater than the predetermined value is defined as a foreground pixel.

### Claim 3 (depends on 2)

The method of claim 2, wherein the step of adjusting the weight values further comprises:
reducing the weight values of the background pixels and distributing a total decrement of the weight values of the background pixels to the foreground pixels.

### Claim 4 (depends on 2)

The method of claim 2, wherein the step of adjusting the weight values further comprises:
setting a sum of the weight values of the background pixels to be less than a sum of the weight values of the foreground pixels.

### Claim 5 (depends on 2)

The method of claim 2, wherein the step of adjusting the weight values further comprises:
setting a sum of the weight values of the background pixels to be a value k and setting a sum of the weight values of the foreground pixels to be 1-k, wherein the value k is greater than or equal to zero.

### Claim 6 (depends on 1)

The method of claim 1, wherein the pixel value is an R value, a G value, and a B value.

### Claim 7 (depends on 1)

The method of claim 1, wherein the pixel value is a Y value, a Cb value, and a Cr value.

### Claim 8 (depends on 1)

The method of claim 1, wherein the image block is a subtitle.

### Claim 9 (depends on 1)

The method of claim 1, wherein the image block is a closed caption.

### Claim 10 (depends on 1)

The method of claim 1, wherein the step of adjusting the weight values further comprises:
adjusting the weight values according to a look-up table.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
blending the transparency parameters to calculate a transparency parameter of the target pixel according to the non-adjusted weight values.

### Claim 12 (depends on 1)

The method of claim 1, wherein the transparency parameter is an α value.

### Claim 13

An image scaling device for calculating a pixel value of a target pixel within a scaled image block, the image scaling device comprising:
a selecting device for selecting a plurality of reference pixels from the image block, wherein each reference pixel has a pixel value and corresponds to a transparency parameter;
a weight value setting unit coupled to the selecting device for respectively setting a corresponding weight value for each reference pixel and for adjusting the weight values according to the transparency parameters of the reference pixels; and
a computing device coupled to the selecting device and the weight value setting unit for blending the pixel values of the reference pixels to generate the pixel value of the target pixel according to the adjusted weight values of the reference pixels.

### Claim 14 (depends on 13)

The image scaling device of claim 13, wherein the reference pixel with a transparency parameter less than or equal to a predetermined value is defined as a background pixel and the reference pixel with a transparency parameter greater than the predetermined value is defined as a foreground pixel.

### Claim 15 (depends on 14)

The image scaling device of claim 14, wherein the weight value setting unit adjusts the weight values by reducing the weight values of the background pixels and distributing a total decrement of the weight values of the background pixels to the foreground pixels.

### Claim 16 (depends on 14)

The image scaling device of claim 14, wherein the weight value setting unit adjusts the weight values by setting a sum of the weight values of the background pixels to be less than a sum of the weight values of the foreground pixels.

### Claim 17 (depends on 14)

The image scaling device of claim 14, wherein the weight value setting unit adjusts the weight values by setting a sum of the weight values of the background pixels to be a value k and setting a sum of the weight values of the foreground pixels to be 1-k, wherein the value k is greater than or equal to zero.

### Claim 18 (depends on 13)

The image scaling device of claim 13, wherein the pixel value is an R value, a G value, and a B value.

### Claim 19 (depends on 13)

The image scaling device of claim 13, wherein the pixel value is a Y value, a Cb value, and a Cr value.

### Claim 20 (depends on 13)

The image scaling device of claim 13, wherein the image block is a subtitle.

### Claim 21 (depends on 13)

The image scaling device of claim 13, wherein the image block is a closed caption.

### Claim 22 (depends on 13)

The image scaling device of claim 13, further comprising:
a storage unit coupled to the weight value setting unit for storing a look-up table recording rules for adjusting the weight values;
wherein the weight value setting unit adjusts the weight values according to the contents of the look-up table.

### Claim 23 (depends on 13)

The image scaling device of claim 13, further comprising:
a storage unit coupled to the weight value setting unit for storing a look-up table of rules to adjust the weight values;
wherein the weight value setting unit adjusts the weight values according to the contents of the look-up table.

### Claim 24 (depends on 13)

The image scaling device of claim 13, wherein the computing device is further utilized for blending the transparency parameters to calculate a transparency parameter of the target pixel according to the non-adjusted weight values.

### Claim 25 (depends on 13)

The image scaling device of claim 13, wherein the computing device is a digital filter.

### Claim 26 (depends on 13)

The image scaling device of claim 13, wherein the transparency parameter is a α value.

### Claim 27

An image scaling method for calculating a pixel value of a target pixel within a scaled image block, the method comprising:
selecting a plurality of reference pixels from the image block, wherein each reference pixel has a pixel value and corresponds to a transparency parameter;
respectively setting a corresponding weight value for each reference pixel according to the transparency parameter of the reference pixel; and
blending the pixel values of the reference pixels to generate the pixel value of the target pixel according to the weight values of the reference pixels;
wherein the reference pixel with a transparency parameter less than or equal to a predetermined value is defined as a background pixel and the reference pixel with a transparency parameter greater than the predetermined value is defined as a foreground pixel.

### Claim 28 (depends on 27)

The method of claim 27, wherein the step of setting the weight values further comprises:
setting a sum of the weight values of the background pixels to be a value k and setting a sum of the weight values of the foreground pixels to be 1-k, wherein the value k is greater than or equal to zero and 1-k is greater than the value k.

### Claim 29 (depends on 27)

The method of claim 27, wherein the step of setting the weight values further comprises:
respectively setting a non-adjusted weight value for each reference pixel; and
adjusting the non-adjusted weight values to produce adjusted weight values according to the transparency parameters of the reference pixels and then utilizing the adjusted weight values as the weight values of the reference pixels.

### Claim 30 (depends on 29)

The method of claim 29, wherein the step of adjusting the non-adjusted weight values further comprises:
reducing the non-adjusted weight values of the background pixels and distributing a total decrement of the original weight values of the background pixels to the foreground pixels.

### Claim 31 (depends on 29)

The method of claim 29, wherein the step of adjusting the non-adjusted weight values further comprises:
setting a sum of the non-adjusted weight values of the background pixels to be a value k and setting a sum of the weight values of the foreground pixels to be 1-k, wherein the value k is greater than or equal to zero and 1-k is greater than the value k.

### Claim 32 (depends on 29)

The method of claim 29, further comprising:
blending the transparency parameters to calculate a transparency parameter of the target pixel according to the non-adjusted weight values.

### Claim 33 (depends on 29)

The method of claim 29, wherein the step of adjusting the non-adjusted weight values further comprises:
adjusting the non-adjusted weight values according to a look-up table.

### Claim 34 (depends on 27)

The method of claim 27, wherein the image block is a subtitle.

### Claim 35 (depends on 27)

The method of claim 27, wherein the image block is a closed caption.

### Claim 36 (depends on 27)

The method of claim 27, wherein the step of setting the weight values further comprises:
setting the weight values according to a look-up table.

### Claim 37

An image scaling device for calculating a pixel value of a target pixel within a scaled image block, the image scaling device comprising:
a selecting device for selecting a plurality of reference pixels from the image block, wherein each reference pixel has a pixel value and corresponds to a transparency parameter;
a weight value setting unit coupled to the selecting device for respectively setting a corresponding weight value for each reference pixel according to the transparency parameter of the reference pixel; and
a computing device coupled to the weight value setting unit for blending the pixel values of the reference pixels to generate the pixel value of the target pixel according to the weight values of the reference pixels;
wherein the reference pixel with a transparency parameter g less than or equal to a predetermined value is defined as a background pixel and a reference pixel with a transparency parameter greater than the predetermined value is defined as a foreground pixel.

### Claim 38 (depends on 37)

The image scaling device of claim 37, wherein the weight value setting unit sets a sum of the weight values of the background pixels to be a value k and setting a sum of the weight values of the foreground pixels to be 1-k, wherein the value k is greater than or equal to zero and 1-k is greater than the value k.

### Claim 39 (depends on 37)

The image scaling device of claim 37, wherein the weight value setting unit respectively sets a non-adjusted weight value for each reference pixel and then adjusts the non-adjusted weight values to produce adjusted weight values according to the transparency parameters of the reference pixels;
wherein the adjusted weight values are employed to be the weight values of the reference pixels.

### Claim 40 (depends on 39)

The image scaling device of claim 39, wherein the weight value setting unit reduces the non-adjusted weight values of the background pixels and distributes a total decrement of the non-adjusted weight values of the background pixels to the foreground pixels.

### Claim 41 (depends on 39)

The image scaling device of claim 39, wherein the weight value setting unit sets a sum of the non-adjusted weight values of the background pixels to be a value k and sets a sum of the weight values of the foreground pixels to be 1-k, wherein the value k is greater than or equal to zero and 1-k is greater than the value k.

### Claim 42 (depends on 39)

The image scaling device of claim 39, wherein the computing device blends the transparency parameters to calculate a transparency parameter of the target pixel according to the non-adjusted weight values.

### Claim 43 (depends on 39)

The image scaling device of claim 39, further comprising:
a storage unit coupled to the weight value setting unit for storing a look-up table recording rules for adjusting the original weight values;
wherein the weight value setting unit adjusts the non-adjusted weight values according to the contents of the look-up table.

### Claim 44 (depends on 39)

The image scaling device of claim 39, further comprising:
a storage unit coupled to the weight value setting unit for storing a look-up table of rules to adjust the original weight values;
wherein the weight value setting unit adjusts the non-adjusted weight values according to the contents of the look-up table.

### Claim 45 (depends on 37)

The image scaling device of claim 37, wherein the image block is a subtitle.

### Claim 46 (depends on 37)

The image scaling device of claim 37, wherein the image block is a closed caption.

### Claim 47 (depends on 37)

The image scaling device of claim 37, further comprising:
a storage unit coupled to the weight value setting unit for storing a look-up table recording rules for setting the weight values;
wherein the weight value setting unit sets the weight values according to the contents of the look-up table.

### Claim 48 (depends on 37)

The image scaling device of claim 37, further comprising:
a storage unit coupled to the weight value setting unit for storing a look-up table of rules to set the original weight values;
wherein the weight value setting unit sets the non-adjusted weight values according to the contents of the look-up table.

### Claim 49 (depends on 37)

The image scaling device of claim 37, wherein the computing device is a digital filter.
