Color-saturation control method
AssigneeFaraday Technology Corp.
InventorsLing-Chih LU, Ching-Hsiang HSU, Tang-Wei CHEN
Life of this patent
Estimating the term…
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).
Claims11
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.
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.
Dependencies are inferred from the claim text.