Patent ID: 8400536

Claim:
An image processing method for applying shading correction to image data obtained by capturing an original image under a first light source and generating duplicated image data suitable for viewing under a second light source, comprising: obtaining first light source captured image data of the original image by capturing the original image under the first light source; obtaining second light source captured image data of the original image by capturing the original image under the second light source; extracting pixels whose values fall within a range of a preset threshold value and are regarded as approximately identical colors, and positions of the pixels from the first light source captured image data; extracting, from the second light source captured image data, colors of pixels corresponding to the positions of the pixels extracted from the first light source captured image data; generating shading correction data, with a processor, from differences in color between the corresponding pixels extracted from the first light source captured image data and the second light source captured image data; and applying shading correction to the second light source captured image data by using the generated shading correction data.