| CPC H04N 23/843 (2023.01) [G06T 3/4015 (2013.01); H04N 9/646 (2013.01); H04N 23/10 (2023.01); H04N 23/11 (2023.01); H04N 25/131 (2023.01)] | 20 Claims |

|
1. A method for processing a pixel matrix in an image processing chain circuit couplable to an imager circuit, each pixel comprising an original component of one of an original red, an original green, an original blue, or an original infrared component, the method comprising:
interpolating an interpolated component different from the original component of a pixel of interest from components of a group of pixels neighboring the pixel of interest, the interpolating comprising:
calculating a sum of the components of reference pixels weighted by an assigned weight, the reference pixels being pixels of the group of pixels having the same original component as the interpolated component,
evaluating a spatial uniformity of each reference pixel in an environment within the group of pixels, wherein the evaluating the spatial uniformity comprises:
calculating a gradient of components of pixels having an original green component adjacent to the reference pixels,
identifying an orientation of spatial variation from a comparison of the components of the reference pixels, and
selecting pixels with an original green component as used for the calculating the gradient of components of pixels based on the orientation of the spatial variation as identified; and
calculating assigned weights of the reference pixels with values normalized and proportional to the spatial uniformity.
|