Patent ID: 8040409
Filing Date: 2011-10-18
Classification: G06K,G06T

Abstract:
1. An image processing device comprising: a reflectance-component calculating portion that calculates a reflectance component based both on a pixel value of a subject pixel in an original image and on an average luminance of peripheral pixels around the subject pixel, the reflectance component being indicative of brightness of the subject pixel relative to the peripheral pixels; a pixel-value generating portion that generates a pixel value of an output image based both on the pixel value of the subject pixel and on a corrected value obtained by performing gamma correction on the pixel value of the subject pixel using the reflectance component; and a storage portion that stores, in association with first pixel values, table values including either gamma-corrected values obtained by performing gamma correction on the first pixel values using each of a plurality of predetermined reflectance component or second pixel values calculated based both on the gamma-corrected values and on the first pixel values, wherein the pixel-value generating portion comprising: an extracting portion that extracts at least one of the table values corresponding to the pixel value of the subject pixel; and a determining portion that determines the pixel value of the output image based on the at least one of the table values extracted by the extracting portion; wherein one of the plurality of the predetermined reflectance component is the reflectance component calculated by the reflectance-component calculating portion when the pixel value of the subject pixel is substantially identical with the average luminance of the peripheral pixels; wherein, when the reflectance component calculated by the reflectance-component calculating portion equals to one of the plurality of predetermined reflectance components, the extracting portion extracts one of the table values corresponding to the one of the plurality of predetermined reflectance components; wherein, when the reflectance component calculated by the reflectance-component calculating portion is different from any one of the plurality of predetermined reflectance components, the extracting portion extracts two of the table values corresponding to the respective ones of the plurality of predetermined reflectance components that surrounds the reflectance component calculated by the reflectance-component calculating portion; and wherein the determining portion performs interpolation based both on the two of the table values extracted by the extracting portion and on the reflectance component calculated by the reflectance-component calculating portion, thereby determining the pixel value of the output image.