1. A method of processing an image comprising the steps of: obtaining a first color shading profile for the image; obtaining a second color shading profile for the image; modifying the first and second color shading profiles to form a third color shading profile; and correcting color shading of the image based on the third color shading profile, wherein obtaining the first color shading profile includes: dividing the image into a plurality of zones, each respective zone including a sub-array of pixels; separating each respective zone into multiple color channels; and scanning each row within a color channel of each respective zone to determine a linear function representing the scanned row.