Patent ID: 8559713
Filing Date: 2013-10-15
Classification: H04N

Abstract:
1. A non-transitory computer readable storage medium having stored therein an image correction program, the image correction program causing a computer to execute a process comprising: calculating a color temperature of a highlighted portion of image data captured with an image capturing unit; determining whether the color temperature calculated in the calculating is within a certain distance with respect to a value on a daylight locus; and rewriting a conversion table that represents correlation between input levels and output levels of color components in accordance with the color temperature calculated in the calculating, and correcting, with reference to the conversion table, the image data using color balance correction when the color temperature is determined to be within the certain distance with respect to the value on the daylight locus in the determining, and obtaining a histogram of brightness upon receiving the image data, extracting, as the highlighted portion of the image data representing a portion irradiated with a light source, pixels ranking in a top 1% of brightness luminance in the image data, and calculating, as a pixel statistic which is an average value of the pixels in the highlighted portion, the average value being input levels of each of RGB components of the extracted pixels, wherein the determining includes measuring a distance between a plotted point of the color temperature and a point having the color temperature on the daylight locus, and determining whether the distance is within the certain distance.