A lens correction is applied to image data by first converting the image
data to a YUV color space, if the image data is not already in the YUV
color space. Image processing procedures are applied to the image data in
the YUV color space to form image processed YUV data. A corresponding
correction value is then applied to each component, i.e., Y, U and V
component, of the image processed YUV data.