US 6996257 B2 Zusammenfassung This invention provides a method to interpret and recognize huma faces. The 2nd-order eigenfeatures are used for lighting-invariant face description and both the 1st-order and 2nd-order eigenfeatures are used for view-angle-invariant face description. After normalization and quantization, these features can describe face effectively and efficiently. In order to further reduce the size of face descriptor, variable length code can be used to encode the quantized eigenfeatures. This invention can be used in internet multimedia database retrieval, digital library, video editing, surveillance and tracking, and other applications using face recognition and verification. Ansprüche 1. A method of extracting features for a lighting-invariant face description, comprising: getting adjusted second-order eigenfeatures of a face image; quantizing the adjusted second-order eigenfeatures; and selecting features to construct a face descriptor to describe faces from the quantized second-order eigenfeatures. 2. A method of extracting features for a lighting-invariant face description, comprising: getting adjusted second-order eigenfeatures of a face image; quantizing the adjusted second-order eigenfeatures; selecting features to construct a face descriptor to describe faces from the quantized second-order eigenfeatures; and coding the selected eigenfeatures in a lighting-invariant face descriptor. 3. A method of extracting features for a view-angle-invariant face description, comprising: getting adjusted first-order eigenfeatures of a face image; getting adjusted second-order eigenfeatures of a face image; quantizing the adjusted first-order eigenfeatures; quantizing the adjusted second-order eigenfeatures; and selecting features to construct a face descriptor to describe faces from the quantized first-order and second-order eigenfeatures. 4. A method of extracting features for a view-angle-invariant face description, comprising: getting adjusted first-order eigenfeatures; getting adjusted second-order eigenfeatures; quantizing the adjusted first-order eigenfeatures; quantizing the adjusted second-order eigenfeatures; selecting features to construct a face descriptor to describe faces from the quantized first-order and second-order eigenfeatures; and coding selected eigenfeatures in a view-angle-invariant face descriptor. 5. The method of getting a dot product of the face image and an adjusted second-order eigenface matrix. 6. The method of getting a dot product of the face image and an adjusted first-order eigenface matrix. 7. The method of calculating a first-order eigenface matrix; and adjusting the first-order eigenface matrix. 8. The method of calculating a second-order eigenface matrix; and adjusting the second-order eigenface matrix. 9. The method of getting first-order eigenfeatures of training face images; arranging the first-order eigenface as a two dimensional array of original images; getting a mirrored eigenface of the two dimensional array; weighting the mirrored eigenface image; adding the weighted eigenface image to the first-order eigenface; re-arranging the first-order eigenface to obtain a one-dimensional adjusted first-order eigenface; normalizing adjusted first-order eigenface; getting weights of adjusted first-order eigenfeatures for a distance computation; multiplying the weights of the first-order eigenfeatures for distance computation to adjusted first-order eigenface matrix; and quantizing the first-order eigenface matrix. 10. The method of calculating a first-order eigenface matrix; getting first-order eigenfeatures from training face images; calculating a pseudo-inverse of the first-order eigenface matrix; calculating first-order reconstructed face images by multiplying the first-order eigenfeatures to the pseudo-inverse of the first-order eigenface matrix; getting second-order residue images by subtracting the first-order reconstructed face images from original images; and getting the second-order eigenfaces by calculating eigenvectors of the second-order residue images. 11. The method of getting second-order eigenfeatures of training images by computing dot products of face images and second-order eigenfaces; re-shaping the second-order eigenfaces to an original image shape and getting left-right mirrored eigenface images; weighting the mirrored eigenface images and adding them to corresponding original image shaped second-order eigenface images; re-arranging original image shaped second-order eigenfaces to obtain one-dimensional adjusted second-order eigenfaces; normalizing adjusted second-order eigenfaces; getting weights of second-order eigenfeatures for a distance computation; multiplying the weights of second-order eigenfeatures for the distance computation to adjusted second-order eigenface matrix; and quantizing the second-order eigenface matrix. 12. The method of getting a maximum and a minimum of adjusted first-order eigenface matrix; getting a quantization by dividing an interval between the maximum and the minimum into a plurality of quantization levels; dividing the adjusted first-order eigenface matrix with the quantization; and rounding divided values to nearest integers. 13. The method of getting a maximum and a minimum of said adjusted second-order eigenface matrix; getting a quantization by dividing an interval between the maximum and the minimum into a plurality of quantization levels; dividing the adjusted second-order eigenface matrix with the quantization; and rounding divided values to nearest integers. 14. The method of getting a recovered adjusted second-order eigenface by multiplying the quantized second-order eigenface matrix with a quantization; and getting second-order eigenfeatures by multiplying each column-wise recovered adjusted second-order eigenface with a row-wise image. 15. The method of getting a recovered adjusted first-order eigenface by multiplying the quantized first-order eigenface matrix with a quantization; and getting first-order eigenfeatures by multiplying each column-wise recovered adjusted first-order eigenface with a row-wise image. 16. The method of getting a maximum and a minimum of the adjusted second-order eigenfeatures of training images; getting the quantization by dividing an interval between the maximum and the minimum into a plurality of quantization levels; dividing adjusted second-order eigenfeatures with the quantization; and rounding divided values to nearest integers. 17. The method of getting a maximum and a minimum of adjusted second-order eigenfeatures of training images; getting the quantization by dividing an interval between the maximum and the minimum into a plurality of quantization levels; dividing adjusted second-order eigenfeatures with the quantization; rounding divided values to nearest integers; allocating different number of bits to different eigenfeatures by computing a rounded logarithm of a standard deviation of corresponding eigenfeatures in a training set divided by a minimum of the standard deviations; and quantizing the eigenfeatures according to the corresponding bit allocation. 18. The method of getting a maximum and a minimum of adjusted first-order eigenfeatures of training images; getting the quantization by dividing an interval between the maximum and the minimum into a plurality of quantization levels; dividing the adjusted first-order eigenfeatures with the quantization; and rounding divided values to nearest integers. 19. The method of getting a maximum and a minimum of adjusted first-order eigenfeatures of training images; getting the quantization by dividing an interval between the maximum and the minimum into a plurality of quantization levels; dividing the adjusted first-order eigenfeatures with quantization; rounding divided values to nearest integers; allocating different number of bits to different eigenfeatures by computing a rounded logarithm of a standard deviation of corresponding eigenfeatures in a training set divided by a minimum of the standard deviations; and quantizing eigenfeatures according to the corresponding bit allocation. 20. The method of getting standard deviations of adjusted first-order eigenfeatures of training face images; and getting weights by extracting square roots of standard deviations. 21. The method of getting variances of adjusted second-order eigenfeatures of training face images; and getting weights of adjusted second-order eigenfeatures by extracting square roots of said variances. 22. A method of measuring lighting-invariant similarity between faces, comprising: extracting eigenfeatures of faces for a lighting-invariant face description with the method of getting Euclidean distances of eigenfeatures of the faces; and choosing a smallest Euclidean distance to indicate a best matching pair of faces. 23. A method of measuring a view-angle-invariant similarity between faces, comprising: extracting eigenfeatures of faces for a view-angle-invariant face description with the method of getting Euclidean distances of eigenfeatures of the faces; and choosing a smallest Euclidean distance to indicate a best matching pair of faces. 24. A method of getting code tables of variable length coding (VLC) for a light-invariant face descriptor, comprising: getting quantized eigenfeatures of a training set with the method of classifying eigenfeatures into groups depending on bit allocations; and constructing a code table for each group of eigenfeatures with the same bit allocation, using an entropy coding method. 25. A method of getting code tables of variable length coding (VLC) for a view-angle-invariant face descriptor, comprising: getting quantized eigenfeatures of a training set with the method of classifying eigenfeatures into groups depending on bit allocations; and constructing a code table for each group of eigenfeatures with the same bit allocation, using an entropy coding method. 26. The method of 27. The method of 28. The method of looking up a code table generated for each quantized eigenfeature and using a corresponding code word to represent the quantized eigenfeature. 29. The method of looking up a code table generated for each quantized eigenfeature and using a corresponding code word to represent the quantized eigenfeature. 30. A method of extracting features for a general face description, comprising: getting adjusted first-order eigenfeatures of a face image with the method in quantizing adjusted first-order eigenfeatures; and selecting features to construct face descriptor to describe faces from the quantized first-order eigenfeatures. 31. A method of extracting features for general face description, comprising: getting adjusted first-order eigenfeatures of a face image with the method in quantizing adjusted first-order eigenfeatures; selecting features to construct face descriptor to describe faces from the quantized first-order eigenfeatures; and coding selected eigenfeatures in the face descriptor. 32. The method of selecting eigenfeatures corresponding to a top N largest eigenvalues for a view-angle invariant face description. 33. The method of selecting eigenfeatures corresponding to a k-th to N-th largest eigenvalues (0<k<N) for a lighting-invariant face description. 34. A method of lighting-invariant a view-angle-invariant face description, comprising: getting first-order residual image data Γ(1), by taking face image data Φ as a vector and calculating its difference from a mean face image data Ψ; multiplying the first-order residual image data Γ(1) and a combination of a first-order eigenmatrix obtained by decomposing the first-order residual image data Γ(1), and a second-order eigenmatrix obtained by decomposing second-order residual image data Γ(2) obtained by subtracting first-order reconstructed image data from original face image data Φ, where the first-order reconstructed image data is obtained by adding mean face image data Ψ and a substantial low-frequency component extracted from the first-order residual image data Γ(1), taking a result of the multiplication as an eigenfeature of the face image data Φ; quantizing the eigenfeature; encoding the quantized eigenfeature into variable length codes; and taking a result of encoding as the face descriptor. Beschreibung This invention relates to a method for lighting- and view-angle-invariant face description with first- and second-order eigenfeatures, and can be used in face description and recognition for content-based image retrieval, huma face identification and verification for bank, security system, and video phone, surveillance and tracking, digital library, and internet multimedia database. Human face perception is an active area in the computer vision community. Face recognition will play an important role in multimedia database search and many other applications. In recent years considerable progress has been made on the problems of face detection and recognition. Different specific techniques were proposed. Among these, neural nets, elastic template matching, Karhunen-Loeve expansion, algebraic moments and isodensity lines are typical methods. Among these methods, Principal component analysis (PCA) or Karhunen-Loeve expansion is an important branch. Eigenface method is derived from PCA and it is convenient to be computed and has consistent accuracy in identification. Prior work showed that the PCA approach dissociates spontaneously between different types of information. The eigenvectors with large eigenvalues capture information that is common to subsets of faces and eigenvectors with small eigenvalues capture information specific to individual face. The studies show that only the information contained by the eigenvectors with large eigenvalues can be generalized to new faces that are not trained. The advantage of eigenface method is that eigenvectors with large eigenvalues convey information relative to the basic shape and structure of the faces. That means features extracted from eigenvectors with large eigenvalues can be used to describe major characteristics of human faces. However, this is also the weakness of PCA. If we only consider the features extracted from eigenvectors with large eigenvalues, we cannot get the details of the faces which corresponds to individual faces. If these details of individual face can be described with the common features of human faces, the description of human faces can be more accurate. Furthermore, it is difficult to get suitable eigenvectors to represent human faces if the face images are taken under different lighting conditions and different view-angles. According to our experience, the regular eigenface method is not excellent in recognizing faces under different lighting condition. However, many face images of the same person are taken under different lighting and view-angle conditions. The lighting-invariant and view-angle-invariant face description is still an important field to be explored. Eigenface method is effective to extract common face characteristics such as shape and structure. In order to get details of faces that are lost when eigenvectors with small eigenvalues are truncated, the reconstructed faces with the features from eigenvectors with large eigenvalues should be obtained. With the reconstructed face images, the residue images between original images and reconstructed images can be obtained. These residue faces can be looked as high-passed face images which still contain rich detailed information for individual faces. In order to describe these residue faces, eigenface method can be used on these residue faces again. The obtained eigenvectors with large eigenvalues will reveal the common characteristics of residue faces. With this method, the second-order eigenvectors with large eigenvalues can be obtained to extract corresponding features. According to our experiments, first-order and second-order eigenfeatures are both effective for the view-angle-invariant face description, while the second-order eigenfeatures are also effective for the lighting-invariant face description. Therefore, the combination of first-order and second-order eigenfeatures can be used for view-angle-invariant face description and the second-order eigenfeatures can be used for lighting-invariant face description. Another way to describe face is to use first-order eigenfeatures exclusively. For lighting-invariant face description, only the eigenfeatures extracted from the eigenfaces with the top k-th to N-th largest eigenvalues (where 0<k<N) to avoid the lighting variance coming from the top k eigenfaces with largest eigenvalues. The view-angle-invariant face features can be the eigenfeatures extracted from the eigenfaces corresponding to the top N largest eigenvalues. Besides, when we consider face description, an important characteristic is symmetry of faces. The faces of most of the people are symmetric. Thus we can consider to use the left-right mirrored face image to represent the same person. Consequently the eigenfeatures of the original image and the mirrored image can both represent the same person. Therefore, we can use the linear combination of the eigenfeatures of the two images to represent the original image. In order to discriminate between the original image and the mirrored image, different weights can be used to combine the eigenfeatures. The present invention provides two methods for lighting-invariant and view-angle-invariant human face description which can be used for image retrieval (query by face example), person identification and verification, surveillance and tracking, and other face recognition applications. In order to describe face characteristics, the concept of second-order eigenfaces is proposed according to our observation and derivation. At first, the first-order eigenfaces and second-order eigenfaces can be derived from a set of training face images. Then the eigenfaces can be adjusted with the characteristic of symmetry of faces. With these adjusted eigenfaces, the adjusted first-order and second-order eigenfeatures can be obtained. The combination of these eigenfeatures can be used to describe faces. With this description, Euclidean distance can be used for similarity measurement. According to the present invention, first-order Eigenface and second-order Eigenface are obtained. In In the example shown in A difference between the one dimensional vector Φ1 of the face picture 1 a and the average image Ψ is expressed as Γ1 (1). A similar differences Γ2 (1), Γ3 (1), Γ4 (1), Γ5 (1), Γ6 (1) can be obtained for other face pictures 2 a, 3 a, 4 a, 5 a and 6 a, respectively. Thus, the following equations are obtained.
As will be described later, the difference Γ1 (1) will be used as a base for obtaining the first-order feature component w1 (1). Similarly, Γ2 (1), Γ3 (1), Γ4 (1), Γ5 (1), Γ6 (1) will be used as bases for obtaining the first-order feature components w2 (1), w3 (1), w4 (1), w5 (1) and w6 (1). In these formulas, the superscript (1) indicates that the formulas are related to the first-order feature. When the differences Γ1 (1), Γ2 (1), Γ3 (1), Γ4 (1), Γ5 (1), Γ6 (1) are processed in a low pass filter, reconstructed matrixes {circumflex over (Γ)}1 (1), {circumflex over (Γ)}2 (1), {circumflex over (Γ)}3 (1), {circumflex over (Γ)}4 (1), {circumflex over (Γ)}5 (1), and {circumflex over (Γ)}6 (1) are obtained. In Since the reconstructed face images contains data that have been processed in the low pass filter so that the high frequency information is removed, the face information will not vary even if the angle of the face should be changed slightly. In During the process of obtaining the residue images, the brightness information, caused by the lighting system, contained in the original face image and the same brightness information contained in the reconstructed face image are counterbalanced by the subtraction. Thus, the residue images will not be influenced by the lighting system. The present invention will be further described using general formulas. Consider an image Φi among a collection of M images (in the above example, six images)(step 110 in Every image differs from the average image by a vector rim Γi (1)=Φi−Ψ (step 130 in This is shown in step 140 in Note that Q has dimension wh×wh where w is the width of the image and h is the height. The size of this matrix is enormous, but since we only sum up a finite number of image vectors M, the rank of this matrix can not exceed M−1. We note that if vi (1) is the eigenvector of A(1) The eigenvalue λi (1) is the variance along the new coordinate space spanned by eigenvectors ui (1) (step 160 in From Eq.(3), an interesting byproduct is that we can get a reconstructed matrix from W(1). Since U(1) is an M1×P matrix, we cannot get its inverse. However, we can use its pseudo inverse to approximate its inverse. Let U(1) The first-order eigenfeatures describe the characteristics of original images and the second-order eigenfeatures depict the characteristics of high-passed images. These characteristics can be used for different applications. In lighting-invariant case, the view-angles of the images are almost the same, but the lighting conditions are different. The light can come from left, right, or both. Also the faces can be light or dark. In this situation, the features of images should be extracted after filtering. The original face image contains data of lighting feature, and the first-order eigenfeature also contains data of lighting feature. That means the first-order eigenfeatures are not suitable in this case. The second-order eigenfeature is obtained by subtracting the first-order eigenfeature from the original face image, thus removing the data of lighting feature. Thus, the second-order eigenfeatures have no influence by the lighting, and are suitable for use in face recognition that does not influenced by the lighting. On the other hand, when we consider view-angle-invariant case, the images of the same person are taken under the almost the same lighting condition but the view-angles or poses are not the same. In this situation, both the first-order and second-order eigenfeatures are important to describe the faces. The first-order eigenfeature is obtained by processing the original face image through a low pass filter to extract, not the detail, but general feature of the face. Thus the first-order eigenfeature can provide approximately the same feature even if face images are obtained in different view-angles. Thus, in the cases where the view-angles may change, the first-order eigenfeature is used in addition to the second-order eigenfeature so as to obtain features which will not be influenced by the view-angle. Therefore we will use second-order eigenfeatures as face descriptor to describe lighting-invariant situation and both of the first-order and second-order eigenfeatures as face descriptor to describe view-angle-invariant situation. When we consider face description, an important characteristic is symmetry of faces. The faces of most of the people are symmetric. Thus we can consider to use the mirrored face image to represent the same person. Thus the eigenfeatures of the original image and the mirrored image can both represent the same person. Therefore, we can use the linear combination of the eigenfeatures of the two images to represent the original image. In order to discriminate between the original image and the mirrored image, different weights can be used to calculate features. Suppose Φ be the original image and Φ′ be the mirrored image of Φ. Then the adjusted eigenfeature should be
Since wi (1)(Φ′)=ui (1) The eigenfeatures discussed above can be used to describe huma faces effectively. However, if the eigenfeatures are looked as features for face recognition or related application, the eigenfeatures should be normalized since the range of the eigenfeatures are not the same. One of the reasonable normalization method is to divide the eigenfeatures by the corresponding standard deviation of eigenfeatures in the training set. Let σi (j) be the standard deviation of wi (j) in the training set, where j=1,2 denotes the first- or second-order eigenfeatures. Then normalized eigenfeatures of image Φ are
The similarity of face images is simply defined as the weighted distance between normalized projections:
If αi (1)=0, the similarity of face images will be measured only with second-order eigenfeatures for lighting-invariant face description. For view-angle-invariant case, both first- and second-order eigenfeatures are necessary. The weights are chosen as follows:
The weights can also select other numbers according the applications. In fact, the weights can be embedded into adjusted eigenfaces to reduce the computation, and the normalization parameters can also been moved to eigenface matrix. In order to save the storage, the eigenface matrix and eigenfeatures should be quantized into integers from floating points.
Further in order to reduce the size of total eigenfeatures, the eigenfeatures can be re-quantized according to their standard deviation of the training set. This can be considered as the trade-off between the size of face descriptor and the retrieval accuracy. According to our experiments, the bits for each eigenfeature can be allocated as follows:
In order to further compact the face descriptor, variable length coding can be used to the quantized eigenfeatures. The Huffman coding and arithmetic coding can be used to do the work. The code tables can be computed as follows:
With this method, the face descriptor can be further compacted. Correspondingly, The coded face descriptor should be decoded before the distance between two face descriptors can be calculated. According to our observation, the first-order eigenfeatures itself can also be used to describe view-angle- and lighting-invariant face features. The view-angle-invariant face features can be the eigenfeatures extracted from the eigenfaces corresponding to the top N largest eigenvalues. The lighting-invariant face features can be the eigenfeatures extracted from the eigenfaces corresponding to the top k-th to N-th largest eigenvalues where 0<k<N. In general, 4≦k≦10 and 40≦N≦60. We recommend the use of k=8, N=40 and total eigenface number is 48. In
In
This invention is very effective for describing human faces. Since the second-order eigenfaces can be calculated only once with the training face images, the second-order features can be obtained as efficient as first-order features. Since detailed information can be revealed with high-order eigenfeatures, the performance of the combination of first-order and second-order eigenfeatures is better in view-angle-invariant face description compared with the same number of first-order eigenfeatures. The second-order eigenfeatures has much better lighting-invariant face description capability compared with the first-order eigenfeatures. This invention is very effective and efficient in describing human faces. The description method can be used in internet multimedia database retrieval, video editing, digital library, surveillance and tracking, and other applications using face recognition and verification broadly. The present disclosure relates to subject matter contained in priority Japanese Patent Application No. 2000-385126, filed on Dec. 19, 2000, the contents of which is herein expressly incorporated by reference in its entirety. Patentzitate
Nichtpatentzitate
Referenziert von
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||