摘要 |
PROBLEM TO BE SOLVED: To create a color correction condition and a gradation correction condition as correction conditions for light source conversion to achieve more accurate conversion.SOLUTION: An image processing apparatus acquires a photographing light source image obtained by photographing a subject with a flash light source and an observation light source image obtained by photographing the subject with an observation light source (S2), acquires an extraction color position in the photographing light source image according to a user instruction (S3), calculates a first extraction color value from the extraction color position in the photographing light source image and calculates a second extraction color value from an extraction color position in the observation light source image (S4), creates a color correction condition for light source conversion from the first and second extraction color values (S5), and creates a gradation correction condition for light source conversion from a brightness value of the first extraction color value and a brightness value of the first extraction color value after conversion based on the color correction condition (S6). By correcting the photographing light source image by using thus created color correction condition and gradation correction condition, accurate light source conversion can be performed. |