Dr. H. B. Kekre et. al.(IJCSIS) International Journal of Computer Science and Information Security, Vol. 8, No. 6, 2010
3. Transform on Row Mean of an image and on RowMean of image blocks.From these feature vectors, again identification rate isobtained for various portions selected from the feature vectori.e. for partial feature vector [15, 23, 24]. Two different sets of database were generated. First set, containing 60% of the totalimages as trainee images and 40% of the total images as testimages. Second set, containing 80% of the images as traineeimages and 20% of the total images as test images. Euclideandistance between test image and trainee image is used as ameasure of similarity. Euclidean distance between the pointsX(X1, X2, etc.) and point Y (Y1, Y2, etc.) is calculated usingthe formula shown in equation. (1).
D =
∑−
=
n1i2ii
)Y(X
(1)
Smallest Euclidean distance between test image and traineeimage means the most probable match of speaker. Algorithmsfor transformation technique on full image and transformationtechniques on image blocks are given below.
A.
Transformation techniques on full image[27, 28]:
In the first method 2-D DCT / WALSH / HAAR is appliedon the full image resized to 256*256. Further, instead of fullfeature vector of an image only some portion of feature vectori.e. partial feature vector is selected for identification purpose.This selection of feature vector is illustrated in Fig. 1 and it isbased on the number of rows and columns that have beenselected from the feature vector of an image. For example,initially first full feature vector (i.e. 256*256) has been selectedand then partial feature vectors of size 192*192, 128*128,64*64, 32*32, 20*20 and 16*16 were selected from the featurevector. For these different sizes, identification rate wasobtained.
Fig. 1: Selection of partial feature vector
Algorithm for this method is as follows:
Step 1.
For each trainee image in the database, resize animage to size 256*256.
Step 2.
Apply the transformation technique (DCT / WALSH / HAAR) on resized image to obtain itsfeature vector.
Step 3.
Save these feature vectors for further comparison.
Step 4.
For each test image in the database, resize animage to size 256*256.
Step 5.
Apply the transformation technique (DCT / WALSH / HAAR) on resized image to obtain itsfeature vector.
Step 6.
Save these feature vectors for further comparison.
Step 7.
Calculate the Euclidean distance between featurevectors of each test image with each traineeimage corresponding to the same sentence.
Step 8.
Select the trainee image which has smallestEuclidean distance with the test image anddeclare the speaker corresponding to this traineeimage as the identified speaker.Repeat Step 7 and Step 8 for partial feature vectorobtained from the full feature vector.
B.
Transformation technique on image blocks[27, 29]:
In this second method, resized image of size 256*256 isdivided into four equal parts as shown in Fig. 2 and then 2-DDCT / WALSH / HAAR is applied to each part.
I IIIII IV
Fig. 2: Image divided into four equal non-overlapping blocks
Thus when N*N image is divided into four equal and non-overlapping blocks, blocks of size N/2*N/2 are obtained.Feature vector of each block when appended as columns formsa feature vector of an image. Thus size of feature vector of animage in this case is of 128*512. Again Euclidean distance isused as a measure of similarity. Here also using partial featurevectors, identification rate has been obtained. Partial featurevectors of size 96*384, 64*256, 32*128, 16*64 and 8*32 havebeen selected to find identification rate. Detailed steps areexplained in algorithm given below:
Step 1.
For each trainee image in the database, resize animage to size 256*256.
Step 2.
Divide the image into four equal and non-overlapping blocks as explained in Fig. 2.
Step 3.
Apply transformation technique (DCT/ WALSH /HAAR) on each block obtained in Step 2.
Step 4.
Append the feature vectors of each block oneafter the other to get feature vector of an image.
Step 5.
For each test image in the database, resize animage to size 256*256.
Step 6.
Divide the image into four equal and non-overlapping blocks as shown in Fig. 2.
Step 7.
Apply transformation technique (DCT /WALSH /HAAR) on each block obtained in Step 6.
Step 8.
Append the feature vectors of each block oneafter the other to get feature vector of an image.
188http://sites.google.com/site/ijcsis/ISSN 1947-5500