| US 7,580,566 B2 | ||
| Image processing device, image processing method, storage medium, and program | ||
| Yasuo Fukuda, Ohta-ku (Japan); Takeshi Makita, Ohta-ku (Japan); Osamu Yamada, Ohta-ku (Japan); and Takahiro Matsuura, Ohta-ku (Japan) | ||
| Assigned to Canon Kabushiki Kaisha, Tokyo (Japan) | ||
| Filed on Jan. 28, 2004, as Appl. No. 10/766,995. | ||
| Claims priority of application No. 2003/023826 (JP), filed on Jan. 31, 2003. | ||
| Prior Publication US 2004/0184671 A1, Sep. 23, 2004 | ||
| Int. Cl. G06K 9/00 (2006.01); G06K 9/40 (2006.01) | ||
| U.S. Cl. 382—168 [382/274; 382/162; 382/118] | 5 Claims |

| 1. An image processing device comprising:
inputting means for inputting an image;
detecting means for detecting a face region in the input image;
histogram generating means for generating a first histogram of the entire input image and a second histogram of the detected
face region;
calculating means for calculating a highlight point and a shadow point of the input image from the first histogram of the
entire input image;
first generating means for generating a gradation correction for luminance and a gradation correction for each of a plurality
of color components based on the highlight point, the shadow point, a target highlight point and a target shadow point;
conversion means for converting the second histogram based on the gradation correction generated for the luminance;
determining means for determining a representative luminance of the detected face region based on the converted second histogram
of the detected face region;
second generating means for generating an exposure correction based on the representative luminance; and
correcting means for correcting the input image based on the gradation correction generated for each of the plurality of color
components and the exposure correction.
|