# US 2009/0268961 A1 · Color-saturation control method

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

- Number: US 2009/0268961 A1
- Document ID: US20090268961A1
- Status: Published application
- Kind: A1
- Application number: 12/427,293
- Filed: 2009-04-21
- Published: 2009-10-29
- Earliest claimed: 2008-04-25
- Assignees: Faraday Technology Corp.
- Inventors: Ling-Chih LU; Ching-Hsiang HSU; Tang-Wei CHEN
- Web page: https://patentgrep.com/patent/US20090268961A1

## CPC

- H04N 9/643: {Hue control means, e.g. flesh tone control}
- H04N 1/60: Colour correction or control {(H04N1/54 takes precedence)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

For performing saturation control of one or more selected colors of the image, respective color values of the selected color(s) are pre-defined. Meanwhile, a specified pixel is selected from the image. Then distance(s) between the color space coordinate of the specified pixel and the color space coordinate(s) of the selected color(s) is (are) calculated. The color values of the specified pixel are thus adjusted depending on comparing results of the distance(s) with corresponding threshold distance(s).

## Claims

### Claim 1

A color-saturation control method of an image performed by a digital image-processing device, comprising steps of:
selecting a specified color of the image with color values defined as a coordinate (r0, g0, b0) in an RGB color space;
selecting a specified pixel from the image with color values defined as a coordinate (Rn, Gn, Bn) in the RGB color space;
calculating a distance between the coordinate (Rn, Gn, Bn) and the coordinate (r0, g0, b0); and
adjusting the color values of the specified pixel defined as the coordinate (Rn, Gn, Bn) into color values defined as a coordinate (Rn′, Gn′, Bn′) in the RGB color space if the distance between the coordinate (Rn, Gn, Bn) and the coordinate (r0, g0, b0) is less than a threshold distance.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising a step of remaining the color values of the specified pixel unchanged if the distance between the coordinate (Rn, Gn, Bn) and the coordinate (r0, g0, b0) is greater than the threshold distance.

### Claim 3 (depends on 1)

The method according to claim 1 wherein the adjustment of color values is performed by steps of:
providing a saturation-gain-adjusting factor α(D);
obtaining a saturation gain α(Dn) according to the saturation-gain-adjusting factor α(D) where Dn is the distance between the coordinate (Rn, Gn, Bn) and the coordinate (r0, g0, b0); and
adjusting the color values of the specified pixel defined as the coordinate (Rn, Gn, Bn) into color values defined as the coordinate (Rn′, Gn′, Bn′) in the RGB color space according to the saturation gain α(Dn).

### Claim 4 (depends on 1)

The method according to claim 1 wherein the adjustment of color values is performed by steps of:
providing a saturation-gain-adjusting factor α(D);
obtaining a first saturation gain α0 according to the saturation-gain-adjusting factor α(D) when the distance between the coordinate (Rn, Gn, Bn) and the coordinate (r0, g0, b0) is less than the threshold distance, and obtaining a second saturation gain a0 according to the saturation-gain-adjusting factor α(D) when the distance between the coordinate (Rn, Gn, Bn) and the coordinate (r0, g0, b0) is greater than the threshold distance;
providing a luminance value In of the specified pixel, which is a function of color values Rn, Gn and Bn; and
adjusting the color values of the specified pixel defined as the coordinate (Rn, Gn, Bn) into color values defined as the coordinate (Rn′, Gn′, Bn′) in the RGB color space, wherein Rn′=(Rn−In)×α0+In; Gn′=(Gn−In)×α0+In and Bn′=(Bn−In)×α0+In when the first saturation gain α0 is obtained according to the saturation-gain-adjusting factor α(D), and Rn′=(Rn−In)×a0+In; Gn′=(Gn−In)×a0+In and Bn′=(Bn−In)×a0+In when the second saturation gain a0 is obtained according to the saturation-gain-adjusting factor α(D).

### Claim 5 (depends on 4)

The method according to claim 4 wherein the first saturation gain α0 is greater than the second saturation gain a0 which is equal to 1.

### Claim 6 (depends on 4)

The method according to claim 4 wherein the luminance value In is equal to (Rn+Gn+Bn)/3.

### Claim 7

A color-saturation control method of an image performed by a digital image-processing device, comprising steps of:
selecting m specified colors of the image with respective color values defined as coordinates (r1, g1, b1), (r2, g2, b2), . . . (rm, gm, bm) in an RGB color space, where m is greater than 1;
selecting a specified pixel from the image with color values defined as a coordinate (Rn, Gn, Bn) in the RGB color space;
calculating distances Dn1, Dn2, . . . Dnm between the coordinate (Rn, Gn, Bn) and the coordinates (r1, g1, b1), (r2, g2, b2), . . . (rm, gm, bm), respectively;
obtaining a saturation gain variable with the distances Dn1, Dn2, . . . Dnm; and
adjusting the color values of the specified pixel defined as the coordinate (Rn, Gn, Bn) into color values defined as a coordinate (Rn′, Gn′, Bn′) in the RGB color space according to the saturation gain.

### Claim 8 (depends on 7)

The method according to claim 7 wherein the adjustment of color values is performed by steps of:
providing m saturation-gain-adjusting factors corresponding to the m specified colors, respectively;
obtaining m saturation gains according to the m saturation-gain-adjusting factors and the distances Dn1, Dn2, . . . Dnm;
obtaining the saturation gain variable with the distances Dn1, Dn2, . . . Dnm as an averaged saturation gain of the m saturation gains; and
adjusting the color values of the specified pixel defined as the coordinate (Rn, Gn, Bn) into color values defined as the coordinate (Rn′, Gn′, Bn′) in the RGB color space according to the averaged saturation gain.

### Claim 9 (depends on 8)

The method according to claim 8 wherein the m saturation gains are obtained according to the m saturation-gain-adjusting factors and comparing results of the distances Dn1, Dn2, . . . Dnm with corresponding threshold distances.

### Claim 10 (depends on 7)

The method according to claim 7 wherein the adjustment of color values is performed by steps of:
providing m saturation-gain-adjusting factors corresponding to the m specified colors, respectively;
obtaining m saturation gains according to the m saturation-gain-adjusting factors and the distances Dn1, Dn2, . . . Dnm;
obtaining the saturation gain variable with the distances Dn1, Dn2, . . . Dnm as an averaged saturation gain of the m saturation gains;
providing a luminance value In of the specified pixel, which is a function of color values Rn, Gn and Bn; and
adjusting the color values of the specified pixel defined as the coordinate (Rn, Gn, Bn) into color values defined as the coordinate (Rn′, Gn′, Bn′) in the RGB color space, wherein Rn′=(Rn−In)×αavg+In; Gn′=(Gn−In)×αavg+In and Bn′=(Bn−In)×αavg+In.

### Claim 11 (depends on 4)

The method according to claim 4 wherein the luminance value In is equal to (Rn+Gn+Bn)/3.
