| CPC G06T 3/4015 (2013.01) [G06T 11/001 (2013.01); G06V 10/56 (2022.01)] | 20 Claims |

|
1. An image processing device comprising:
memory; and
one or more processors that are communicatively coupled to the memory, wherein the one or more processors are collectively configured to:
obtain a Bayer image that is formed from a plurality of pixels;
determine directional color difference weightings in both a horizontal direction and a vertical direction, wherein the directional color different weightings are calculated based on color difference gradients and color variances surrounding a first pixel among the plurality of pixels;
determine a color difference that comprises a first color difference and a second color difference based on the determined directional color difference weightings surrounding the first pixel, wherein the first color difference is between a first color component and a second color component and the second color difference is between the second color component and a third color component;
interpolate a color value of the first pixel based on the directional color difference weightings and the color differences to generate an interpolated color value; and
generate a color image based on the Bayer image using the interpolated color value.
|