We previously showed the necessity of utilizing dynamic methods to select focus window for passive autofocus in digital imaging systems. One possibility is to track the photographer's pupil through a modified viewfinder so that the region of interest in a target image can be determined, as previously described. Yet this assumes that a user is on site and he/she looks through the viewfinder, which is less and less practiced as a result of the availability of liquid crystal displays (LCD) on most consumer digital imaging systems. An alternative is to use pattern recognition to select focus windows when the imaging targets are known in advance and can be extracted from their background. In this paper, one of such cases, where the imaging targets are humans, is discussed in detail. The theoretical basis for dynamic focus window selection is briefly reviewed. And an example is given to demonstrate the effects of different focus windows on the imaging results. Then the focus window selecting technique using a statistical model of human skin colors is described in detail. The incoming target image in RGB color space is transformed into 2-dimension (r, g) space. Each pixel is binarized according to the relationship between its (r, g) value and the skin color distribution. Thus skin regions in the image are extracted. Morphological operations are then applied to the resultant binary image to reduce the number and irregularity of the skin regions. A rectangle can be fitted to the extracted skin region and used as the focus window. Experimental results are given to demonstrate the advantages of the proposed method.
[1]
Ying Dai,et al.
Extraction of facial images from a complex background using SGLD matrices
,
1994,
Proceedings of 12th International Conference on Pattern Recognition.
[2]
Venu Govindaraju,et al.
Locating human faces in photographs
,
1996,
International Journal of Computer Vision.
[3]
Huajun Feng,et al.
Dynamic focus window selection strategy for digital cameras
,
2005,
IS&T/SPIE Electronic Imaging.
[4]
Jian-Gang Wang,et al.
Frontal-view face detection and facial feature extraction using color and morphological operations
,
1999,
Pattern Recognit. Lett..
[5]
Tae-Sun Choi,et al.
Focusing techniques
,
1992,
Other Conferences.
[6]
Tomaso A. Poggio,et al.
Example-Based Learning for View-Based Human Face Detection
,
1998,
IEEE Trans. Pattern Anal. Mach. Intell..
[7]
Alexander H. Waibel,et al.
A real-time face tracker
,
1996,
Proceedings Third IEEE Workshop on Applications of Computer Vision. WACV'96.