Patent ID: 8310572

Claim:
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: firstly calculating an exposure level using information on an image capturing unit, which captures image data, at the time of capture of an image; secondly calculating brightness of the image using information on the image data captured by the image capturing unit; correcting the brightness of the image data in accordance with the exposure level calculated in the firstly calculating and the brightness of the image calculated in the secondly calculating; and determining whether the brightness of the image calculated in the secondly calculating is brighter than a certain brightness threshold and determines, if the brightness of the image is lower than the certain brightness threshold, whether the exposure level calculated in the firstly calculating is greater than a certain exposure level threshold, wherein if it is determined in the determining that the exposure level is lower than the certain exposure level threshold, a process for correcting the brightness of the image data is not performed in the correcting, and, if it is determined in the determining that the exposure level is greater than the certain exposure level threshold, a brightness conversion process for brightening the image data is performed in the correcting as a process for correcting the brightness of the image data.