CN101329724A - Optimized human face recognition method and apparatus - Google Patents

Optimized human face recognition method and apparatus Download PDF

Info

Publication number
CN101329724A
CN101329724A CNA2008100411056A CN200810041105A CN101329724A CN 101329724 A CN101329724 A CN 101329724A CN A2008100411056 A CNA2008100411056 A CN A2008100411056A CN 200810041105 A CN200810041105 A CN 200810041105A CN 101329724 A CN101329724 A CN 101329724A
Authority
CN
China
Prior art keywords
matrix
pca
lda
class
training sample
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100411056A
Other languages
Chinese (zh)
Other versions
CN101329724B (en
Inventor
郭凤
周贤君
胡金演
倪丽佳
吴旭
王裕友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI TIANGUAN TV TECHNOLOGY INSTITUTE
University of Shanghai for Science and Technology
Original Assignee
SHANGHAI TIANGUAN TV TECHNOLOGY INSTITUTE
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI TIANGUAN TV TECHNOLOGY INSTITUTE, University of Shanghai for Science and Technology filed Critical SHANGHAI TIANGUAN TV TECHNOLOGY INSTITUTE
Priority to CN2008100411056A priority Critical patent/CN101329724B/en
Publication of CN101329724A publication Critical patent/CN101329724A/en
Application granted granted Critical
Publication of CN101329724B publication Critical patent/CN101329724B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses an optimized face recognition method and a device thereof, which improve the rate of facial image recognition. The technical proposal is that: the method and the device combine principal component analysis and linear discriminant analysis to solve the recognition problem; namely, the principal component analysis is carried out first before the conduction of the linear discriminant analysis so as to obtain relatively low dimensional space, then the space is utilized to carry out the linear discriminant analysis, and therefore, an intra-class dispersion matrix can not be caused and the process of the linear discrimination is effective. The invention firstly adopts the principal component analysis to obtain the best feature description, based on which, optimum identifying features are obtained by adopting the linear discriminant analysis, thereby greatly reducing the space dimension of facial features; finally, a minimum distance method is adopted to carry out classification and identification and therefore the rate of recognizing human faces is evidently increased. The method and the device of the invention are applied to face recognition.

Description

A kind of face identification method of optimization and device
Technical field
The present invention relates to a kind of optimization of face recognition algorithms, relate in particular to face identification method and device in conjunction with principal component analysis (PCA) in the recognition of face (PCA) and linear discriminant analysis (LDA).
Background technology
Along with the development and the development of technology of society, the lifting at full speed of the soft hardware performance of computing machine especially in recent years, each side is urgent day by day to the requirement of rapidly and efficiently auto authentication.Biological identification technology has been obtained great attention and development at scientific research field.Because biological characteristic is people's a inherent attribute, has very strong self stability and individual difference, be the most desirable foundation of authentication therefore.Wherein, utilizing face characteristic to carry out authentication is again the most direct means, with fingerprint, iris, other human body living creature characteristic recognition systems such as palmmprint are compared, face identification system is friendly more, convenient, be easy to be accepted by the user, wide application is arranged, for example may be used on the public security monitoring of deploying to ensure effective monitoring and control of illegal activities, the prison monitoring, judicial authentication, civil aviaton's safety check, entry and exit of the port control, customs's authentication, bank's authentication, smart identity cards, intelligent entrance guard, intelligent video monitoring, the intelligence access and exit control, the checking of driver's driving license, all kinds of bank cards, fiscard, credit card, deposit card holder's authentication, many aspects such as social insurance authentication, can also be applied to aspects such as medical treatment and video conference, show its great vitality.Recognition of face (Face Recognition) is to utilize the Computer Analysis facial image, and the extract effective identifying information is used for distinguishing a special kind of skill of identity.After promptly the known person face being carried out standardization, by someway with database in people's face sample compare, seek the relevant information of corresponding people's face and this people's face in the storehouse.
Face recognition technology comprises the detection of people's face, the pre-service of people's face, feature extraction and recognition of face.How effective feature extraction is important the dealing with problems of recognition of face with identification.
These two kinds of methods of principal component analysis (PCA) (PCA) and linear discriminant analysis (LDA) are arranged in traditional face recognition technology.
The thought source of principal component analysis (PCA) (PCA) is in Karhunen-Loeve transformation, and purpose is to seek the bases of the unit orthogonal vector of one group of optimum as the subspace, rebuilds former sample with their linear combination then, and to make under this meaning that is reconstituted in the square error minimum be optimum; The image-region that is about to whole people's face is regarded a kind of random vector as, the high dimension vector that will characterize people's face by Karhunen-Loeve transformation is mapped in the subspace of being opened by the several features vector, utilizes the linear combination of these eigenface to describe, expresses and approach facial image.
The parameter that relates generally in principal component analysis (PCA) is as follows: the different people of the known c of having class, every class people has N respectively i(i=1,2 ..., c) width of cloth facial image, then always total N = Σ i = 1 c N i Width of cloth training image promptly has N known sample of c class, and every class has N i(i=1,2 ..., c) width of cloth facial image, i.e. N 1Individual sample belongs to X 1Class, N 2Individual sample belongs to X 2Class, N iIndividual sample belongs to X iClass, X iIt is i class sample set.If every width of cloth facial image is w * h pixel, at first it is expanded into the column vector that n=w * h ties up by row or column, then N sample can simply be expressed as: x i(i=1,2 ..., N).
The average face of training sample set is defined as: m = 1 N Σ i = 1 N x i (formula 1)
Vector x after the training sample centralization i: x i=x i-m (formula 2)
The covariance matrix C of training sample: C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T (formula 3)
The concrete step of principal component analysis (PCA) is:
(1) each width of cloth image stretching is become delegation's (or row) vector, constitute the facial image matrix, try to achieve the average face and the centralization of image then, obtain the covariance matrix of sample at last, promptly formula 3.
(2) calculate eigenwert and the proper vector of covariance matrix C, press nonzero eigenvalue λ iOrder from big to small is with characteristic of correspondence vector u iArrange, preceding k the eigenvectors matrix of being formed is eigenface space (projection matrix) U, and each of U is classified proper vector a: U=[u as 1, u 2..., u k].
(3) with the training image x after each width of cloth centralization iProject to projector space, obtain its respective projection coefficient, form the projection coefficient matrix W i=U TX, x=[x 1, x 2..., x N], this moment, the facial image of n dimension just became the k dimension after projection originally, had reached the effect of dimensionality reduction.
(4) y will be obtained after each width of cloth test sample book centralization j=y j-m also projects to projector space, obtains the projection coefficient matrix W 2=U TY, y=[y 1, y 2..., y M], M is the test sample book number, differentiates with minimum Eustachian distance at last.
From the effect of principal component analysis (PCA), principal component analysis (PCA) is based on the lowest mean square criterion, makes the energy minimum of image impairment, the error minimum between reconstructed image and the original image, and it has best expression ability, but does not have best distinguishing ability.Principal component analytical method is that statistics is optimum, square error minimum before and after its feasible compression, and the data component (being pivot) that keeps variance maximum in the former sample, this makes the lower dimensional space after the conversion that good expression ability be arranged, but the training of principal component analysis (PCA) is non-supervision, promptly can't utilize the classification information of training sample, does not consider in the class and the problem between class, but, there is not best distinguishing ability the utilization of putting together of whole samples.
Linear discriminant analysis is that the separability with sample is preferably target, attempts to seek dispersion minimum in the class that one group of linear transformation makes every class, and makes dispersion maximum between class, has best distinguishing ability.Be after sample projects to this linear change space, the sample of same item is gathered as far as possible, inhomogeneous sample as far as possible separately.
The parameter that linear discriminant analysis relates generally to is as follows:
I class sample average is: m i = 1 N i Σ x ∈ X i x (formula 4)
The within class scatter matrix S of sample w: S w = 1 N Σ i = 1 c Σ j = 1 N i ( x ij - m i ) ( x ij - m i ) T (formula 5)
Dispersion matrix S between the class of sample b: S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T (formula 6)
Linear discriminant analysis is sought an optimum linearity conversion W exactly and is made dispersion minimum in the class, and dispersion maximum between class promptly satisfies: W = arg max w | W T S b W | | W T S w W | ; W can be by separating generalized eigenvalue problem S bW=S wW Λ tries to achieve.As within class scatter matrix S wWhen nonsingular, the column vector of optimum linearity conversion W is S w -1S bProper vector, this group vector be also referred to as optimum discriminant vector collection.
It is normally unusual that yet the problem that can run into when practical application is exactly the sample within class scatter matrix, this be because the sample number of training sample often less than sample number of pixels that each sample comprised, for example in the ORL face database, the pixel of its facial image is 112 * 92, be converted into vector representation later on just up to 10304 dimensions, and the sample number of training is usually much smaller than this number, so, recognition of face under normal circumstances always runs into one " small sample ", cause within class scatter matrix unusual, linear discriminant analysis just can not directly be used like this.
Summary of the invention
The object of the present invention is to provide a kind of face identification method of optimization, improved the discrimination of facial image.
Another object of the present invention is to provide a kind of face identification device of optimization, improved the discrimination of facial image.
Technical scheme of the present invention is: the present invention has disclosed a kind of face identification method of optimization, and principal component analysis (PCA) and linear discriminant analysis are combined, and this method comprises:
(1) with the training sample set x of facial image i, i=1,2 ... N, after the centralization, according to formula C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T Calculate covariance matrix C, wherein N is the sum of training sample, x iBe the vector after the training sample centralization, m is the average face of training sample set;
(2) m the eigenvalue of maximum characteristic of correspondence vector of calculating covariance matrix C, this m proper vector formed the principal component analysis (PCA) projection matrix: W pca = [ W 1 pca , . . . , W 2 pca , . . . , W m pca ] , M≤N-c wherein, c are the different people's that concentrates of this training sample number;
(3) utilize this principal component analysis (PCA) projection matrix, the facial image space is converted into the eigenface space of dimensionality reduction, the best that obtains facial image is described feature: y i = ( y 1 i , y 2 i , . . . , y m i ) T = W pca T ( x i - m ) , i=1,2,...N;
(4) calculate by y 1.., y i... y NScatter matrix S in the class that constitutes wAnd scatter matrix S between class b
(5) compute matrix S w -1S bK eigenvalue of maximum characteristic of correspondence vector W 1 Lda..., W i Lad... W k Lda, wherein k is a matrix S w -1S bThe number of eigenvalue of maximum, constitute the linear discriminant analysis projection matrix by this k eigenvalue of maximum characteristic of correspondence vector W lda = [ W 1 lda , . . . , W 2 lda , . . . , W k lda ] ;
(6) utilize the linear discriminant analysis projection matrix that this further dimensionality reduction in eigenface space is differentiated the space to k dimension the best, obtain the optimal classification feature of facial image: z i = ( z 1 i , z 2 i , . . . , z k i ) = W lda T y i , I=1 wherein, 2 ... N;
(7) calculate transition matrix W=W PcaW Lda, with as last projecting direction;
(8) test sample book and training sample are projected to transition matrix W respectively, obtain projection coefficient separately;
(9) differentiate according to minimum Eustachian distance.
The face identification method of above-mentioned optimization, wherein, in step (1), the centralization of training sample further comprises:
The average face of calculation training sample set: m = 1 N Σ i = 1 N x i ;
Vector x after the calculation training center of a sampleization i: x i=x i-m.
The face identification method of above-mentioned optimization, wherein, step (4) further comprises:
Calculating i class sample average is: m i = 1 N i Σ y ∈ Y i y ;
Calculating is by y 1.., y i... y NScatter matrix S in the sample class that constitutes w: S w = 1 N Σ i = 1 c Σ j = 1 N i ( y ij - m i ) ( y ij - m i ) T ;
Scatter matrix S between the class of calculating sample b: S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T .
The present invention has also disclosed a kind of face identification device of optimization, and principal component analysis (PCA) and linear discriminant analysis are combined, and this device comprises:
The covariance matrix computing module is with the training sample set x of facial image i, i=1,2 ... N, after the centralization, according to formula C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T Calculate covariance matrix C, wherein N is the sum of training sample, x iBe the vector after the training sample centralization, m is the average face of training sample set;
Principal component analysis (PCA) projection matrix computing module, m the eigenvalue of maximum characteristic of correspondence vector of calculating covariance matrix C, this m proper vector formed the principal component analysis (PCA) projection matrix: W pca = [ W 1 pca , . . . , W 2 pca , . . . , W m pca ] , M≤N-c wherein, c are the different people's that concentrates of this training sample number;
The eigenface space obtains module, and the principal component analysis (PCA) projection matrix that utilizes this principal component analysis (PCA) projection matrix computing module to obtain is converted into the eigenface space of dimensionality reduction with the facial image space, and the best that obtains facial image is described feature: y i = ( y 1 i , y 2 i , . . . , y m i ) T = W pca T ( x i - m ) , i=1,2,...N;
The scatter matrix computing module calculates by y 1..., y i... y NScatter matrix S in the class that constitutes wAnd scatter matrix S between class b
Linear discriminant analysis projection matrix computing module, compute matrix S w -1S bK eigenvalue of maximum characteristic of correspondence vector W 1 Lda..., W i Lda... W k Lda, wherein k is a matrix S w -1S bThe number of eigenvalue of maximum, constitute the linear discriminant analysis projection matrix by this k eigenvalue of maximum characteristic of correspondence vector W lda = [ W 1 lda , . . . , W 2 lda , . . . , W k lda ] ;
The best space of differentiating obtains module, utilizes the linear discriminant analysis projection matrix that this further dimensionality reduction in eigenface space is differentiated the space to k dimension the best, obtains the optimal classification feature of facial image: z i = ( z 1 i , z 2 i , . . . , z k i ) = W lda T y i , I=1 wherein, 2 ... N;
The transform matrix calculations module is calculated transition matrix W=W PcaW Lda, with as last projecting direction;
The projection coefficient computing module projects to transition matrix W respectively with test sample book and training sample, obtains projection coefficient separately;
Discrimination module is differentiated according to minimum Eustachian distance.
The face identification device of above-mentioned optimization, wherein, this covariance matrix computing module also comprises:
Training sample centralization unit further comprises:
The average face computing unit, the average face of calculation training sample set: m = 1 N Σ i = 1 N x i ;
The centralization vector calculation unit, the vector x after the calculation training center of a sampleization i: x i=x i-m.The face identification device of above-mentioned optimization, wherein, the scatter matrix computing module further comprises:
The sample average computing unit, calculate i class sample average and be: m i = 1 N i Σ y ∈ Y i y ;
Scatter matrix computing unit in the class calculates by y 1.., y i... y NScatter matrix S in the sample class that constitutes w: S w = 1 N Σ i = 1 c Σ j = 1 N i ( y ij - m i ) ( y ij - m i ) T ;
Scatter matrix computing unit between class, scatter matrix S between the class of calculating sample b: S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T .
The present invention contrasts prior art following beneficial effect: because linear discriminant analysis is owing to the within class scatter matrix singular problem causes, utilization of the present invention combines principal component analysis (PCA) and linear discriminant analysis and addresses this problem, promptly before carrying out linear discriminant analysis, carry out principal component analysis (PCA) earlier, obtain the space of relative low-dimensional, the then enterprising line linearity discriminatory analysis in this space again, unusual and the linear discriminant process is effective with regard to not causing within class scatter matrix like this.Traditional linear discriminant analysis makes dispersion maximum between the class of the sample after the projection and dispersion minimum in the class, that is to say that the sample of sample same item on new space gathers together after the projection, and inhomogeneous sample then separates, and has good separation property.And traditional principal component analysis (PCA) is the data component that keeps variance maximum in the former sample, so the former sample of expression that principal component analysis (PCA) can be best has best expression ability, but does not have distinguishing ability.The present invention at first adopts principal component analysis (PCA) to obtain the best feature of describing, and then adopt linear discriminant analysis to obtain best diagnostic characteristics on this basis, thereby greatly reduce the dimension in face characteristic space, adopt minimum distance method to carry out Classification and Identification at last, significantly improved the discrimination of facial image.
Description of drawings
Fig. 1 is the process flow diagram of preferred embodiment of the face identification method of optimization of the present invention.
Fig. 2 is the block diagram of preferred embodiment of the face identification device of optimization of the present invention.
Fig. 3 is the block diagram of the preferred embodiment of scatter matrix computing module of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Main thought of the present invention is that principal component analysis (PCA) and linear discriminant analysis are combined, and Fig. 1 shows the flow process of preferred embodiment of the face identification method of optimization of the present invention, sees also Fig. 1, is the detailed description to each step in the method below.
Step S100: calculation training sample set x i, i=1,2 ... the average face m of N: m = 1 N Σ i = 1 N x i . Wherein N is the sample size that training sample is concentrated.
Step S101: the vector x after the calculation training center of a sampleization i: x i=x i-m.
Step S102: calculate covariance matrix: C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T .
Step S103: calculate m the eigenvalue of maximum characteristic of correspondence vector of covariance matrix C, form principal component analysis (PCA) (PCA) projection matrix by this m proper vector: W pca = [ W 1 pca , . . . , W 2 pca , . . . , W m pca ] , Wherein m≤N-c forms this training sample set by different people's facial image, and c is the classification number of facial image.
Step S104: utilize this principal component analysis (PCA) projection matrix, the facial image space is converted into the eigenface space of dimensionality reduction, the best that obtains each width of cloth facial image is described feature: y i = ( y 1 i , y 2 i , . . . , y m i ) T = W pca T ( x i - m ) , i=1,2,..N。
Step S105: calculate by y 1.., y i... y NScatter matrix S in the class that constitutes wAnd scatter matrix S between class b
Scatter matrix S in the compute classes wAnd scatter matrix S between class bDetailed process be:
The first step: calculating i class sample average is: m i = 1 N i Σ y ∈ Y i y ;
Second step: calculate by y 1.., y i... y NScatter matrix S in the sample class that constitutes w: S w = 1 N Σ i = 1 c Σ j = 1 N i ( y ij - m i ) ( y ij - m i ) T ;
The 3rd step: scatter matrix S between the class of calculating sample b: S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T .
Step S106: compute matrix S w -1S bK eigenvalue of maximum characteristic of correspondence vector W 1 Lda..., W i Lda... W k Lda, wherein k is a matrix S w -1S bThe number of eigenvalue of maximum, constitute the linear discriminant analysis projection matrix by this k eigenvalue of maximum characteristic of correspondence vector W lda = [ W 1 lda , . . . , W 2 lda , . . . , W k lda ] .
Step S107: utilize the linear discriminant analysis projection matrix that this further dimensionality reduction in eigenface space is differentiated the space to k dimension the best, obtain the optimal classification feature of facial image: z i = ( z 1 i , z 2 i , . . . , z k i ) = W lda T y i , I=1 wherein, 2 ... N.
Step S108: calculate transition matrix W=W PcaW Lda, with as last projecting direction.
Step S109: test sample book and training sample are projected to transition matrix W respectively, obtain projection coefficient separately.
Step S110: differentiate according to minimum Eustachian distance.
Training sample in the present embodiment and test sample book can derive from the ORL storehouse, and this ORL storehouse is the facial image database that is used to test face recognition algorithms that Cambridge University's Bell Laboratory was made in 1994.This database comprises everyone 10 width of cloth images that 40 people take at different time, the image of totally 400 256 gray levels, and size is 112 * 92.Facial image in the ORL database is the front elevation picture, and tilt variation and rotation change are about 20%, and dimensional variation is about 10%.The background light of facial image has certain variation in addition, the expression of people's face also different (comprising and open eyes and close one's eyes, smile and do not laugh at that the image when wearing glasses and not wearing glasses is arranged).
Corresponding to above-mentioned method embodiment, the present invention also provides a kind of face identification device of optimization, and this same device also is to combine principal component analysis (PCA) and linear discriminant analysis, and Fig. 2 shows the preferred embodiment of face identification device.See also Fig. 2, the embodiment of device comprises that covariance matrix computing module 10, principal component analysis (PCA) projection matrix computing module 11, eigenface space obtain module 12, scatter matrix computing module 13, linear discriminant analysis projection matrix computing module 14, best space acquisition module 15, transform matrix calculations module 16, projection coefficient computing module 17, the discrimination module 18 differentiated.
Covariance matrix computing module 10 is with the training sample set x of facial image i, i=1,2 ... N after the centralization, calculates covariance matrix: C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T , Wherein N is the sum of training sample, x iBe the vector after the training sample centralization.Also comprise training sample centralization unit 100 in the covariance matrix computing module 10, in training sample centralization unit 100, further comprise average face computing unit 1000 and centralization vector calculation unit 1001.The average face of average face computing unit 1000 calculation training sample sets: m = 1 N Σ i = 1 N x i . Vector x after the centralization vector calculation unit 1001 calculation training center of a sampleization i: x i=x i-m.
Principal component analysis (PCA) projection matrix computing module 11 calculates m the eigenvalue of maximum characteristic of correspondence vector of covariance matrix C, and this m proper vector formed the principal component analysis (PCA) projection matrix: W pca = [ W 1 pca , . . . , W 2 pca , . . . , W m pca ] , M≤N-c wherein, c are the different people's that concentrates of this training sample number.The eigenface space obtains the principal component analysis (PCA) projection matrix that module 12 utilizes this principal component analysis (PCA) projection matrix computing module to obtain, and the facial image space is converted into the eigenface space of dimensionality reduction, obtains projection coordinate's vector of each width of cloth facial image: y i = ( y 1 i , y 2 i , . . . , y m i ) T = W pca T ( x i - m ) , i=1,2,...N。
Scatter matrix computing module 13 calculates by y 1.., y i... y NScatter matrix S in the class that constitutes wAnd scatter matrix S between class bScatter matrix computing unit 132 between scatter matrix computing unit 131, class in as shown in Figure 3 be divided into sample average computing unit 130 of scatter matrix computing module 13, the class.Wherein sample average computing unit 130 calculating i class sample averages are: m i = 1 N i Σ y ∈ Y i y . Scatter matrix computing unit 131 calculates by y in the class 1.., y i... y NScatter matrix S in the sample class that constitutes w: S w = 1 N Σ i = 1 c Σ j = 1 N i ( y ij - m i ) ( y ij - m i ) T . Scatter matrix S between the class of scatter matrix computing unit 132 calculating samples between class b: S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T .
Linear discriminant analysis projection matrix computing module 14 compute matrix S w -1S bK eigenvalue of maximum characteristic of correspondence vector W 1 Lda..., W i Lda... W k Lda, wherein k is a matrix S w -1S bThe number of eigenvalue of maximum; Constitute the linear discriminant analysis projection matrix by this k eigenvalue of maximum characteristic of correspondence vector W lda = [ W 1 lda , . . . , W 2 lda , . . . , W k lda ] . The best space acquisition module 15 of differentiating utilizes the linear discriminant analysis projection matrix that this further dimensionality reduction in eigenface space is differentiated the space to k dimension the best, obtains z i = ( z 1 i , z 2 i , . . . , z k i ) = W lda T y i , I=1 wherein, 2 ... N.Transform matrix calculations module 16 is calculated transition matrix W=W PcaW Lda, with as last projecting direction.Projection coefficient computing module 17 projects to transition matrix W respectively with test sample book and training sample, obtains projection coefficient separately.Differentiate according to minimum Eustachian distance by discrimination module 18 at last.
Principal component analysis (PCA) is a kind of simple, practical algorithm based on coefficient in transform domain, it is optimum from the angle of compression energy, it not only makes the square error minimum before and after the dimensionality reduction, and the lower dimensional space after the conversion has good people's face to represent ability, but do not have good people's face distinguishing ability.Linear discriminant analysis is the separability from sample, and purpose is exactly will find a space that sample is projected to best separability is arranged on this space afterwards, but usually can run into " small sample " problem in actual applications.The present invention combines principal component analysis (PCA) and linear discriminant analysis exactly, when solving small sample problem, has also improved the discrimination of people's face, is a kind of extraordinary face identification method.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.

Claims (6)

1, a kind of face identification method of optimization combines principal component analysis (PCA) and linear discriminant analysis, and this method comprises:
(1) with the training sample set x of facial image i, i=1,2 ..N is after the centralization, according to formula C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T Calculate covariance matrix C, wherein N is the sum of training sample, x iBe the vector after the training sample centralization, m is the average face of training sample set;
(2) m the eigenvalue of maximum characteristic of correspondence vector of calculating covariance matrix C, this m proper vector formed the principal component analysis (PCA) projection matrix: W pca = [ W 1 pca , . . . , W 2 pca , . . . , W m pca ] , M≤N-c wherein, c are the different people's that concentrates of this training sample number;
(3) utilize this principal component analysis (PCA) projection matrix, the facial image space is converted into the eigenface space of dimensionality reduction, the best that obtains facial image is described feature: y i = ( y 1 i , y 2 i , . . . , y m i ) T = W pca T ( x i - m ) , i=1,2,..N;
(4) calculate by y 1.., y i... y NScatter matrix S in the class that constitutes wAnd scatter matrix S between class b
(5) compute matrix S w -1S bK eigenvalue of maximum characteristic of correspondence vector W 1 Lda..., W i Lda... W k Lda, wherein k is a matrix S w -1S bThe number of eigenvalue of maximum, constitute the linear discriminant analysis projection matrix by this k eigenvalue of maximum characteristic of correspondence vector W lda = [ W 1 lda , . . . , W 2 lda , . . . , W k lda ] ;
(6) utilize the linear discriminant analysis projection matrix that this further dimensionality reduction in eigenface space is differentiated the space to k dimension the best, obtain the optimal classification feature of facial image: z i = ( z 1 i , z 2 i , . . . , z k i ) = W lda T y i , I=1 wherein, 2 ... N;
(7) calculate transition matrix W=W PcaW Lda, with as last projecting direction;
(8) test sample book and training sample are projected to transition matrix W respectively, obtain projection coefficient separately;
(9) differentiate according to minimum Eustachian distance.
2, the face identification method of optimization according to claim 1 is characterized in that, in step (1), the centralization of training sample further comprises:
The average face of calculation training sample set: m = 1 N Σ i = 1 N x i ;
Vector x after the calculation training center of a sampleization i: x i=x i-m.
3, the face identification method of optimization according to claim 1 is characterized in that, step (4) further comprises:
Calculating i class sample average is: m i = 1 N i Σ y ∈ Y i y ;
Calculating is by y 1.., y i... y NScatter matrix in the sample class that constitutes S w : S w = 1 N Σ i = 1 c Σ j = 1 N i ( y ij - m i ) ( y ij - m i ) T ;
Scatter matrix between the class of calculating sample S b : S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T .
4, a kind of face identification device of optimization combines principal component analysis (PCA) and linear discriminant analysis, and this device comprises:
The covariance matrix computing module is with the training sample set x of facial image i, i=1,2 ... N, after the centralization, according to formula C m × N = 1 N Σ i = 1 N ( x ‾ i ) ( x ‾ i ) T Calculate covariance matrix C, wherein N is the sum of training sample, x iBe the vector after the training sample centralization, m is the average face of training sample set;
Principal component analysis (PCA) projection matrix computing module, m the eigenvalue of maximum characteristic of correspondence vector of calculating covariance matrix C, this m proper vector formed the principal component analysis (PCA) projection matrix: W pca = [ W 1 pca , . . . , W 2 pca , . . . , W m pca ] , M≤N-c wherein, c are the different people's that concentrates of this training sample number;
The eigenface space obtains module, and the principal component analysis (PCA) projection matrix that utilizes this principal component analysis (PCA) projection matrix computing module to obtain is converted into the eigenface space of dimensionality reduction with the facial image space, and the best that obtains facial image is described feature: y i = ( y 1 i , y 2 i , . . . , y m i ) T = W pca T ( x i - m ) , i=1,2,...N;
The scatter matrix computing module calculates by y 1.., y i, ... and y NScatter matrix S in the class that constitutes wAnd scatter matrix S between class b
Linear discriminant analysis projection matrix computing module, compute matrix S w -1S bK eigenvalue of maximum characteristic of correspondence vector W 1 Lda..., W i Lda... W k Lda, wherein k is a matrix S w -1S bThe number of eigenvalue of maximum, constitute the linear discriminant analysis projection matrix by this k eigenvalue of maximum characteristic of correspondence vector W lda = [ W 1 lda , . . . , W 2 lda , . . . , W k lda ] ;
The best space of differentiating obtains module, utilizes the linear discriminant analysis projection matrix that this further dimensionality reduction in eigenface space is differentiated the space to k dimension the best, obtains the optimal classification feature of facial image: z i = ( z 1 i , z 2 i , . . . , z k i ) = W lda T y i , I=1 wherein, 2 ... N;
The transform matrix calculations module is calculated transition matrix W=W PcaW Lds, with as last projecting direction;
The projection coefficient computing module projects to transition matrix W respectively with test sample book and training sample, obtains projection coefficient separately;
Discrimination module is differentiated according to minimum Eustachian distance.
5, the face identification device of optimization according to claim 4 is characterized in that, this covariance matrix computing module also comprises:
Training sample centralization unit further comprises:
The average face computing unit, the average face of calculation training sample set: m = 1 N Σ i = 1 N x i ;
The centralization vector calculation unit, the vector x after the calculation training center of a sampleization i: x i=x i-m.
6, the face identification device of optimization according to claim 4 is characterized in that, the scatter matrix computing module further comprises:
The sample average computing unit, calculate i class sample average and be: m i = 1 N i Σ y ∈ Y i y ;
Scatter matrix computing unit in the class calculates by y 1.., y i... y NScatter matrix S in the sample class that constitutes w: S w = 1 N Σ i = 1 c Σ j = 1 N i ( y ij - m i ) ( y ij - m i ) T ;
Scatter matrix computing unit between class, scatter matrix S between the class of calculating sample b: S b = 1 N Σ i = 1 c N i ( m i - m ) ( m i - m ) T .
CN2008100411056A 2008-07-29 2008-07-29 Optimized human face recognition method and apparatus Expired - Fee Related CN101329724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100411056A CN101329724B (en) 2008-07-29 2008-07-29 Optimized human face recognition method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100411056A CN101329724B (en) 2008-07-29 2008-07-29 Optimized human face recognition method and apparatus

Publications (2)

Publication Number Publication Date
CN101329724A true CN101329724A (en) 2008-12-24
CN101329724B CN101329724B (en) 2010-06-09

Family

ID=40205526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100411056A Expired - Fee Related CN101329724B (en) 2008-07-29 2008-07-29 Optimized human face recognition method and apparatus

Country Status (1)

Country Link
CN (1) CN101329724B (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739555A (en) * 2009-12-01 2010-06-16 北京中星微电子有限公司 Method and system for detecting false face, and method and system for training false face model
CN102103691A (en) * 2011-03-14 2011-06-22 南京邮电大学 Identification method for analyzing face based on principal component
CN102254166A (en) * 2011-08-15 2011-11-23 无锡中星微电子有限公司 Face recognition method
CN102609733A (en) * 2012-02-09 2012-07-25 北京航空航天大学 Fast face recognition method in application environment of massive face database
CN102612841A (en) * 2009-11-17 2012-07-25 Lg电子株式会社 Method for user authentication, and video communication apparatus and display apparatus thereof
CN102609693A (en) * 2012-02-14 2012-07-25 南昌航空大学 Human face recognition method based on fuzzy two-dimensional kernel principal component analysis
CN102622616A (en) * 2012-02-14 2012-08-01 南昌航空大学 Human face recognition method based on two-dimensional kernel principal component analysis and fuzzy maximum scatter difference
CN102902984A (en) * 2012-09-27 2013-01-30 西安电子科技大学 Remote-sensing image semi-supervised projection dimension reducing method based on local consistency
CN102982322A (en) * 2012-12-07 2013-03-20 大连大学 Face recognition method based on PCA (principal component analysis) image reconstruction and LDA (linear discriminant analysis)
CN103440292A (en) * 2013-08-16 2013-12-11 新浪网技术(中国)有限公司 Method and system for retrieving multimedia information based on bit vector
CN103530988A (en) * 2013-10-11 2014-01-22 吉林大学 Method for carrying out early warning on trampling and damage degree of lawn
CN104915684A (en) * 2015-06-30 2015-09-16 苏州大学 Image identification method and device based on robustness multi-plane support vector machine
CN105138993A (en) * 2015-08-31 2015-12-09 小米科技有限责任公司 Method and device for building face recognition model
CN105395192A (en) * 2015-12-09 2016-03-16 恒爱高科(北京)科技有限公司 Wearable emotion recognition method and system based on electroencephalogram
CN105426815A (en) * 2015-10-29 2016-03-23 北京汉王智远科技有限公司 Living body detection method and device
CN105678345A (en) * 2016-03-07 2016-06-15 昆明理工大学 Method for improving spectrum detection recognition rate of edible oil adulteration
CN105868713A (en) * 2016-03-29 2016-08-17 杭州农鑫科技有限公司 Method for identifying parallel features integrating human face expression based on nucleus LDA
CN105975965A (en) * 2016-07-18 2016-09-28 江苏大学 Bidirectional identification feature extraction method for facial image recognition
CN106650370A (en) * 2016-11-22 2017-05-10 西北工业大学 Non-contact encryption method and system for computer
CN106845445A (en) * 2017-02-16 2017-06-13 东华大学 A kind of personal identification method based on wireless network and iris recognition
CN107018118A (en) * 2016-01-28 2017-08-04 深圳市云软信息技术有限公司 A kind of identity verification method
CN107239749A (en) * 2017-05-17 2017-10-10 广西科技大学鹿山学院 A kind of face spatial pattern recognition method
CN107341505A (en) * 2017-06-07 2017-11-10 同济大学 A kind of scene classification method based on saliency Yu Object Bank
CN108645495A (en) * 2018-05-03 2018-10-12 温州三特食品科技有限公司 A kind of intelligence can trace electronic scale
CN108734206A (en) * 2018-05-10 2018-11-02 北京工业大学 A kind of maximal correlation principal component analytical method based on depth parameter study
CN108932468A (en) * 2018-04-27 2018-12-04 衡阳师范学院 One kind being suitable for psychologic face recognition method
CN109815990A (en) * 2018-12-28 2019-05-28 天津大学 Principal component analysis system based on centralization weight
CN111062230A (en) * 2018-10-16 2020-04-24 首都师范大学 Gender identification model training method and device and gender identification method and device
CN111464459A (en) * 2020-03-20 2020-07-28 西安交通大学 Network flow characteristic extraction method based on principal component analysis and linear discriminant analysis
CN113177466A (en) * 2021-04-27 2021-07-27 北京百度网讯科技有限公司 Identity recognition method and device based on face image, electronic equipment and medium
CN115188053A (en) * 2022-07-21 2022-10-14 浪潮卓数大数据产业发展有限公司 Automatic alarm method and system for detecting intrusion of stranger in residential building

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987890A (en) * 2005-12-23 2007-06-27 北京海鑫科金高科技股份有限公司 Humanface image matching method for general active snape changing mode
CN1932846A (en) * 2006-10-12 2007-03-21 上海交通大学 Visual frequency humary face tracking identification method based on appearance model
CN100410963C (en) * 2006-12-27 2008-08-13 中山大学 Two-dimensional linear discrimination human face analysis identificating method based on interblock correlation

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612841B (en) * 2009-11-17 2015-02-18 Lg电子株式会社 Method for user authentication, and video communication apparatus and display apparatus thereof
CN102612841A (en) * 2009-11-17 2012-07-25 Lg电子株式会社 Method for user authentication, and video communication apparatus and display apparatus thereof
CN101739555A (en) * 2009-12-01 2010-06-16 北京中星微电子有限公司 Method and system for detecting false face, and method and system for training false face model
CN101739555B (en) * 2009-12-01 2014-11-26 北京中星微电子有限公司 Method and system for detecting false face, and method and system for training false face model
CN102103691A (en) * 2011-03-14 2011-06-22 南京邮电大学 Identification method for analyzing face based on principal component
CN102254166A (en) * 2011-08-15 2011-11-23 无锡中星微电子有限公司 Face recognition method
CN102609733A (en) * 2012-02-09 2012-07-25 北京航空航天大学 Fast face recognition method in application environment of massive face database
CN102609733B (en) * 2012-02-09 2014-04-02 北京航空航天大学 Fast face recognition method in application environment of massive face database
CN102622616A (en) * 2012-02-14 2012-08-01 南昌航空大学 Human face recognition method based on two-dimensional kernel principal component analysis and fuzzy maximum scatter difference
CN102609693A (en) * 2012-02-14 2012-07-25 南昌航空大学 Human face recognition method based on fuzzy two-dimensional kernel principal component analysis
CN102902984A (en) * 2012-09-27 2013-01-30 西安电子科技大学 Remote-sensing image semi-supervised projection dimension reducing method based on local consistency
CN102902984B (en) * 2012-09-27 2015-05-27 西安电子科技大学 Remote-sensing image semi-supervised projection dimension reducing method based on local consistency
CN102982322A (en) * 2012-12-07 2013-03-20 大连大学 Face recognition method based on PCA (principal component analysis) image reconstruction and LDA (linear discriminant analysis)
CN103440292B (en) * 2013-08-16 2016-12-28 新浪网技术(中国)有限公司 Multimedia information retrieval method and system based on bit vectors
CN103440292A (en) * 2013-08-16 2013-12-11 新浪网技术(中国)有限公司 Method and system for retrieving multimedia information based on bit vector
CN103530988B (en) * 2013-10-11 2017-01-04 吉林大学 A kind of lawn is trampleed on and the method for early warning of the extent of injury
CN103530988A (en) * 2013-10-11 2014-01-22 吉林大学 Method for carrying out early warning on trampling and damage degree of lawn
CN104915684A (en) * 2015-06-30 2015-09-16 苏州大学 Image identification method and device based on robustness multi-plane support vector machine
CN104915684B (en) * 2015-06-30 2018-03-27 苏州大学 A kind of image-recognizing method and device based on the more plane SVMs of robust
CN105138993A (en) * 2015-08-31 2015-12-09 小米科技有限责任公司 Method and device for building face recognition model
CN105138993B (en) * 2015-08-31 2018-07-27 小米科技有限责任公司 Establish the method and device of human face recognition model
CN105426815A (en) * 2015-10-29 2016-03-23 北京汉王智远科技有限公司 Living body detection method and device
CN105395192A (en) * 2015-12-09 2016-03-16 恒爱高科(北京)科技有限公司 Wearable emotion recognition method and system based on electroencephalogram
CN107018118A (en) * 2016-01-28 2017-08-04 深圳市云软信息技术有限公司 A kind of identity verification method
CN105678345A (en) * 2016-03-07 2016-06-15 昆明理工大学 Method for improving spectrum detection recognition rate of edible oil adulteration
CN105868713A (en) * 2016-03-29 2016-08-17 杭州农鑫科技有限公司 Method for identifying parallel features integrating human face expression based on nucleus LDA
CN105868713B (en) * 2016-03-29 2019-06-25 杭州农鑫科技有限公司 A kind of Concurrent Feature fusion facial expression recognizing method based on core LDA
CN105975965A (en) * 2016-07-18 2016-09-28 江苏大学 Bidirectional identification feature extraction method for facial image recognition
CN106650370A (en) * 2016-11-22 2017-05-10 西北工业大学 Non-contact encryption method and system for computer
CN106845445A (en) * 2017-02-16 2017-06-13 东华大学 A kind of personal identification method based on wireless network and iris recognition
CN107239749A (en) * 2017-05-17 2017-10-10 广西科技大学鹿山学院 A kind of face spatial pattern recognition method
CN107341505A (en) * 2017-06-07 2017-11-10 同济大学 A kind of scene classification method based on saliency Yu Object Bank
CN107341505B (en) * 2017-06-07 2020-07-28 同济大学 Scene classification method based on image significance and Object Bank
CN108932468B (en) * 2018-04-27 2021-10-12 衡阳师范学院 Face recognition method suitable for psychology
CN108932468A (en) * 2018-04-27 2018-12-04 衡阳师范学院 One kind being suitable for psychologic face recognition method
CN108645495A (en) * 2018-05-03 2018-10-12 温州三特食品科技有限公司 A kind of intelligence can trace electronic scale
CN108734206B (en) * 2018-05-10 2020-04-14 北京工业大学 Maximum correlation principal component analysis method based on deep parameter learning
CN108734206A (en) * 2018-05-10 2018-11-02 北京工业大学 A kind of maximal correlation principal component analytical method based on depth parameter study
CN111062230A (en) * 2018-10-16 2020-04-24 首都师范大学 Gender identification model training method and device and gender identification method and device
CN111062230B (en) * 2018-10-16 2023-08-08 首都师范大学 Gender identification model training method and device and gender identification method and device
CN109815990A (en) * 2018-12-28 2019-05-28 天津大学 Principal component analysis system based on centralization weight
CN109815990B (en) * 2018-12-28 2023-06-30 天津大学 Principal component analysis system based on centralized weight
CN111464459A (en) * 2020-03-20 2020-07-28 西安交通大学 Network flow characteristic extraction method based on principal component analysis and linear discriminant analysis
CN113177466A (en) * 2021-04-27 2021-07-27 北京百度网讯科技有限公司 Identity recognition method and device based on face image, electronic equipment and medium
CN115188053A (en) * 2022-07-21 2022-10-14 浪潮卓数大数据产业发展有限公司 Automatic alarm method and system for detecting intrusion of stranger in residential building

Also Published As

Publication number Publication date
CN101329724B (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN101329724B (en) Optimized human face recognition method and apparatus
Su et al. Adaptive generic learning for face recognition from a single sample per person
Zhou et al. Face recognition based on PCA image reconstruction and LDA
CN102982322A (en) Face recognition method based on PCA (principal component analysis) image reconstruction and LDA (linear discriminant analysis)
Jain et al. Gender identification using frontal facial images
Ren et al. A complete and fully automated face verification system on mobile devices
CN101404060A (en) Human face recognition method based on visible light and near-infrared Gabor information amalgamation
CN103632147A (en) System and method for implementing standardized semantic description of facial features
Zhao et al. Gabor face recognition by multi-channel classifier fusion of supervised kernel manifold learning
Meshgini et al. Face recognition using gabor filter bank, kernel principle component analysis and support vector machine
Cai et al. Subspace learning based on tensor analysis
Verma et al. PCA-LDA based face recognition system & results comparison by various classification techniques
CN103632145A (en) Fuzzy two-dimensional uncorrelated discriminant transformation based face recognition method
Li et al. Face recognition based on PCA and SVM
KR101195539B1 (en) Door on/off switching system using face recognition and detection method therefor
Kim et al. Face recognition using a fusion method based on bidirectional 2DPCA
Rai et al. An illumination, expression, and noise invariant gender classifier using two-directional 2DPCA on real Gabor space
CN103942545A (en) Method and device for identifying faces based on bidirectional compressed data space dimension reduction
Huang et al. Local similarity preserving projections for face recognition
US20090028444A1 (en) Method, medium, and apparatus with object descriptor generation using curvature gabor filter
CN102147862A (en) Face feature extracting method based on survival exponential entropy
Narayana et al. Enhanced Face Recognition based on PCA and SVM
Kaur et al. Gender classification system for half face images using multi manifold discriminant analysis
Yap et al. A short review of methods for face detection and multifractal analysis
Yuan Face recognition method based on fuzzy 2DPCA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20170729