Patent ID: 8547483

Claim:
An image processing method, comprising: receiving image data comprising a first pixel, a second pixel, and a third pixel, all of which being neighboring pixels, the second pixel being between the first pixel and the third pixel; calculating, based on the Pythagorean theorem, a first difference between two initial chrominance values of the first pixel and two initial chrominance values of the second pixel and a second difference between the two initial chrominance values of the second pixel and two initial chrominance values of the third pixel, wherein the first difference is a coordinate distance in a chrominance domain between the two initial chrominance values of the first pixel and the two initial chrominance values of the second pixel, and the second difference is a coordinate distance in the chrominance domain between the two initial chrominance values of the second pixel and the two chrominance values of the third pixel; selecting one of the first pixel and the third pixel as a target pixel by comparing the first difference with the second difference, wherein the first pixel is selected as the target pixel when the first difference is smaller than the second difference, and the third pixel is selected as the target pixel when the first difference is larger than the second difference; and determining two adjusted chrominance values of the second pixel according to initial chrominance values of the target pixel, wherein determining the two adjusted chrominance values of the second pixel comprises: weighted-averaging the two initial chrominance values of the second pixel and the two initial chrominance values of the target pixel to generate the two adjusted chrominance values of the second pixel; determining a first weight for the target pixel and a second weight for the second pixel according to a third difference between the first difference and the second difference, the first weight being positively correlated to the third different and the second weight corresponding to the first weight; and determining a chrominance high-frequency (HF) parameter for a range including pixels on two sides of the second pixel, the chrominance HF parameter representing a chrominance change in the range, and wherein determining the first weight for the target pixel and the second weight for the second pixel comprises: determining the first weight for the target pixel and the second weight for the second pixel according to the chrominance HF parameter, the first weight being negatively correlated to the third different and the second weight corresponding to the first weight.