主权项 |
1. A method of adjusting colors of a digital image, the method comprising:
calculating, using a computing device, for each pixel of a set of pixels of the digital image, a first distance in a color space from a first color to a color of the pixel; calculating, using the computing device, for each pixel of the set of pixels of the digital image a second distance in the color space from a second color to the color of the pixel; based on the first and second distances, calculating, using the computing device, a strength value for each pixel; and adjusting, using the computing device, the color of each pixel of the set of pixels, wherein the adjustment is based on the strength value and the first color, to generate an adjusted digital image. |