Patent ID: 7305148

Claim:
A method of color interpolation of pixels of an image acquired by a color digital sensor by separately interpolating missing image pixels belonging to each one of a plurality of channels in which the acquired pixels are split in terms of primary colors or complementary colors of the pixels of the acquired image for generating weighted pixel values relative to each one of the primary or complementary colors for each pixel of the image to be output, the method comprising: interpolating the missing pixels of at least one of the channels by determining a respective triangulation representation with vertices coinciding with the pixels of the channel according to a data dependent triangulation technique using a cost function to be minimized, the cost function being cost( e )=(| a i |+|b 1 |)*(|a 2 |+|b 2 |)−∇ P 1 *∇P 2 where P i ( x,y )= a i x+b i y+c i and ∇P i =( a i , b i ) is the gradient of the interpolating function P i , which depends on the coordinates x, y of the pixel to be interpolated.