Image Similarity Test Using Eigenface Ca
Image Similarity Test Using Eigenface Ca
ABSTRACT
An image is a medium for conveying information. The information contained therein may be a particular event,
experience or moment. Not infrequently many images that have similarities. However, this level of similarity is not
easily detected by the human eye. Eigenface is one technique to calculate the resemblance of an object. This
technique calculates based on the intensity of the colors that exist in the two images compared. The stages used are
normalization, eigenface, training, and testing. Eigenface is used to calculate pixel proximity between images. This
calculation yields the feature value used for comparison. The smallest value of the feature value is an image very
close to the original image. Application of this method is very helpful for analysts to predict the likeness of digital
images. Also, it can be used in the field of steganography, digital forensic, face recognition and so forth.
Keywords: Shortest Path, Haversine, Masjid
IJSRST1736118 | Received : 15 August 2017 | Accepted : 29 August 2017 | July-August-2017 [(3) 6: 510-514]
510
information. Only certain patterns can be important of the covariance matrix (CM)
information. Pattern recognition is not only aimed at - Calculate eigenface ( )
getting an image with a certain quality but to classify
various types of images. Filtering is important in image
processing [6]. Some imageries are processed so that the
image of the same trait will be grouped into a particular Normalization
type to obtain a certain classification.
The term image or image commonly used in the field of Covariance Matrix
image processing is defined as a light intensity. In
computer science, the image is transformed into two-
dimensional plane X and Y. Digital image in the picture Eigenvalues
is calculated based on the length and width of the matrix
in which the index row and column declare the
coordinates of a point on the image and the value of Eigenvector
each element has a pixel value in the form of light
intensity At that point. A point on a digital image is
called an image element or pixel. Eigenface
2.2 Eigenface
Figure 1. Eigenface process
The basic principle of image recognition is to take
information from the image and then calculated its value. Figure 1 describes the eigenface value search stage. First
Encoded and compared with the previous decoded of all, the normalization process needs to be done to
results. In the eigenface method, decoding is done by convert the image to a color intensity value. The set of
calculating the eigenvector and then represented in a colors is formed into a covariance matrix to be
large matrix. The Eigenface calculation is quite simple calculated. Once the eigenvalue and eigenvector are
[3]. Image (Γ) is represented by a set of matrices (Γ1, obtained, the eigenface can be generated.
Γ2, ..., ΓM). Find the average value (Ψ) and use to
extract the eigenvector (v) and eigenvalue ( ) from the III. METHODOLOGY
set of matrices. Use the eigenvector value to get the
eigenface value of the image. If there is a new image or Before the image is processed, the image is pre-
test face (Γnew) you want to recognize, the same processed. This process is done by converting RGB
process is applied to the image (Γnew), to extract the image to grayscale image to get a feature vector and get
eigenvector (v) and eigenvalue ( ), then look for the feature value to be used in the recognition process. The
eigenface value of the test face image (Γnew). Only then grayscaling stage of an image is an activity to simplify
will the new image (Γnew) enter the recognition stage the image model. RGB is converted to one grayscale
using the Euclidean Distance method [4][5]. layer. The following equation is to change the RGB
color into grayscale.
Some important stages in implementing the Eigenface
calculation are:
Evaluation
Table 4. Eigenvector
Table 2. Sample B
-47.67 -44.00 -30.33 -23.67 -15.00
7.67 13.00 45.00 10.00 28.67
105 157 65 161 69
-21.67 30.67 49.00 33.67 9.00
98 224 29 160 177
-53.00 -21.67 -36.67 49.67 4.33
156 203 229 191 153
-45.67 -34.67 -23.00 49.33 -6.67
177 31 53 8 33
74 111 65 209 138
.
0 0 0 0 0 0 0 89 3 59
8 13 45 10 29 54 0 49 42 0
0 31 49 34 9 0 0 0 0 0
0 0 0 50 4 30 83 50 0 19
0 0 0 49 0 98 58 73 0 24
4669 64 608 87 0
VI. REFERENCES
59 484 961 100 822
2 6084 2401 1133 0
[1]. S. Maity, M. Abdel-Mottaleb and S. S. Asfour,
529 0 11736 24025 20449 "Multimodal Biometrics Recognition From Facial
235 0 196 2434 0 Video via Deep Learning," Signal & Image
Processing : An International Journal, vol. 8, no. 1,
Total = √ pp. 1-9, 2017.
= [2]. P. K. Ghislain, G. L. Loum and O. Nouho,
"Adaptation of Telegraph Diffusion Equation for
Table 14. Distance matrix of Test to Sample B Noise Reduction on Images," International Journal
of Image and Graphics Vol. 17, No. 02, 1750010 (),
196 7056 608 121 0 vol. 17, no. 2, 2017.
0 289 5776 0 4579 [3]. Arief, "Algoritma Eigenface," Informatika: Artikel
1156 2704 8100 0 9 Teknik Informatika dan Sistem Informasi, 8 January
0 0 11736 41888 21707 2013. [Online]. Available: http://informatika.web.id/
235 0 196 803 0 algoritma-eigenface.htm. [Accessed 21 August
2017].
[4]. M. A.-A. Bhuiyan, "Towards Face Recognition
Total = √
Using Eigenface," International Journal of
=
Advanced Computer Science and Applications, vol.
5, no. 7, pp. 25-31, 2016.
Table 14. Distance matrix of Test to Sample B
[5]. M. A. Imran, M. S. U. Miah, H. Rahman, A.
Bhowmik and D. Karmaker, "Face Recognition
4669 64 4096 36 3481
using Eigenfaces," International Journal of
2880 1225 729 1764 0
Computer Applications, vol. 118, no. 5, pp. 12-16,
2 11808 0 0 81 2015.
49 6944 3364 41888 16384 [6]. A. P. U. Siahaan, "RC4 Technique in Visual
6889 3403 3481 0 592 Cryptography RGB Image Encryption," SSRG
International Journal of Computer Science and
Total = √ Engineering, vol. 3, no. 7, pp. 1-6, 2016.
= 337.3878 [7]. Z. Wang, A. Bovik, H. Sheikh and E. Simoncelli,
"Image Quality Assessment: From Error Visibility
to Structural Similarity," IEEE Transactions on