摘要 |
Systems and methods, including computer software products, for processing gray colors in a conversion between color spaces involve identifying a non-pure gray color value in a color space that represents a substantially gray color. The methods further include converting the non-pure gray color value to a corresponding pure gray color value in the color space. The methods also include determining a first difference vector between the non-pure gray color value and the corresponding pure gray color value. The methods further include determining a distance between the corresponding pure gray color value and a selected color value. The corresponding pure gray color value represents a nearest pure gray color value to the selected color value. The methods also includes determining a correction factor based on the first difference vector and the distance and applying the correction factor to the selected color value to produce a corrected color value.
|