Professional Documents
Culture Documents
Images Analysis
R.K. Kouassi J.C. Devaux P. Gouton M. Paindavoine
Laboratoire d’Electronique, d’Informatique et d’Image
Universit4 de Bourgogne
BP400 21011 Dijon Cedex FRANCE
paindaveu-bourgogne.fr
1 Introduction 1
The calculation of correlation coefficients and the -31
z
spatial representation of color images allow us to
establish a comparative study between RGB (Red, -A
2
Green, Blue), HSI (Hue, Saturation, Intensity) and
I<L (Karhunen-Loeve) spaces. In fact, color images Y is the intensity (I) axis, C1 and C2 are the axis
olitained from current acquisition systems (RGB) give which define the color.
a. mixture of colors and intensity which prevents to The second part expresses the color by its Hue (H)
analyze them separately. It is possible to reduce the and its Saturation (S).
correlation between the color components by using the S = J m
HSI space. As the HSI transformation is non-linear, If S = 0 t h e n H = 0
the inverse transformation does not allow to find ini-
tial colors.
The K L transform exists since some years. Thanks
Else {
if G > B H = arccos
C1
if G < B H = 2II - arccos s
9
to the computers performance, the use of the KL 2.2 Transformation from RGB to KL
transform is interesting for color images analysis. This The vectorial relationship that allows to define the
transform produces a new three-dimensional and or- KL space is : K = A ( I - m l ) where I, m l , A and K
thogonal space with interesting properties for the anal- are respectively the “original color image vector” , the
ysis of color images. This space gives an optimal spa- mean vector of the“origina1 color image”, the trans-
tial representation of natural color images. formation matrix and the transformed vector [a].
This paper has three parts. In the first part, we
introduce the basic transformations which allow t o
convert RGB space into HSI and KL spaces. Then,
the second part is based on the properties of corre-
1740
1058-6393/98 $10.00 0 1998 IEEE
Authorized licensed use limited to: LUNGHWA UNIV OF SCIENCE AND TECHNOLOGY. Downloaded on April 12, 2009 at 13:04 from IEEE Xplore. Restrictions apply.
I Volume KL I T I E,(%)
~ R R$RG ~ R B Parrots I, 13.1 x IO6 I 0.86 1 5.73
I
I
CRGB= ~ G R~ G G~ G B Planes 3.2 x l o 6 0.19 I 9.54
~ B R~ B G ~ B B Woman I 2.6 x l o 6 0.16 I 3.72
1 SDheres
I -
I 45.3 x l o 6 I 2.73 I 13.30
I I I
I
I
1741
Authorized licensed use limited to: LUNGHWA UNIV OF SCIENCE AND TECHNOLOGY. Downloaded on April 12, 2009 at 13:04 from IEEE Xplore. Restrictions apply.
Parrots Parrots after compression
1742
Authorized licensed use limited to: LUNGHWA UNIV OF SCIENCE AND TECHNOLOGY. Downloaded on April 12, 2009 at 13:04 from IEEE Xplore. Restrictions apply.
Pond Pond after compression
Put asides these exceptions, the compression of the color image. To accelerate the processing, it is nec-
color images in the KL space gives very good results essary t o know a transformation matrix for all color
for the images of our study. images.
4 Approximation of t h e KL space t o The approximation of the KI, transform by linear
transforms, which derived from Fourier tranform, is
study natural color images
well-known [ 5 ] . We extend results in the case of color
This part presents the approximation of the KL
analysis.
transform. In fact, some linear transforms (as discret
Fourier transform, Hadamar transform, Haar trans- DCT is given by the next relationship :
A -- 1 f o r U = 1 and j = 1, ..., N
form, Discrete Cosine Transform (DCT) or Discrete
Even Sine Transform (DEST)) are approximations of
u3 - JN
the I<L transform for decorrelation between the com- A,j = G c o s ( ('j - 2N - 1' )' f o r U = 2 , ..., N
ponents of color image. But, these approximations are and j = 1, ...,N
interesting only for stationary color images. DEST is given by the next relationship :
For this study, we just treat DCT and DEST trans-
Auj = Gsin(I-) for U = 1, ..., N - 1 and
forms.
J = 1, ..., N
4.1 Theory of t h e approximation of t h e
KL space A,j = &sin(-) for U = N and j = 1, ..., N
The main difficulty introduced by KL transform, These relationships allow to construct simply the
is the necessity to compute the transformation ma- transformation matrix (eigenvectors matrix of covari-
trix and the eigenvectors of covariance matrix for each ance matrix in the KL transform). We obtain thus
1743
Authorized licensed use limited to: LUNGHWA UNIV OF SCIENCE AND TECHNOLOGY. Downloaded on April 12, 2009 at 13:04 from IEEE Xplore. Restrictions apply.
three orthogonal vectors that define the three images 5 Conclusion
plans (the components of the color image in the new This study shows properties of non-correlation and
space), that one can compare t o the three images de- storage of data by using the KL space rather than
fined by the three KL axes. Each vect,ors has three RGB or HSI spaces. In HSI space, we can not differ-
components: A,j with U = 1 , 2 , 3 and j = 1 , 2 , 3 . entiate Red and Black in the Hue component. So, the
4.2 Analysis of results KL space is important for the compression of color
We just examine for K L approximation, natural images. However, it is necessary t o specify that re-
and homogeneous images (with mean quadratic errors sults, on the compression, have been obtained for a
inferior to 6%). Thus, by computing the coefficients compression ratio of 20%. But, it is possible, in some
of correlation between components in DCT and DEST cases, to increase the ratio to 30%, specially when im-
spaces, we obtain tables 3 and 4. ages present very few colors and when these colors are
spatially neared.
Parrots 0.02 14 x l o 6 0.860 One can use an approximation of the KL space by
Woman 0.51 6.3 x l o 6 0.384 DCT or DEST spaces with natural homogeneous color
images.
House 0.07 6.1 x l o 6 0.370
In order to improve this method, we are now exper-
Lighthouse 0.28 2.9 x l o 6 0.180
imenting the multiresolution approach.
Pond 0.47 1.7 x l o 6 0.120
1
I
1744
Authorized licensed use limited to: LUNGHWA UNIV OF SCIENCE AND TECHNOLOGY. Downloaded on April 12, 2009 at 13:04 from IEEE Xplore. Restrictions apply.