The present invention relates to a technique that can be used for a face identification, a face verification, a recognition of a facial expression, a verification between a man and a woman from a face, an age judgment from a face and the like. More particularly, the present invention relates a meta-data generation for generating a meta-data with regard to a face data reflected on a static image or a dynamic image, a face similarity calculation, and a matching technique of a meta-data.
The meta-data is typically the data describing or representing the meaning of the data, and in the case of the face recognition, it mainly implies the data with regard to the face data of the static image, the dynamic image and the like.
As the standardizing activity of the meta-data for a multi-media content such as a picture, an image, a video, a voice and the like, the activity of MPEG-7 (an international standard for multimedia content description interface standardized by Moving Picture Experts Group) is widely known. As a descriptor of the meta-data with regard to the face recognition in it, a face recognition descriptor is proposed (“MPEG-7 Visual part of experimental Model Version 9.0,” A. Yamada et al., ISO/IEC JTC1/SC29/WG11 N3914, 2001).
In this face recognition descriptor, for the face image that is clipped and normalized, a kind of a subspace method typically referred to as an eigen-face is used to determine a basis matrix to extract a feature value of the face image. On the basis of this basis matrix, the face feature is extracted from the image. This is treated as the meta-data. As the similarity to this face feature, it is proposed to use a weighting absolute value distance.
Also, it is known that there are various methods in the technique with regard to the face recognition. For example, a method through the eigen-face based on the principal component analysis or a discriminant analysis and the like are known. The principal component analysis is known, for example, from “Probabilistic Visual Learning for Object Representation”, Moghaddam et al., (IEEE Transaction on Pattern Analysis and Machine Intelligence, Vol. 19, No. 7, pp. 696-710, 1997). Also, the discriminant analysis is known, for example, from “Discriminant Analysis of Principal Components for Face Recognition”, W. Zhao et al., (Proceedings of the IEEE Third International Conference on Automatic Face and Gesture Recognition, pp. 336-341, 1998).
Also, a method is known for measuring adaptively a distance between patterns by introducing a quality index, when the subspace method is applied to the feature vector obtained from a fingerprint image. For example, there is “Fingerprint Preselection Using Eigenfeatures”, T. Kamei and M. Mizoguchi (Proceedings of the 1998 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pp. 918-923, 1998, Japanese Laid Open Patent Application JP-Heisei 10-177650).
However, the above-mentioned conventional technique can not obtain the sufficient precision of the face recognition.
In relation to the above-mentioned description, a pattern recognizing apparatus that uses a feature selection through a projection of a feature vector to a partial eigen-space is disclosed in Japanese Laid Open Patent Application JP-A-Heisei 10-55412. In order to verify a number of kinds of character patterns, this a conventional example of the pattern recognizing apparatus uses a method of a feature selection, reduces the dimension number of the feature vectors, thereby trying to make a speed of a recognizing process higher, and also uses the feature vector representative of a feature of an input pattern, thereby recognizing the input pattern. An input feature vector extracting unit extracts an input feature vector representative of the feature of the input pattern. A orthonormal basis memory stores a orthonormal basis of the partial eigen-space of an original feature space. A recognition dictionary stores each dictionary selection feature vector defined on the partial eigen-space correspondingly to one or more each recognition target patterns. A feature selecting unit uses the orthonormal basis stored in the orthonormal basis memory, and calculates an input selection feature vector that is the projection to the partial eigen-space of the input feature vector extracted by the input feature vector extracting section. A checking unit checks the input selection feature vector calculated by the feature selecting unit and each dictionary selection feature vector stored in the recognition dictionary, thereby recognizing the kind of the input pattern corresponding to the input selection feature vector.
Also, an object detecting apparatus is disclosed in Japanese Laid Open Patent Application JP-A-Heisei 11-306325. This conventional example of the object detecting apparatus is relatively simple in process and is aimed to accurately detect a verification object. An image input unit inputs an image, and a memory stores a region model in which a plurality of judgment element obtainment regions are set correspondingly to a feature region of a verification object to be detected. A position designating unit sequentially designates a check local region position where the region model stored in the memory is applied to the input image inputted from the image input unit or the image which is inputted in advance from the image input unit and on which an image process is performed. A judgment element obtaining unit obtains a judgment element from each judgment element obtainment region of this region model, each time the region model is sequentially applied to the position designated by this position designating unit. A Mahalanobis distance judging unit carries out a Mahalanobis distance calculation on the basis of the judgment element of each judgment element obtainment region obtained by this judgment element obtaining unit, and carries out the judgment as to whether or not the image of the check local region is the verification object image. Consequently, the detection of the verification object is done on the basis of the judged result by the judging unit.
Also, a face verifying and collating method is disclosed in Japanese Laid Open Patent Application JP-A 2000-132675. This conventional example of the face verifying and collating method is aimed to carry out a stable verification even if two face images to be compared are photographed under different photographing conditions or in different photographing times. In that method, learning is carried out in advance for each class into which the feature of the image variation caused by the difference between the photographing conditions or the photographing times is classified. The class is selected from the difference between the two face images in which at least one of the photographing condition and the photographing time is different, and the feat amounts in which the feat amounts of the image variations in the class selected from the two face images are small are respectively determined, and the face verification and collation are carried out on the basis of the feature values of the two face images. As for the feature of the image variation, a plurality of sample sets of the difference images between the two images in which the photographing conditions or the photographing times are different are prepared, and the principal component analysis is carried out for each class, thereby determining a magnitude of a variance in a sample distribution in each principal component direction and a principal component. In the selection of the cluster of the features of the image variations, the distance between the image of the difference between the input two face images and the space defined by the principal components of the respective classes is calculated, thereby selecting the class in which the calculated distance is the shortest.
Also, an image processing apparatus is disclosed in Japanese Laid Open Patent Application JP-A 2000-187733. This conventional image processing apparatus is aimed so as not to prepare a face oriented toward a left or right direction, or an oblique face or the like, as the sample for the learning. In the image processing apparatus, an image group generating unit generates a symmetrical second reference image group from a first reference image group that is symmetrically placed. A feature information extracting unit extracts feature information by using both of the first reference image group and the second reference image group. A judging unit compares the feature information extracted by the feature information extracting unit with an input image, and judges whether or not the input image is composed of the image of the same pattern as the first reference image group. The first reference image group may be a face image of a human.
Therefore, an object of the present invention is to provide a face meta-data generating technique and a face similarity calculating technique, which can improve a precision of face recognition.
Another object of the present invention is to provide a technique for establishing a further practical face matching system.
According to the present invention, confidence can be extracted from a face image, and a similarity between patterns can be adaptively calculated on the basis of the confidence, thereby improving the precision of the face recognition.
According to a first viewpoint of the present invention, a face meta-data generating apparatus generates a meta-data with regard to a face image section of an image. The face meta-data generating apparatus includes a face feature extracting unit which extracts a face feature from the image, and a confidence index extracting unit which extracts a confidence index indicative of a confidence to the face feature from the image, and generates the face feature and the confidence index as the face meta-data.
The confidence index extracting unit can extract a contrast index of the image, as the confidence index. As the contrast index of the image, a difference between the maximum value and the minimum value of pixel values in the image is extracted. Or, as the contrast index of the image, a standard deviation or a variance of the pixel values in the image is selected.
Moreover, as the confidence index, an asymmetric index of the image may be extracted. As the asymmetric index of the image, the maximum value of differences between the image and an image (hereafter, referred to as a flipped image) which is a mirror image obtained by flipping the left side and the right side of the image is extracted. Or, as the asymmetric index of the image, one of a sum and an average of powers of pixel values of difference image between the image and the flipped image is extracted.
The confidence index extracting unit may include a first confidence index extracting unit which extracts the contrast index of the image, and a second confidence index extracting unit which extracts the asymmetric index of the image. The first confidence index extracting unit extracts a difference between the maximum value and the minimum value of pixel values in the image as the contrast index of the image, and the second confidence index extracting unit extracts the maximum value of differences between the image and the flipped image as the asymmetric index of the image. Or, the first confidence index extracting unit may extract one of a standard deviation and a variance of the pixel values in the image as the contrast index of the image, and the second confidence index extracting unit may extract one of a sum and an average of powers of pixel values of difference images between the image and the flipped image as the asymmetric index of the image.
The face feature extracting unit, when a pattern vector obtained from the image is assumed to be, Λ uses a basis matrix U specified by a subset of basis vectors obtained from the principal component analysis of the pattern vector Λ and a mean vector Ψ of the pattern vector Λ, and calculates a feature vector v=UT(Λ−Ψ). In this way, the feature vector v is extracted as the face feature. The basis matrix U is specified by the subset of basis vectors that is selected from basis vectors obtained by the principal component analysis of a training set [Λ] of pattern vectors. The basis matrix U can be obtained by the linear combination of: a basis matrix; and a basis matrix specified by a subset of flipped basis vectors which consist of the basis vectors converted so as to correspond to a conversion of pixel values where the left side and the right side of a face image is flipped. The pattern vector Λ may be a vector which consists of pixel values of the image, or a vector which consists of Fourier components of the image.
The above-mentioned face similarity calculating apparatus includes: a distribution estimating unit which uses the confidence indexes to face features to be compared, and estimates a parameter data with regard to a posterior distribution of a difference vector between the face features; and a distance calculating unit which calculates, as the similarity, a distance between the facial features obtained from a likelihood of the posterior distribution.
The above-mentioned face similarity calculating apparatus includes: a distribution estimating unit which uses the confidence indexes to face features to be compared, and estimates a parameter data with regard to a posterior distribution of a difference vector between the face features; and a distance calculating unit which calculates, as the similarity, a distance between the facial features obtained from a logarithm likelihood of the posterior distribution.
The distance calculating unit, under assumption that the posterior distribution of the difference vector between the face features is a normal distribution, calculates, as the similarity, an adaptive Mahalanobis distance obtained from the likelihood of the normal distribution according to the confidence index.
The distribution estimating unit estimates a variance σs,k([θi])2 of each element k of the difference vector s to the confidence index [θi], and the distance calculating unit uses the variance σs,k([θi])2 of each element k and calculates the adaptive Mahalanobis distance.
A variance value table for storing in advance the variance σs,k([θi])2 of each element k of the difference vector s to the confidence index [θi] is provided, and the distribution estimating unit refers to the variance value table on the basis of the confidence index [θi], and reads out a variance, and its variance may be used to calculate the adaptive Mahalanobis distance.
The distance calculating unit, when the posterior distribution of the difference vector between the face features is the mixture distribution, calculates as the similarity the adaptive mixture Mahalanobis distance introduced from the likelihood of the mixture distribution in the confidence index.
The confidence index to the face feature to be compared is used to estimate a parameter data with regard to a posterior distribution (a within-class distribution) of the difference vectors between the face features in a class which should be deemed to be coincident, and a posterior distribution (a between-class distribution) of the difference vectors between the face features among classes that should be deemed to be inconsistent is estimated, and the estimated parameter data is used to calculate, as the similarity, a distance between the face features introduced from a likelihood of a ratio between the within-class distribution and the between-class distribution.
When the within-class distribution and the between-class distribution are respectively the normal distributions, the adaptive discriminant distance introduced from the likelihood of the ratio between the respective distributions according to the confidence index is calculated as the similarity.
A within-class variance σW,k([θi])2 and a between-class variance σB,k([θi])2 of each element k of the difference vector s to the confidence index [θi] are estimated, and the adaptive discriminant distance may be calculated as the similarity.
In order to estimate the within-class variance σW,k([θi])2 and the between-class variance σB,k([θi])2 of each element k of the difference vector s to the confidence index [θi], a first variance value table for storing in advance the within-class variance σW,k([θi])2 and a second variance value table for storing in advance the between-class variance σB,k([θi])2are provided, and on the basis of the confidence index [θi], the first and second variance value tables are respectively referred to read out the variance, and the read out variance may be used to calculate the adaptive discriminant distance.
When the within-class distribution and the between-class distribution are respectively, the mixture distributions, the adaptive mixture discriminant distance may be calculated as the similarity, from the likelihood of the ratio between the respective mixture distributions in the confidence index.
According to the third viewpoint of the present invention, a face recognizing system includes an image input unit which inputs images and a face image database unit which stores face images. The face recognizing system includes: a face meta-data generating unit which generates a face feature extracted from the image and a confidence index face representative of a confidence to the face feature as a face meta-data; a face meta-data storing unit which stores the face meta-data generated by the face meta-data generating unit; a face similarity calculating unit which calculates a face similarity on the basis of the face feature and the confidence indexes representative of the confidence to the face feature; and a control unit which controls the face meta-data generating unit, the face meta-data storing unit and the face similarity calculating unit, and executes a matching of the face images in response to an input command.
The usage of the above-mentioned face meta-data generating unit and face similarity calculating unit enables the achievement of the face image matching of the high precision.
(Principle of Invention)
At first, the principle of the present invention is explained. Typically, when pattern recognition is done, if a large quantity of training data can be prepared for a class to be recognized, a distribution function of a pattern can be estimated on the basis of a statistic analysis for the training data, thereby establishing a pattern recognizing mechanism. However, in many cases of face recognition applications, only a few registration images can be obtained for each person. Let us suppose that even in such a case, an index of a confidence is given to a feature vector of a face, and the class is considered on the basis of the index. Consequently, the statistic analysis of the class for the confidence index is carried out, and the distribution function of the pattern is estimated, and even for the face recognition in which only one registration image can be obtained, it is possible to establish the pattern recognizing mechanism based on the distribution function through the confidence index.
The principle of the face recognition will be described below with regard to a Mahalanobis distance and a discriminant distance based on a within-class distribution and a between-class distribution in a case based on an error distribution.
Suppose that a feature vector v be obtained from the face of a person. The feature vector v (observation vector v) can be represented by the following equation (1) using a real feature vector v0 and an observation error vector ε.
v=v0+ε (1)
Here, if the feature vector v0 is observed two times, as shown in the following equation (2), two observation vectors v1 and v2 are expressed using the two error vectors ε1 and ε2 according to the difference of the observation conditions.
v1=v0+ε1
v2=v0+ε2 (2)
Now, let us suppose that a confidence index θ1 and a confidence index θ2 having relations with the error vector ε1 and the error vector ε2 are respectively obtained and that the posterior distributions are p(ε|θ1, p(ε|θ2) respectively. When a posterior distribution of a difference vector s between observation vectors v1 and v2 under observation of the confidence indexes θ1, θ2 is represented as p(s|θ1, θ2), a similarity d(v1,v2) between feature vectors can be represented by a logarithm likelihood of the posterior distribution as the following equation (3).
d(v1,v2)=−ln p(s|θ1,θ2) (3)
If the posterior distributions p(ε|θ1), p(ε|θ2) are respectively assumed to be normal distributions, the distribution p(s|θ1,θ2) of the difference vector s becomes also the normal distribution. Here, when the posterior distribution of the error vector is assumed to be p(ε|θi) (i=1,2), let us consider a normal distribution of a covariance matrix Σε(θi) and zero mean. In this case, with regard to the distribution of the difference vector s, the mean is 0, and the covariance matrix Σs(θ1, θ2) is represented by the equation (4).
Σs(θ1, θ2)=Σε(θ1)+Σε(θ2) (4)
When it is re-written, the posterior distribution p(ε|θ1, θ2) is represented by the following equation (5).
Thus, the equation (3) can be represented as the adaptive Mahalanobis distances to the confidence indexes θ1, θ2 by using the covariance matrixes Σε(θ1), Σε(θ2) as shown in the following equation (6).
If the independence between the respective elements of the error vector is assumed, the equation (5) is represented by the following equation (7).
Here, σs,k(θ1,θ2)2 is the k-th diagonal element of the covariance matrix Σs(θ1,θ2), in short, the variance of the observation error. Also, σε,k(θ1)2, σε,k(θ2)2 are the k-th diagonal elements of the covariance matrixes Σε(θ1), Σε(θ2), respectively. sk designates the k-th element of the difference vector s.
Since the normal distribution is assumed as mentioned above, the equation (3) can define the similarity from the adaptive Mahalanobis distance for the confidence indexes θ1,θ2, by using the variances σε,k(θ1), σε,k(θ2) for each element of each feature vector, as shown in the following equation (8).
Here, v1,k, v2,k represent the k-th elements of the feature vectors v1, v2, respectively.
In the above-mentioned explanation, although the normal distribution is assumed to be the posterior distribution p(s|θ1,θ2), a mixture normal distribution is assumed in the following explanation. As shown in the following equation (9), let us suppose that the posterior distribution p(s|θ1,θ2) can be represented by the sum of the normal distributions p(s|θ1,θ2,j) (j=1,2, . . . , M).
Thus, the adaptive mixture Mahalanobis distance can be defined by the following equation (10).
The estimation of the covariance matrixes Σs(θ1, θ2, j) of the posterior distributions p(s|θ1, θ2, j) and p(j) can be estimated by using the EM algorithm and the maximum likelihood method that are a typical estimating method. Those details are noted in “Neural Networks for Pattern Recognition”, C. M. Bishop, (Oxford University Express, 1995).
The assumption of the mixture normal distribution enables the distribution to be further accurately approximated, and enables the improvement of a matching performance. However, a large quantity of training data is required, and an operation amount is also greatly increased.
The Mahalanobis distance based on the above-mentioned error distribution is the distance that is superior in the problem such as the face identification for examining the closest face data in the other registered face data to the retrieved face data. On the other hand, the distance referred to as “discriminant distance” be explained below is a better similarity measure than the above-mentioned Mahalanobis distance in face verification. In the face verification problem, it is important whether the input face data should be accepted or rejected in judging the identity between the input face data and the registered face data.
Now, if the two feature vectors v belong to the same category and coincide, namely, for example, if the two feature vectors are extracted from the face of the same person, it is determined that the combination of those feature vectors belongs to a class W. Also, if the two feature vectors v come from the different categories, namely, if the two feature vectors are extracted from the face of different persons, it is determined that the combination belongs to a class B.
Let us suppose that the confidence indexes θ1, θ2 are obtained for the two feature vectors v1, v2. When the difference vector s and the two confidence indexes θ1, θ2 (hereafter, the set of the two confidence indexes is noted as [θ1]) are observed, the discriminant problem between the case when the two feature vectors v1, v2 are deemed coincident and the case when they are deemed inconsistent is considered. In this case, a decision rule of the following equation (11) is obtained.
The left side of the above-mentioned equation (11) can be re-written such as the following equation (12) from the Bays Theorem.
Here, let us suppose that the probabilities of the occurrences of the classes W, B and [θi] are independent, and p(W, [θi])=p(W)p([θi]), and p(B, [θi])=p(B)p([θi]).
If the likelihood of the equation (12) is calculated as the distance d(v1,v2) between the feature vectors, the similarity suitable for the face verification problem can be obtained, as represented by the following equation (13).
If prior probabilities P(W), P(B) are different for each individual matching, and if they can be known, the second item of the equation (13) is desired to be calculated. However, in many cases, since the prior probability can not be known for each individual matching, the prior probability is assumed to be constant, thereby deeming the second item constant, and removing from the calculation of the similarity.
When the posterior distributions p(s|W, [θi]), p(s|B, [θi]) are written as a within-class distribution pW(s|[θi]) and an between-class distribution pB(s|[θi]), respectively, the following equation (14) can be obtained.
Next, if the within-class distribution pW(s|[θi]) and the between-class distribution pB(s|[θi]) are respectively assumed to be the normal distributions of zero-mean and covariance matrixes ΣW([θi]), ΣB([θi]), respectively, the posterior distributions can be represented by the following equation (15), respectively.
When the above-mentioned equation is substituted for the equation (14) (here, the second item of the equation (14) is omitted), the distance indicated in the following equation (16) can be obtained. This is referred to as [Adaptive Discriminant Distance].
If the independence among the respective elements of the difference vector s is assumed, the equation (15) can be represented as the following equation (17).
Here, σW,k(θi)2, σB,k(θi)2 are the k-th diagonal elements of the covariance matrixes ΣW(θi), ΣB(θi), respectively, and in short, correspond to a within-class variance and an between-class variance. sk is the k-th element of the difference vector s.
Since the normal distribution is assumed as mentioned above, the equation (16) can define the similarity from the adaptive discriminant distance for the confidence index [θi], by using the within-class variance σW,k(θi)2 and the between-class distribution σB,k(θi)2 of each element of each feature vector, as shown in the following equation (18).
In the above-mentioned explanation, although the normal distributions are assumed to be the within-class variance σW,k(θi)2 and the between-class distribution σB,k(θi)2, hereafter, a mixture distribution is assumed.
As shown in the following equation (19), as the within-class distribution pW(s|[i]) and the between-class distribution pB(s|[θi]), let us suppose that the posterior distribution can be represented by the sum of the normal distributions pW(s|[θi], jW) (jW=1,2, . . . , MW), pB(s|[θi], jB) (jB=1,2, . . . , MB).
Thus, this logarithm likelihood can be used to introduce the adaptive mixture Mahalanobis distance of the following equation (20).
The estimation of the covariance matrixes ΣW(s|[θi], jW), ΣB(s|[θi], jB) and p(jW), p(jB) of the within-class distribution pW(s|[θi], jW) and the between-class distribution pB(s|[θi], jB) can be estimated by using the maximum likelihood method and the EM algorithm.
The estimation of the mixture distribution enables the distribution to be further accurately approximated, and improve the matching performance. However, the large quantity of training data is required, and the operation cost is also greatly increased.
By further extracting the confidence index for the face feature as mentioned above, the adaptive distance model can be introduced for the confidence index so that the face recognizing mechanism of a high precision can be established. Incidentally, in the above-mentioned description, although the confidence index for the feature vector is not specified as a scalar (consisting of only one component) or a vector (consisting of multiple components), the discussion can be attained in both of the cases, and the multiple elements can be used to expect the improvement of the performance.
As for the specific confidence index, it is necessary to discover the effective confidence index. In the case of the face recognition, the high effect can be obtained by using a contrast index representative of a contrast of an image. In the case of the front face recognition, the high effect can be obtained by using and an asymmetric index representative of the symmetry distortion of a face image induced by an illumination variation and a pose variation. The further improvement of the precision can be achieved by combining those confidence indexes of the vector.
As shown in
Also, the face meta-data generating unit 12 is composed of a face feature extracting unit 121 for extracting a face feature from the input face image, and a confidence index extracting unit 122 for extracting a confidence index from the face image. The face similarity calculating unit 14 is composed of a distribution estimating unit 141 for estimating a parameter data with regard to a posterior distribution from the confidence index, and a distance calculating unit 142 for calculating a distance between the face features from a posterior distribution data from the distribution estimating unit 141 and the face feature. Inside the distribution estimating unit 141, a variance value table 143 for storing a variance value is desired to be prepared. The variance value stored in the variance value table 143 is desired to be calculated in advance and stored in the table 143.
At a time of a registration, the image input unit 11 inputs a face photograph from a scanner or a vide camera after adjusting a size and a position of a face. Or, the face of a person may be directly inputted from the video camera and the like. In this case, the face detecting technique as indicated in the document of the above-mentioned Moghaddam may be used to detect a face position of the input image and automatically normalize the size of the face image and the like.
Also, the input face image is related with a face meta-data or an ID, as necessary, and registered in the face image database 15. Simultaneously with a face image registration, the face meta-data is generated by the face meta-data generating unit 12 and stored in the face meta-data storing unit 13.
At a time of a retrieval, similarly, the face image is inputted from the face image input unit 11, and the face meta-data is generated by the face meta-data generating unit 12. The generated face meta-data is once registered in the face meta-data storing unit 13 or directly sent to the face similarity calculating unit 14. In the retrieval, in the case of the face identification, namely, if it is checked whether or not the preliminarily input face image is stored in the database, the similarity to each of the data registered in the face meta-data storing unit 13 is calculated. On the basis of the face meta-data or the ID corresponding to the result of the highest similarity, namely, the result of the smallest distance value, the control unit 16 selects the face image from the face image database 15, and controls the displaying unit 17 so as to display the face image. A worker checks the identity of the face in the retrieval image and the registration image.
On the other hand, in the case of a face verification, namely, if it is checked whether or not the face image preliminarily specified on the basis of the ID number and the face image of the retrieval are coincident, the face similarity calculating unit 14 calculates whether or not it is coincident with the face image of the specified ID number. If the similarity is lower than a predetermined similarity, namely, the distance value is greater, it is judged to be inconsistent, and if the similarity is higher, it is judged to be coincident. The control unit 16 controls the displaying unit 17 so as to display that result.
If this system is used for a room entry management, instead of the displaying of the face similarity, the control unit 16 enables the automatic door to be controlled for the room entry management by sending the open/close control signal to an automatic door.
Although the face image matching system is operated as mentioned above, such an operation can be also attained on a computer system. For example, as detailed below, a meta-data generating program for executing a meta-data generation and a similarity calculating program for executing a similarity calculation are stored in a recording medium 20, and it is read out to store in a memory (not shown), and they are respectively executed by a program control processor (not shown). Consequently, the face image matching system can be attained.
The operation of this face image matching system, especially, the face meta-data generating unit 12 and the face similarity calculating unit 14 will be explained below in detail.
(1) Face Meta-Data Generation
The face feature extracting unit 121 of the face meta-data generating unit 12 receives an (face) image I(x,y) (step S1). The face meta-data generating unit 12 uses an image I(x,y) in which a position and a size are normalized, (step S2), and extracts face features (step S3). The extracted face features are outputted to the face meta-data storing unit 13 (step S4). As for the normalization of the position and the size, the image may be normalized, for example, in such a way that an eye position is (16,24), (31,24) and a size has 46×56 pixels. Hereafter, the case when the image is normalized to this size is explained.
As the face feature, a so-called eigen-face method (the paper of the above-mentioned Moghaddam) is used to extract the feature in the step S3.
In this way, other than the generally used eigen-face method, the method that is a combination between the discriminant analysis and the principal component analysis (the paper of the above-mentioned W. Zhao) may be used specify the subset of basis vectors.
Also, in the step S32 the face feature may be extracted by using a matrix U (=aUn+bUm) as the basis matrix, which is obtained by a linear combination of a basis matrix Un and a basis matrix Um. Here, the basis matrix Un is specified by a subset of basis vector selected from the basis vectors obtained by the discriminant analysis or the principal component analysis as mentioned above. Also, the basis matrix Um is specified by a subset of flipped basis vectors, in which the element of the basis vector is exchanged so as to correspond to the conversion of the pixel values in which the face image is flipped between the left and the right. For example, supposing that a=b=1, as for the obtained feature vector, only the component symmetrical with respect to the conversion between the left and the right can be extracted in an input image space. Since the face is originally symmetrical, the image component, which is made asymmetrical by the influence of illumination, and the asymmetrical component induced since the orientation of the face do not face a front, originally corresponds to noise. Hence, by removing this and extracting only the symmetrical component, the extracted face feature becomes stable to the variation of the illumination and the pose.
Also, in the step S3 the image may be transformed by Fourier transformation, and the vector which consists of the amplitude of the respective components of the obtained complex Fourier-components as the elements may be calculated as the pattern vector Λ, and the face feature may be extracted using the pattern vector Λ. In this way, by Fourier transformation for the image, the face feature strong for position displacement can be extracted. In this way, the face feature extracting unit 121 extracts the face feature v.
As shown in
Here, the round ( ) denotes the rounding process of the numeral values. The extracted contrast index θcontrast is clipped in a range of 4 bit integer, that is, [0, 1, 2, . . . , 15]. In the above-mentioned description, although the standard deviation of the image is used as the contrast index, the variance and the difference between the maximum value and the minimum value of the pixel values in the image may be extracted.
As the asymmetrical index θasymmetric, the average of absolute values (the first power) of differences between the face image I(x,y) and its flipped face image is extracted by the following equation (22).
The extracted confidence index θasymmetric is clipped in the range of 4 bit integer, that is [0, 1, 2, . . . , 15]. Although, in the above-mentioned case, the mean (of the first power) of the absolute difference (MAD) of the image is used as the asymmetric index, the mean of the square difference (MSD) may be used. Also, instead of the mean [the sum] of the absolute difference and the mean of the square difference, the sum of the absolute difference and the sum of the square difference, can also be used. Also, if the maximum value of the differences is detected to use its value as the asymmetric index, the operation cost becomes small.
The confidence index extracting unit 122 extracts the feature vector v, the confidence index θcontrast and the confidence index θasymmetric for the face image, and outputs as the face meta-data. As mentioned above, the computer program can instruct the computer to execute the above-mentioned face meta-data generating procedure.
(2) Face Similarity Calculation
Here, the case when the similarity of the face is calculated by using the equation (8) or the equation (18) is explained.
The confidence indexes θ1, θ2 represented in the equation (8) or the equation (18) are the vectors in this embodiment, and the respective elements are θ1=(θcontrast,1, θasymmetric,1)T, θ2=(θcontrast,2, θasymmetric,2)T. Since the contrast indexes and the asymmetric indexes are represented as 4 bit, respectively, the states at which the θi can be set are 256 states. One state among the 256 states can be specified by the given confidence index θi.
The distribution estimating unit 141 stores in the table (such as the variance value table 143) the variance value σε,k(θ), the variance value σW,k(θ) and the variance value σB,k(θ) of the difference vector with respect to the preliminarily obtained confidence indexes è (having the 256 states), as described later, and by using the confidence indexes, θ1, θ2 and referring to the values of the respective variance value tables obtains the variance values as the posterior distribution data (step S12). The distribution estimating unit 141 passes the obtained variance values as the posterior distribution data to the distance calculating unit 142 (step S13). In the case of the face identification, the values of the variance value σε,k(θ1) and the variance value σε,k(θ2) needed in the equation (8) may be outputted to the distance calculating unit 142. In the case of the face verification, the variance value σW,k(θ), and the variance value σB,k(θ) needed in the equation (18) are outputted.
The distance calculating unit 142 receives the two feature vectors v1, v2 (step S14) and calculates the adaptive Mahalanobis distance or the adaptive discriminant distance in accordance with the equation (8) or the equation (18), and outputs as the similarity d (step S15).
The variance values of the above-mentioned variance value table are calculated by using preliminarily prepared face image data samples. From the feature vector set [vi] in face image samples and its confidence index set [θi], the respective variance values can be calculated as follows.
Here, the case that “(i,j) belongs to the class W” implies that the data i and the data j are in the same class, namely, it is the data obtained from the same person and is in the within-class, and the case that “(i,j) belongs to the class B” implies that the data i and the data j are in different classes, namely, it is the data obtained from the different person and is in the between-class. Also, Nε(θ), NW(θ) and NB(θ) are the numbers of the combinations of the data belonging to the respective classes. When the variance value is calculated for each bin of θ in this way, if the number of the data is excessively small, the data of neighboring bins are merged, thereby trying to reserve the number of the samples. This is the method similar to that when the bins are merged by using a k neighboring method (the document of the above-mentioned, Bishop, pp. 53) in the distribution estimation.
Here, in the case of the equation (18), similarly to the equation (4), attention should be paid to the fact of σW,k([θi])2=σW,k(θ1)2+σW,k(θ2)2 and σB,k([θi])2=σB,k(θ1)2+σB,k(θ2)2.
Here, since the error variance σε,k(θ)2 and the within-class variance σW,k(θ)2 become same, when the face image matching system calculates both of the distances in the equation (8) and the equation (18), it is allowable to share those variance value table.
Also, since there is a strong correlation between a the error distribution and the between-class distribution in many cases, even if the between-class variance σB,k(θ)2 is used instead of the error distribution σε,k(θ)2, the precision is improved over the case when the confidence index is not used. However, the usage of the error distribution provides the better precision.
In this way, the similarity between the face meta-data is calculated by using the posterior distribution data through the confidence index θcontrast and the confidence index θasymmetric, thereby enabling the execution of the face verification of the excellent precision. As mentioned above, the computer program can instruct the computer to execute the above-mentioned face similarity calculating procedure.
Here, although the equation (8) and the equation (18) are used to calculate the similarity, it can be approximately calculated by using the various calculating methods such as the following equations (25), (26), thereby attaining the higher speed and the like.
By omitting the calculation of the second term (the term including in) on the right side in each of the above-mentioned equations, the much higher speed operation can be attained.
Also, even if the equation (6) and the equation (16) are used to calculate the similarity, basically similarly, from the preliminarily prepared face image data samples, the covariance matrix Σε(θ) of the error in the difference vector, the covariance matrix ΣW(θ) of the within-class of the difference vector, and the covariance matrix ΣB(θ) of the between-class, which are necessary for the respective calculations, are calculated and prepared as the covariance tables, and that covariance tables may be referred at the time of the similarity calculation. Since this method calculates the distance by using the covariance matrixes, the operation cost is increased. However, if there is the sufficient training samples, the precision of the similarity calculation can be improved.
By assuming the mixture normal distribution for the between-class distribution and the between-class distribution of the equation (14) and the posterior distribution of the equation (3) and estimating the distribution function, it is allowable to calculate the adaptive mixture Mahalanobis distance and the adaptive mixture discriminant distance in the respective equation (10) and equation (20). Also in this case, similarly to the calculation of the posterior distribution data based on the usage of the variance and the covariance matrix, the parameter to specify the mixture distribution of the covariance matrix Σs(θ1,j) representative of the mixture normal distribution, p(j) and the like from the face image data samples may be determined and stored as the table. As for this estimation, it may be estimated by using the EM algorithm and the maximum likelihood method.
In the explanation until now, the case when one image of a face is registered and the retrieval is done by using the one image of the face is explained. However, the case when multiple images are registered for a face of one person and the retrieval is done by using one image of a face, for example, it may be done as follows. That is, the feature vector on the retrieving side is assumed to be vque, and the feature vector on the registering side is assumed to be vreg,k, and the similarity in the case when the multiple images are registered is assumed to be dmulti(vque, [vreg,1, vreg,2, . . . , vreg,n]). Then, the similarity may be calculated on the basis of the calculating equations shown in the following equations (27, 28).
Similarly, in the case when multiple images are used per face for both registration and retrieval, the similarity to one face data can be calculated by determining the average and/or the minimum value of the similarities in the combinations of the face features and calculating the similarity between faces. This implies that since the dynamic image is deemed to be the multiple images, the matching system of the present invention can be applied even to the face verification in the dynamic image.
In addition to the face identification and the face verification for person identity as above explanation the present invention can be applied to sex recognition, face expression recognition, age recognition, and other various face recognition systems. For example, the sex recognition to recognize the face between the males and the females may be performed by considering faces of males and faces of females as respective categories and by obtaining data with regard to the respective distributions. Similarly, the face expression recognition to recognize the expression of the face may be performed by considering the categories of the expressions such as smile faces, angry faces, sorrowful faces or the like. The age recognition may be performed by setting the categories such as teens, twenties, thirties and forties, and determining the error distribution, the within-class distribution and the between-class distribution for each category.
As explained above in detail, according to the present invention, the confidence index to represent the confidence is added to the face feature, and it is generated as the face meta-data, thereby enabling the introduction of the adaptive distance through the confidence index. The adaptive distance makes it possible to achieve the high performance face recognition.
Number | Date | Country | Kind |
---|---|---|---|
2001-381530 | Dec 2001 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP02/13114 | 12/16/2002 | WO | 00 | 2/26/2004 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO03/052690 | 6/26/2003 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5410609 | Kado et al. | Apr 1995 | A |
5710833 | Moghaddam et al. | Jan 1998 | A |
6067369 | Kamei | May 2000 | A |
6108437 | Lin | Aug 2000 | A |
6111978 | Bolle et al. | Aug 2000 | A |
6151403 | Luo | Nov 2000 | A |
6292575 | Bortolussi et al. | Sep 2001 | B1 |
6611613 | Kang et al. | Aug 2003 | B1 |
6633655 | Hong et al. | Oct 2003 | B1 |
6681032 | Bortolussi et al. | Jan 2004 | B2 |
Number | Date | Country |
---|---|---|
5-20442 | Jan 1993 | JP |
8-249447 | Sep 1996 | JP |
10-55412 | Feb 1998 | JP |
10-177650 | Jun 1998 | JP |
11-306325 | Nov 1999 | JP |
2000-30065 | Jan 2000 | JP |
2000-30066 | Jan 2000 | JP |
2000-99722 | Apr 2000 | JP |
2000-132675 | May 2000 | JP |
2000-187733 | Jul 2000 | JP |
2000-306095 | Nov 2000 | JP |
2001-307096 | Nov 2001 | JP |
2001-338293 | Dec 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20040197013 A1 | Oct 2004 | US |