| CPC H04N 23/843 (2023.01) [G06T 5/73 (2024.01); H04N 23/81 (2023.01); G06T 2207/10024 (2013.01)] | 14 Claims |

|
1. An imaging system comprising:
a phase-detection (PD) image sensor comprising a plurality of PD pixel units, each PD pixel unit comprising an upper left PD pixel, an upper right PD pixel, a lower left PD pixel, and a lower right PD pixel, wherein the upper left PD pixel, the upper right PD pixel, the lower left PD pixel, and the lower right PD pixel are covered by a microlens;
wherein the plurality of PD pixel units comprise green PD pixel units, blue PD pixel units, and red PD pixel units; and
wherein a first Bayer pattern comprises two green PD pixel units, a blue PD pixel unit, and a red PD pixel unit of the plurality of PD pixel units;
a processor configured to:
interpolate a green image from an image produced by the PD image sensor comprising the first Bayer pattern to obtain a full resolution interpolated green image including upper left PD pixels, upper right PD pixels, lower left PD pixels, and lower right PD pixels;
convolute the full resolution interpolated green image with an N×N kernel to correct the full resolution interpolated green image, the N×N kernel comprising elements aij, wherein N is an odd integer larger than unity; and
wherein the elements aij satisfy an equation:
![]() |