Patent ID: 8194999

Claim:
A non-transitory computer readable storage medium comprising code for generating an output image based on a difference between a smoothed pixel and an uncorrected pixel in an input image, the smoothed pixel being obtained by smoothing the uncorrected pixel, the code, when executed, causing a computer to perform: converting a tone of the uncorrected pixel to generate a tone-converted uncorrected pixel based on an uncorrected pixel tone table; converting the tone of the smoothed pixel to generate a tone-converted smoothed pixel based on a smoothed pixel tone table different from the uncorrected pixel tone table, the smoothed pixel tone table defining that a pixel with a low pixel value is converted such that the smoothed pixel has a higher pixel value than the uncorrected pixel, and a pixel with a high pixel value is converted such that the smoothed pixel has a lower pixel value than the uncorrected pixel; and generating the output image based on a difference between the tone-converted uncorrected pixel and the tone-converted smoothed pixel.