1. An adaptive shading correction method for correcting an image for lens shading, the adaptive shading correction method comprising: segmenting the image into a plurality of blocks of pixels; identifying hue-flat blocks of the plurality of blocks, the hue-flat blocks having a relatively low hue variance; clustering the hue-flat blocks into at least one cluster based on a spatial distribution of the hue-flat blocks; identifying selected modification parameters for modifying an average shading mesh by: modifying the average shading mesh along a plurality of dimensions using a plurality of modification parameters, different ones of the plurality of modification parameters corresponding to a respective different dimension of the plurality of dimensions, and processing the at least one cluster, so as to identify the selected modification parameters; modifying the average shading mesh using the selected modification parameters to generate a shading correction mesh; and correcting the image for the lens shading using the shading correction mesh.