3
Study on Pre-processing Algorithm in Face Recognition Li-ying Lang College of Information and Electrical Engineering Hebei University of Engineering Handan, Hebei province Email:[email protected] Zi-min Bao College of Information and Electrical Engineering Hebei University of Engineering Handan, Hebei province Email:[email protected] Yan-hua Du College of Information and Electrical Engineering Hebei University of Engineering Handan, Hebei province Email:[email protected] Abstract—In this paper, the face recognition pre-processing algorithm was discussed, which phase correlation algorithm based on FFT is applied to the face recognition. It is a widely used method of image registration, which is used to correct the geometric distortion of translation and rotation in the facial images. The simulation experimental results show that the algorithm mentioned in this paper has the advantages of good real-time and high performance in the correction of facial images, and moreover it can improve the image quality and remove noise. Keywords-component; face recognition; FFT; phase correlation; image registration; I. INTRODUCTION The standardization of human face images is very important for all kinds of face recognition methods, and has a direct impact on final face recognition results. Here the standardization mainly refers to let the key parts of the face image at the same relative position. For the algorithm of making use of whole image information to identify, if we do not undergoing any treatment to the original face, parts of human face images at the location will be offset, and this will affect the right face recognition[1]. Therefore, it is necessary to correct the images, so that in the end different input face image will be unified to the same size, and as far as possible to keep the key parts of the face are consistent. Geometric correction include: translation, rotation. The phase correlation algorithm which has powerful anti-geometric deformation capacity to the face identification is applied to deal with this problem [2]. II. BASAL PRINCIPLE OF ALGORITHM Phase correlation algorithm is non-linear in frequency domain, which is based on Fourier transform. It makes use of a number of important properties of the image in frequency domain, such as translation, rotation, zooming invariance characters, that is to say there exists corresponding relation between the airspace and the frequency domain when there is translation, rotation, zooming between the images [3]. Fast Fourier Transform a large extent improves the operation efficiency of the algorithm, and it behaves a good robust to the noise of the frequency correlation. Therefore phase correlation algorithm is a more effective method to achieve the image registration. A. The theory estimation of translating parameter Hypothesize ) , ( 1 y x f and ) , ( 2 y x f are two face images which have definitely translating relation [4]. They satisfy (1)’s dyadic relation. (That is to say, ) , ( 2 y x f results from simply translating by ) , ( 1 y x f ) ) , ( ) , ( 0 0 1 2 y y x x f y x f = (1) The character according to Fourier transform can may: ) ( 1 2 0 0 ) , ( ) , ( vy ux j e v u F v u F + = (2) In above formula ) , ( 1 v u F and ) , ( 2 v u F are neutralized respectively Fourier transform drawing from ) , ( 1 y x f and ) , ( 2 y x f .Their cross-power spectrum is that: ) ( 2 1 2 1 0 0 ) , ( ) , ( ) , ( ) , ( vy ux j e v u F v u F v u F v u F + = (3) ) , ( * 1 v u F is complex conjugation of ) , ( 1 v u F in style. The formula (3) carries out Fourier transform on the contrary alternation but gets a two-dimensional pulse function. That is: ) , ( ) ( 0 0 ) ( 1 0 0 y y x x e F vy ux j = + δ (4) It can find that, phase correlation function at the surface all is zero apart from δ function, which is the location of their displacement value ( 0 0 , y x ).The function peak value should be 1 under ideal circumstances, but due to noise and other reasons, its peaks often less than 1. The peak value depends on whether two images mate the degree goodness or badness. 2009 Third International Symposium on Intelligent Information Technology Application 978-0-7695-3859-4/09 $26.00 © 2009 IEEE DOI 10.1109/IITA.2009.215 272 2009 Third International Symposium on Intelligent Information Technology Application 978-0-7695-3859-4/09 $26.00 © 2009 IEEE DOI 10.1109/IITA.2009.215 272

[IEEE 2009 Third International Symposium on Intelligent Information Technology Application - NanChang, China (2009.11.21-2009.11.22)] 2009 Third International Symposium on Intelligent

  • Upload
    yan-hua

  • View
    212

  • Download
    0

Embed Size (px)

Citation preview

Study on Pre-processing Algorithm in Face Recognition

Li-ying Lang College of Information and Electrical

Engineering Hebei University of Engineering

Handan, Hebei province Email:[email protected]

Zi-min Bao College of Information and Electrical

Engineering Hebei University of Engineering

Handan, Hebei province Email:[email protected]

Yan-hua Du College of Information and Electrical

Engineering Hebei University of Engineering

Handan, Hebei province Email:[email protected]

Abstract—In this paper, the face recognition pre-processing algorithm was discussed, which phase correlation algorithm based on FFT is applied to the face recognition. It is a widely used method of image registration, which is used to correct the geometric distortion of translation and rotation in the facial images. The simulation experimental results show that the algorithm mentioned in this paper has the advantages of good real-time and high performance in the correction of facial images, and moreover it can improve the image quality and remove noise.

Keywords-component; face recognition; FFT; phase correlation; image registration;

I. INTRODUCTION The standardization of human face images is very

important for all kinds of face recognition methods, and has a direct impact on final face recognition results. Here the standardization mainly refers to let the key parts of the face image at the same relative position. For the algorithm of making use of whole image information to identify, if we do not undergoing any treatment to the original face, parts of human face images at the location will be offset, and this will affect the right face recognition[1]. Therefore, it is necessary to correct the images, so that in the end different input face image will be unified to the same size, and as far as possible to keep the key parts of the face are consistent. Geometric correction include: translation, rotation. The phase correlation algorithm which has powerful anti-geometric deformation capacity to the face identification is applied to deal with this problem [2].

II. BASAL PRINCIPLE OF ALGORITHM Phase correlation algorithm is non-linear in frequency

domain, which is based on Fourier transform. It makes use of a number of important properties of the image in frequency domain, such as translation, rotation, zooming invariance characters, that is to say there exists corresponding relation between the airspace and the frequency domain when there is translation, rotation, zooming between the images [3]. Fast Fourier Transform a large extent improves the operation efficiency of the algorithm, and it behaves a good robust to the noise of the frequency correlation. Therefore phase

correlation algorithm is a more effective method to achieve the image registration.

A. The theory estimation of translating parameter Hypothesize ),(1 yxf and ),(2 yxf are two face images

which have definitely translating relation [4]. They satisfy (1)’s dyadic relation. (That is to say, ),(2 yxf results from simply translating by ),(1 yxf )

),(),( 0012 yyxxfyxf −−= (1) The character according to Fourier transform can may:

)(12

00),(),( vyuxjevuFvuF +−= (2)

In above formula ),(1 vuF and ),(2 vuF are neutralized respectively Fourier transform drawing from ),(1 yxf and ),(2 yxf .Their cross-power spectrum is that:

)(

21

21 00

),(),(),(),( vyuxje

vuFvuFvuFvuF +−

= (3)

),(*1 vuF is complex conjugation of ),(1 vuF in style.

The formula (3) carries out Fourier transform on the contrary alternation but gets a two-dimensional pulse function. That is:

),()( 00)(1 00 yyxxeF vyuxj −−=+−− δ (4)

It can find that, phase correlation function at the surface all is zero apart from δ function, which is the location of their displacement value ( 00 , yx ).The function peak value should be 1 under ideal circumstances, but due to noise and other reasons, its peaks often less than 1. The peak value depends on whether two images mate the degree goodness or badness.

2009 Third International Symposium on Intelligent Information Technology Application

978-0-7695-3859-4/09 $26.00 © 2009 IEEE

DOI 10.1109/IITA.2009.215

272

2009 Third International Symposium on Intelligent Information Technology Application

978-0-7695-3859-4/09 $26.00 © 2009 IEEE

DOI 10.1109/IITA.2009.215

272

B. The theory estimation of rotating parameter Hypothesize ),(1 yxf and ),(2 yxf are two one-

dimensional barcode images. ),(2 yxf results from simply rotating by ),(1 yxf .That is to say:

)cossin,sincos(),( 000012 θθθθ yxyxfyxf +−+= (5) According to the rotation of Fourier transform, the

relationship between the two images after shift: )cossin,sincos(),( 000012 θθθθ vuvuFvuF +−+= (6)

From above formula it can see that the image of the space domain in the rotation 0θ perspective, the corresponding Fourier transform in the frequency domain is the same rotation angle 0θ . Due to Cartesian coordinates corresponding to the rotation angle of the polar coordinate translation, it will be (6) converted to the form of polar coordinates as follows:

),(),( 012 θθρθρ −= FF (7)

In the formula, 22 vu +=ρ , uvarctan=θ , from

formula (7) it can find that they satisfy a simple translation relation between ),(2 θρF and ),(1 θρF . Make use of above-mentioned phase correlation method to be ok to gain the revolution angle.

III. EXPERIMENT AND RESULT ANALYSIS According to situation which the facial images possibly

appears in the actual circulation, we divide the experiments into two following parts: (1) Translation experiments: through Matlab programming to calculate the horizontal, vertical shift amount which is current face image compared with the standard image, and then all image points are calculated in accordance with the amount of translational movement. So that it will eliminate the impact for later recognition resulted from facial images translation. (2) Rotation experiments: calculating the tilt angle the input image relative to the standard image, and then realizing spin correction. Correction of the test face image is the plane rotation and how to correct depth rotation will be further studied.

A. Experiment 1 In the process of algorithm simulation, the paper first

pretreats the images using median filter to filter out pulse interference and image scanning noise, and uses MATLAB tools to simulate the image of facial images. The results show that the phase correlation algorithm only has good effect on translation image detection, even if only in the relevant content of 1 / 4, the success rate is still over 90%. There are two barcode images of mutual translation. The two images with relevant contents of half and quarter were compared. The results clearly show that with the relevant content reducing gradually the peak values reduce sharply, as shown in figure 1 and figure 2. The relevant peak soon declines when there exists rotating in the images .However,

it has a better match rate within only 1.5 degrees, more than 3 degrees the algorithm completely ineffective.

Figure 1. Experimental result of translation(47,51)

Figure 2. Experimental result of translation(325,441)

B. Experiment 2 The algorithm is carried out a certain amount of

optimization when in the process of rotation-invariant phase correlation algorithm simulation [4]. In the polar coordinate mapping, it first seeks admission points in a very homogeneous coordinates in turn to obtain the value in the Cartesian coordinate system mapping, so that it may sample around the neighborhood part of origin point in the Cartesian coordinate system [5]. Because after the Fourier transform and centering the image energy mainly concentrates in the neighborhood of the origin, it can reduce the mapping error from Cartesian to polar coordinates. The experiment results prove that it can have great correlation peak growth. So that it will not only improve the matching accuracy but also greatly reduce the computation of following stage. Below are the facial images with different rotational angle carried out the simulation. Figure 3-a and figure 4-a are facial images transform of the original and rotating images, corresponding correlation result in figure 3-b and figure 4-b. The results

273273

show that the smaller the angle of deformation registration the results more accurate.

3-a. Polar coordinate transform

3-b. Correlation result

Figure 3. Result of rotating angle of 6

4-a . Polar coordinate transform

4-b. Correlation result

Figure 4. Result of rotating angle of 20

IV. CONCLUSION In the paper, Phase correlation algorithm and rotation-

invariant phase correlation algorithm are used of image pre-progressing in face recognition. It makes use of MATLAB tool to the phase correlation algorithm simulation. Through two experiments it proves the feasibility and effectiveness of the method. The difficult issues such as rotation and defaced which facial images may arise are well solved. So that it will ensure that the later face recognition can be promptly identified.

REFERENCES [1] K. K obayashi, H. Nakajima, T. Aoki, M. Kawamata, T. Higuchi,

Principals of phase only correlation and applications. ITE Technical Report, Vol.20.No.41, pp2-4, 1996.

[2] R. B. Srinivasa, B. N. Chatterji, An FFT-based technique for translation, rotation, and scale2invariant image registration [J] . IEEE Transactions on Image Processing, 1996, 5(8): 1266-1271.

[3] K. Kobayashi, H. Nakajima, et al. Principals of phase only correlation and applications [J]. ITE Technical Report, 1996, 20(41):1-6.

[4] S. S. Harold, W. Robert, Blind cross-spectral image registration using profiteering and Fourier-based translation detection [J]. IEEE Transactions on Geosciences and Remote Sensing, 2002, 40 (3): 637-650.

[5] G. Wolberg, S. Zokai, Robust image registration using log-polar transform[A]. Proc. IEEE Int. Conf. Image Processing[C].Vancouver, BC, Canada:IEEE,2000. 493-496.

274274