1. A method for correcting shading effects in an image sensor including a plurality of pixels, the method comprising: modeling, at a processing unit of the image sensor, shading effects on at least one readout pixel of the image sensor based on a parametric component and at least one grid component selected from a plurality of grid anti-shading tables, the parametric component being dependent on at least one of a color channel corresponding to the readout pixel and a color correlated temperature of light incident on the at least one readout pixel, and each grid anti-shading table corresponding to a different range of correlated color temperatures; and correcting the shading effects on the at least one readout pixel based on the modeled shading effects.