Patent ID: 8675975

Claim:
A method for encoding an image using color space estimation, the method encoding a second color space pixel corresponding to coordinates of a first color space pixel using color spaces, comprising: encoding a pixel of a first color space; calculating a color space estimation value of a current pixel of a second color space by referring to the encoded pixel of the first color space; calculating a space estimation value using a differential value of the current pixel value and neighbor pixel values of the current pixel; scaling a correlation value of the first color space and the second color space with a scale factor; calculating an estimation value of the current pixel according to the calculated correlation value; and encoding a differential value of the calculated estimation value and the current pixel value, wherein the calculating of the color space estimation value comprises: calculating a differential value of a horizontal neighbor pixel value of the first color space corresponding pixel corresponding to the current pixel, and the first color space corresponding pixel value; calculating a differential value of a vertical neighbor pixel value of the first color space corresponding pixel corresponding to the current pixel, and the first color space corresponding pixel value; multiplying a lowest differential value of the calculated differential values by a weight; and adding a pixel value of the second color space corresponding to a neighbor pixel of the first color space producing the lowest differential value, and the result of the multiplication.