Input: Data matrix X, h.
Output: Discriminant projection matrix W .
1. Compute the mean of each class i, m
i
and the mean of all the classes m.
2. Construct
ˆ
H
b
,
ˆ
H
w
from (9) and (10).
3. Perform QR decomposition
ˆ
H
b
:
ˆ
H
b
= QR.
4. Compute
˜
S
b
= Q
t
ˆ
S
b
Q and
˜
S
w
= Q
t
ˆ
S
w
Q.
5. Compute the t eigenvectors g
i
of (
˜
S
b
)
−1
˜
S
w
with increasing eigenvalues, where t = rank(
ˆ
H
b
).
The projection matrix is W = QG with G = [g
1
,. . . , g
t
].
sample all images to 56x46 pixels without any other pre-processing. For the test proto-
col we randomly take k images from each class as the training data, with k ∈
{
2,...,9
}
,
and leave the rest 10 −k images as the probe. The Nearest Neighbour algorithm was
employed with Euclidean distance for classification. Such test is run ten times and we
take the average of the results for comparison. At the training phase, we represent each
image by a raster scan vector of the intensity value as the column of the input data
matrix X. Moreover, to choose the value of the parameter h in the weighting function,
we have calculate the recognition rate with vary within the range from 1 to 7. Table 1
shows the results over the variation of h, from which the value h = 4 achieves the max
recognition rate. Hence, for the rest of paper we take h = 4. Average recognition rate
for each of the three algorithms is reported in Table 2.
Table 1. Recognition rates for different h in RW-LDA/QR.
h 1 2 3 4 5 6 7
Recognition Rates (percent) 81,90 82,20 82,78 83,62 81,46 80,84 80,09
Table 2. Recognition rates (percent)for the ORL dabase.
k 2 3 4 5 6 7 8 9
Fisherface 76,06 86,78 92,95 94,15 95,06 95,75 96,37 97,05
LDA/QR 81,43 90,60 93,20 96,37 96,30 97,50 98,08 99,00
RW-LDA/QR 83,62 92,00 95,20 96,25 97,75 98,91 99,00 99,75
From these results we see that the proposed method RW-LDA/QR performs better
performance. In other word, we present the results using wavelets transform as fea-
ture extraction. Original images used here have a 112x92 size. The columns of the data
matrix are generated by the lowest frequency subimages (LL) from 2D wavelet decom-
position on the original images of database.
Table 3 shows the comparisons result of the algorithms with one-level Haar wavelet
decomposition. Table 4 list the results with Haar wavelets at level 2.
It is noted that there are a weak increase in the Recognition rate for LDA/QR but not
a great change for RW-LDA/QR with the use of the one-level 2D Haar wavelet trans-
form. In addition, one sees in Table 3 that starting from level 2 of the decomposition in
186