Patent ID: 7079702

Claim:
An image processing program on a computer readable medium for realizing on a computer: a normalizing function normalizing a feature quantity of an image through conducting a range transformation which allows the feature quantity of the image to be distributed over a whole range; a statistics extracting function extracting a mean value and a standard deviation of the normalized feature quantity of the image; an image condition judging function judging an image condition, based on the extracted mean value and the extracted standard deviation; a correction information creating function creating image correction information in the judged image condition based on the extracted mean value and the extracted standard deviation; and an image correcting function correcting the image, based on the created image correction information, wherein said image condition judging function judges the image condition of said image through a two-dimensional normal distribution probability function for calculating the probability that an image belongs to each image condition, in which the mean value and the standard deviation of the image feature quantity are set to variables, wherein when the maximum value of said probability is a predetermined value or less, said image condition judging function judges that said image belongs to a plurality of image conditions, and wherein when it is judged by said image condition judging function that said image belongs to the plurality of image conditions, said correction information creating function integrates the image correction information in the respective image conditions, corresponding to said probability, to create the image correction information.