US 12,236,555 B2
Device and method for image demosaicing
Linwei Yu, Shanghai (CN); Jiangli Ye, Shanghai (CN); Yang Ling, Shanghai (CN); and Hui Zhou, Shanghai (CN)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed on Dec. 23, 2021, as Appl. No. 17/561,267.
Claims priority of application No. 202111533329.0 (CN), filed on Dec. 15, 2021.
Prior Publication US 2023/0186427 A1, Jun. 15, 2023
Int. Cl. G06T 3/4015 (2024.01); G06T 11/00 (2006.01); G06V 10/56 (2022.01)
CPC G06T 3/4015 (2013.01) [G06T 11/001 (2013.01); G06V 10/56 (2022.01)] 20 Claims
OG exemplary drawing
 
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.