| CPC H04N 25/63 (2023.01) [H04N 17/002 (2013.01)] | 17 Claims |

|
1. A computer-implemented method for dark shading calibration and correction, comprising:
configuring an image sensor into a plurality of sensor states to capture a plurality of dark images;
determining a dark current distribution on each of the plurality of dark images captured by the image sensor to obtain a plurality of dark current distributions respectively corresponding to the plurality of sensor states;
storing the plurality of dark current distributions as a plurality of dark shading correction (DSC) tables in a memory associated with the image sensor;
capturing an image by the image sensor at a first sensor state;
determining a first dark current distribution for the first sensor state of the image sensor based on the plurality of dark current distributions stored in the memory, wherein the determining comprises:
determining current values of a plurality of settings of the image sensor in the first sensor state; and
interpolating the plurality of DSC tables based on the current values of the plurality of settings of the image sensor in the first sensor state to generate a current DSC table representing the first dark current distribution; and
offsetting dark current noise on the image based on the first dark current distribution for the first sensor state of the image sensor.
|