Image processing apparatus, image processing method, and recording medium
AssigneeCanon Kabushiki Kaisha
InventorYusuke Shimizu
Life of this patent
Estimating the term…
Abstract
An image processing method generates first developed image data by correcting first image data with use of a white balance correction value corresponding to flash light, generates second developed image data by correcting the first image data with use of a second white balance correction value corresponding to external light, calculates a combining ratio of each block based on a flash component and an external light component of each of blocks into which the first image data is divided, and combines the first developed image data and the second developed image data according to the calculated combining ratio.
Claims12
An image processing apparatus comprising:
- correction unit configured to generate, from first image data captured while the flash light is emitted, first developed image data by correcting with use of a first white balance correction value corresponding to flash light, and second developed image data by correcting with use of a second white balance correction value corresponding to external light;
- division unit configured to divide the first image data into a plurality of blocks;
- combining ratio calculation unit configured to calculate a flash component and an external light component of each of the blocks divided by the division unit from a luminance value of the first image data and a luminance value of second image data captured while flash light is not emitted, and calculate a combining ratio for each of the blocks based on the calculated flash component and external light component of each of the blocks;
- and
- combining unit configured to combine the first developed image data and the second developed image data generated by the correction unit according to said combining ratio.
An image processing method comprising:
- first calculation of calculating a white balance correction value corresponding to flashlight from first image data captured while the flash light is emitted;
- second calculation of calculating a white balance correction value corresponding to external light from second image data captured while the flash light is not emitted,
- generating, from first image data captured while the flash light is emitted, first developed image data by correcting with use of a first white balance correction value corresponding to flash light, and second developed image data by correcting with use of a second white balance correction value corresponding to external light;
- dividing the first image data into a plurality of blocks;
- calculating a flash component and an external light component of each of the divided blocks from a luminance value of the first image data and a luminance value of second image data captured while flash light is not emitted, and calculating a combining ratio for each of the blocks based on the calculated flash component and external light component of each of the blocks;
- and
- combining the first developed image data and the second developed image data generated by the correcting according to the calculated combining ratio.
Dependencies are inferred from the claim text.