摘要 |
PROBLEM TO BE SOLVED: To provide a white balance gain calculation device capable of accurately correcting the white balance of a main subject.SOLUTION: The white balance gain calculation device includes: an acquisition unit 20 for acquiring a flash emission image obtained by imaging a subject, composed of a main subject and a background, using flash light, and a flash non-emission image imaged without using flash light; a main subject flash contribution calculator 30 for calculating the contribution of the flash light to the main subject from pixel values in the corresponding range of the flash emission image and the flash non-emission image; and based on the flash contribution to the main subject, a gain calculator 40 for calculating the white balance gain of the overall flash emission image of the subject. |