Patent ID: 8314865

Claim:
A method comprising: using an optical image stabilization function in an imaging apparatus comprising a lens and an image sensor; acquiring system change information, the system change information concerning changes that affect optical path through the lens to the image sensor during capturing of an image through the lens; adjusting a lens shading correction function on the basis of the acquired system change information; and applying the adjusted lens shading correction function to image data representing the captured image, wherein adjusting the lens shading correction function is performed by: determining a plurality of intermediate positions for the captured image on the basis of the system change information, the system change information comprising more than one piece of system change information; selecting one or more reference correction tables for the intermediate positions; generating an intermediate shading correction table for the intermediate positions on the basis of the one or more reference correction tables; and generating an adjusted shading correction table on the basis of the intermediate shading correction tables.