Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
*Jawad Iounousse, Ahmed Farhi, Ahmed El motassadeq, Hassan Chehouani, Salah Erraki
Laboratoire des Procedes, Metrologie et Materiaux pour l'Energie et L'Environnement
Faculte des Sciences et Techniques
Marrakech, Morocco
iounousse@gmail.com, ahmedfarhi@gmail.com, motassadeq@gmail.com,
chehouani@fstg-marrakech.ac.ma, s.erraki@gmail.com
Abstract-Image classification is a very common step in image An alternative to the complex domain neural network for
analysis process. It is a low-level processing that precedes the step classification is the probabilistic neural network (PNN). PNN
of measuring, understanding and decision. Its purpose is image is an implementation of the Bayes optimal decision rule in the
partitioning into related and homogeneous regions in the sense of form of a neural network. Several recent studies [2] [3] [4] [5]
a homogeneity criterion. have been used it for classification. This technique provides
In this paper, we proposed a procedure to determine the
satisfactory results, but the user is obliged initially to define the
optimal number of classes in a grayscale image classification
classes. In this paper, we proposed an automation process for a
based on a Probabilistic Neural Network (PNN). The used
grayscale images classification to solve this problem and
procedure is completely automatic with no parameter adjusting.
The results on synthetic images show a high robustness and
choose the correct number of classes in the PNN training by
better performance. The results showed that PNN is a good using a validity index. This procedure is inspired by a method
technique for one-dimensional data classifying. [6] [7] used for automating the celebrated technique Fuzzy C
Means (FCM).
Keywords-image processing; classification; probabilistic neural II. DESCRIPTION OF PROBABILISTIC NEURAL NETWORK
network; automation; cluster validity index; grayscale (PNN)
Reference [I] showed that classification is the most K number of classes of input data number of neurons in layer 2
= =
researched topic of neural networks and confirmed that neural R number of elements in input vector (pixels)
=
�I I I I I I I ,
......, ..
It is assumed that there are Q input vector/target vector
".. 2 sp *- .¢-. - . - . - . - . - . - . - . - . - ¢.. 2 sp -t'- Input data
pairs. Each target vector has K elements. One of these elements 2 sp
values
Class 1 Class 2 Class 3 Class N-l Class N
is 1 and the rest are 0. Thus, each input vector is associated to
one of K classes because that specific class has the maximum
probabiI ity of being correct. Figure 3. Distribution of input data values in N classes
III. AUTOMATION PROCESS sp is the spread of radial basis transfer function of RBL.
The PNN have been widely used for classification. This The peak of the radial basis function is always at its center and
algorithm requires initially the target vectors, which is not spread sp varies depending on the number of classes N to avoid
evident to fmd. The choice of target classes and their number the risk of mutual influence between distant points following
should be without errors. An evaluation methodology IS the duplication:
required to determine and choose the optimal number of sp = (max - min) / N+ 1 (1)
clusters k *. This is called cluster validity index.
In order to approach closer to the dominant classes in the
The process to calculate the cluster validity index is input data, we used the histogram of the input image to move
summarized in the following steps: the classes Ci over the interval [Ci - sp, Ci + sp] by replacing
• Step 1: Selection of target classes from a number of them by the weighted mean (mi) of the input vector values
clusters k. belonging to this interval (Fig. 4). The mean weight mi is the
• Step 2: Apply the algorithm PNN for different values of
number of pixels associated with each interval value.
k with k 2,3, . . . , Cmax. (Cmax is set by the user).
= Pixel
number
• Step 3: Calculate the validity index for each partition
I
obtained in step 2. . I
.
I I
process.
I
I
I
I I
sp
. :
I
Input data
2sp 2sp _ . _ . _ . _ . _. _. _. _ . 25
Class 1 Class 2 Class 3 Class N-l 8 ass N value
Input data
B. Validity index computing
The classes displaced represent the target vectors of RBL.
At the output of this layer, it retrieves a probability matrix Uik
Figure 2. The automation procedure
which represents the membership of a pixel Xk to a class Ci.
The matrix is normalized in the interval [0, 1] with LUik 1. =
Then we compute the validity index Vin defined by the We tested our algorithm on a synthetic image Fig. 5-a
function (2) as follows: representing a gradient of eight levels of gray. In this case, we
(eN choose a number of classes N in the range [Cmin=3,
Vince, U, N) = bb
c. max (Uik) - (2) Cmax=10] to see if our algorithm goes to determine the exact
number of classes. Tab. [ summarized the obtained results.
The maximum validity index (0.969) corresponds to a
C: number of vectors to classify
number of classes of 8.
N: number of classes
U: normalized matrix membership outcome ofRBL TABLE I. VARIABILITY OF VALIDITY INDEX WITH NUMBER OF CLASSES
Max (U): the maximum value ofU associated to each pixel. It FOR A SYNTHETIC IMAGE (FIG. 5-A)
represents the closest class to the pixel.
Number of classes
By varying the number N of classes in a given interval Index Vin
[Cmin, Cmax], the maximum index Vin corresponds to the
optimal distribution ofN classes. The results displayed in (Tab. [ and Fig. 6-a) showed that
our method has recognized the eight existing classes in the
After determining the adequate number of class N, we
image.
perform a PNN classification using the obtained classes Cj as
PNN's target vector. Then we tested our method to the real image of a Moroccan
tile (zelij) (Fig. 5-b). This image appears to contain five levels
[v. RESULTS of gray. So, we choose a number of classes N in the range
Synthetic and real grayscale images (Fig. 5) were used for [Cmin=3, Cmax=8].
testing the developed method. The objective of these tests is to
The maximum validity index (0.882) is associated to a
show if the decision on the classes and their number works
number of classes of 5 (Tab. II and Fig. 6-b).
well for any types of grayscale distribution (simple, real and
complex images). TABLE II. VARIABILITY OF VALIDITY INDEX WITH NUMBER OF CLASSES
FOR A REAL IMAGE (FIG. 5-B)
Number of classes
Index Vin
Number of classes
Index Vin
(a)
c)
Figure 5. Grayscale images: (a) Synthetic image (b,c) Real images
(b)
2
to be configured and that PNN training is easy and
instantaneous of course.
(a) Finally, it should be noted that the method was only tested
for synthetic and real images. Further study including satellite
images with different spatial resolutions is desirable for testing
the proposed technique in order to get an unsupervised land
cover classification.
REFERENCES
[3] PV. Nageswara Rao,T. Uma Devi, DSGVK Kaladhar, GR. Sridhar and
Allam Appa Rao, "A Probabilistic neural network approach for protein
superfamily classification," Journal of Theoretical and Applied
Information Technology. .fATIT, vol. 6 No.1, 2009, pp 101-105.
[4] L. Fallah Araghi, H. Khaloozade and M. Reza Arvan, "Ship [7] Sahbani Mahersia, H., Hamrouni, K., Segmentation d'images texturees
Identification using Probabilistic Neural Networks (PNN)," Proceedings par transformee en ondelettes et classification C-moyenne floue. SETIT
of the International MultiConference of Engineers and Computer Tunisie, Mars 2005.
Scientists 2009 Vol II, IMECS 2009,March 18 - 20,2009, Hong Kong. [8] D.F. Specht, "Probabilistic neural networks," Neural Networks, vol. 3,
[5] V. Kwigizile, M. Selekwa and R. Mussa, "Highway Vehicle no. I, pp. 109-118,1990.
Classification by Probabilistic Neural Networks," Proceedings of the
[9] P.O. Wasserman, Advanced Methods in Neural Computing, New York:
Seventeenth International Florida Artificial Intelligence Research Van Nostrand Reinhold, 1993, pp. 35-55.
Society Conference, FLAIRS 2004,May 12-14,2004,Miami Florida.
[6] Weina Wang, Yunjie Zhang, "On fuzzy cluster validity indices," Fuzzy
sets and systems 158 (2007), pp. 2095- 2117.