The present invention relates to an image capturing device and, particularly, to an image capturing device which can detect and correct over bright areas in an image of a human face.
With the development of optical imaging technology, image capturing devices are widely used now. A flash system is usually used with the image capturing devices for generating a flash of light to illuminate a subject, when ambient light is not bright enough. However, if the subject is a person's face, too much light may be reflected by portions of the face (such as those parts that may be oily) resulting in relatively bright patches in the image of the face.
What is needed, therefore, is an image capturing device which can solve the above problem.
In accordance with one present embodiment, an image capturing device includes an image sensing unit, an image processing unit, and a memory device. The image processing unit includes a face detection module, a brightness obtaining module, a comparing module, and an adjustment module. The face detection module is configured for detecting human faces in images sensed by the image sensing unit. The brightness obtaining module is configured for obtaining brightness of a set of areas in the image corresponding to a set of preset portions of a human face when the face detection module detects at least one face existing in the image. The comparing module is configured for comparing the brightness of each area in the image corresponding with the preset portions to a threshold value. The adjustment module is configured for adjusting the image by decreasing the brightness of the areas whose brightness is greater than the threshold value. The memory device is able to store images adjusted by the image processing unit.
Many aspects of the present image capturing device can be better understood with reference to the following drawings. The components in the drawing are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present image capturing device. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments will now be described in detail below, with reference to the drawings.
Referring to
The image sensing unit 10 typically includes a taking lens (not shown) and an image sensor (not shown) disposed behind the taking lens for converting an optical image into an electrical image signal. The image sensor can be a charge-coupled device (CCD) or a complementary metal oxide semiconductor device (CMOS).
The image processing unit 20 is electrically connected to the image sensor of the image sensing unit 10. Referring to
The face detection module 21 is used for detecting human faces in an image sensed by the image sensor of the image sensing unit 10.
If the face detection module 21 detects at least one face existing in the image, the brightness obtaining module 22 will obtain brightness of each area of a set of areas in the image corresponding to a set of preset portions of a human face known for often reflecting too much light (appearing too bright in an image). Typically, these areas are the forehead, nose, cheek, and chin, but other areas may be selected as well.
The comparing module 23 is used for comparing the brightness of each area in the image corresponding with the preset portions to a threshold value. If brightness of an area is greater than the threshold value, then it is determined that that area of the image needs to be adjusted.
The adjustment module 24 is used for adjusting the image by decreasing the brightness of the areas corresponding with the preset portions that are judged to be brighter than the brightness threshold. The brightness of the areas can be decreased to the threshold value or to an average value.
The flash system 30 is configured for generating a flash of light to illuminate a scene in order to increase the brightness of the image captured by the image capturing device 100.
The memory device 40 can store the image sensed by the image sensor directly when the face detection module 21 detects no human face existing in the image. The memory device 40 can also store the image adjusted by the image processing unit 20.
Referring to
The preset portions can be selected from a group consisting of forehead, nose, cheek, and chin of the face. The method also includes a step of storing the images directly, if no human face is detected in the image after the step of detecting human faces in the image. The method also includes a step of storing the image directly, if the brightness of each area in the image corresponding to the preset portions is equal to or less than the threshold value after the step of comparing brightness of each area to the threshold value. The method of decreasing the brightness of the area is to decrease the brightness of the areas to an average brightness of corresponding faces or to the threshold value.
While certain embodiments have been described and exemplified above, various other embodiments will be apparent to those skilled in the art from the foregoing disclosure. The present invention is not limited to the particular embodiments described and exemplified but is capable of considerable variation and modification without departure from the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2007 1 0203153 | Dec 2007 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7668451 | Misawa | Feb 2010 | B2 |
20050047655 | Luo et al. | Mar 2005 | A1 |
20070014431 | Hammoud et al. | Jan 2007 | A1 |
20070070214 | Nakamura | Mar 2007 | A1 |
20070195171 | Xiao et al. | Aug 2007 | A1 |
20070196097 | Sugimoto | Aug 2007 | A1 |
20070258656 | Aarabi | Nov 2007 | A1 |
20080050015 | Lu et al. | Feb 2008 | A1 |
20080074529 | Terashima | Mar 2008 | A1 |
20090297038 | Ishikawa et al. | Dec 2009 | A1 |
Number | Date | Country |
---|---|---|
1697478 | Nov 2005 | CN |
101013250 | Aug 2007 | CN |
Number | Date | Country | |
---|---|---|---|
20090153689 A1 | Jun 2009 | US |